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
){
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
*_val
) {
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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*_val
) {
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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*_val
) {
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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*_val
) {
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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*_val
) {
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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*_val
) {
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
*_val
) {
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
*_val
) {
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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*_val
) {
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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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
*self
, 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_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6345 PyObject
*resultobj
;
6346 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6348 PyObject
* obj0
= 0 ;
6350 (char *) "self", NULL
6353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
6354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6358 result
= (int)(arg1
)->GetItemHeight();
6360 wxPyEndAllowThreads(__tstate
);
6361 if (PyErr_Occurred()) SWIG_fail
;
6363 resultobj
= SWIG_FromInt((int)result
);
6370 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6371 PyObject
*resultobj
;
6372 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6376 PyObject
* obj0
= 0 ;
6377 PyObject
* obj1
= 0 ;
6379 (char *) "self",(char *) "pt", NULL
6382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
6383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6387 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6391 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
6393 wxPyEndAllowThreads(__tstate
);
6394 if (PyErr_Occurred()) SWIG_fail
;
6396 resultobj
= SWIG_FromInt((int)result
);
6403 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6404 PyObject
*resultobj
;
6405 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6409 PyObject
* obj0
= 0 ;
6410 PyObject
* obj1
= 0 ;
6411 PyObject
* obj2
= 0 ;
6413 (char *) "self",(char *) "x",(char *) "y", NULL
6416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6419 arg2
= (int) SWIG_AsInt(obj1
);
6420 if (PyErr_Occurred()) SWIG_fail
;
6421 arg3
= (int) SWIG_AsInt(obj2
);
6422 if (PyErr_Occurred()) SWIG_fail
;
6424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6425 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
6427 wxPyEndAllowThreads(__tstate
);
6428 if (PyErr_Occurred()) SWIG_fail
;
6430 resultobj
= SWIG_FromInt((int)result
);
6437 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6439 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6440 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
6442 return Py_BuildValue((char *)"");
6444 static int _wrap_TextCtrlNameStr_set(PyObject
*_val
) {
6445 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
6450 static PyObject
*_wrap_TextCtrlNameStr_get() {
6455 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6457 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6464 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*self
, PyObject
*args
) {
6465 PyObject
*resultobj
;
6468 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
6470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6471 result
= (wxTextAttr
*)new wxTextAttr();
6473 wxPyEndAllowThreads(__tstate
);
6474 if (PyErr_Occurred()) SWIG_fail
;
6476 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6483 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*self
, PyObject
*args
) {
6484 PyObject
*resultobj
;
6485 wxColour
*arg1
= 0 ;
6486 wxColour
const &arg2_defvalue
= wxNullColour
;
6487 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6488 wxFont
const &arg3_defvalue
= wxNullFont
;
6489 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
6490 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
6494 PyObject
* obj0
= 0 ;
6495 PyObject
* obj1
= 0 ;
6496 PyObject
* obj2
= 0 ;
6497 PyObject
* obj3
= 0 ;
6499 if(!PyArg_ParseTuple(args
,(char *)"O|OOO:new_TextAttr",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6502 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
6507 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6511 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6512 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6515 PyErr_SetString(PyExc_TypeError
,"null reference");
6520 arg4
= (wxTextAttrAlignment
) SWIG_AsInt(obj3
);
6521 if (PyErr_Occurred()) SWIG_fail
;
6524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6525 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
6527 wxPyEndAllowThreads(__tstate
);
6528 if (PyErr_Occurred()) SWIG_fail
;
6530 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6537 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
6542 argc
= PyObject_Length(args
);
6543 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
6544 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6547 return _wrap_new_TextAttr__SWIG_0(self
,args
);
6549 if ((argc
>= 1) && (argc
<= 4)) {
6552 _v
= wxColour_typecheck(argv
[0]);
6556 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6559 _v
= wxColour_typecheck(argv
[1]);
6563 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6567 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
6576 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6578 _v
= SWIG_CheckInt(argv
[3]);
6580 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6587 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
6592 static PyObject
*_wrap_delete_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6593 PyObject
*resultobj
;
6594 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6595 PyObject
* obj0
= 0 ;
6597 (char *) "self", NULL
6600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
6601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6607 wxPyEndAllowThreads(__tstate
);
6608 if (PyErr_Occurred()) SWIG_fail
;
6610 Py_INCREF(Py_None
); resultobj
= Py_None
;
6617 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6618 PyObject
*resultobj
;
6619 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6620 PyObject
* obj0
= 0 ;
6622 (char *) "self", NULL
6625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
6626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6632 wxPyEndAllowThreads(__tstate
);
6633 if (PyErr_Occurred()) SWIG_fail
;
6635 Py_INCREF(Py_None
); resultobj
= Py_None
;
6642 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6643 PyObject
*resultobj
;
6644 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6645 wxColour
*arg2
= 0 ;
6647 PyObject
* obj0
= 0 ;
6648 PyObject
* obj1
= 0 ;
6650 (char *) "self",(char *) "colText", NULL
6653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6658 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6662 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
6664 wxPyEndAllowThreads(__tstate
);
6665 if (PyErr_Occurred()) SWIG_fail
;
6667 Py_INCREF(Py_None
); resultobj
= Py_None
;
6674 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6675 PyObject
*resultobj
;
6676 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6677 wxColour
*arg2
= 0 ;
6679 PyObject
* obj0
= 0 ;
6680 PyObject
* obj1
= 0 ;
6682 (char *) "self",(char *) "colBack", NULL
6685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6690 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6694 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
6696 wxPyEndAllowThreads(__tstate
);
6697 if (PyErr_Occurred()) SWIG_fail
;
6699 Py_INCREF(Py_None
); resultobj
= Py_None
;
6706 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6707 PyObject
*resultobj
;
6708 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6710 long arg3
= (long) wxTEXT_ATTR_FONT
;
6711 PyObject
* obj0
= 0 ;
6712 PyObject
* obj1
= 0 ;
6713 PyObject
* obj2
= 0 ;
6715 (char *) "self",(char *) "font",(char *) "flags", NULL
6718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6721 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6722 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6725 PyErr_SetString(PyExc_TypeError
,"null reference");
6729 arg3
= (long) SWIG_AsLong(obj2
);
6730 if (PyErr_Occurred()) SWIG_fail
;
6733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6734 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
6736 wxPyEndAllowThreads(__tstate
);
6737 if (PyErr_Occurred()) SWIG_fail
;
6739 Py_INCREF(Py_None
); resultobj
= Py_None
;
6746 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6747 PyObject
*resultobj
;
6748 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6750 PyObject
* obj0
= 0 ;
6751 PyObject
* obj1
= 0 ;
6753 (char *) "self",(char *) "alignment", NULL
6756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
6757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6759 arg2
= (wxTextAttrAlignment
) SWIG_AsInt(obj1
);
6760 if (PyErr_Occurred()) SWIG_fail
;
6762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6763 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
6765 wxPyEndAllowThreads(__tstate
);
6766 if (PyErr_Occurred()) SWIG_fail
;
6768 Py_INCREF(Py_None
); resultobj
= Py_None
;
6775 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6776 PyObject
*resultobj
;
6777 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6778 wxArrayInt
*arg2
= 0 ;
6779 bool temp2
= False
;
6780 PyObject
* obj0
= 0 ;
6781 PyObject
* obj1
= 0 ;
6783 (char *) "self",(char *) "tabs", NULL
6786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
6787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6790 if (! PySequence_Check(obj1
)) {
6791 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
6794 arg2
= new wxArrayInt
;
6796 int i
, len
=PySequence_Length(obj1
);
6797 for (i
=0; i
<len
; i
++) {
6798 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6799 PyObject
* number
= PyNumber_Int(item
);
6800 arg2
->Add(PyInt_AS_LONG(number
));
6806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6807 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
6809 wxPyEndAllowThreads(__tstate
);
6810 if (PyErr_Occurred()) SWIG_fail
;
6812 Py_INCREF(Py_None
); resultobj
= Py_None
;
6814 if (temp2
) delete arg2
;
6819 if (temp2
) delete arg2
;
6825 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6826 PyObject
*resultobj
;
6827 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6829 PyObject
* obj0
= 0 ;
6830 PyObject
* obj1
= 0 ;
6832 (char *) "self",(char *) "indent", NULL
6835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6838 arg2
= (int) SWIG_AsInt(obj1
);
6839 if (PyErr_Occurred()) SWIG_fail
;
6841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6842 (arg1
)->SetLeftIndent(arg2
);
6844 wxPyEndAllowThreads(__tstate
);
6845 if (PyErr_Occurred()) SWIG_fail
;
6847 Py_INCREF(Py_None
); resultobj
= Py_None
;
6854 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6855 PyObject
*resultobj
;
6856 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6858 PyObject
* obj0
= 0 ;
6859 PyObject
* obj1
= 0 ;
6861 (char *) "self",(char *) "indent", NULL
6864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6867 arg2
= (int) SWIG_AsInt(obj1
);
6868 if (PyErr_Occurred()) SWIG_fail
;
6870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6871 (arg1
)->SetRightIndent(arg2
);
6873 wxPyEndAllowThreads(__tstate
);
6874 if (PyErr_Occurred()) SWIG_fail
;
6876 Py_INCREF(Py_None
); resultobj
= Py_None
;
6883 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6884 PyObject
*resultobj
;
6885 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6887 PyObject
* obj0
= 0 ;
6888 PyObject
* obj1
= 0 ;
6890 (char *) "self",(char *) "flags", NULL
6893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
6894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6896 arg2
= (long) SWIG_AsLong(obj1
);
6897 if (PyErr_Occurred()) SWIG_fail
;
6899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6900 (arg1
)->SetFlags(arg2
);
6902 wxPyEndAllowThreads(__tstate
);
6903 if (PyErr_Occurred()) SWIG_fail
;
6905 Py_INCREF(Py_None
); resultobj
= Py_None
;
6912 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6913 PyObject
*resultobj
;
6914 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6916 PyObject
* obj0
= 0 ;
6918 (char *) "self", NULL
6921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
6922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6926 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
6928 wxPyEndAllowThreads(__tstate
);
6929 if (PyErr_Occurred()) SWIG_fail
;
6932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6940 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6941 PyObject
*resultobj
;
6942 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6944 PyObject
* obj0
= 0 ;
6946 (char *) "self", NULL
6949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
6950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6954 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
6956 wxPyEndAllowThreads(__tstate
);
6957 if (PyErr_Occurred()) SWIG_fail
;
6960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6968 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6969 PyObject
*resultobj
;
6970 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6972 PyObject
* obj0
= 0 ;
6974 (char *) "self", NULL
6977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
6978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6982 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
6984 wxPyEndAllowThreads(__tstate
);
6985 if (PyErr_Occurred()) SWIG_fail
;
6988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6996 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6997 PyObject
*resultobj
;
6998 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7000 PyObject
* obj0
= 0 ;
7002 (char *) "self", NULL
7005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
7006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7010 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
7012 wxPyEndAllowThreads(__tstate
);
7013 if (PyErr_Occurred()) SWIG_fail
;
7016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7024 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7025 PyObject
*resultobj
;
7026 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7028 PyObject
* obj0
= 0 ;
7030 (char *) "self", NULL
7033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
7034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7038 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
7040 wxPyEndAllowThreads(__tstate
);
7041 if (PyErr_Occurred()) SWIG_fail
;
7044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7052 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7053 PyObject
*resultobj
;
7054 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7056 PyObject
* obj0
= 0 ;
7058 (char *) "self", NULL
7061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
7062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7066 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
7068 wxPyEndAllowThreads(__tstate
);
7069 if (PyErr_Occurred()) SWIG_fail
;
7072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7080 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7081 PyObject
*resultobj
;
7082 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7084 PyObject
* obj0
= 0 ;
7086 (char *) "self", NULL
7089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
7090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7094 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
7096 wxPyEndAllowThreads(__tstate
);
7097 if (PyErr_Occurred()) SWIG_fail
;
7100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7108 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7109 PyObject
*resultobj
;
7110 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7113 PyObject
* obj0
= 0 ;
7114 PyObject
* obj1
= 0 ;
7116 (char *) "self",(char *) "flag", NULL
7119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
7120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7122 arg2
= (long) SWIG_AsLong(obj1
);
7123 if (PyErr_Occurred()) SWIG_fail
;
7125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7126 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
7128 wxPyEndAllowThreads(__tstate
);
7129 if (PyErr_Occurred()) SWIG_fail
;
7132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7140 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7141 PyObject
*resultobj
;
7142 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7144 PyObject
* obj0
= 0 ;
7146 (char *) "self", NULL
7149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
7150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7155 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
7156 result
= (wxColour
*) &_result_ref
;
7159 wxPyEndAllowThreads(__tstate
);
7160 if (PyErr_Occurred()) SWIG_fail
;
7162 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7169 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7170 PyObject
*resultobj
;
7171 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7173 PyObject
* obj0
= 0 ;
7175 (char *) "self", NULL
7178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
7179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7184 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
7185 result
= (wxColour
*) &_result_ref
;
7188 wxPyEndAllowThreads(__tstate
);
7189 if (PyErr_Occurred()) SWIG_fail
;
7191 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7198 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7199 PyObject
*resultobj
;
7200 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7202 PyObject
* obj0
= 0 ;
7204 (char *) "self", NULL
7207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
7208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7213 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7214 result
= (wxFont
*) &_result_ref
;
7217 wxPyEndAllowThreads(__tstate
);
7218 if (PyErr_Occurred()) SWIG_fail
;
7221 wxFont
* resultptr
= new wxFont(*result
);
7222 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
7230 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, 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_GetAlignment",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();
7244 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7246 wxPyEndAllowThreads(__tstate
);
7247 if (PyErr_Occurred()) SWIG_fail
;
7249 resultobj
= SWIG_FromInt((int)result
);
7256 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7257 PyObject
*resultobj
;
7258 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7260 PyObject
* obj0
= 0 ;
7262 (char *) "self", NULL
7265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7271 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7272 result
= (wxArrayInt
*) &_result_ref
;
7275 wxPyEndAllowThreads(__tstate
);
7276 if (PyErr_Occurred()) SWIG_fail
;
7279 resultobj
= PyList_New(0);
7281 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7282 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7283 PyList_Append(resultobj
, val
);
7293 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, 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_GetLeftIndent",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
)->GetLeftIndent();
7309 wxPyEndAllowThreads(__tstate
);
7310 if (PyErr_Occurred()) SWIG_fail
;
7312 resultobj
= SWIG_FromLong((long)result
);
7319 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, 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_GetRightIndent",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
)->GetRightIndent();
7335 wxPyEndAllowThreads(__tstate
);
7336 if (PyErr_Occurred()) SWIG_fail
;
7338 resultobj
= SWIG_FromLong((long)result
);
7345 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, 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_GetFlags",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
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7361 wxPyEndAllowThreads(__tstate
);
7362 if (PyErr_Occurred()) SWIG_fail
;
7364 resultobj
= SWIG_FromLong((long)result
);
7371 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7372 PyObject
*resultobj
;
7373 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7375 PyObject
* obj0
= 0 ;
7377 (char *) "self", NULL
7380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
7381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7385 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
7387 wxPyEndAllowThreads(__tstate
);
7388 if (PyErr_Occurred()) SWIG_fail
;
7391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7399 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7400 PyObject
*resultobj
;
7401 wxTextAttr
*arg1
= 0 ;
7402 wxTextAttr
*arg2
= 0 ;
7403 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
7405 PyObject
* obj0
= 0 ;
7406 PyObject
* obj1
= 0 ;
7407 PyObject
* obj2
= 0 ;
7409 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7414 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7417 PyErr_SetString(PyExc_TypeError
,"null reference");
7420 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
7421 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7424 PyErr_SetString(PyExc_TypeError
,"null reference");
7427 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
,
7428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7431 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
7433 wxPyEndAllowThreads(__tstate
);
7434 if (PyErr_Occurred()) SWIG_fail
;
7437 wxTextAttr
* resultptr
;
7438 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
7439 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
7447 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
7449 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7450 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
7452 return Py_BuildValue((char *)"");
7454 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7455 PyObject
*resultobj
;
7456 wxWindow
*arg1
= (wxWindow
*) 0 ;
7458 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7459 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7460 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7461 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7462 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7463 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7464 long arg6
= (long) 0 ;
7465 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7466 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7467 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
7468 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7470 bool temp3
= False
;
7473 bool temp8
= False
;
7474 PyObject
* obj0
= 0 ;
7475 PyObject
* obj1
= 0 ;
7476 PyObject
* obj2
= 0 ;
7477 PyObject
* obj3
= 0 ;
7478 PyObject
* obj4
= 0 ;
7479 PyObject
* obj5
= 0 ;
7480 PyObject
* obj6
= 0 ;
7481 PyObject
* obj7
= 0 ;
7483 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7489 arg2
= (int) SWIG_AsInt(obj1
);
7490 if (PyErr_Occurred()) SWIG_fail
;
7493 arg3
= wxString_in_helper(obj2
);
7494 if (arg3
== NULL
) SWIG_fail
;
7501 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7507 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7511 arg6
= (long) SWIG_AsLong(obj5
);
7512 if (PyErr_Occurred()) SWIG_fail
;
7515 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
7516 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7519 PyErr_SetString(PyExc_TypeError
,"null reference");
7525 arg8
= wxString_in_helper(obj7
);
7526 if (arg8
== NULL
) SWIG_fail
;
7531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7532 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7534 wxPyEndAllowThreads(__tstate
);
7535 if (PyErr_Occurred()) SWIG_fail
;
7538 resultobj
= wxPyMake_wxObject(result
);
7562 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7563 PyObject
*resultobj
;
7569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
7571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7572 result
= (wxTextCtrl
*)new wxTextCtrl();
7574 wxPyEndAllowThreads(__tstate
);
7575 if (PyErr_Occurred()) SWIG_fail
;
7578 resultobj
= wxPyMake_wxObject(result
);
7586 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7587 PyObject
*resultobj
;
7588 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7589 wxWindow
*arg2
= (wxWindow
*) 0 ;
7591 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7592 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7593 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7594 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7595 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7596 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7597 long arg7
= (long) 0 ;
7598 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7599 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7600 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
7601 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7603 bool temp4
= False
;
7606 bool temp9
= False
;
7607 PyObject
* obj0
= 0 ;
7608 PyObject
* obj1
= 0 ;
7609 PyObject
* obj2
= 0 ;
7610 PyObject
* obj3
= 0 ;
7611 PyObject
* obj4
= 0 ;
7612 PyObject
* obj5
= 0 ;
7613 PyObject
* obj6
= 0 ;
7614 PyObject
* obj7
= 0 ;
7615 PyObject
* obj8
= 0 ;
7617 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7623 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7625 arg3
= (int) SWIG_AsInt(obj2
);
7626 if (PyErr_Occurred()) SWIG_fail
;
7629 arg4
= wxString_in_helper(obj3
);
7630 if (arg4
== NULL
) SWIG_fail
;
7637 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7643 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7647 arg7
= (long) SWIG_AsLong(obj6
);
7648 if (PyErr_Occurred()) SWIG_fail
;
7651 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
7652 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7655 PyErr_SetString(PyExc_TypeError
,"null reference");
7661 arg9
= wxString_in_helper(obj8
);
7662 if (arg9
== NULL
) SWIG_fail
;
7667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7668 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7670 wxPyEndAllowThreads(__tstate
);
7671 if (PyErr_Occurred()) SWIG_fail
;
7674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7698 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7699 PyObject
*resultobj
;
7700 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7702 PyObject
* obj0
= 0 ;
7704 (char *) "self", NULL
7707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
7708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7712 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
7714 wxPyEndAllowThreads(__tstate
);
7715 if (PyErr_Occurred()) SWIG_fail
;
7719 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7721 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7730 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7731 PyObject
*resultobj
;
7732 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7733 wxString
*arg2
= 0 ;
7734 bool temp2
= False
;
7735 PyObject
* obj0
= 0 ;
7736 PyObject
* obj1
= 0 ;
7738 (char *) "self",(char *) "value", NULL
7741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7745 arg2
= wxString_in_helper(obj1
);
7746 if (arg2
== NULL
) SWIG_fail
;
7750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7751 (arg1
)->SetValue((wxString
const &)*arg2
);
7753 wxPyEndAllowThreads(__tstate
);
7754 if (PyErr_Occurred()) SWIG_fail
;
7756 Py_INCREF(Py_None
); resultobj
= Py_None
;
7771 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7772 PyObject
*resultobj
;
7773 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7777 PyObject
* obj0
= 0 ;
7778 PyObject
* obj1
= 0 ;
7779 PyObject
* obj2
= 0 ;
7781 (char *) "self",(char *) "from",(char *) "to", NULL
7784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7787 arg2
= (long) SWIG_AsLong(obj1
);
7788 if (PyErr_Occurred()) SWIG_fail
;
7789 arg3
= (long) SWIG_AsLong(obj2
);
7790 if (PyErr_Occurred()) SWIG_fail
;
7792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7793 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
7795 wxPyEndAllowThreads(__tstate
);
7796 if (PyErr_Occurred()) SWIG_fail
;
7800 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7802 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7811 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7812 PyObject
*resultobj
;
7813 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7816 PyObject
* obj0
= 0 ;
7817 PyObject
* obj1
= 0 ;
7819 (char *) "self",(char *) "lineNo", NULL
7822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7825 arg2
= (long) SWIG_AsLong(obj1
);
7826 if (PyErr_Occurred()) SWIG_fail
;
7828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7829 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
7831 wxPyEndAllowThreads(__tstate
);
7832 if (PyErr_Occurred()) SWIG_fail
;
7834 resultobj
= SWIG_FromInt((int)result
);
7841 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7842 PyObject
*resultobj
;
7843 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7846 PyObject
* obj0
= 0 ;
7847 PyObject
* obj1
= 0 ;
7849 (char *) "self",(char *) "lineNo", NULL
7852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
7853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7855 arg2
= (long) SWIG_AsLong(obj1
);
7856 if (PyErr_Occurred()) SWIG_fail
;
7858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7859 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
7861 wxPyEndAllowThreads(__tstate
);
7862 if (PyErr_Occurred()) SWIG_fail
;
7866 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7868 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7877 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, 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_GetNumberOfLines",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
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
7893 wxPyEndAllowThreads(__tstate
);
7894 if (PyErr_Occurred()) SWIG_fail
;
7896 resultobj
= SWIG_FromInt((int)result
);
7903 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7904 PyObject
*resultobj
;
7905 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7907 PyObject
* obj0
= 0 ;
7909 (char *) "self", NULL
7912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
7913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7917 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
7919 wxPyEndAllowThreads(__tstate
);
7920 if (PyErr_Occurred()) SWIG_fail
;
7923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7931 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7932 PyObject
*resultobj
;
7933 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7935 PyObject
* obj0
= 0 ;
7937 (char *) "self", NULL
7940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
7941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7945 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
7947 wxPyEndAllowThreads(__tstate
);
7948 if (PyErr_Occurred()) SWIG_fail
;
7951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7959 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7960 PyObject
*resultobj
;
7961 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7963 PyObject
* obj0
= 0 ;
7965 (char *) "self", NULL
7968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
7969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7973 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
7975 wxPyEndAllowThreads(__tstate
);
7976 if (PyErr_Occurred()) SWIG_fail
;
7979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7987 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7988 PyObject
*resultobj
;
7989 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7991 PyObject
* obj0
= 0 ;
7993 (char *) "self", NULL
7996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
7997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8001 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
8003 wxPyEndAllowThreads(__tstate
);
8004 if (PyErr_Occurred()) SWIG_fail
;
8007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8015 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8016 PyObject
*resultobj
;
8017 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8018 long *arg2
= (long *) 0 ;
8019 long *arg3
= (long *) 0 ;
8022 PyObject
* obj0
= 0 ;
8024 (char *) "self", NULL
8029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
8030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8034 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
8036 wxPyEndAllowThreads(__tstate
);
8037 if (PyErr_Occurred()) SWIG_fail
;
8039 Py_INCREF(Py_None
); resultobj
= Py_None
;
8041 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8042 resultobj
= t_output_helper(resultobj
,o
);
8045 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8046 resultobj
= t_output_helper(resultobj
,o
);
8054 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8055 PyObject
*resultobj
;
8056 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8058 PyObject
* obj0
= 0 ;
8060 (char *) "self", NULL
8063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
8064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8068 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
8070 wxPyEndAllowThreads(__tstate
);
8071 if (PyErr_Occurred()) SWIG_fail
;
8075 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8077 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8086 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8087 PyObject
*resultobj
;
8088 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8089 PyObject
* obj0
= 0 ;
8091 (char *) "self", NULL
8094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
8095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8101 wxPyEndAllowThreads(__tstate
);
8102 if (PyErr_Occurred()) SWIG_fail
;
8104 Py_INCREF(Py_None
); resultobj
= Py_None
;
8111 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8112 PyObject
*resultobj
;
8113 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8116 wxString
*arg4
= 0 ;
8117 bool temp4
= False
;
8118 PyObject
* obj0
= 0 ;
8119 PyObject
* obj1
= 0 ;
8120 PyObject
* obj2
= 0 ;
8121 PyObject
* obj3
= 0 ;
8123 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8129 arg2
= (long) SWIG_AsLong(obj1
);
8130 if (PyErr_Occurred()) SWIG_fail
;
8131 arg3
= (long) SWIG_AsLong(obj2
);
8132 if (PyErr_Occurred()) SWIG_fail
;
8134 arg4
= wxString_in_helper(obj3
);
8135 if (arg4
== NULL
) SWIG_fail
;
8139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8140 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
8142 wxPyEndAllowThreads(__tstate
);
8143 if (PyErr_Occurred()) SWIG_fail
;
8145 Py_INCREF(Py_None
); resultobj
= Py_None
;
8160 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8161 PyObject
*resultobj
;
8162 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8165 PyObject
* obj0
= 0 ;
8166 PyObject
* obj1
= 0 ;
8167 PyObject
* obj2
= 0 ;
8169 (char *) "self",(char *) "from",(char *) "to", NULL
8172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8175 arg2
= (long) SWIG_AsLong(obj1
);
8176 if (PyErr_Occurred()) SWIG_fail
;
8177 arg3
= (long) SWIG_AsLong(obj2
);
8178 if (PyErr_Occurred()) SWIG_fail
;
8180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8181 (arg1
)->Remove(arg2
,arg3
);
8183 wxPyEndAllowThreads(__tstate
);
8184 if (PyErr_Occurred()) SWIG_fail
;
8186 Py_INCREF(Py_None
); resultobj
= Py_None
;
8193 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8194 PyObject
*resultobj
;
8195 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8196 wxString
*arg2
= 0 ;
8198 bool temp2
= False
;
8199 PyObject
* obj0
= 0 ;
8200 PyObject
* obj1
= 0 ;
8202 (char *) "self",(char *) "file", NULL
8205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8209 arg2
= wxString_in_helper(obj1
);
8210 if (arg2
== NULL
) SWIG_fail
;
8214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8215 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
8217 wxPyEndAllowThreads(__tstate
);
8218 if (PyErr_Occurred()) SWIG_fail
;
8221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8237 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8238 PyObject
*resultobj
;
8239 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8240 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8241 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8243 bool temp2
= False
;
8244 PyObject
* obj0
= 0 ;
8245 PyObject
* obj1
= 0 ;
8247 (char *) "self",(char *) "file", NULL
8250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8255 arg2
= wxString_in_helper(obj1
);
8256 if (arg2
== NULL
) SWIG_fail
;
8261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8262 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8264 wxPyEndAllowThreads(__tstate
);
8265 if (PyErr_Occurred()) SWIG_fail
;
8268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8284 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8285 PyObject
*resultobj
;
8286 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8287 PyObject
* obj0
= 0 ;
8289 (char *) "self", NULL
8292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8297 (arg1
)->MarkDirty();
8299 wxPyEndAllowThreads(__tstate
);
8300 if (PyErr_Occurred()) SWIG_fail
;
8302 Py_INCREF(Py_None
); resultobj
= Py_None
;
8309 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8310 PyObject
*resultobj
;
8311 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8312 PyObject
* obj0
= 0 ;
8314 (char *) "self", NULL
8317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8322 (arg1
)->DiscardEdits();
8324 wxPyEndAllowThreads(__tstate
);
8325 if (PyErr_Occurred()) SWIG_fail
;
8327 Py_INCREF(Py_None
); resultobj
= Py_None
;
8334 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8335 PyObject
*resultobj
;
8336 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8337 unsigned long arg2
;
8338 PyObject
* obj0
= 0 ;
8339 PyObject
* obj1
= 0 ;
8341 (char *) "self",(char *) "len", NULL
8344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8347 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
8348 if (PyErr_Occurred()) SWIG_fail
;
8350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8351 (arg1
)->SetMaxLength(arg2
);
8353 wxPyEndAllowThreads(__tstate
);
8354 if (PyErr_Occurred()) SWIG_fail
;
8356 Py_INCREF(Py_None
); resultobj
= Py_None
;
8363 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8364 PyObject
*resultobj
;
8365 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8366 wxString
*arg2
= 0 ;
8367 bool temp2
= False
;
8368 PyObject
* obj0
= 0 ;
8369 PyObject
* obj1
= 0 ;
8371 (char *) "self",(char *) "text", NULL
8374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8378 arg2
= wxString_in_helper(obj1
);
8379 if (arg2
== NULL
) SWIG_fail
;
8383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8384 (arg1
)->WriteText((wxString
const &)*arg2
);
8386 wxPyEndAllowThreads(__tstate
);
8387 if (PyErr_Occurred()) SWIG_fail
;
8389 Py_INCREF(Py_None
); resultobj
= Py_None
;
8404 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8405 PyObject
*resultobj
;
8406 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8407 wxString
*arg2
= 0 ;
8408 bool temp2
= False
;
8409 PyObject
* obj0
= 0 ;
8410 PyObject
* obj1
= 0 ;
8412 (char *) "self",(char *) "text", NULL
8415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
8416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8419 arg2
= wxString_in_helper(obj1
);
8420 if (arg2
== NULL
) SWIG_fail
;
8424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8425 (arg1
)->AppendText((wxString
const &)*arg2
);
8427 wxPyEndAllowThreads(__tstate
);
8428 if (PyErr_Occurred()) SWIG_fail
;
8430 Py_INCREF(Py_None
); resultobj
= Py_None
;
8445 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8446 PyObject
*resultobj
;
8447 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8448 wxKeyEvent
*arg2
= 0 ;
8450 PyObject
* obj0
= 0 ;
8451 PyObject
* obj1
= 0 ;
8453 (char *) "self",(char *) "event", NULL
8456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
8457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8459 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
8460 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8463 PyErr_SetString(PyExc_TypeError
,"null reference");
8467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8468 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
8470 wxPyEndAllowThreads(__tstate
);
8471 if (PyErr_Occurred()) SWIG_fail
;
8474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8482 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8483 PyObject
*resultobj
;
8484 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8487 wxTextAttr
*arg4
= 0 ;
8489 PyObject
* obj0
= 0 ;
8490 PyObject
* obj1
= 0 ;
8491 PyObject
* obj2
= 0 ;
8492 PyObject
* obj3
= 0 ;
8494 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8500 arg2
= (long) SWIG_AsLong(obj1
);
8501 if (PyErr_Occurred()) SWIG_fail
;
8502 arg3
= (long) SWIG_AsLong(obj2
);
8503 if (PyErr_Occurred()) SWIG_fail
;
8504 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
,
8505 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8508 PyErr_SetString(PyExc_TypeError
,"null reference");
8512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8513 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
8515 wxPyEndAllowThreads(__tstate
);
8516 if (PyErr_Occurred()) SWIG_fail
;
8519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8527 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8528 PyObject
*resultobj
;
8529 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8531 wxTextAttr
*arg3
= 0 ;
8533 PyObject
* obj0
= 0 ;
8534 PyObject
* obj1
= 0 ;
8535 PyObject
* obj2
= 0 ;
8537 (char *) "self",(char *) "position",(char *) "style", NULL
8540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8543 arg2
= (long) SWIG_AsLong(obj1
);
8544 if (PyErr_Occurred()) SWIG_fail
;
8545 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
,
8546 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8549 PyErr_SetString(PyExc_TypeError
,"null reference");
8553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8554 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
8556 wxPyEndAllowThreads(__tstate
);
8557 if (PyErr_Occurred()) SWIG_fail
;
8560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8568 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8569 PyObject
*resultobj
;
8570 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8571 wxTextAttr
*arg2
= 0 ;
8573 PyObject
* obj0
= 0 ;
8574 PyObject
* obj1
= 0 ;
8576 (char *) "self",(char *) "style", NULL
8579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8582 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
8583 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8586 PyErr_SetString(PyExc_TypeError
,"null reference");
8590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8591 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
8593 wxPyEndAllowThreads(__tstate
);
8594 if (PyErr_Occurred()) SWIG_fail
;
8597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8605 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8606 PyObject
*resultobj
;
8607 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8609 PyObject
* obj0
= 0 ;
8611 (char *) "self", NULL
8614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
8615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8620 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
8621 result
= (wxTextAttr
*) &_result_ref
;
8624 wxPyEndAllowThreads(__tstate
);
8625 if (PyErr_Occurred()) SWIG_fail
;
8627 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
8634 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8635 PyObject
*resultobj
;
8636 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8640 PyObject
* obj0
= 0 ;
8641 PyObject
* obj1
= 0 ;
8642 PyObject
* obj2
= 0 ;
8644 (char *) "self",(char *) "x",(char *) "y", NULL
8647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8650 arg2
= (long) SWIG_AsLong(obj1
);
8651 if (PyErr_Occurred()) SWIG_fail
;
8652 arg3
= (long) SWIG_AsLong(obj2
);
8653 if (PyErr_Occurred()) SWIG_fail
;
8655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8656 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
8658 wxPyEndAllowThreads(__tstate
);
8659 if (PyErr_Occurred()) SWIG_fail
;
8661 resultobj
= SWIG_FromLong((long)result
);
8668 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8669 PyObject
*resultobj
;
8670 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8672 long *arg3
= (long *) 0 ;
8673 long *arg4
= (long *) 0 ;
8676 PyObject
* obj0
= 0 ;
8677 PyObject
* obj1
= 0 ;
8679 (char *) "self",(char *) "pos", NULL
8684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
8685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8687 arg2
= (long) SWIG_AsLong(obj1
);
8688 if (PyErr_Occurred()) SWIG_fail
;
8690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8691 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
8693 wxPyEndAllowThreads(__tstate
);
8694 if (PyErr_Occurred()) SWIG_fail
;
8696 Py_INCREF(Py_None
); resultobj
= Py_None
;
8698 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8699 resultobj
= t_output_helper(resultobj
,o
);
8702 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8703 resultobj
= t_output_helper(resultobj
,o
);
8711 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8712 PyObject
*resultobj
;
8713 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8715 PyObject
* obj0
= 0 ;
8716 PyObject
* obj1
= 0 ;
8718 (char *) "self",(char *) "pos", NULL
8721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8724 arg2
= (long) SWIG_AsLong(obj1
);
8725 if (PyErr_Occurred()) SWIG_fail
;
8727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8728 (arg1
)->ShowPosition(arg2
);
8730 wxPyEndAllowThreads(__tstate
);
8731 if (PyErr_Occurred()) SWIG_fail
;
8733 Py_INCREF(Py_None
); resultobj
= Py_None
;
8740 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8741 PyObject
*resultobj
;
8742 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8744 long *arg3
= (long *) 0 ;
8745 long *arg4
= (long *) 0 ;
8750 PyObject
* obj0
= 0 ;
8751 PyObject
* obj1
= 0 ;
8753 (char *) "self",(char *) "pt", NULL
8758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8763 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8767 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
8769 wxPyEndAllowThreads(__tstate
);
8770 if (PyErr_Occurred()) SWIG_fail
;
8772 resultobj
= SWIG_FromInt((int)result
);
8774 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8775 resultobj
= t_output_helper(resultobj
,o
);
8778 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8779 resultobj
= t_output_helper(resultobj
,o
);
8787 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8788 PyObject
*resultobj
;
8789 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8790 PyObject
* obj0
= 0 ;
8792 (char *) "self", NULL
8795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
8796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8802 wxPyEndAllowThreads(__tstate
);
8803 if (PyErr_Occurred()) SWIG_fail
;
8805 Py_INCREF(Py_None
); resultobj
= Py_None
;
8812 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8813 PyObject
*resultobj
;
8814 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8815 PyObject
* obj0
= 0 ;
8817 (char *) "self", NULL
8820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
8821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8827 wxPyEndAllowThreads(__tstate
);
8828 if (PyErr_Occurred()) SWIG_fail
;
8830 Py_INCREF(Py_None
); resultobj
= Py_None
;
8837 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8838 PyObject
*resultobj
;
8839 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8840 PyObject
* obj0
= 0 ;
8842 (char *) "self", NULL
8845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",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();
8852 wxPyEndAllowThreads(__tstate
);
8853 if (PyErr_Occurred()) SWIG_fail
;
8855 Py_INCREF(Py_None
); resultobj
= Py_None
;
8862 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8863 PyObject
*resultobj
;
8864 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8866 PyObject
* obj0
= 0 ;
8868 (char *) "self", NULL
8871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
8872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8876 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
8878 wxPyEndAllowThreads(__tstate
);
8879 if (PyErr_Occurred()) SWIG_fail
;
8882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8890 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8891 PyObject
*resultobj
;
8892 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8894 PyObject
* obj0
= 0 ;
8896 (char *) "self", NULL
8899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
8900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8904 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
8906 wxPyEndAllowThreads(__tstate
);
8907 if (PyErr_Occurred()) SWIG_fail
;
8910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8918 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8919 PyObject
*resultobj
;
8920 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8922 PyObject
* obj0
= 0 ;
8924 (char *) "self", NULL
8927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
8928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8932 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
8934 wxPyEndAllowThreads(__tstate
);
8935 if (PyErr_Occurred()) SWIG_fail
;
8938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8946 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8947 PyObject
*resultobj
;
8948 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8949 PyObject
* obj0
= 0 ;
8951 (char *) "self", NULL
8954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
8955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8961 wxPyEndAllowThreads(__tstate
);
8962 if (PyErr_Occurred()) SWIG_fail
;
8964 Py_INCREF(Py_None
); resultobj
= Py_None
;
8971 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8972 PyObject
*resultobj
;
8973 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8974 PyObject
* obj0
= 0 ;
8976 (char *) "self", NULL
8979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",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();
8986 wxPyEndAllowThreads(__tstate
);
8987 if (PyErr_Occurred()) SWIG_fail
;
8989 Py_INCREF(Py_None
); resultobj
= Py_None
;
8996 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8997 PyObject
*resultobj
;
8998 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9000 PyObject
* obj0
= 0 ;
9002 (char *) "self", NULL
9005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
9006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9010 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
9012 wxPyEndAllowThreads(__tstate
);
9013 if (PyErr_Occurred()) SWIG_fail
;
9016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9024 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9025 PyObject
*resultobj
;
9026 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9028 PyObject
* obj0
= 0 ;
9030 (char *) "self", NULL
9033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
9034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9038 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
9040 wxPyEndAllowThreads(__tstate
);
9041 if (PyErr_Occurred()) SWIG_fail
;
9044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9052 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9053 PyObject
*resultobj
;
9054 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9056 PyObject
* obj0
= 0 ;
9057 PyObject
* obj1
= 0 ;
9059 (char *) "self",(char *) "pos", NULL
9062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
9063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9065 arg2
= (long) SWIG_AsLong(obj1
);
9066 if (PyErr_Occurred()) SWIG_fail
;
9068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9069 (arg1
)->SetInsertionPoint(arg2
);
9071 wxPyEndAllowThreads(__tstate
);
9072 if (PyErr_Occurred()) SWIG_fail
;
9074 Py_INCREF(Py_None
); resultobj
= Py_None
;
9081 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9082 PyObject
*resultobj
;
9083 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9084 PyObject
* obj0
= 0 ;
9086 (char *) "self", NULL
9089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",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 (arg1
)->SetInsertionPointEnd();
9096 wxPyEndAllowThreads(__tstate
);
9097 if (PyErr_Occurred()) SWIG_fail
;
9099 Py_INCREF(Py_None
); resultobj
= Py_None
;
9106 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, 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_GetInsertionPoint",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
)->GetInsertionPoint();
9122 wxPyEndAllowThreads(__tstate
);
9123 if (PyErr_Occurred()) SWIG_fail
;
9125 resultobj
= SWIG_FromLong((long)result
);
9132 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9133 PyObject
*resultobj
;
9134 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9136 PyObject
* obj0
= 0 ;
9138 (char *) "self", NULL
9141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
9142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9146 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
9148 wxPyEndAllowThreads(__tstate
);
9149 if (PyErr_Occurred()) SWIG_fail
;
9151 resultobj
= SWIG_FromLong((long)result
);
9158 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9159 PyObject
*resultobj
;
9160 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9163 PyObject
* obj0
= 0 ;
9164 PyObject
* obj1
= 0 ;
9165 PyObject
* obj2
= 0 ;
9167 (char *) "self",(char *) "from",(char *) "to", NULL
9170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9173 arg2
= (long) SWIG_AsLong(obj1
);
9174 if (PyErr_Occurred()) SWIG_fail
;
9175 arg3
= (long) SWIG_AsLong(obj2
);
9176 if (PyErr_Occurred()) SWIG_fail
;
9178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9179 (arg1
)->SetSelection(arg2
,arg3
);
9181 wxPyEndAllowThreads(__tstate
);
9182 if (PyErr_Occurred()) SWIG_fail
;
9184 Py_INCREF(Py_None
); resultobj
= Py_None
;
9191 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9192 PyObject
*resultobj
;
9193 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9194 PyObject
* obj0
= 0 ;
9196 (char *) "self", NULL
9199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
9200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9204 (arg1
)->SelectAll();
9206 wxPyEndAllowThreads(__tstate
);
9207 if (PyErr_Occurred()) SWIG_fail
;
9209 Py_INCREF(Py_None
); resultobj
= Py_None
;
9216 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9217 PyObject
*resultobj
;
9218 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9220 PyObject
* obj0
= 0 ;
9221 PyObject
* obj1
= 0 ;
9223 (char *) "self",(char *) "editable", NULL
9226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
9227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9229 arg2
= (bool) SWIG_AsBool(obj1
);
9230 if (PyErr_Occurred()) SWIG_fail
;
9232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9233 (arg1
)->SetEditable(arg2
);
9235 wxPyEndAllowThreads(__tstate
);
9236 if (PyErr_Occurred()) SWIG_fail
;
9238 Py_INCREF(Py_None
); resultobj
= Py_None
;
9245 static PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9246 PyObject
*resultobj
;
9247 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9248 bool arg2
= (bool) True
;
9250 PyObject
* obj0
= 0 ;
9251 PyObject
* obj1
= 0 ;
9253 (char *) "self",(char *) "show", NULL
9256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
9257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9260 arg2
= (bool) SWIG_AsBool(obj1
);
9261 if (PyErr_Occurred()) SWIG_fail
;
9264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9265 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
9267 wxPyEndAllowThreads(__tstate
);
9268 if (PyErr_Occurred()) SWIG_fail
;
9271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9279 static PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9280 PyObject
*resultobj
;
9281 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9283 PyObject
* obj0
= 0 ;
9285 (char *) "self", NULL
9288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_HideNativeCaret",kwnames
,&obj0
)) goto fail
;
9289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9293 result
= (bool)(arg1
)->HideNativeCaret();
9295 wxPyEndAllowThreads(__tstate
);
9296 if (PyErr_Occurred()) SWIG_fail
;
9299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9307 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9308 PyObject
*resultobj
;
9309 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9310 wxString
*arg2
= 0 ;
9311 bool temp2
= False
;
9312 PyObject
* obj0
= 0 ;
9313 PyObject
* obj1
= 0 ;
9315 (char *) "self",(char *) "text", NULL
9318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9322 arg2
= wxString_in_helper(obj1
);
9323 if (arg2
== NULL
) SWIG_fail
;
9327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9328 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
9330 wxPyEndAllowThreads(__tstate
);
9331 if (PyErr_Occurred()) SWIG_fail
;
9333 Py_INCREF(Py_None
); resultobj
= Py_None
;
9348 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9349 PyObject
*resultobj
;
9350 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9354 PyObject
* obj0
= 0 ;
9355 PyObject
* obj1
= 0 ;
9356 PyObject
* obj2
= 0 ;
9358 (char *) "self",(char *) "from",(char *) "to", NULL
9361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9364 arg2
= (long) SWIG_AsLong(obj1
);
9365 if (PyErr_Occurred()) SWIG_fail
;
9366 arg3
= (long) SWIG_AsLong(obj2
);
9367 if (PyErr_Occurred()) SWIG_fail
;
9369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9370 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9372 wxPyEndAllowThreads(__tstate
);
9373 if (PyErr_Occurred()) SWIG_fail
;
9377 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9379 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9388 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9390 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9391 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
9393 return Py_BuildValue((char *)"");
9395 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9396 PyObject
*resultobj
;
9398 wxMouseEvent
*arg2
= 0 ;
9401 wxTextUrlEvent
*result
;
9402 PyObject
* obj0
= 0 ;
9403 PyObject
* obj1
= 0 ;
9404 PyObject
* obj2
= 0 ;
9405 PyObject
* obj3
= 0 ;
9407 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9411 arg1
= (int) SWIG_AsInt(obj0
);
9412 if (PyErr_Occurred()) SWIG_fail
;
9413 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
9414 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9417 PyErr_SetString(PyExc_TypeError
,"null reference");
9420 arg3
= (long) SWIG_AsLong(obj2
);
9421 if (PyErr_Occurred()) SWIG_fail
;
9422 arg4
= (long) SWIG_AsLong(obj3
);
9423 if (PyErr_Occurred()) SWIG_fail
;
9425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9426 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
9428 wxPyEndAllowThreads(__tstate
);
9429 if (PyErr_Occurred()) SWIG_fail
;
9431 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
9438 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9439 PyObject
*resultobj
;
9440 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9441 wxMouseEvent
*result
;
9442 PyObject
* obj0
= 0 ;
9444 (char *) "self", NULL
9447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
9448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9453 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
9454 result
= (wxMouseEvent
*) &_result_ref
;
9457 wxPyEndAllowThreads(__tstate
);
9458 if (PyErr_Occurred()) SWIG_fail
;
9460 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
9467 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9468 PyObject
*resultobj
;
9469 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9471 PyObject
* obj0
= 0 ;
9473 (char *) "self", NULL
9476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
9477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9481 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
9483 wxPyEndAllowThreads(__tstate
);
9484 if (PyErr_Occurred()) SWIG_fail
;
9486 resultobj
= SWIG_FromLong((long)result
);
9493 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9494 PyObject
*resultobj
;
9495 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9497 PyObject
* obj0
= 0 ;
9499 (char *) "self", NULL
9502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
9503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9507 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
9509 wxPyEndAllowThreads(__tstate
);
9510 if (PyErr_Occurred()) SWIG_fail
;
9512 resultobj
= SWIG_FromLong((long)result
);
9519 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9521 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9522 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
9524 return Py_BuildValue((char *)"");
9526 static int _wrap_ScrollBarNameStr_set(PyObject
*_val
) {
9527 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
9532 static PyObject
*_wrap_ScrollBarNameStr_get() {
9537 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9539 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9546 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9547 PyObject
*resultobj
;
9548 wxWindow
*arg1
= (wxWindow
*) 0 ;
9549 int arg2
= (int) -1 ;
9550 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9551 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9552 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9553 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9554 long arg5
= (long) wxSB_HORIZONTAL
;
9555 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
9556 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
9557 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
9558 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9559 wxScrollBar
*result
;
9562 bool temp7
= False
;
9563 PyObject
* obj0
= 0 ;
9564 PyObject
* obj1
= 0 ;
9565 PyObject
* obj2
= 0 ;
9566 PyObject
* obj3
= 0 ;
9567 PyObject
* obj4
= 0 ;
9568 PyObject
* obj5
= 0 ;
9569 PyObject
* obj6
= 0 ;
9571 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9578 arg2
= (int) SWIG_AsInt(obj1
);
9579 if (PyErr_Occurred()) SWIG_fail
;
9584 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9590 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9594 arg5
= (long) SWIG_AsLong(obj4
);
9595 if (PyErr_Occurred()) SWIG_fail
;
9598 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
9599 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9602 PyErr_SetString(PyExc_TypeError
,"null reference");
9608 arg7
= wxString_in_helper(obj6
);
9609 if (arg7
== NULL
) SWIG_fail
;
9614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9615 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
9617 wxPyEndAllowThreads(__tstate
);
9618 if (PyErr_Occurred()) SWIG_fail
;
9620 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
9635 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9636 PyObject
*resultobj
;
9637 wxScrollBar
*result
;
9642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
9644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9645 result
= (wxScrollBar
*)new wxScrollBar();
9647 wxPyEndAllowThreads(__tstate
);
9648 if (PyErr_Occurred()) SWIG_fail
;
9650 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
9657 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9658 PyObject
*resultobj
;
9659 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9660 wxWindow
*arg2
= (wxWindow
*) 0 ;
9661 int arg3
= (int) -1 ;
9662 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9663 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9664 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9665 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9666 long arg6
= (long) wxSB_HORIZONTAL
;
9667 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9668 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9669 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
9670 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9674 bool temp8
= False
;
9675 PyObject
* obj0
= 0 ;
9676 PyObject
* obj1
= 0 ;
9677 PyObject
* obj2
= 0 ;
9678 PyObject
* obj3
= 0 ;
9679 PyObject
* obj4
= 0 ;
9680 PyObject
* obj5
= 0 ;
9681 PyObject
* obj6
= 0 ;
9682 PyObject
* obj7
= 0 ;
9684 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9690 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9693 arg3
= (int) SWIG_AsInt(obj2
);
9694 if (PyErr_Occurred()) SWIG_fail
;
9699 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9705 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9709 arg6
= (long) SWIG_AsLong(obj5
);
9710 if (PyErr_Occurred()) SWIG_fail
;
9713 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
9714 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9717 PyErr_SetString(PyExc_TypeError
,"null reference");
9723 arg8
= wxString_in_helper(obj7
);
9724 if (arg8
== NULL
) SWIG_fail
;
9729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9730 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9732 wxPyEndAllowThreads(__tstate
);
9733 if (PyErr_Occurred()) SWIG_fail
;
9736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9752 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9753 PyObject
*resultobj
;
9754 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9756 PyObject
* obj0
= 0 ;
9758 (char *) "self", NULL
9761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
9762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9766 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
9768 wxPyEndAllowThreads(__tstate
);
9769 if (PyErr_Occurred()) SWIG_fail
;
9771 resultobj
= SWIG_FromInt((int)result
);
9778 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9779 PyObject
*resultobj
;
9780 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9782 PyObject
* obj0
= 0 ;
9784 (char *) "self", NULL
9787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
9788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9792 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
9794 wxPyEndAllowThreads(__tstate
);
9795 if (PyErr_Occurred()) SWIG_fail
;
9797 resultobj
= SWIG_FromInt((int)result
);
9804 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9805 PyObject
*resultobj
;
9806 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9808 PyObject
* obj0
= 0 ;
9810 (char *) "self", NULL
9813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
9814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9818 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
9820 wxPyEndAllowThreads(__tstate
);
9821 if (PyErr_Occurred()) SWIG_fail
;
9823 resultobj
= SWIG_FromInt((int)result
);
9830 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9831 PyObject
*resultobj
;
9832 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9834 PyObject
* obj0
= 0 ;
9836 (char *) "self", NULL
9839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
9840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9844 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
9846 wxPyEndAllowThreads(__tstate
);
9847 if (PyErr_Occurred()) SWIG_fail
;
9849 resultobj
= SWIG_FromInt((int)result
);
9856 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9857 PyObject
*resultobj
;
9858 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9860 PyObject
* obj0
= 0 ;
9862 (char *) "self", NULL
9865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
9866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9870 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
9872 wxPyEndAllowThreads(__tstate
);
9873 if (PyErr_Occurred()) SWIG_fail
;
9876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9884 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9885 PyObject
*resultobj
;
9886 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9888 PyObject
* obj0
= 0 ;
9889 PyObject
* obj1
= 0 ;
9891 (char *) "self",(char *) "viewStart", NULL
9894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9897 arg2
= (int) SWIG_AsInt(obj1
);
9898 if (PyErr_Occurred()) SWIG_fail
;
9900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9901 (arg1
)->SetThumbPosition(arg2
);
9903 wxPyEndAllowThreads(__tstate
);
9904 if (PyErr_Occurred()) SWIG_fail
;
9906 Py_INCREF(Py_None
); resultobj
= Py_None
;
9913 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9914 PyObject
*resultobj
;
9915 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9920 bool arg6
= (bool) True
;
9921 PyObject
* obj0
= 0 ;
9922 PyObject
* obj1
= 0 ;
9923 PyObject
* obj2
= 0 ;
9924 PyObject
* obj3
= 0 ;
9925 PyObject
* obj4
= 0 ;
9926 PyObject
* obj5
= 0 ;
9928 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
9931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9934 arg2
= (int) SWIG_AsInt(obj1
);
9935 if (PyErr_Occurred()) SWIG_fail
;
9936 arg3
= (int) SWIG_AsInt(obj2
);
9937 if (PyErr_Occurred()) SWIG_fail
;
9938 arg4
= (int) SWIG_AsInt(obj3
);
9939 if (PyErr_Occurred()) SWIG_fail
;
9940 arg5
= (int) SWIG_AsInt(obj4
);
9941 if (PyErr_Occurred()) SWIG_fail
;
9943 arg6
= (bool) SWIG_AsBool(obj5
);
9944 if (PyErr_Occurred()) SWIG_fail
;
9947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9948 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
9950 wxPyEndAllowThreads(__tstate
);
9951 if (PyErr_Occurred()) SWIG_fail
;
9953 Py_INCREF(Py_None
); resultobj
= Py_None
;
9960 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
9962 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9963 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
9965 return Py_BuildValue((char *)"");
9967 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*_val
) {
9968 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
9973 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
9978 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9980 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9987 static int _wrap_SpinCtrlNameStr_set(PyObject
*_val
) {
9988 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
9993 static PyObject
*_wrap_SpinCtrlNameStr_get() {
9998 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10000 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10007 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10008 PyObject
*resultobj
;
10009 wxWindow
*arg1
= (wxWindow
*) 0 ;
10010 int arg2
= (int) -1 ;
10011 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10012 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10013 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10014 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10015 long arg5
= (long) wxSP_HORIZONTAL
;
10016 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
10017 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10018 wxSpinButton
*result
;
10021 bool temp6
= False
;
10022 PyObject
* obj0
= 0 ;
10023 PyObject
* obj1
= 0 ;
10024 PyObject
* obj2
= 0 ;
10025 PyObject
* obj3
= 0 ;
10026 PyObject
* obj4
= 0 ;
10027 PyObject
* obj5
= 0 ;
10028 char *kwnames
[] = {
10029 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10036 arg2
= (int) SWIG_AsInt(obj1
);
10037 if (PyErr_Occurred()) SWIG_fail
;
10042 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10048 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10052 arg5
= (long) SWIG_AsLong(obj4
);
10053 if (PyErr_Occurred()) SWIG_fail
;
10057 arg6
= wxString_in_helper(obj5
);
10058 if (arg6
== NULL
) SWIG_fail
;
10063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10064 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10066 wxPyEndAllowThreads(__tstate
);
10067 if (PyErr_Occurred()) SWIG_fail
;
10069 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10084 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10085 PyObject
*resultobj
;
10086 wxSpinButton
*result
;
10087 char *kwnames
[] = {
10091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
10093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10094 result
= (wxSpinButton
*)new wxSpinButton();
10096 wxPyEndAllowThreads(__tstate
);
10097 if (PyErr_Occurred()) SWIG_fail
;
10099 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10106 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10107 PyObject
*resultobj
;
10108 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10109 wxWindow
*arg2
= (wxWindow
*) 0 ;
10110 int arg3
= (int) -1 ;
10111 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10112 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10113 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10114 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10115 long arg6
= (long) wxSP_HORIZONTAL
;
10116 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
10117 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10121 bool temp7
= False
;
10122 PyObject
* obj0
= 0 ;
10123 PyObject
* obj1
= 0 ;
10124 PyObject
* obj2
= 0 ;
10125 PyObject
* obj3
= 0 ;
10126 PyObject
* obj4
= 0 ;
10127 PyObject
* obj5
= 0 ;
10128 PyObject
* obj6
= 0 ;
10129 char *kwnames
[] = {
10130 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10136 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10139 arg3
= (int) SWIG_AsInt(obj2
);
10140 if (PyErr_Occurred()) SWIG_fail
;
10145 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10151 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10155 arg6
= (long) SWIG_AsLong(obj5
);
10156 if (PyErr_Occurred()) SWIG_fail
;
10160 arg7
= wxString_in_helper(obj6
);
10161 if (arg7
== NULL
) SWIG_fail
;
10166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10167 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10169 wxPyEndAllowThreads(__tstate
);
10170 if (PyErr_Occurred()) SWIG_fail
;
10173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10189 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10190 PyObject
*resultobj
;
10191 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10193 PyObject
* obj0
= 0 ;
10194 char *kwnames
[] = {
10195 (char *) "self", NULL
10198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
10199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10203 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
10205 wxPyEndAllowThreads(__tstate
);
10206 if (PyErr_Occurred()) SWIG_fail
;
10208 resultobj
= SWIG_FromInt((int)result
);
10215 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10216 PyObject
*resultobj
;
10217 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10219 PyObject
* obj0
= 0 ;
10220 char *kwnames
[] = {
10221 (char *) "self", NULL
10224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
10225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10229 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
10231 wxPyEndAllowThreads(__tstate
);
10232 if (PyErr_Occurred()) SWIG_fail
;
10234 resultobj
= SWIG_FromInt((int)result
);
10241 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10242 PyObject
*resultobj
;
10243 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10245 PyObject
* obj0
= 0 ;
10246 char *kwnames
[] = {
10247 (char *) "self", NULL
10250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
10251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10255 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
10257 wxPyEndAllowThreads(__tstate
);
10258 if (PyErr_Occurred()) SWIG_fail
;
10260 resultobj
= SWIG_FromInt((int)result
);
10267 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10268 PyObject
*resultobj
;
10269 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10271 PyObject
* obj0
= 0 ;
10272 PyObject
* obj1
= 0 ;
10273 char *kwnames
[] = {
10274 (char *) "self",(char *) "val", NULL
10277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10280 arg2
= (int) SWIG_AsInt(obj1
);
10281 if (PyErr_Occurred()) SWIG_fail
;
10283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10284 (arg1
)->SetValue(arg2
);
10286 wxPyEndAllowThreads(__tstate
);
10287 if (PyErr_Occurred()) SWIG_fail
;
10289 Py_INCREF(Py_None
); resultobj
= Py_None
;
10296 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10297 PyObject
*resultobj
;
10298 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10300 PyObject
* obj0
= 0 ;
10301 PyObject
* obj1
= 0 ;
10302 char *kwnames
[] = {
10303 (char *) "self",(char *) "minVal", NULL
10306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
10307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10309 arg2
= (int) SWIG_AsInt(obj1
);
10310 if (PyErr_Occurred()) SWIG_fail
;
10312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10313 (arg1
)->SetMin(arg2
);
10315 wxPyEndAllowThreads(__tstate
);
10316 if (PyErr_Occurred()) SWIG_fail
;
10318 Py_INCREF(Py_None
); resultobj
= Py_None
;
10325 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10326 PyObject
*resultobj
;
10327 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10329 PyObject
* obj0
= 0 ;
10330 PyObject
* obj1
= 0 ;
10331 char *kwnames
[] = {
10332 (char *) "self",(char *) "maxVal", NULL
10335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
10336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10338 arg2
= (int) SWIG_AsInt(obj1
);
10339 if (PyErr_Occurred()) SWIG_fail
;
10341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10342 (arg1
)->SetMax(arg2
);
10344 wxPyEndAllowThreads(__tstate
);
10345 if (PyErr_Occurred()) SWIG_fail
;
10347 Py_INCREF(Py_None
); resultobj
= Py_None
;
10354 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10355 PyObject
*resultobj
;
10356 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10359 PyObject
* obj0
= 0 ;
10360 PyObject
* obj1
= 0 ;
10361 PyObject
* obj2
= 0 ;
10362 char *kwnames
[] = {
10363 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10369 arg2
= (int) SWIG_AsInt(obj1
);
10370 if (PyErr_Occurred()) SWIG_fail
;
10371 arg3
= (int) SWIG_AsInt(obj2
);
10372 if (PyErr_Occurred()) SWIG_fail
;
10374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10375 (arg1
)->SetRange(arg2
,arg3
);
10377 wxPyEndAllowThreads(__tstate
);
10378 if (PyErr_Occurred()) SWIG_fail
;
10380 Py_INCREF(Py_None
); resultobj
= Py_None
;
10387 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10388 PyObject
*resultobj
;
10389 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10391 PyObject
* obj0
= 0 ;
10392 char *kwnames
[] = {
10393 (char *) "self", NULL
10396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
10397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10401 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
10403 wxPyEndAllowThreads(__tstate
);
10404 if (PyErr_Occurred()) SWIG_fail
;
10407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10415 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
10417 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10418 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
10420 return Py_BuildValue((char *)"");
10422 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10423 PyObject
*resultobj
;
10424 wxWindow
*arg1
= (wxWindow
*) 0 ;
10425 int arg2
= (int) -1 ;
10426 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10427 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10428 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10429 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10430 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10431 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10432 long arg6
= (long) wxSP_ARROW_KEYS
;
10433 int arg7
= (int) 0 ;
10434 int arg8
= (int) 100 ;
10435 int arg9
= (int) 0 ;
10436 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
10437 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10438 wxSpinCtrl
*result
;
10439 bool temp3
= False
;
10442 bool temp10
= False
;
10443 PyObject
* obj0
= 0 ;
10444 PyObject
* obj1
= 0 ;
10445 PyObject
* obj2
= 0 ;
10446 PyObject
* obj3
= 0 ;
10447 PyObject
* obj4
= 0 ;
10448 PyObject
* obj5
= 0 ;
10449 PyObject
* obj6
= 0 ;
10450 PyObject
* obj7
= 0 ;
10451 PyObject
* obj8
= 0 ;
10452 PyObject
* obj9
= 0 ;
10453 char *kwnames
[] = {
10454 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10461 arg2
= (int) SWIG_AsInt(obj1
);
10462 if (PyErr_Occurred()) SWIG_fail
;
10466 arg3
= wxString_in_helper(obj2
);
10467 if (arg3
== NULL
) SWIG_fail
;
10474 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10480 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10484 arg6
= (long) SWIG_AsLong(obj5
);
10485 if (PyErr_Occurred()) SWIG_fail
;
10488 arg7
= (int) SWIG_AsInt(obj6
);
10489 if (PyErr_Occurred()) SWIG_fail
;
10492 arg8
= (int) SWIG_AsInt(obj7
);
10493 if (PyErr_Occurred()) SWIG_fail
;
10496 arg9
= (int) SWIG_AsInt(obj8
);
10497 if (PyErr_Occurred()) SWIG_fail
;
10501 arg10
= wxString_in_helper(obj9
);
10502 if (arg10
== NULL
) SWIG_fail
;
10507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10508 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
10510 wxPyEndAllowThreads(__tstate
);
10511 if (PyErr_Occurred()) SWIG_fail
;
10513 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
10536 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10537 PyObject
*resultobj
;
10538 wxSpinCtrl
*result
;
10539 char *kwnames
[] = {
10543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
10545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10546 result
= (wxSpinCtrl
*)new wxSpinCtrl();
10548 wxPyEndAllowThreads(__tstate
);
10549 if (PyErr_Occurred()) SWIG_fail
;
10551 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
10558 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10559 PyObject
*resultobj
;
10560 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10561 wxWindow
*arg2
= (wxWindow
*) 0 ;
10562 int arg3
= (int) -1 ;
10563 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10564 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10565 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10566 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10567 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10568 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10569 long arg7
= (long) wxSP_ARROW_KEYS
;
10570 int arg8
= (int) 0 ;
10571 int arg9
= (int) 100 ;
10572 int arg10
= (int) 0 ;
10573 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
10574 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10576 bool temp4
= False
;
10579 bool temp11
= False
;
10580 PyObject
* obj0
= 0 ;
10581 PyObject
* obj1
= 0 ;
10582 PyObject
* obj2
= 0 ;
10583 PyObject
* obj3
= 0 ;
10584 PyObject
* obj4
= 0 ;
10585 PyObject
* obj5
= 0 ;
10586 PyObject
* obj6
= 0 ;
10587 PyObject
* obj7
= 0 ;
10588 PyObject
* obj8
= 0 ;
10589 PyObject
* obj9
= 0 ;
10590 PyObject
* obj10
= 0 ;
10591 char *kwnames
[] = {
10592 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
10596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10598 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10601 arg3
= (int) SWIG_AsInt(obj2
);
10602 if (PyErr_Occurred()) SWIG_fail
;
10606 arg4
= wxString_in_helper(obj3
);
10607 if (arg4
== NULL
) SWIG_fail
;
10614 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10620 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10624 arg7
= (long) SWIG_AsLong(obj6
);
10625 if (PyErr_Occurred()) SWIG_fail
;
10628 arg8
= (int) SWIG_AsInt(obj7
);
10629 if (PyErr_Occurred()) SWIG_fail
;
10632 arg9
= (int) SWIG_AsInt(obj8
);
10633 if (PyErr_Occurred()) SWIG_fail
;
10636 arg10
= (int) SWIG_AsInt(obj9
);
10637 if (PyErr_Occurred()) SWIG_fail
;
10641 arg11
= wxString_in_helper(obj10
);
10642 if (arg11
== NULL
) SWIG_fail
;
10647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10648 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
10650 wxPyEndAllowThreads(__tstate
);
10651 if (PyErr_Occurred()) SWIG_fail
;
10654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10678 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10679 PyObject
*resultobj
;
10680 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10682 PyObject
* obj0
= 0 ;
10683 char *kwnames
[] = {
10684 (char *) "self", NULL
10687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
10688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10692 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
10694 wxPyEndAllowThreads(__tstate
);
10695 if (PyErr_Occurred()) SWIG_fail
;
10697 resultobj
= SWIG_FromInt((int)result
);
10704 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10705 PyObject
*resultobj
;
10706 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10708 PyObject
* obj0
= 0 ;
10709 PyObject
* obj1
= 0 ;
10710 char *kwnames
[] = {
10711 (char *) "self",(char *) "value", NULL
10714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10717 arg2
= (int) SWIG_AsInt(obj1
);
10718 if (PyErr_Occurred()) SWIG_fail
;
10720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10721 (arg1
)->SetValue(arg2
);
10723 wxPyEndAllowThreads(__tstate
);
10724 if (PyErr_Occurred()) SWIG_fail
;
10726 Py_INCREF(Py_None
); resultobj
= Py_None
;
10733 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10734 PyObject
*resultobj
;
10735 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10736 wxString
*arg2
= 0 ;
10737 bool temp2
= False
;
10738 PyObject
* obj0
= 0 ;
10739 PyObject
* obj1
= 0 ;
10740 char *kwnames
[] = {
10741 (char *) "self",(char *) "text", NULL
10744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
10745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10748 arg2
= wxString_in_helper(obj1
);
10749 if (arg2
== NULL
) SWIG_fail
;
10753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10754 (arg1
)->SetValue((wxString
const &)*arg2
);
10756 wxPyEndAllowThreads(__tstate
);
10757 if (PyErr_Occurred()) SWIG_fail
;
10759 Py_INCREF(Py_None
); resultobj
= Py_None
;
10774 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10775 PyObject
*resultobj
;
10776 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10779 PyObject
* obj0
= 0 ;
10780 PyObject
* obj1
= 0 ;
10781 PyObject
* obj2
= 0 ;
10782 char *kwnames
[] = {
10783 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10789 arg2
= (int) SWIG_AsInt(obj1
);
10790 if (PyErr_Occurred()) SWIG_fail
;
10791 arg3
= (int) SWIG_AsInt(obj2
);
10792 if (PyErr_Occurred()) SWIG_fail
;
10794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10795 (arg1
)->SetRange(arg2
,arg3
);
10797 wxPyEndAllowThreads(__tstate
);
10798 if (PyErr_Occurred()) SWIG_fail
;
10800 Py_INCREF(Py_None
); resultobj
= Py_None
;
10807 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10808 PyObject
*resultobj
;
10809 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10811 PyObject
* obj0
= 0 ;
10812 char *kwnames
[] = {
10813 (char *) "self", NULL
10816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
10817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10821 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
10823 wxPyEndAllowThreads(__tstate
);
10824 if (PyErr_Occurred()) SWIG_fail
;
10826 resultobj
= SWIG_FromInt((int)result
);
10833 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10834 PyObject
*resultobj
;
10835 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10837 PyObject
* obj0
= 0 ;
10838 char *kwnames
[] = {
10839 (char *) "self", NULL
10842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
10843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10847 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
10849 wxPyEndAllowThreads(__tstate
);
10850 if (PyErr_Occurred()) SWIG_fail
;
10852 resultobj
= SWIG_FromInt((int)result
);
10859 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10860 PyObject
*resultobj
;
10861 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10864 PyObject
* obj0
= 0 ;
10865 PyObject
* obj1
= 0 ;
10866 PyObject
* obj2
= 0 ;
10867 char *kwnames
[] = {
10868 (char *) "self",(char *) "from",(char *) "to", NULL
10871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10874 arg2
= (long) SWIG_AsLong(obj1
);
10875 if (PyErr_Occurred()) SWIG_fail
;
10876 arg3
= (long) SWIG_AsLong(obj2
);
10877 if (PyErr_Occurred()) SWIG_fail
;
10879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10880 (arg1
)->SetSelection(arg2
,arg3
);
10882 wxPyEndAllowThreads(__tstate
);
10883 if (PyErr_Occurred()) SWIG_fail
;
10885 Py_INCREF(Py_None
); resultobj
= Py_None
;
10892 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
10894 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10895 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
10897 return Py_BuildValue((char *)"");
10899 static PyObject
*_wrap_new_SpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10900 PyObject
*resultobj
;
10901 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10902 int arg2
= (int) 0 ;
10903 wxSpinEvent
*result
;
10904 PyObject
* obj0
= 0 ;
10905 PyObject
* obj1
= 0 ;
10906 char *kwnames
[] = {
10907 (char *) "commandType",(char *) "winid", NULL
10910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10912 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10913 if (PyErr_Occurred()) SWIG_fail
;
10916 arg2
= (int) SWIG_AsInt(obj1
);
10917 if (PyErr_Occurred()) SWIG_fail
;
10920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10921 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
10923 wxPyEndAllowThreads(__tstate
);
10924 if (PyErr_Occurred()) SWIG_fail
;
10926 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
10933 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10934 PyObject
*resultobj
;
10935 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10937 PyObject
* obj0
= 0 ;
10938 char *kwnames
[] = {
10939 (char *) "self", NULL
10942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
10944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10947 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
10949 wxPyEndAllowThreads(__tstate
);
10950 if (PyErr_Occurred()) SWIG_fail
;
10952 resultobj
= SWIG_FromInt((int)result
);
10959 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10960 PyObject
*resultobj
;
10961 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10963 PyObject
* obj0
= 0 ;
10964 PyObject
* obj1
= 0 ;
10965 char *kwnames
[] = {
10966 (char *) "self",(char *) "pos", NULL
10969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
10971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10972 arg2
= (int) SWIG_AsInt(obj1
);
10973 if (PyErr_Occurred()) SWIG_fail
;
10975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10976 (arg1
)->SetPosition(arg2
);
10978 wxPyEndAllowThreads(__tstate
);
10979 if (PyErr_Occurred()) SWIG_fail
;
10981 Py_INCREF(Py_None
); resultobj
= Py_None
;
10988 static PyObject
* SpinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10990 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10991 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
10993 return Py_BuildValue((char *)"");
10995 static int _wrap_RadioBoxNameStr_set(PyObject
*_val
) {
10996 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
11001 static PyObject
*_wrap_RadioBoxNameStr_get() {
11006 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11008 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11015 static int _wrap_RadioButtonNameStr_set(PyObject
*_val
) {
11016 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
11021 static PyObject
*_wrap_RadioButtonNameStr_get() {
11026 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11028 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11035 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11036 PyObject
*resultobj
;
11037 wxWindow
*arg1
= (wxWindow
*) 0 ;
11039 wxString
*arg3
= 0 ;
11040 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11041 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11042 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11043 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11044 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
11045 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
11046 int arg7
= (int) 0 ;
11047 long arg8
= (long) wxRA_HORIZONTAL
;
11048 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11049 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11050 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
11051 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11052 wxRadioBox
*result
;
11053 bool temp3
= False
;
11056 bool temp6
= False
;
11057 bool temp10
= False
;
11058 PyObject
* obj0
= 0 ;
11059 PyObject
* obj1
= 0 ;
11060 PyObject
* obj2
= 0 ;
11061 PyObject
* obj3
= 0 ;
11062 PyObject
* obj4
= 0 ;
11063 PyObject
* obj5
= 0 ;
11064 PyObject
* obj6
= 0 ;
11065 PyObject
* obj7
= 0 ;
11066 PyObject
* obj8
= 0 ;
11067 PyObject
* obj9
= 0 ;
11068 char *kwnames
[] = {
11069 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11075 arg2
= (int) SWIG_AsInt(obj1
);
11076 if (PyErr_Occurred()) SWIG_fail
;
11078 arg3
= wxString_in_helper(obj2
);
11079 if (arg3
== NULL
) SWIG_fail
;
11085 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11091 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11096 if (! PySequence_Check(obj5
)) {
11097 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11100 arg6
= new wxArrayString
;
11102 int i
, len
=PySequence_Length(obj5
);
11103 for (i
=0; i
<len
; i
++) {
11104 PyObject
* item
= PySequence_GetItem(obj5
, i
);
11106 PyObject
* str
= PyObject_Unicode(item
);
11108 PyObject
* str
= PyObject_Str(item
);
11110 arg6
->Add(Py2wxString(str
));
11117 arg7
= (int) SWIG_AsInt(obj6
);
11118 if (PyErr_Occurred()) SWIG_fail
;
11121 arg8
= (long) SWIG_AsLong(obj7
);
11122 if (PyErr_Occurred()) SWIG_fail
;
11125 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
11126 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11128 if (arg9
== NULL
) {
11129 PyErr_SetString(PyExc_TypeError
,"null reference");
11135 arg10
= wxString_in_helper(obj9
);
11136 if (arg10
== NULL
) SWIG_fail
;
11141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11142 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
);
11144 wxPyEndAllowThreads(__tstate
);
11145 if (PyErr_Occurred()) SWIG_fail
;
11147 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11153 if (temp6
) delete arg6
;
11166 if (temp6
) delete arg6
;
11176 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11177 PyObject
*resultobj
;
11178 wxRadioBox
*result
;
11179 char *kwnames
[] = {
11183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
11185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11186 result
= (wxRadioBox
*)new wxRadioBox();
11188 wxPyEndAllowThreads(__tstate
);
11189 if (PyErr_Occurred()) SWIG_fail
;
11191 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11198 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11199 PyObject
*resultobj
;
11200 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11201 wxWindow
*arg2
= (wxWindow
*) 0 ;
11203 wxString
*arg4
= 0 ;
11204 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11205 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11206 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11207 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11208 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
11209 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
11210 int arg8
= (int) 0 ;
11211 long arg9
= (long) wxRA_HORIZONTAL
;
11212 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11213 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11214 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
11215 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11217 bool temp4
= False
;
11220 bool temp7
= False
;
11221 bool temp11
= False
;
11222 PyObject
* obj0
= 0 ;
11223 PyObject
* obj1
= 0 ;
11224 PyObject
* obj2
= 0 ;
11225 PyObject
* obj3
= 0 ;
11226 PyObject
* obj4
= 0 ;
11227 PyObject
* obj5
= 0 ;
11228 PyObject
* obj6
= 0 ;
11229 PyObject
* obj7
= 0 ;
11230 PyObject
* obj8
= 0 ;
11231 PyObject
* obj9
= 0 ;
11232 PyObject
* obj10
= 0 ;
11233 char *kwnames
[] = {
11234 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11240 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11242 arg3
= (int) SWIG_AsInt(obj2
);
11243 if (PyErr_Occurred()) SWIG_fail
;
11245 arg4
= wxString_in_helper(obj3
);
11246 if (arg4
== NULL
) SWIG_fail
;
11252 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11258 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11263 if (! PySequence_Check(obj6
)) {
11264 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11267 arg7
= new wxArrayString
;
11269 int i
, len
=PySequence_Length(obj6
);
11270 for (i
=0; i
<len
; i
++) {
11271 PyObject
* item
= PySequence_GetItem(obj6
, i
);
11273 PyObject
* str
= PyObject_Unicode(item
);
11275 PyObject
* str
= PyObject_Str(item
);
11277 arg7
->Add(Py2wxString(str
));
11284 arg8
= (int) SWIG_AsInt(obj7
);
11285 if (PyErr_Occurred()) SWIG_fail
;
11288 arg9
= (long) SWIG_AsLong(obj8
);
11289 if (PyErr_Occurred()) SWIG_fail
;
11292 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
11293 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11295 if (arg10
== NULL
) {
11296 PyErr_SetString(PyExc_TypeError
,"null reference");
11302 arg11
= wxString_in_helper(obj10
);
11303 if (arg11
== NULL
) SWIG_fail
;
11308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11309 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
);
11311 wxPyEndAllowThreads(__tstate
);
11312 if (PyErr_Occurred()) SWIG_fail
;
11315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11322 if (temp7
) delete arg7
;
11335 if (temp7
) delete arg7
;
11345 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11346 PyObject
*resultobj
;
11347 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11349 PyObject
* obj0
= 0 ;
11350 PyObject
* obj1
= 0 ;
11351 char *kwnames
[] = {
11352 (char *) "self",(char *) "n", NULL
11355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11358 arg2
= (int) SWIG_AsInt(obj1
);
11359 if (PyErr_Occurred()) SWIG_fail
;
11361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11362 (arg1
)->SetSelection(arg2
);
11364 wxPyEndAllowThreads(__tstate
);
11365 if (PyErr_Occurred()) SWIG_fail
;
11367 Py_INCREF(Py_None
); resultobj
= Py_None
;
11374 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11375 PyObject
*resultobj
;
11376 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11378 PyObject
* obj0
= 0 ;
11379 char *kwnames
[] = {
11380 (char *) "self", NULL
11383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
11384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11388 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
11390 wxPyEndAllowThreads(__tstate
);
11391 if (PyErr_Occurred()) SWIG_fail
;
11393 resultobj
= SWIG_FromInt((int)result
);
11400 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11401 PyObject
*resultobj
;
11402 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11404 PyObject
* obj0
= 0 ;
11405 char *kwnames
[] = {
11406 (char *) "self", NULL
11409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
11410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11414 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
11416 wxPyEndAllowThreads(__tstate
);
11417 if (PyErr_Occurred()) SWIG_fail
;
11421 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11423 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11432 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11433 PyObject
*resultobj
;
11434 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11435 wxString
*arg2
= 0 ;
11437 bool temp2
= False
;
11438 PyObject
* obj0
= 0 ;
11439 PyObject
* obj1
= 0 ;
11440 char *kwnames
[] = {
11441 (char *) "self",(char *) "s", NULL
11444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11448 arg2
= wxString_in_helper(obj1
);
11449 if (arg2
== NULL
) SWIG_fail
;
11453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11454 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
11456 wxPyEndAllowThreads(__tstate
);
11457 if (PyErr_Occurred()) SWIG_fail
;
11460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11476 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11477 PyObject
*resultobj
;
11478 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11480 PyObject
* obj0
= 0 ;
11481 char *kwnames
[] = {
11482 (char *) "self", NULL
11485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
11486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11490 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
11492 wxPyEndAllowThreads(__tstate
);
11493 if (PyErr_Occurred()) SWIG_fail
;
11495 resultobj
= SWIG_FromInt((int)result
);
11502 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11503 PyObject
*resultobj
;
11504 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11505 wxString
*arg2
= 0 ;
11507 bool temp2
= False
;
11508 PyObject
* obj0
= 0 ;
11509 PyObject
* obj1
= 0 ;
11510 char *kwnames
[] = {
11511 (char *) "self",(char *) "s", NULL
11514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
11515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11518 arg2
= wxString_in_helper(obj1
);
11519 if (arg2
== NULL
) SWIG_fail
;
11523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11524 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
11526 wxPyEndAllowThreads(__tstate
);
11527 if (PyErr_Occurred()) SWIG_fail
;
11529 resultobj
= SWIG_FromInt((int)result
);
11544 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11545 PyObject
*resultobj
;
11546 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11549 PyObject
* obj0
= 0 ;
11550 PyObject
* obj1
= 0 ;
11551 char *kwnames
[] = {
11552 (char *) "self",(char *) "n", NULL
11555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
11556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11558 arg2
= (int) SWIG_AsInt(obj1
);
11559 if (PyErr_Occurred()) SWIG_fail
;
11561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11562 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
11564 wxPyEndAllowThreads(__tstate
);
11565 if (PyErr_Occurred()) SWIG_fail
;
11569 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11571 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11580 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11581 PyObject
*resultobj
;
11582 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11584 wxString
*arg3
= 0 ;
11585 bool temp3
= False
;
11586 PyObject
* obj0
= 0 ;
11587 PyObject
* obj1
= 0 ;
11588 PyObject
* obj2
= 0 ;
11589 char *kwnames
[] = {
11590 (char *) "self",(char *) "n",(char *) "label", NULL
11593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11596 arg2
= (int) SWIG_AsInt(obj1
);
11597 if (PyErr_Occurred()) SWIG_fail
;
11599 arg3
= wxString_in_helper(obj2
);
11600 if (arg3
== NULL
) SWIG_fail
;
11604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11605 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
11607 wxPyEndAllowThreads(__tstate
);
11608 if (PyErr_Occurred()) SWIG_fail
;
11610 Py_INCREF(Py_None
); resultobj
= Py_None
;
11625 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11626 PyObject
*resultobj
;
11627 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11629 bool arg3
= (bool) True
;
11630 PyObject
* obj0
= 0 ;
11631 PyObject
* obj1
= 0 ;
11632 PyObject
* obj2
= 0 ;
11633 char *kwnames
[] = {
11634 (char *) "self",(char *) "n",(char *) "enable", NULL
11637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11640 arg2
= (int) SWIG_AsInt(obj1
);
11641 if (PyErr_Occurred()) SWIG_fail
;
11643 arg3
= (bool) SWIG_AsBool(obj2
);
11644 if (PyErr_Occurred()) SWIG_fail
;
11647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11648 (arg1
)->Enable(arg2
,arg3
);
11650 wxPyEndAllowThreads(__tstate
);
11651 if (PyErr_Occurred()) SWIG_fail
;
11653 Py_INCREF(Py_None
); resultobj
= Py_None
;
11660 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11661 PyObject
*resultobj
;
11662 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11664 bool arg3
= (bool) True
;
11665 PyObject
* obj0
= 0 ;
11666 PyObject
* obj1
= 0 ;
11667 PyObject
* obj2
= 0 ;
11668 char *kwnames
[] = {
11669 (char *) "self",(char *) "n",(char *) "show", NULL
11672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11675 arg2
= (int) SWIG_AsInt(obj1
);
11676 if (PyErr_Occurred()) SWIG_fail
;
11678 arg3
= (bool) SWIG_AsBool(obj2
);
11679 if (PyErr_Occurred()) SWIG_fail
;
11682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11683 (arg1
)->Show(arg2
,arg3
);
11685 wxPyEndAllowThreads(__tstate
);
11686 if (PyErr_Occurred()) SWIG_fail
;
11688 Py_INCREF(Py_None
); resultobj
= Py_None
;
11695 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11696 PyObject
*resultobj
;
11697 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11699 PyObject
* obj0
= 0 ;
11700 char *kwnames
[] = {
11701 (char *) "self", NULL
11704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
11705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11709 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
11711 wxPyEndAllowThreads(__tstate
);
11712 if (PyErr_Occurred()) SWIG_fail
;
11714 resultobj
= SWIG_FromInt((int)result
);
11721 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11722 PyObject
*resultobj
;
11723 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11725 PyObject
* obj0
= 0 ;
11726 char *kwnames
[] = {
11727 (char *) "self", NULL
11730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
11731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11735 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
11737 wxPyEndAllowThreads(__tstate
);
11738 if (PyErr_Occurred()) SWIG_fail
;
11740 resultobj
= SWIG_FromInt((int)result
);
11747 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11748 PyObject
*resultobj
;
11749 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11754 PyObject
* obj0
= 0 ;
11755 PyObject
* obj1
= 0 ;
11756 PyObject
* obj2
= 0 ;
11757 PyObject
* obj3
= 0 ;
11758 char *kwnames
[] = {
11759 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
11762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11765 arg2
= (int) SWIG_AsInt(obj1
);
11766 if (PyErr_Occurred()) SWIG_fail
;
11767 arg3
= (wxDirection
) SWIG_AsInt(obj2
);
11768 if (PyErr_Occurred()) SWIG_fail
;
11769 arg4
= (long) SWIG_AsLong(obj3
);
11770 if (PyErr_Occurred()) SWIG_fail
;
11772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11773 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
11775 wxPyEndAllowThreads(__tstate
);
11776 if (PyErr_Occurred()) SWIG_fail
;
11778 resultobj
= SWIG_FromInt((int)result
);
11785 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
11787 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11788 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
11790 return Py_BuildValue((char *)"");
11792 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11793 PyObject
*resultobj
;
11794 wxWindow
*arg1
= (wxWindow
*) 0 ;
11796 wxString
*arg3
= 0 ;
11797 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11798 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11799 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11800 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11801 long arg6
= (long) 0 ;
11802 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11803 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11804 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
11805 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11806 wxRadioButton
*result
;
11807 bool temp3
= False
;
11810 bool temp8
= False
;
11811 PyObject
* obj0
= 0 ;
11812 PyObject
* obj1
= 0 ;
11813 PyObject
* obj2
= 0 ;
11814 PyObject
* obj3
= 0 ;
11815 PyObject
* obj4
= 0 ;
11816 PyObject
* obj5
= 0 ;
11817 PyObject
* obj6
= 0 ;
11818 PyObject
* obj7
= 0 ;
11819 char *kwnames
[] = {
11820 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11826 arg2
= (int) SWIG_AsInt(obj1
);
11827 if (PyErr_Occurred()) SWIG_fail
;
11829 arg3
= wxString_in_helper(obj2
);
11830 if (arg3
== NULL
) SWIG_fail
;
11836 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11842 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11846 arg6
= (long) SWIG_AsLong(obj5
);
11847 if (PyErr_Occurred()) SWIG_fail
;
11850 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
11851 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11853 if (arg7
== NULL
) {
11854 PyErr_SetString(PyExc_TypeError
,"null reference");
11860 arg8
= wxString_in_helper(obj7
);
11861 if (arg8
== NULL
) SWIG_fail
;
11866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11867 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11869 wxPyEndAllowThreads(__tstate
);
11870 if (PyErr_Occurred()) SWIG_fail
;
11872 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
11895 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11896 PyObject
*resultobj
;
11897 wxRadioButton
*result
;
11898 char *kwnames
[] = {
11902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
11904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11905 result
= (wxRadioButton
*)new wxRadioButton();
11907 wxPyEndAllowThreads(__tstate
);
11908 if (PyErr_Occurred()) SWIG_fail
;
11910 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
11917 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11918 PyObject
*resultobj
;
11919 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11920 wxWindow
*arg2
= (wxWindow
*) 0 ;
11922 wxString
*arg4
= 0 ;
11923 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11924 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11925 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11926 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11927 long arg7
= (long) 0 ;
11928 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11929 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11930 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
11931 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11933 bool temp4
= False
;
11936 bool temp9
= False
;
11937 PyObject
* obj0
= 0 ;
11938 PyObject
* obj1
= 0 ;
11939 PyObject
* obj2
= 0 ;
11940 PyObject
* obj3
= 0 ;
11941 PyObject
* obj4
= 0 ;
11942 PyObject
* obj5
= 0 ;
11943 PyObject
* obj6
= 0 ;
11944 PyObject
* obj7
= 0 ;
11945 PyObject
* obj8
= 0 ;
11946 char *kwnames
[] = {
11947 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
11951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
11952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11953 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11955 arg3
= (int) SWIG_AsInt(obj2
);
11956 if (PyErr_Occurred()) SWIG_fail
;
11958 arg4
= wxString_in_helper(obj3
);
11959 if (arg4
== NULL
) SWIG_fail
;
11965 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11971 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11975 arg7
= (long) SWIG_AsLong(obj6
);
11976 if (PyErr_Occurred()) SWIG_fail
;
11979 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
11980 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11982 if (arg8
== NULL
) {
11983 PyErr_SetString(PyExc_TypeError
,"null reference");
11989 arg9
= wxString_in_helper(obj8
);
11990 if (arg9
== NULL
) SWIG_fail
;
11995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11996 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11998 wxPyEndAllowThreads(__tstate
);
11999 if (PyErr_Occurred()) SWIG_fail
;
12002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12026 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12027 PyObject
*resultobj
;
12028 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12030 PyObject
* obj0
= 0 ;
12031 char *kwnames
[] = {
12032 (char *) "self", NULL
12035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
12036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12040 result
= (bool)(arg1
)->GetValue();
12042 wxPyEndAllowThreads(__tstate
);
12043 if (PyErr_Occurred()) SWIG_fail
;
12046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12054 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12055 PyObject
*resultobj
;
12056 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12058 PyObject
* obj0
= 0 ;
12059 PyObject
* obj1
= 0 ;
12060 char *kwnames
[] = {
12061 (char *) "self",(char *) "value", NULL
12064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12067 arg2
= (bool) SWIG_AsBool(obj1
);
12068 if (PyErr_Occurred()) SWIG_fail
;
12070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12071 (arg1
)->SetValue(arg2
);
12073 wxPyEndAllowThreads(__tstate
);
12074 if (PyErr_Occurred()) SWIG_fail
;
12076 Py_INCREF(Py_None
); resultobj
= Py_None
;
12083 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
12085 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12086 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
12088 return Py_BuildValue((char *)"");
12090 static int _wrap_SliderNameStr_set(PyObject
*_val
) {
12091 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
12096 static PyObject
*_wrap_SliderNameStr_get() {
12101 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12103 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12110 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12111 PyObject
*resultobj
;
12112 wxWindow
*arg1
= (wxWindow
*) 0 ;
12117 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12118 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12119 wxSize
const &arg7_defvalue
= wxDefaultSize
;
12120 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
12121 long arg8
= (long) wxSL_HORIZONTAL
;
12122 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
12123 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
12124 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
12125 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12129 bool temp10
= False
;
12130 PyObject
* obj0
= 0 ;
12131 PyObject
* obj1
= 0 ;
12132 PyObject
* obj2
= 0 ;
12133 PyObject
* obj3
= 0 ;
12134 PyObject
* obj4
= 0 ;
12135 PyObject
* obj5
= 0 ;
12136 PyObject
* obj6
= 0 ;
12137 PyObject
* obj7
= 0 ;
12138 PyObject
* obj8
= 0 ;
12139 PyObject
* obj9
= 0 ;
12140 char *kwnames
[] = {
12141 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12147 arg2
= (int) SWIG_AsInt(obj1
);
12148 if (PyErr_Occurred()) SWIG_fail
;
12149 arg3
= (int) SWIG_AsInt(obj2
);
12150 if (PyErr_Occurred()) SWIG_fail
;
12151 arg4
= (int) SWIG_AsInt(obj3
);
12152 if (PyErr_Occurred()) SWIG_fail
;
12153 arg5
= (int) SWIG_AsInt(obj4
);
12154 if (PyErr_Occurred()) SWIG_fail
;
12158 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12164 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
12168 arg8
= (long) SWIG_AsLong(obj7
);
12169 if (PyErr_Occurred()) SWIG_fail
;
12172 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
12173 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12175 if (arg9
== NULL
) {
12176 PyErr_SetString(PyExc_TypeError
,"null reference");
12182 arg10
= wxString_in_helper(obj9
);
12183 if (arg10
== NULL
) SWIG_fail
;
12188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12189 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
12191 wxPyEndAllowThreads(__tstate
);
12192 if (PyErr_Occurred()) SWIG_fail
;
12194 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12209 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12210 PyObject
*resultobj
;
12212 char *kwnames
[] = {
12216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
12218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12219 result
= (wxSlider
*)new wxSlider();
12221 wxPyEndAllowThreads(__tstate
);
12222 if (PyErr_Occurred()) SWIG_fail
;
12224 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12231 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12232 PyObject
*resultobj
;
12233 wxSlider
*arg1
= (wxSlider
*) 0 ;
12234 wxWindow
*arg2
= (wxWindow
*) 0 ;
12239 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12240 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12241 wxSize
const &arg8_defvalue
= wxDefaultSize
;
12242 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
12243 long arg9
= (long) wxSL_HORIZONTAL
;
12244 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
12245 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
12246 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
12247 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12251 bool temp11
= False
;
12252 PyObject
* obj0
= 0 ;
12253 PyObject
* obj1
= 0 ;
12254 PyObject
* obj2
= 0 ;
12255 PyObject
* obj3
= 0 ;
12256 PyObject
* obj4
= 0 ;
12257 PyObject
* obj5
= 0 ;
12258 PyObject
* obj6
= 0 ;
12259 PyObject
* obj7
= 0 ;
12260 PyObject
* obj8
= 0 ;
12261 PyObject
* obj9
= 0 ;
12262 PyObject
* obj10
= 0 ;
12263 char *kwnames
[] = {
12264 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12270 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12272 arg3
= (int) SWIG_AsInt(obj2
);
12273 if (PyErr_Occurred()) SWIG_fail
;
12274 arg4
= (int) SWIG_AsInt(obj3
);
12275 if (PyErr_Occurred()) SWIG_fail
;
12276 arg5
= (int) SWIG_AsInt(obj4
);
12277 if (PyErr_Occurred()) SWIG_fail
;
12278 arg6
= (int) SWIG_AsInt(obj5
);
12279 if (PyErr_Occurred()) SWIG_fail
;
12283 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12289 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
12293 arg9
= (long) SWIG_AsLong(obj8
);
12294 if (PyErr_Occurred()) SWIG_fail
;
12297 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
12298 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12300 if (arg10
== NULL
) {
12301 PyErr_SetString(PyExc_TypeError
,"null reference");
12307 arg11
= wxString_in_helper(obj10
);
12308 if (arg11
== NULL
) SWIG_fail
;
12313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12314 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
12316 wxPyEndAllowThreads(__tstate
);
12317 if (PyErr_Occurred()) SWIG_fail
;
12320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12336 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, 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_GetValue",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
)->GetValue();
12352 wxPyEndAllowThreads(__tstate
);
12353 if (PyErr_Occurred()) SWIG_fail
;
12355 resultobj
= SWIG_FromInt((int)result
);
12362 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12363 PyObject
*resultobj
;
12364 wxSlider
*arg1
= (wxSlider
*) 0 ;
12366 PyObject
* obj0
= 0 ;
12367 PyObject
* obj1
= 0 ;
12368 char *kwnames
[] = {
12369 (char *) "self",(char *) "value", NULL
12372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12375 arg2
= (int) SWIG_AsInt(obj1
);
12376 if (PyErr_Occurred()) SWIG_fail
;
12378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12379 (arg1
)->SetValue(arg2
);
12381 wxPyEndAllowThreads(__tstate
);
12382 if (PyErr_Occurred()) SWIG_fail
;
12384 Py_INCREF(Py_None
); resultobj
= Py_None
;
12391 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12392 PyObject
*resultobj
;
12393 wxSlider
*arg1
= (wxSlider
*) 0 ;
12396 PyObject
* obj0
= 0 ;
12397 PyObject
* obj1
= 0 ;
12398 PyObject
* obj2
= 0 ;
12399 char *kwnames
[] = {
12400 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
12403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12406 arg2
= (int) SWIG_AsInt(obj1
);
12407 if (PyErr_Occurred()) SWIG_fail
;
12408 arg3
= (int) SWIG_AsInt(obj2
);
12409 if (PyErr_Occurred()) SWIG_fail
;
12411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12412 (arg1
)->SetRange(arg2
,arg3
);
12414 wxPyEndAllowThreads(__tstate
);
12415 if (PyErr_Occurred()) SWIG_fail
;
12417 Py_INCREF(Py_None
); resultobj
= Py_None
;
12424 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12425 PyObject
*resultobj
;
12426 wxSlider
*arg1
= (wxSlider
*) 0 ;
12428 PyObject
* obj0
= 0 ;
12429 char *kwnames
[] = {
12430 (char *) "self", NULL
12433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
12434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12438 result
= (int)((wxSlider
const *)arg1
)->GetMin();
12440 wxPyEndAllowThreads(__tstate
);
12441 if (PyErr_Occurred()) SWIG_fail
;
12443 resultobj
= SWIG_FromInt((int)result
);
12450 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12451 PyObject
*resultobj
;
12452 wxSlider
*arg1
= (wxSlider
*) 0 ;
12454 PyObject
* obj0
= 0 ;
12455 char *kwnames
[] = {
12456 (char *) "self", NULL
12459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
12460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12464 result
= (int)((wxSlider
const *)arg1
)->GetMax();
12466 wxPyEndAllowThreads(__tstate
);
12467 if (PyErr_Occurred()) SWIG_fail
;
12469 resultobj
= SWIG_FromInt((int)result
);
12476 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12477 PyObject
*resultobj
;
12478 wxSlider
*arg1
= (wxSlider
*) 0 ;
12480 PyObject
* obj0
= 0 ;
12481 PyObject
* obj1
= 0 ;
12482 char *kwnames
[] = {
12483 (char *) "self",(char *) "minValue", NULL
12486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12489 arg2
= (int) SWIG_AsInt(obj1
);
12490 if (PyErr_Occurred()) SWIG_fail
;
12492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12493 (arg1
)->SetMin(arg2
);
12495 wxPyEndAllowThreads(__tstate
);
12496 if (PyErr_Occurred()) SWIG_fail
;
12498 Py_INCREF(Py_None
); resultobj
= Py_None
;
12505 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12506 PyObject
*resultobj
;
12507 wxSlider
*arg1
= (wxSlider
*) 0 ;
12509 PyObject
* obj0
= 0 ;
12510 PyObject
* obj1
= 0 ;
12511 char *kwnames
[] = {
12512 (char *) "self",(char *) "maxValue", NULL
12515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12518 arg2
= (int) SWIG_AsInt(obj1
);
12519 if (PyErr_Occurred()) SWIG_fail
;
12521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12522 (arg1
)->SetMax(arg2
);
12524 wxPyEndAllowThreads(__tstate
);
12525 if (PyErr_Occurred()) SWIG_fail
;
12527 Py_INCREF(Py_None
); resultobj
= Py_None
;
12534 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12535 PyObject
*resultobj
;
12536 wxSlider
*arg1
= (wxSlider
*) 0 ;
12538 PyObject
* obj0
= 0 ;
12539 PyObject
* obj1
= 0 ;
12540 char *kwnames
[] = {
12541 (char *) "self",(char *) "lineSize", NULL
12544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12547 arg2
= (int) SWIG_AsInt(obj1
);
12548 if (PyErr_Occurred()) SWIG_fail
;
12550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12551 (arg1
)->SetLineSize(arg2
);
12553 wxPyEndAllowThreads(__tstate
);
12554 if (PyErr_Occurred()) SWIG_fail
;
12556 Py_INCREF(Py_None
); resultobj
= Py_None
;
12563 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12564 PyObject
*resultobj
;
12565 wxSlider
*arg1
= (wxSlider
*) 0 ;
12567 PyObject
* obj0
= 0 ;
12568 PyObject
* obj1
= 0 ;
12569 char *kwnames
[] = {
12570 (char *) "self",(char *) "pageSize", NULL
12573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12576 arg2
= (int) SWIG_AsInt(obj1
);
12577 if (PyErr_Occurred()) SWIG_fail
;
12579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12580 (arg1
)->SetPageSize(arg2
);
12582 wxPyEndAllowThreads(__tstate
);
12583 if (PyErr_Occurred()) SWIG_fail
;
12585 Py_INCREF(Py_None
); resultobj
= Py_None
;
12592 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12593 PyObject
*resultobj
;
12594 wxSlider
*arg1
= (wxSlider
*) 0 ;
12596 PyObject
* obj0
= 0 ;
12597 char *kwnames
[] = {
12598 (char *) "self", NULL
12601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
12602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12606 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
12608 wxPyEndAllowThreads(__tstate
);
12609 if (PyErr_Occurred()) SWIG_fail
;
12611 resultobj
= SWIG_FromInt((int)result
);
12618 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12619 PyObject
*resultobj
;
12620 wxSlider
*arg1
= (wxSlider
*) 0 ;
12622 PyObject
* obj0
= 0 ;
12623 char *kwnames
[] = {
12624 (char *) "self", NULL
12627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
12628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12632 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
12634 wxPyEndAllowThreads(__tstate
);
12635 if (PyErr_Occurred()) SWIG_fail
;
12637 resultobj
= SWIG_FromInt((int)result
);
12644 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12645 PyObject
*resultobj
;
12646 wxSlider
*arg1
= (wxSlider
*) 0 ;
12648 PyObject
* obj0
= 0 ;
12649 PyObject
* obj1
= 0 ;
12650 char *kwnames
[] = {
12651 (char *) "self",(char *) "lenPixels", NULL
12654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
12655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12657 arg2
= (int) SWIG_AsInt(obj1
);
12658 if (PyErr_Occurred()) SWIG_fail
;
12660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12661 (arg1
)->SetThumbLength(arg2
);
12663 wxPyEndAllowThreads(__tstate
);
12664 if (PyErr_Occurred()) SWIG_fail
;
12666 Py_INCREF(Py_None
); resultobj
= Py_None
;
12673 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12674 PyObject
*resultobj
;
12675 wxSlider
*arg1
= (wxSlider
*) 0 ;
12677 PyObject
* obj0
= 0 ;
12678 char *kwnames
[] = {
12679 (char *) "self", NULL
12682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
12683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12687 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
12689 wxPyEndAllowThreads(__tstate
);
12690 if (PyErr_Occurred()) SWIG_fail
;
12692 resultobj
= SWIG_FromInt((int)result
);
12699 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12700 PyObject
*resultobj
;
12701 wxSlider
*arg1
= (wxSlider
*) 0 ;
12703 int arg3
= (int) 1 ;
12704 PyObject
* obj0
= 0 ;
12705 PyObject
* obj1
= 0 ;
12706 PyObject
* obj2
= 0 ;
12707 char *kwnames
[] = {
12708 (char *) "self",(char *) "n",(char *) "pos", NULL
12711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12714 arg2
= (int) SWIG_AsInt(obj1
);
12715 if (PyErr_Occurred()) SWIG_fail
;
12717 arg3
= (int) SWIG_AsInt(obj2
);
12718 if (PyErr_Occurred()) SWIG_fail
;
12721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12722 (arg1
)->SetTickFreq(arg2
,arg3
);
12724 wxPyEndAllowThreads(__tstate
);
12725 if (PyErr_Occurred()) SWIG_fail
;
12727 Py_INCREF(Py_None
); resultobj
= Py_None
;
12734 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12735 PyObject
*resultobj
;
12736 wxSlider
*arg1
= (wxSlider
*) 0 ;
12738 PyObject
* obj0
= 0 ;
12739 char *kwnames
[] = {
12740 (char *) "self", NULL
12743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
12744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12748 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
12750 wxPyEndAllowThreads(__tstate
);
12751 if (PyErr_Occurred()) SWIG_fail
;
12753 resultobj
= SWIG_FromInt((int)result
);
12760 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12761 PyObject
*resultobj
;
12762 wxSlider
*arg1
= (wxSlider
*) 0 ;
12763 PyObject
* obj0
= 0 ;
12764 char *kwnames
[] = {
12765 (char *) "self", NULL
12768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
12769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12773 (arg1
)->ClearTicks();
12775 wxPyEndAllowThreads(__tstate
);
12776 if (PyErr_Occurred()) SWIG_fail
;
12778 Py_INCREF(Py_None
); resultobj
= Py_None
;
12785 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12786 PyObject
*resultobj
;
12787 wxSlider
*arg1
= (wxSlider
*) 0 ;
12789 PyObject
* obj0
= 0 ;
12790 PyObject
* obj1
= 0 ;
12791 char *kwnames
[] = {
12792 (char *) "self",(char *) "tickPos", NULL
12795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
12796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12798 arg2
= (int) SWIG_AsInt(obj1
);
12799 if (PyErr_Occurred()) SWIG_fail
;
12801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12802 (arg1
)->SetTick(arg2
);
12804 wxPyEndAllowThreads(__tstate
);
12805 if (PyErr_Occurred()) SWIG_fail
;
12807 Py_INCREF(Py_None
); resultobj
= Py_None
;
12814 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12815 PyObject
*resultobj
;
12816 wxSlider
*arg1
= (wxSlider
*) 0 ;
12817 PyObject
* obj0
= 0 ;
12818 char *kwnames
[] = {
12819 (char *) "self", NULL
12822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
12823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12827 (arg1
)->ClearSel();
12829 wxPyEndAllowThreads(__tstate
);
12830 if (PyErr_Occurred()) SWIG_fail
;
12832 Py_INCREF(Py_None
); resultobj
= Py_None
;
12839 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12840 PyObject
*resultobj
;
12841 wxSlider
*arg1
= (wxSlider
*) 0 ;
12843 PyObject
* obj0
= 0 ;
12844 char *kwnames
[] = {
12845 (char *) "self", NULL
12848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
12849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12853 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
12855 wxPyEndAllowThreads(__tstate
);
12856 if (PyErr_Occurred()) SWIG_fail
;
12858 resultobj
= SWIG_FromInt((int)result
);
12865 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12866 PyObject
*resultobj
;
12867 wxSlider
*arg1
= (wxSlider
*) 0 ;
12869 PyObject
* obj0
= 0 ;
12870 char *kwnames
[] = {
12871 (char *) "self", NULL
12874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
12875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12879 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
12881 wxPyEndAllowThreads(__tstate
);
12882 if (PyErr_Occurred()) SWIG_fail
;
12884 resultobj
= SWIG_FromInt((int)result
);
12891 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12892 PyObject
*resultobj
;
12893 wxSlider
*arg1
= (wxSlider
*) 0 ;
12896 PyObject
* obj0
= 0 ;
12897 PyObject
* obj1
= 0 ;
12898 PyObject
* obj2
= 0 ;
12899 char *kwnames
[] = {
12900 (char *) "self",(char *) "min",(char *) "max", NULL
12903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12906 arg2
= (int) SWIG_AsInt(obj1
);
12907 if (PyErr_Occurred()) SWIG_fail
;
12908 arg3
= (int) SWIG_AsInt(obj2
);
12909 if (PyErr_Occurred()) SWIG_fail
;
12911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12912 (arg1
)->SetSelection(arg2
,arg3
);
12914 wxPyEndAllowThreads(__tstate
);
12915 if (PyErr_Occurred()) SWIG_fail
;
12917 Py_INCREF(Py_None
); resultobj
= Py_None
;
12924 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
12926 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12927 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
12929 return Py_BuildValue((char *)"");
12931 static int _wrap_ToggleButtonNameStr_set(PyObject
*_val
) {
12932 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
12937 static PyObject
*_wrap_ToggleButtonNameStr_get() {
12942 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12944 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12951 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12952 PyObject
*resultobj
;
12953 wxWindow
*arg1
= (wxWindow
*) 0 ;
12955 wxString
*arg3
= 0 ;
12956 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12957 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12958 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12959 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12960 long arg6
= (long) 0 ;
12961 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12962 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12963 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
12964 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12965 wxToggleButton
*result
;
12966 bool temp3
= False
;
12969 bool temp8
= False
;
12970 PyObject
* obj0
= 0 ;
12971 PyObject
* obj1
= 0 ;
12972 PyObject
* obj2
= 0 ;
12973 PyObject
* obj3
= 0 ;
12974 PyObject
* obj4
= 0 ;
12975 PyObject
* obj5
= 0 ;
12976 PyObject
* obj6
= 0 ;
12977 PyObject
* obj7
= 0 ;
12978 char *kwnames
[] = {
12979 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12985 arg2
= (int) SWIG_AsInt(obj1
);
12986 if (PyErr_Occurred()) SWIG_fail
;
12988 arg3
= wxString_in_helper(obj2
);
12989 if (arg3
== NULL
) SWIG_fail
;
12995 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13001 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13005 arg6
= (long) SWIG_AsLong(obj5
);
13006 if (PyErr_Occurred()) SWIG_fail
;
13009 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
13010 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13012 if (arg7
== NULL
) {
13013 PyErr_SetString(PyExc_TypeError
,"null reference");
13019 arg8
= wxString_in_helper(obj7
);
13020 if (arg8
== NULL
) SWIG_fail
;
13025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13026 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
13028 wxPyEndAllowThreads(__tstate
);
13029 if (PyErr_Occurred()) SWIG_fail
;
13031 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13054 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13055 PyObject
*resultobj
;
13056 wxToggleButton
*result
;
13057 char *kwnames
[] = {
13061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
13063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13064 result
= (wxToggleButton
*)new wxToggleButton();
13066 wxPyEndAllowThreads(__tstate
);
13067 if (PyErr_Occurred()) SWIG_fail
;
13069 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13076 static PyObject
*_wrap_ToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13077 PyObject
*resultobj
;
13078 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13079 wxWindow
*arg2
= (wxWindow
*) 0 ;
13081 wxString
*arg4
= 0 ;
13082 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13083 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13084 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13085 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13086 long arg7
= (long) 0 ;
13087 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
13088 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
13089 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
13090 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
13092 bool temp4
= False
;
13095 bool temp9
= False
;
13096 PyObject
* obj0
= 0 ;
13097 PyObject
* obj1
= 0 ;
13098 PyObject
* obj2
= 0 ;
13099 PyObject
* obj3
= 0 ;
13100 PyObject
* obj4
= 0 ;
13101 PyObject
* obj5
= 0 ;
13102 PyObject
* obj6
= 0 ;
13103 PyObject
* obj7
= 0 ;
13104 PyObject
* obj8
= 0 ;
13105 char *kwnames
[] = {
13106 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
13110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13112 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13114 arg3
= (int) SWIG_AsInt(obj2
);
13115 if (PyErr_Occurred()) SWIG_fail
;
13117 arg4
= wxString_in_helper(obj3
);
13118 if (arg4
== NULL
) SWIG_fail
;
13124 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13130 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13134 arg7
= (long) SWIG_AsLong(obj6
);
13135 if (PyErr_Occurred()) SWIG_fail
;
13138 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
13139 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13141 if (arg8
== NULL
) {
13142 PyErr_SetString(PyExc_TypeError
,"null reference");
13148 arg9
= wxString_in_helper(obj8
);
13149 if (arg9
== NULL
) SWIG_fail
;
13154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13155 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
13157 wxPyEndAllowThreads(__tstate
);
13158 if (PyErr_Occurred()) SWIG_fail
;
13161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13185 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13186 PyObject
*resultobj
;
13187 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13189 PyObject
* obj0
= 0 ;
13190 PyObject
* obj1
= 0 ;
13191 char *kwnames
[] = {
13192 (char *) "self",(char *) "value", NULL
13195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13198 arg2
= (bool) SWIG_AsBool(obj1
);
13199 if (PyErr_Occurred()) SWIG_fail
;
13201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13202 (arg1
)->SetValue(arg2
);
13204 wxPyEndAllowThreads(__tstate
);
13205 if (PyErr_Occurred()) SWIG_fail
;
13207 Py_INCREF(Py_None
); resultobj
= Py_None
;
13214 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13215 PyObject
*resultobj
;
13216 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13218 PyObject
* obj0
= 0 ;
13219 char *kwnames
[] = {
13220 (char *) "self", NULL
13223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
13224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13228 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
13230 wxPyEndAllowThreads(__tstate
);
13231 if (PyErr_Occurred()) SWIG_fail
;
13234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13242 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13243 PyObject
*resultobj
;
13244 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13245 wxString
*arg2
= 0 ;
13246 bool temp2
= False
;
13247 PyObject
* obj0
= 0 ;
13248 PyObject
* obj1
= 0 ;
13249 char *kwnames
[] = {
13250 (char *) "self",(char *) "label", NULL
13253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
13254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13257 arg2
= wxString_in_helper(obj1
);
13258 if (arg2
== NULL
) SWIG_fail
;
13262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13263 (arg1
)->SetLabel((wxString
const &)*arg2
);
13265 wxPyEndAllowThreads(__tstate
);
13266 if (PyErr_Occurred()) SWIG_fail
;
13268 Py_INCREF(Py_None
); resultobj
= Py_None
;
13283 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
13285 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13286 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
13288 return Py_BuildValue((char *)"");
13290 static int _wrap_NOTEBOOK_NAME_set(PyObject
*_val
) {
13291 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
13296 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
13301 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13303 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13310 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13311 PyObject
*resultobj
;
13312 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13314 PyObject
* obj0
= 0 ;
13315 char *kwnames
[] = {
13316 (char *) "self", NULL
13319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
13320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13324 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
13326 wxPyEndAllowThreads(__tstate
);
13327 if (PyErr_Occurred()) SWIG_fail
;
13329 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
13336 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13337 PyObject
*resultobj
;
13338 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13341 PyObject
* obj0
= 0 ;
13342 PyObject
* obj1
= 0 ;
13343 char *kwnames
[] = {
13344 (char *) "self",(char *) "n", NULL
13347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13350 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13351 if (PyErr_Occurred()) SWIG_fail
;
13353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13354 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
13356 wxPyEndAllowThreads(__tstate
);
13357 if (PyErr_Occurred()) SWIG_fail
;
13360 resultobj
= wxPyMake_wxObject(result
);
13368 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13369 PyObject
*resultobj
;
13370 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13372 PyObject
* obj0
= 0 ;
13373 char *kwnames
[] = {
13374 (char *) "self", NULL
13377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
13378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13382 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
13384 wxPyEndAllowThreads(__tstate
);
13385 if (PyErr_Occurred()) SWIG_fail
;
13387 resultobj
= SWIG_FromInt((int)result
);
13394 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13395 PyObject
*resultobj
;
13396 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13398 wxString
*arg3
= 0 ;
13400 bool temp3
= False
;
13401 PyObject
* obj0
= 0 ;
13402 PyObject
* obj1
= 0 ;
13403 PyObject
* obj2
= 0 ;
13404 char *kwnames
[] = {
13405 (char *) "self",(char *) "n",(char *) "strText", NULL
13408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13411 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13412 if (PyErr_Occurred()) SWIG_fail
;
13414 arg3
= wxString_in_helper(obj2
);
13415 if (arg3
== NULL
) SWIG_fail
;
13419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13420 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
13422 wxPyEndAllowThreads(__tstate
);
13423 if (PyErr_Occurred()) SWIG_fail
;
13426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13442 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13443 PyObject
*resultobj
;
13444 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13447 PyObject
* obj0
= 0 ;
13448 PyObject
* obj1
= 0 ;
13449 char *kwnames
[] = {
13450 (char *) "self",(char *) "n", NULL
13453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
13454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13456 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13457 if (PyErr_Occurred()) SWIG_fail
;
13459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13460 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
13462 wxPyEndAllowThreads(__tstate
);
13463 if (PyErr_Occurred()) SWIG_fail
;
13467 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13469 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13478 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13479 PyObject
*resultobj
;
13480 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13481 wxImageList
*arg2
= (wxImageList
*) 0 ;
13482 PyObject
* obj0
= 0 ;
13483 PyObject
* obj1
= 0 ;
13484 char *kwnames
[] = {
13485 (char *) "self",(char *) "imageList", NULL
13488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13491 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
13492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13495 (arg1
)->SetImageList(arg2
);
13497 wxPyEndAllowThreads(__tstate
);
13498 if (PyErr_Occurred()) SWIG_fail
;
13500 Py_INCREF(Py_None
); resultobj
= Py_None
;
13507 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13508 PyObject
*resultobj
;
13509 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13510 wxImageList
*arg2
= (wxImageList
*) 0 ;
13511 PyObject
* obj0
= 0 ;
13512 PyObject
* obj1
= 0 ;
13513 char *kwnames
[] = {
13514 (char *) "self",(char *) "imageList", NULL
13517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13520 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
13521 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
13523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13524 (arg1
)->AssignImageList(arg2
);
13526 wxPyEndAllowThreads(__tstate
);
13527 if (PyErr_Occurred()) SWIG_fail
;
13529 Py_INCREF(Py_None
); resultobj
= Py_None
;
13536 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13537 PyObject
*resultobj
;
13538 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13539 wxImageList
*result
;
13540 PyObject
* obj0
= 0 ;
13541 char *kwnames
[] = {
13542 (char *) "self", NULL
13545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
13546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13550 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
13552 wxPyEndAllowThreads(__tstate
);
13553 if (PyErr_Occurred()) SWIG_fail
;
13556 resultobj
= wxPyMake_wxObject(result
);
13564 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13565 PyObject
*resultobj
;
13566 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13569 PyObject
* obj0
= 0 ;
13570 PyObject
* obj1
= 0 ;
13571 char *kwnames
[] = {
13572 (char *) "self",(char *) "n", NULL
13575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
13576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13578 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13579 if (PyErr_Occurred()) SWIG_fail
;
13581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13582 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
13584 wxPyEndAllowThreads(__tstate
);
13585 if (PyErr_Occurred()) SWIG_fail
;
13587 resultobj
= SWIG_FromInt((int)result
);
13594 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13595 PyObject
*resultobj
;
13596 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13600 PyObject
* obj0
= 0 ;
13601 PyObject
* obj1
= 0 ;
13602 PyObject
* obj2
= 0 ;
13603 char *kwnames
[] = {
13604 (char *) "self",(char *) "n",(char *) "imageId", NULL
13607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13610 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13611 if (PyErr_Occurred()) SWIG_fail
;
13612 arg3
= (int) SWIG_AsInt(obj2
);
13613 if (PyErr_Occurred()) SWIG_fail
;
13615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13616 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
13618 wxPyEndAllowThreads(__tstate
);
13619 if (PyErr_Occurred()) SWIG_fail
;
13622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13630 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13631 PyObject
*resultobj
;
13632 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13635 PyObject
* obj0
= 0 ;
13636 PyObject
* obj1
= 0 ;
13637 char *kwnames
[] = {
13638 (char *) "self",(char *) "size", NULL
13641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13646 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13650 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
13652 wxPyEndAllowThreads(__tstate
);
13653 if (PyErr_Occurred()) SWIG_fail
;
13655 Py_INCREF(Py_None
); resultobj
= Py_None
;
13662 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13663 PyObject
*resultobj
;
13664 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13668 PyObject
* obj0
= 0 ;
13669 PyObject
* obj1
= 0 ;
13670 char *kwnames
[] = {
13671 (char *) "self",(char *) "sizePage", NULL
13674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13679 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13683 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
13685 wxPyEndAllowThreads(__tstate
);
13686 if (PyErr_Occurred()) SWIG_fail
;
13689 wxSize
* resultptr
;
13690 resultptr
= new wxSize((wxSize
&) result
);
13691 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13699 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13700 PyObject
*resultobj
;
13701 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13704 PyObject
* obj0
= 0 ;
13705 PyObject
* obj1
= 0 ;
13706 char *kwnames
[] = {
13707 (char *) "self",(char *) "n", NULL
13710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13713 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13714 if (PyErr_Occurred()) SWIG_fail
;
13716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13717 result
= (bool)(arg1
)->DeletePage(arg2
);
13719 wxPyEndAllowThreads(__tstate
);
13720 if (PyErr_Occurred()) SWIG_fail
;
13723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13731 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13732 PyObject
*resultobj
;
13733 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13736 PyObject
* obj0
= 0 ;
13737 PyObject
* obj1
= 0 ;
13738 char *kwnames
[] = {
13739 (char *) "self",(char *) "n", NULL
13742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13745 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13746 if (PyErr_Occurred()) SWIG_fail
;
13748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13749 result
= (bool)(arg1
)->RemovePage(arg2
);
13751 wxPyEndAllowThreads(__tstate
);
13752 if (PyErr_Occurred()) SWIG_fail
;
13755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13763 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13764 PyObject
*resultobj
;
13765 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13767 PyObject
* obj0
= 0 ;
13768 char *kwnames
[] = {
13769 (char *) "self", NULL
13772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
13773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13777 result
= (bool)(arg1
)->DeleteAllPages();
13779 wxPyEndAllowThreads(__tstate
);
13780 if (PyErr_Occurred()) SWIG_fail
;
13783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13791 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13792 PyObject
*resultobj
;
13793 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13794 wxWindow
*arg2
= (wxWindow
*) 0 ;
13795 wxString
*arg3
= 0 ;
13796 bool arg4
= (bool) False
;
13797 int arg5
= (int) -1 ;
13799 bool temp3
= False
;
13800 PyObject
* obj0
= 0 ;
13801 PyObject
* obj1
= 0 ;
13802 PyObject
* obj2
= 0 ;
13803 PyObject
* obj3
= 0 ;
13804 PyObject
* obj4
= 0 ;
13805 char *kwnames
[] = {
13806 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13812 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13815 arg3
= wxString_in_helper(obj2
);
13816 if (arg3
== NULL
) SWIG_fail
;
13820 arg4
= (bool) SWIG_AsBool(obj3
);
13821 if (PyErr_Occurred()) SWIG_fail
;
13824 arg5
= (int) SWIG_AsInt(obj4
);
13825 if (PyErr_Occurred()) SWIG_fail
;
13828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13829 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
13831 wxPyEndAllowThreads(__tstate
);
13832 if (PyErr_Occurred()) SWIG_fail
;
13835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13851 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13852 PyObject
*resultobj
;
13853 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13855 wxWindow
*arg3
= (wxWindow
*) 0 ;
13856 wxString
*arg4
= 0 ;
13857 bool arg5
= (bool) False
;
13858 int arg6
= (int) -1 ;
13860 bool temp4
= False
;
13861 PyObject
* obj0
= 0 ;
13862 PyObject
* obj1
= 0 ;
13863 PyObject
* obj2
= 0 ;
13864 PyObject
* obj3
= 0 ;
13865 PyObject
* obj4
= 0 ;
13866 PyObject
* obj5
= 0 ;
13867 char *kwnames
[] = {
13868 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13874 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13875 if (PyErr_Occurred()) SWIG_fail
;
13876 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
13877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13879 arg4
= wxString_in_helper(obj3
);
13880 if (arg4
== NULL
) SWIG_fail
;
13884 arg5
= (bool) SWIG_AsBool(obj4
);
13885 if (PyErr_Occurred()) SWIG_fail
;
13888 arg6
= (int) SWIG_AsInt(obj5
);
13889 if (PyErr_Occurred()) SWIG_fail
;
13892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13893 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
13895 wxPyEndAllowThreads(__tstate
);
13896 if (PyErr_Occurred()) SWIG_fail
;
13899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13915 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13916 PyObject
*resultobj
;
13917 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13920 PyObject
* obj0
= 0 ;
13921 PyObject
* obj1
= 0 ;
13922 char *kwnames
[] = {
13923 (char *) "self",(char *) "n", NULL
13926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13929 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13930 if (PyErr_Occurred()) SWIG_fail
;
13932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13933 result
= (int)(arg1
)->SetSelection(arg2
);
13935 wxPyEndAllowThreads(__tstate
);
13936 if (PyErr_Occurred()) SWIG_fail
;
13938 resultobj
= SWIG_FromInt((int)result
);
13945 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13946 PyObject
*resultobj
;
13947 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13948 bool arg2
= (bool) True
;
13949 PyObject
* obj0
= 0 ;
13950 PyObject
* obj1
= 0 ;
13951 char *kwnames
[] = {
13952 (char *) "self",(char *) "forward", NULL
13955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13959 arg2
= (bool) SWIG_AsBool(obj1
);
13960 if (PyErr_Occurred()) SWIG_fail
;
13963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13964 (arg1
)->AdvanceSelection(arg2
);
13966 wxPyEndAllowThreads(__tstate
);
13967 if (PyErr_Occurred()) SWIG_fail
;
13969 Py_INCREF(Py_None
); resultobj
= Py_None
;
13976 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
13978 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13979 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
13981 return Py_BuildValue((char *)"");
13983 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13984 PyObject
*resultobj
;
13985 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13986 int arg2
= (int) 0 ;
13987 int arg3
= (int) -1 ;
13988 int arg4
= (int) -1 ;
13989 wxBookCtrlEvent
*result
;
13990 PyObject
* obj0
= 0 ;
13991 PyObject
* obj1
= 0 ;
13992 PyObject
* obj2
= 0 ;
13993 PyObject
* obj3
= 0 ;
13994 char *kwnames
[] = {
13995 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14000 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14001 if (PyErr_Occurred()) SWIG_fail
;
14004 arg2
= (int) SWIG_AsInt(obj1
);
14005 if (PyErr_Occurred()) SWIG_fail
;
14008 arg3
= (int) SWIG_AsInt(obj2
);
14009 if (PyErr_Occurred()) SWIG_fail
;
14012 arg4
= (int) SWIG_AsInt(obj3
);
14013 if (PyErr_Occurred()) SWIG_fail
;
14016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14017 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
14019 wxPyEndAllowThreads(__tstate
);
14020 if (PyErr_Occurred()) SWIG_fail
;
14022 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlEvent
, 1);
14029 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14030 PyObject
*resultobj
;
14031 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14033 PyObject
* obj0
= 0 ;
14034 char *kwnames
[] = {
14035 (char *) "self", NULL
14038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
14039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14043 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
14045 wxPyEndAllowThreads(__tstate
);
14046 if (PyErr_Occurred()) SWIG_fail
;
14048 resultobj
= SWIG_FromInt((int)result
);
14055 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14056 PyObject
*resultobj
;
14057 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14059 PyObject
* obj0
= 0 ;
14060 PyObject
* obj1
= 0 ;
14061 char *kwnames
[] = {
14062 (char *) "self",(char *) "nSel", NULL
14065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14068 arg2
= (int) SWIG_AsInt(obj1
);
14069 if (PyErr_Occurred()) SWIG_fail
;
14071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14072 (arg1
)->SetSelection(arg2
);
14074 wxPyEndAllowThreads(__tstate
);
14075 if (PyErr_Occurred()) SWIG_fail
;
14077 Py_INCREF(Py_None
); resultobj
= Py_None
;
14084 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14085 PyObject
*resultobj
;
14086 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14088 PyObject
* obj0
= 0 ;
14089 char *kwnames
[] = {
14090 (char *) "self", NULL
14093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
14094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14098 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
14100 wxPyEndAllowThreads(__tstate
);
14101 if (PyErr_Occurred()) SWIG_fail
;
14103 resultobj
= SWIG_FromInt((int)result
);
14110 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14111 PyObject
*resultobj
;
14112 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14114 PyObject
* obj0
= 0 ;
14115 PyObject
* obj1
= 0 ;
14116 char *kwnames
[] = {
14117 (char *) "self",(char *) "nOldSel", NULL
14120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14123 arg2
= (int) SWIG_AsInt(obj1
);
14124 if (PyErr_Occurred()) SWIG_fail
;
14126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14127 (arg1
)->SetOldSelection(arg2
);
14129 wxPyEndAllowThreads(__tstate
);
14130 if (PyErr_Occurred()) SWIG_fail
;
14132 Py_INCREF(Py_None
); resultobj
= Py_None
;
14139 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14141 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14142 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
14144 return Py_BuildValue((char *)"");
14146 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14147 PyObject
*resultobj
;
14148 wxWindow
*arg1
= (wxWindow
*) 0 ;
14149 int arg2
= (int) -1 ;
14150 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14151 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14152 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14153 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14154 long arg5
= (long) 0 ;
14155 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
14156 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14157 wxNotebook
*result
;
14160 bool temp6
= False
;
14161 PyObject
* obj0
= 0 ;
14162 PyObject
* obj1
= 0 ;
14163 PyObject
* obj2
= 0 ;
14164 PyObject
* obj3
= 0 ;
14165 PyObject
* obj4
= 0 ;
14166 PyObject
* obj5
= 0 ;
14167 char *kwnames
[] = {
14168 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14175 arg2
= (int) SWIG_AsInt(obj1
);
14176 if (PyErr_Occurred()) SWIG_fail
;
14181 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14187 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14191 arg5
= (long) SWIG_AsLong(obj4
);
14192 if (PyErr_Occurred()) SWIG_fail
;
14196 arg6
= wxString_in_helper(obj5
);
14197 if (arg6
== NULL
) SWIG_fail
;
14202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14203 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14205 wxPyEndAllowThreads(__tstate
);
14206 if (PyErr_Occurred()) SWIG_fail
;
14209 resultobj
= wxPyMake_wxObject(result
);
14225 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14226 PyObject
*resultobj
;
14227 wxNotebook
*result
;
14228 char *kwnames
[] = {
14232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
14234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14235 result
= (wxNotebook
*)new wxNotebook();
14237 wxPyEndAllowThreads(__tstate
);
14238 if (PyErr_Occurred()) SWIG_fail
;
14241 resultobj
= wxPyMake_wxObject(result
);
14249 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14250 PyObject
*resultobj
;
14251 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14252 wxWindow
*arg2
= (wxWindow
*) 0 ;
14254 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14255 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14256 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14257 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14258 long arg6
= (long) 0 ;
14259 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
14260 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14264 bool temp7
= False
;
14265 PyObject
* obj0
= 0 ;
14266 PyObject
* obj1
= 0 ;
14267 PyObject
* obj2
= 0 ;
14268 PyObject
* obj3
= 0 ;
14269 PyObject
* obj4
= 0 ;
14270 PyObject
* obj5
= 0 ;
14271 PyObject
* obj6
= 0 ;
14272 char *kwnames
[] = {
14273 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14279 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14281 arg3
= (int) SWIG_AsInt(obj2
);
14282 if (PyErr_Occurred()) SWIG_fail
;
14286 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14292 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14296 arg6
= (long) SWIG_AsLong(obj5
);
14297 if (PyErr_Occurred()) SWIG_fail
;
14301 arg7
= wxString_in_helper(obj6
);
14302 if (arg7
== NULL
) SWIG_fail
;
14307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14308 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14310 wxPyEndAllowThreads(__tstate
);
14311 if (PyErr_Occurred()) SWIG_fail
;
14314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14330 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14331 PyObject
*resultobj
;
14332 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14334 PyObject
* obj0
= 0 ;
14335 char *kwnames
[] = {
14336 (char *) "self", NULL
14339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
14340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14344 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
14346 wxPyEndAllowThreads(__tstate
);
14347 if (PyErr_Occurred()) SWIG_fail
;
14349 resultobj
= SWIG_FromInt((int)result
);
14356 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14357 PyObject
*resultobj
;
14358 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14361 PyObject
* obj0
= 0 ;
14362 PyObject
* obj1
= 0 ;
14363 char *kwnames
[] = {
14364 (char *) "self",(char *) "padding", NULL
14367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
14368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14372 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14376 (arg1
)->SetPadding((wxSize
const &)*arg2
);
14378 wxPyEndAllowThreads(__tstate
);
14379 if (PyErr_Occurred()) SWIG_fail
;
14381 Py_INCREF(Py_None
); resultobj
= Py_None
;
14388 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14389 PyObject
*resultobj
;
14390 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14393 PyObject
* obj0
= 0 ;
14394 PyObject
* obj1
= 0 ;
14395 char *kwnames
[] = {
14396 (char *) "self",(char *) "sz", NULL
14399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14404 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14408 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
14410 wxPyEndAllowThreads(__tstate
);
14411 if (PyErr_Occurred()) SWIG_fail
;
14413 Py_INCREF(Py_None
); resultobj
= Py_None
;
14420 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14421 PyObject
*resultobj
;
14422 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14423 wxPoint
*arg2
= 0 ;
14424 long *arg3
= (long *) 0 ;
14428 PyObject
* obj0
= 0 ;
14429 PyObject
* obj1
= 0 ;
14430 char *kwnames
[] = {
14431 (char *) "self",(char *) "pt", NULL
14435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
14436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14440 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14444 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
14446 wxPyEndAllowThreads(__tstate
);
14447 if (PyErr_Occurred()) SWIG_fail
;
14449 resultobj
= SWIG_FromInt((int)result
);
14451 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14452 resultobj
= t_output_helper(resultobj
,o
);
14460 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14461 PyObject
*resultobj
;
14462 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14466 PyObject
* obj0
= 0 ;
14467 PyObject
* obj1
= 0 ;
14468 char *kwnames
[] = {
14469 (char *) "self",(char *) "sizePage", NULL
14472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14477 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14481 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14483 wxPyEndAllowThreads(__tstate
);
14484 if (PyErr_Occurred()) SWIG_fail
;
14487 wxSize
* resultptr
;
14488 resultptr
= new wxSize((wxSize
&) result
);
14489 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14497 static PyObject
*_wrap_Notebook_ApplyThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14498 PyObject
*resultobj
;
14499 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14500 wxWindow
*arg2
= (wxWindow
*) 0 ;
14501 wxColour
*arg3
= 0 ;
14503 PyObject
* obj0
= 0 ;
14504 PyObject
* obj1
= 0 ;
14505 PyObject
* obj2
= 0 ;
14506 char *kwnames
[] = {
14507 (char *) "self",(char *) "window",(char *) "colour", NULL
14510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Notebook_ApplyThemeBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14513 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14517 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
14520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14521 (arg1
)->ApplyThemeBackground(arg2
,(wxColour
const &)*arg3
);
14523 wxPyEndAllowThreads(__tstate
);
14524 if (PyErr_Occurred()) SWIG_fail
;
14526 Py_INCREF(Py_None
); resultobj
= Py_None
;
14533 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
14535 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14536 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
14538 return Py_BuildValue((char *)"");
14540 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14541 PyObject
*resultobj
;
14542 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14543 int arg2
= (int) 0 ;
14544 int arg3
= (int) -1 ;
14545 int arg4
= (int) -1 ;
14546 wxNotebookEvent
*result
;
14547 PyObject
* obj0
= 0 ;
14548 PyObject
* obj1
= 0 ;
14549 PyObject
* obj2
= 0 ;
14550 PyObject
* obj3
= 0 ;
14551 char *kwnames
[] = {
14552 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14557 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14558 if (PyErr_Occurred()) SWIG_fail
;
14561 arg2
= (int) SWIG_AsInt(obj1
);
14562 if (PyErr_Occurred()) SWIG_fail
;
14565 arg3
= (int) SWIG_AsInt(obj2
);
14566 if (PyErr_Occurred()) SWIG_fail
;
14569 arg4
= (int) SWIG_AsInt(obj3
);
14570 if (PyErr_Occurred()) SWIG_fail
;
14573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14574 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
14576 wxPyEndAllowThreads(__tstate
);
14577 if (PyErr_Occurred()) SWIG_fail
;
14579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
14586 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14588 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14589 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
14591 return Py_BuildValue((char *)"");
14593 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14594 PyObject
*resultobj
;
14595 wxWindow
*arg1
= (wxWindow
*) 0 ;
14596 int arg2
= (int) -1 ;
14597 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14598 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14599 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14600 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14601 long arg5
= (long) 0 ;
14602 wxString
const &arg6_defvalue
= wxPyEmptyString
;
14603 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14604 wxListbook
*result
;
14607 bool temp6
= False
;
14608 PyObject
* obj0
= 0 ;
14609 PyObject
* obj1
= 0 ;
14610 PyObject
* obj2
= 0 ;
14611 PyObject
* obj3
= 0 ;
14612 PyObject
* obj4
= 0 ;
14613 PyObject
* obj5
= 0 ;
14614 char *kwnames
[] = {
14615 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14622 arg2
= (int) SWIG_AsInt(obj1
);
14623 if (PyErr_Occurred()) SWIG_fail
;
14628 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14634 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14638 arg5
= (long) SWIG_AsLong(obj4
);
14639 if (PyErr_Occurred()) SWIG_fail
;
14643 arg6
= wxString_in_helper(obj5
);
14644 if (arg6
== NULL
) SWIG_fail
;
14649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14650 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14652 wxPyEndAllowThreads(__tstate
);
14653 if (PyErr_Occurred()) SWIG_fail
;
14655 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
14670 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14671 PyObject
*resultobj
;
14672 wxListbook
*result
;
14673 char *kwnames
[] = {
14677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
14679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14680 result
= (wxListbook
*)new wxListbook();
14682 wxPyEndAllowThreads(__tstate
);
14683 if (PyErr_Occurred()) SWIG_fail
;
14685 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
14692 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14693 PyObject
*resultobj
;
14694 wxListbook
*arg1
= (wxListbook
*) 0 ;
14695 wxWindow
*arg2
= (wxWindow
*) 0 ;
14697 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14698 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14699 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14700 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14701 long arg6
= (long) 0 ;
14702 wxString
const &arg7_defvalue
= wxPyEmptyString
;
14703 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14707 bool temp7
= False
;
14708 PyObject
* obj0
= 0 ;
14709 PyObject
* obj1
= 0 ;
14710 PyObject
* obj2
= 0 ;
14711 PyObject
* obj3
= 0 ;
14712 PyObject
* obj4
= 0 ;
14713 PyObject
* obj5
= 0 ;
14714 PyObject
* obj6
= 0 ;
14715 char *kwnames
[] = {
14716 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
14721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14722 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14724 arg3
= (int) SWIG_AsInt(obj2
);
14725 if (PyErr_Occurred()) SWIG_fail
;
14729 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14735 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14739 arg6
= (long) SWIG_AsLong(obj5
);
14740 if (PyErr_Occurred()) SWIG_fail
;
14744 arg7
= wxString_in_helper(obj6
);
14745 if (arg7
== NULL
) SWIG_fail
;
14750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14751 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14753 wxPyEndAllowThreads(__tstate
);
14754 if (PyErr_Occurred()) SWIG_fail
;
14757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14773 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14774 PyObject
*resultobj
;
14775 wxListbook
*arg1
= (wxListbook
*) 0 ;
14777 PyObject
* obj0
= 0 ;
14778 char *kwnames
[] = {
14779 (char *) "self", NULL
14782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
14783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
14784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14787 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
14789 wxPyEndAllowThreads(__tstate
);
14790 if (PyErr_Occurred()) SWIG_fail
;
14793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14801 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
14803 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14804 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
14806 return Py_BuildValue((char *)"");
14808 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14809 PyObject
*resultobj
;
14810 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14811 int arg2
= (int) 0 ;
14812 int arg3
= (int) -1 ;
14813 int arg4
= (int) -1 ;
14814 wxListbookEvent
*result
;
14815 PyObject
* obj0
= 0 ;
14816 PyObject
* obj1
= 0 ;
14817 PyObject
* obj2
= 0 ;
14818 PyObject
* obj3
= 0 ;
14819 char *kwnames
[] = {
14820 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14825 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14826 if (PyErr_Occurred()) SWIG_fail
;
14829 arg2
= (int) SWIG_AsInt(obj1
);
14830 if (PyErr_Occurred()) SWIG_fail
;
14833 arg3
= (int) SWIG_AsInt(obj2
);
14834 if (PyErr_Occurred()) SWIG_fail
;
14837 arg4
= (int) SWIG_AsInt(obj3
);
14838 if (PyErr_Occurred()) SWIG_fail
;
14841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14842 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
14844 wxPyEndAllowThreads(__tstate
);
14845 if (PyErr_Occurred()) SWIG_fail
;
14847 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
14854 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14856 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14857 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
14859 return Py_BuildValue((char *)"");
14861 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14862 PyObject
*resultobj
;
14863 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14864 wxBookCtrlSizer
*result
;
14865 PyObject
* obj0
= 0 ;
14866 char *kwnames
[] = {
14867 (char *) "nb", NULL
14870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
14871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14875 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
14877 wxPyEndAllowThreads(__tstate
);
14878 if (PyErr_Occurred()) SWIG_fail
;
14880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
14887 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14888 PyObject
*resultobj
;
14889 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14890 PyObject
* obj0
= 0 ;
14891 char *kwnames
[] = {
14892 (char *) "self", NULL
14895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14900 (arg1
)->RecalcSizes();
14902 wxPyEndAllowThreads(__tstate
);
14903 if (PyErr_Occurred()) SWIG_fail
;
14905 Py_INCREF(Py_None
); resultobj
= Py_None
;
14912 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14913 PyObject
*resultobj
;
14914 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14916 PyObject
* obj0
= 0 ;
14917 char *kwnames
[] = {
14918 (char *) "self", NULL
14921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14926 result
= (arg1
)->CalcMin();
14928 wxPyEndAllowThreads(__tstate
);
14929 if (PyErr_Occurred()) SWIG_fail
;
14932 wxSize
* resultptr
;
14933 resultptr
= new wxSize((wxSize
&) result
);
14934 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14942 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14943 PyObject
*resultobj
;
14944 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14945 wxBookCtrl
*result
;
14946 PyObject
* obj0
= 0 ;
14947 char *kwnames
[] = {
14948 (char *) "self", NULL
14951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
14952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14956 result
= (wxBookCtrl
*)(arg1
)->GetControl();
14958 wxPyEndAllowThreads(__tstate
);
14959 if (PyErr_Occurred()) SWIG_fail
;
14961 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrl
, 0);
14968 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
14970 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14971 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
14973 return Py_BuildValue((char *)"");
14975 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14976 PyObject
*resultobj
;
14977 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14978 wxNotebookSizer
*result
;
14979 PyObject
* obj0
= 0 ;
14980 char *kwnames
[] = {
14981 (char *) "nb", NULL
14984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
14985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14989 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
14991 wxPyEndAllowThreads(__tstate
);
14992 if (PyErr_Occurred()) SWIG_fail
;
14994 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
15001 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15002 PyObject
*resultobj
;
15003 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15004 PyObject
* obj0
= 0 ;
15005 char *kwnames
[] = {
15006 (char *) "self", NULL
15009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15014 (arg1
)->RecalcSizes();
15016 wxPyEndAllowThreads(__tstate
);
15017 if (PyErr_Occurred()) SWIG_fail
;
15019 Py_INCREF(Py_None
); resultobj
= Py_None
;
15026 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15027 PyObject
*resultobj
;
15028 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15030 PyObject
* obj0
= 0 ;
15031 char *kwnames
[] = {
15032 (char *) "self", NULL
15035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
15036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15040 result
= (arg1
)->CalcMin();
15042 wxPyEndAllowThreads(__tstate
);
15043 if (PyErr_Occurred()) SWIG_fail
;
15046 wxSize
* resultptr
;
15047 resultptr
= new wxSize((wxSize
&) result
);
15048 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15056 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15057 PyObject
*resultobj
;
15058 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15059 wxNotebook
*result
;
15060 PyObject
* obj0
= 0 ;
15061 char *kwnames
[] = {
15062 (char *) "self", NULL
15065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
15066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15070 result
= (wxNotebook
*)(arg1
)->GetNotebook();
15072 wxPyEndAllowThreads(__tstate
);
15073 if (PyErr_Occurred()) SWIG_fail
;
15076 resultobj
= wxPyMake_wxObject(result
);
15084 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
15086 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15087 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
15089 return Py_BuildValue((char *)"");
15091 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15092 PyObject
*resultobj
;
15093 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15095 PyObject
* obj0
= 0 ;
15096 char *kwnames
[] = {
15097 (char *) "self", NULL
15100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
15101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15105 result
= (int)(arg1
)->GetId();
15107 wxPyEndAllowThreads(__tstate
);
15108 if (PyErr_Occurred()) SWIG_fail
;
15110 resultobj
= SWIG_FromInt((int)result
);
15117 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15118 PyObject
*resultobj
;
15119 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15121 PyObject
* obj0
= 0 ;
15122 char *kwnames
[] = {
15123 (char *) "self", NULL
15126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
15127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15131 result
= (wxControl
*)(arg1
)->GetControl();
15133 wxPyEndAllowThreads(__tstate
);
15134 if (PyErr_Occurred()) SWIG_fail
;
15137 resultobj
= wxPyMake_wxObject(result
);
15145 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15146 PyObject
*resultobj
;
15147 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15148 wxToolBarBase
*result
;
15149 PyObject
* obj0
= 0 ;
15150 char *kwnames
[] = {
15151 (char *) "self", NULL
15154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
15155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15159 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
15161 wxPyEndAllowThreads(__tstate
);
15162 if (PyErr_Occurred()) SWIG_fail
;
15165 resultobj
= wxPyMake_wxObject(result
);
15173 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15174 PyObject
*resultobj
;
15175 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15177 PyObject
* obj0
= 0 ;
15178 char *kwnames
[] = {
15179 (char *) "self", NULL
15182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
15183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15187 result
= (int)(arg1
)->IsButton();
15189 wxPyEndAllowThreads(__tstate
);
15190 if (PyErr_Occurred()) SWIG_fail
;
15192 resultobj
= SWIG_FromInt((int)result
);
15199 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15200 PyObject
*resultobj
;
15201 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15203 PyObject
* obj0
= 0 ;
15204 char *kwnames
[] = {
15205 (char *) "self", NULL
15208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
15209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15213 result
= (int)(arg1
)->IsControl();
15215 wxPyEndAllowThreads(__tstate
);
15216 if (PyErr_Occurred()) SWIG_fail
;
15218 resultobj
= SWIG_FromInt((int)result
);
15225 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15226 PyObject
*resultobj
;
15227 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15229 PyObject
* obj0
= 0 ;
15230 char *kwnames
[] = {
15231 (char *) "self", NULL
15234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
15235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15239 result
= (int)(arg1
)->IsSeparator();
15241 wxPyEndAllowThreads(__tstate
);
15242 if (PyErr_Occurred()) SWIG_fail
;
15244 resultobj
= SWIG_FromInt((int)result
);
15251 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15252 PyObject
*resultobj
;
15253 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15255 PyObject
* obj0
= 0 ;
15256 char *kwnames
[] = {
15257 (char *) "self", NULL
15260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
15261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15265 result
= (int)(arg1
)->GetStyle();
15267 wxPyEndAllowThreads(__tstate
);
15268 if (PyErr_Occurred()) SWIG_fail
;
15270 resultobj
= SWIG_FromInt((int)result
);
15277 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15278 PyObject
*resultobj
;
15279 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15281 PyObject
* obj0
= 0 ;
15282 char *kwnames
[] = {
15283 (char *) "self", NULL
15286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",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();
15291 result
= (int)(arg1
)->GetKind();
15293 wxPyEndAllowThreads(__tstate
);
15294 if (PyErr_Occurred()) SWIG_fail
;
15296 resultobj
= SWIG_FromInt((int)result
);
15303 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15304 PyObject
*resultobj
;
15305 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15307 PyObject
* obj0
= 0 ;
15308 char *kwnames
[] = {
15309 (char *) "self", NULL
15312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
15313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15317 result
= (bool)(arg1
)->IsEnabled();
15319 wxPyEndAllowThreads(__tstate
);
15320 if (PyErr_Occurred()) SWIG_fail
;
15323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15331 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15332 PyObject
*resultobj
;
15333 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15335 PyObject
* obj0
= 0 ;
15336 char *kwnames
[] = {
15337 (char *) "self", NULL
15340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
15341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15345 result
= (bool)(arg1
)->IsToggled();
15347 wxPyEndAllowThreads(__tstate
);
15348 if (PyErr_Occurred()) SWIG_fail
;
15351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15359 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15360 PyObject
*resultobj
;
15361 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15363 PyObject
* obj0
= 0 ;
15364 char *kwnames
[] = {
15365 (char *) "self", NULL
15368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
15369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15373 result
= (bool)(arg1
)->CanBeToggled();
15375 wxPyEndAllowThreads(__tstate
);
15376 if (PyErr_Occurred()) SWIG_fail
;
15379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15387 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15388 PyObject
*resultobj
;
15389 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15391 PyObject
* obj0
= 0 ;
15392 char *kwnames
[] = {
15393 (char *) "self", NULL
15396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
15397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15402 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
15403 result
= (wxBitmap
*) &_result_ref
;
15406 wxPyEndAllowThreads(__tstate
);
15407 if (PyErr_Occurred()) SWIG_fail
;
15410 wxBitmap
* resultptr
= new wxBitmap(*result
);
15411 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15419 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15420 PyObject
*resultobj
;
15421 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15423 PyObject
* obj0
= 0 ;
15424 char *kwnames
[] = {
15425 (char *) "self", NULL
15428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
15429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15434 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
15435 result
= (wxBitmap
*) &_result_ref
;
15438 wxPyEndAllowThreads(__tstate
);
15439 if (PyErr_Occurred()) SWIG_fail
;
15442 wxBitmap
* resultptr
= new wxBitmap(*result
);
15443 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15451 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15452 PyObject
*resultobj
;
15453 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15455 PyObject
* obj0
= 0 ;
15456 char *kwnames
[] = {
15457 (char *) "self", NULL
15460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
15461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15465 result
= (arg1
)->GetBitmap();
15467 wxPyEndAllowThreads(__tstate
);
15468 if (PyErr_Occurred()) SWIG_fail
;
15471 wxBitmap
* resultptr
;
15472 resultptr
= new wxBitmap((wxBitmap
&) result
);
15473 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15481 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15482 PyObject
*resultobj
;
15483 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15485 PyObject
* obj0
= 0 ;
15486 char *kwnames
[] = {
15487 (char *) "self", NULL
15490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
15491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15495 result
= (arg1
)->GetLabel();
15497 wxPyEndAllowThreads(__tstate
);
15498 if (PyErr_Occurred()) SWIG_fail
;
15502 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15504 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15513 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15514 PyObject
*resultobj
;
15515 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15517 PyObject
* obj0
= 0 ;
15518 char *kwnames
[] = {
15519 (char *) "self", NULL
15522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
15523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15527 result
= (arg1
)->GetShortHelp();
15529 wxPyEndAllowThreads(__tstate
);
15530 if (PyErr_Occurred()) SWIG_fail
;
15534 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15536 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15545 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15546 PyObject
*resultobj
;
15547 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15549 PyObject
* obj0
= 0 ;
15550 char *kwnames
[] = {
15551 (char *) "self", NULL
15554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
15555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15559 result
= (arg1
)->GetLongHelp();
15561 wxPyEndAllowThreads(__tstate
);
15562 if (PyErr_Occurred()) SWIG_fail
;
15566 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15568 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15577 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15578 PyObject
*resultobj
;
15579 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15582 PyObject
* obj0
= 0 ;
15583 PyObject
* obj1
= 0 ;
15584 char *kwnames
[] = {
15585 (char *) "self",(char *) "enable", NULL
15588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
15589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15591 arg2
= (bool) SWIG_AsBool(obj1
);
15592 if (PyErr_Occurred()) SWIG_fail
;
15594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15595 result
= (bool)(arg1
)->Enable(arg2
);
15597 wxPyEndAllowThreads(__tstate
);
15598 if (PyErr_Occurred()) SWIG_fail
;
15601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15609 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15610 PyObject
*resultobj
;
15611 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15612 PyObject
* obj0
= 0 ;
15613 char *kwnames
[] = {
15614 (char *) "self", NULL
15617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
15618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15624 wxPyEndAllowThreads(__tstate
);
15625 if (PyErr_Occurred()) SWIG_fail
;
15627 Py_INCREF(Py_None
); resultobj
= Py_None
;
15634 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15635 PyObject
*resultobj
;
15636 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15639 PyObject
* obj0
= 0 ;
15640 PyObject
* obj1
= 0 ;
15641 char *kwnames
[] = {
15642 (char *) "self",(char *) "toggle", NULL
15645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
15646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15648 arg2
= (bool) SWIG_AsBool(obj1
);
15649 if (PyErr_Occurred()) SWIG_fail
;
15651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15652 result
= (bool)(arg1
)->SetToggle(arg2
);
15654 wxPyEndAllowThreads(__tstate
);
15655 if (PyErr_Occurred()) SWIG_fail
;
15658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15666 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15667 PyObject
*resultobj
;
15668 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15669 wxString
*arg2
= 0 ;
15671 bool temp2
= False
;
15672 PyObject
* obj0
= 0 ;
15673 PyObject
* obj1
= 0 ;
15674 char *kwnames
[] = {
15675 (char *) "self",(char *) "help", NULL
15678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15682 arg2
= wxString_in_helper(obj1
);
15683 if (arg2
== NULL
) SWIG_fail
;
15687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15688 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
15690 wxPyEndAllowThreads(__tstate
);
15691 if (PyErr_Occurred()) SWIG_fail
;
15694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15710 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15711 PyObject
*resultobj
;
15712 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15713 wxString
*arg2
= 0 ;
15715 bool temp2
= False
;
15716 PyObject
* obj0
= 0 ;
15717 PyObject
* obj1
= 0 ;
15718 char *kwnames
[] = {
15719 (char *) "self",(char *) "help", NULL
15722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15726 arg2
= wxString_in_helper(obj1
);
15727 if (arg2
== NULL
) SWIG_fail
;
15731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15732 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
15734 wxPyEndAllowThreads(__tstate
);
15735 if (PyErr_Occurred()) SWIG_fail
;
15738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15754 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15755 PyObject
*resultobj
;
15756 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15757 wxBitmap
*arg2
= 0 ;
15758 PyObject
* obj0
= 0 ;
15759 PyObject
* obj1
= 0 ;
15760 char *kwnames
[] = {
15761 (char *) "self",(char *) "bmp", NULL
15764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15767 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15768 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15770 if (arg2
== NULL
) {
15771 PyErr_SetString(PyExc_TypeError
,"null reference");
15775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15776 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
15778 wxPyEndAllowThreads(__tstate
);
15779 if (PyErr_Occurred()) SWIG_fail
;
15781 Py_INCREF(Py_None
); resultobj
= Py_None
;
15788 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15789 PyObject
*resultobj
;
15790 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15791 wxBitmap
*arg2
= 0 ;
15792 PyObject
* obj0
= 0 ;
15793 PyObject
* obj1
= 0 ;
15794 char *kwnames
[] = {
15795 (char *) "self",(char *) "bmp", NULL
15798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15801 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15802 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15804 if (arg2
== NULL
) {
15805 PyErr_SetString(PyExc_TypeError
,"null reference");
15809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15810 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
15812 wxPyEndAllowThreads(__tstate
);
15813 if (PyErr_Occurred()) SWIG_fail
;
15815 Py_INCREF(Py_None
); resultobj
= Py_None
;
15822 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15823 PyObject
*resultobj
;
15824 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15825 wxString
*arg2
= 0 ;
15826 bool temp2
= False
;
15827 PyObject
* obj0
= 0 ;
15828 PyObject
* obj1
= 0 ;
15829 char *kwnames
[] = {
15830 (char *) "self",(char *) "label", NULL
15833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
15834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15837 arg2
= wxString_in_helper(obj1
);
15838 if (arg2
== NULL
) SWIG_fail
;
15842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15843 (arg1
)->SetLabel((wxString
const &)*arg2
);
15845 wxPyEndAllowThreads(__tstate
);
15846 if (PyErr_Occurred()) SWIG_fail
;
15848 Py_INCREF(Py_None
); resultobj
= Py_None
;
15863 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15864 PyObject
*resultobj
;
15865 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15866 PyObject
* obj0
= 0 ;
15867 char *kwnames
[] = {
15868 (char *) "self", NULL
15871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
15872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15878 wxPyEndAllowThreads(__tstate
);
15879 if (PyErr_Occurred()) SWIG_fail
;
15881 Py_INCREF(Py_None
); resultobj
= Py_None
;
15888 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15889 PyObject
*resultobj
;
15890 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15891 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
15892 PyObject
* obj0
= 0 ;
15893 PyObject
* obj1
= 0 ;
15894 char *kwnames
[] = {
15895 (char *) "self",(char *) "tbar", NULL
15898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
15899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15901 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
15902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15905 (arg1
)->Attach(arg2
);
15907 wxPyEndAllowThreads(__tstate
);
15908 if (PyErr_Occurred()) SWIG_fail
;
15910 Py_INCREF(Py_None
); resultobj
= Py_None
;
15917 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15918 PyObject
*resultobj
;
15919 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15921 PyObject
* obj0
= 0 ;
15922 char *kwnames
[] = {
15923 (char *) "self", NULL
15926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
15927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15931 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
15933 wxPyEndAllowThreads(__tstate
);
15934 if (PyErr_Occurred()) SWIG_fail
;
15936 resultobj
= result
;
15943 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15944 PyObject
*resultobj
;
15945 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15946 PyObject
*arg2
= (PyObject
*) 0 ;
15947 PyObject
* obj0
= 0 ;
15948 PyObject
* obj1
= 0 ;
15949 char *kwnames
[] = {
15950 (char *) "self",(char *) "clientData", NULL
15953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
15954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15959 wxToolBarToolBase_SetClientData(arg1
,arg2
);
15961 wxPyEndAllowThreads(__tstate
);
15962 if (PyErr_Occurred()) SWIG_fail
;
15964 Py_INCREF(Py_None
); resultobj
= Py_None
;
15971 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
15973 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15974 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
15976 return Py_BuildValue((char *)"");
15978 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15979 PyObject
*resultobj
;
15980 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15982 wxString
*arg3
= 0 ;
15983 wxBitmap
*arg4
= 0 ;
15984 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
15985 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
15986 int arg6
= (int) wxITEM_NORMAL
;
15987 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15988 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15989 wxString
const &arg8_defvalue
= wxPyEmptyString
;
15990 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15991 PyObject
*arg9
= (PyObject
*) NULL
;
15992 wxToolBarToolBase
*result
;
15993 bool temp3
= False
;
15994 bool temp7
= False
;
15995 bool temp8
= False
;
15996 PyObject
* obj0
= 0 ;
15997 PyObject
* obj1
= 0 ;
15998 PyObject
* obj2
= 0 ;
15999 PyObject
* obj3
= 0 ;
16000 PyObject
* obj4
= 0 ;
16001 PyObject
* obj5
= 0 ;
16002 PyObject
* obj6
= 0 ;
16003 PyObject
* obj7
= 0 ;
16004 PyObject
* obj8
= 0 ;
16005 char *kwnames
[] = {
16006 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
16010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16012 arg2
= (int) SWIG_AsInt(obj1
);
16013 if (PyErr_Occurred()) SWIG_fail
;
16015 arg3
= wxString_in_helper(obj2
);
16016 if (arg3
== NULL
) SWIG_fail
;
16019 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
16020 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16022 if (arg4
== NULL
) {
16023 PyErr_SetString(PyExc_TypeError
,"null reference");
16027 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16028 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16030 if (arg5
== NULL
) {
16031 PyErr_SetString(PyExc_TypeError
,"null reference");
16036 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
16037 if (PyErr_Occurred()) SWIG_fail
;
16041 arg7
= wxString_in_helper(obj6
);
16042 if (arg7
== NULL
) SWIG_fail
;
16048 arg8
= wxString_in_helper(obj7
);
16049 if (arg8
== NULL
) SWIG_fail
;
16057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16058 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
16060 wxPyEndAllowThreads(__tstate
);
16061 if (PyErr_Occurred()) SWIG_fail
;
16064 resultobj
= wxPyMake_wxObject(result
);
16096 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16097 PyObject
*resultobj
;
16098 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16101 wxString
*arg4
= 0 ;
16102 wxBitmap
*arg5
= 0 ;
16103 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
16104 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
16105 int arg7
= (int) wxITEM_NORMAL
;
16106 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16107 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16108 wxString
const &arg9_defvalue
= wxPyEmptyString
;
16109 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
16110 PyObject
*arg10
= (PyObject
*) NULL
;
16111 wxToolBarToolBase
*result
;
16112 bool temp4
= False
;
16113 bool temp8
= False
;
16114 bool temp9
= False
;
16115 PyObject
* obj0
= 0 ;
16116 PyObject
* obj1
= 0 ;
16117 PyObject
* obj2
= 0 ;
16118 PyObject
* obj3
= 0 ;
16119 PyObject
* obj4
= 0 ;
16120 PyObject
* obj5
= 0 ;
16121 PyObject
* obj6
= 0 ;
16122 PyObject
* obj7
= 0 ;
16123 PyObject
* obj8
= 0 ;
16124 PyObject
* obj9
= 0 ;
16125 char *kwnames
[] = {
16126 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
16130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16132 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16133 if (PyErr_Occurred()) SWIG_fail
;
16134 arg3
= (int) SWIG_AsInt(obj2
);
16135 if (PyErr_Occurred()) SWIG_fail
;
16137 arg4
= wxString_in_helper(obj3
);
16138 if (arg4
== NULL
) SWIG_fail
;
16141 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16142 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16144 if (arg5
== NULL
) {
16145 PyErr_SetString(PyExc_TypeError
,"null reference");
16149 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
16150 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16152 if (arg6
== NULL
) {
16153 PyErr_SetString(PyExc_TypeError
,"null reference");
16158 arg7
= (wxItemKind
) SWIG_AsInt(obj6
);
16159 if (PyErr_Occurred()) SWIG_fail
;
16163 arg8
= wxString_in_helper(obj7
);
16164 if (arg8
== NULL
) SWIG_fail
;
16170 arg9
= wxString_in_helper(obj8
);
16171 if (arg9
== NULL
) SWIG_fail
;
16179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16180 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
);
16182 wxPyEndAllowThreads(__tstate
);
16183 if (PyErr_Occurred()) SWIG_fail
;
16186 resultobj
= wxPyMake_wxObject(result
);
16218 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16219 PyObject
*resultobj
;
16220 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16221 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
16222 wxToolBarToolBase
*result
;
16223 PyObject
* obj0
= 0 ;
16224 PyObject
* obj1
= 0 ;
16225 char *kwnames
[] = {
16226 (char *) "self",(char *) "tool", NULL
16229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
16230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16232 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
16233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16236 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
16238 wxPyEndAllowThreads(__tstate
);
16239 if (PyErr_Occurred()) SWIG_fail
;
16242 resultobj
= wxPyMake_wxObject(result
);
16250 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16251 PyObject
*resultobj
;
16252 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16254 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
16255 wxToolBarToolBase
*result
;
16256 PyObject
* obj0
= 0 ;
16257 PyObject
* obj1
= 0 ;
16258 PyObject
* obj2
= 0 ;
16259 char *kwnames
[] = {
16260 (char *) "self",(char *) "pos",(char *) "tool", NULL
16263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16266 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16267 if (PyErr_Occurred()) SWIG_fail
;
16268 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
16269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16272 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
16274 wxPyEndAllowThreads(__tstate
);
16275 if (PyErr_Occurred()) SWIG_fail
;
16278 resultobj
= wxPyMake_wxObject(result
);
16286 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16287 PyObject
*resultobj
;
16288 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16289 wxControl
*arg2
= (wxControl
*) 0 ;
16290 wxToolBarToolBase
*result
;
16291 PyObject
* obj0
= 0 ;
16292 PyObject
* obj1
= 0 ;
16293 char *kwnames
[] = {
16294 (char *) "self",(char *) "control", NULL
16297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
16298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16300 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
16301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16304 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
16306 wxPyEndAllowThreads(__tstate
);
16307 if (PyErr_Occurred()) SWIG_fail
;
16310 resultobj
= wxPyMake_wxObject(result
);
16318 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16319 PyObject
*resultobj
;
16320 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16322 wxControl
*arg3
= (wxControl
*) 0 ;
16323 wxToolBarToolBase
*result
;
16324 PyObject
* obj0
= 0 ;
16325 PyObject
* obj1
= 0 ;
16326 PyObject
* obj2
= 0 ;
16327 char *kwnames
[] = {
16328 (char *) "self",(char *) "pos",(char *) "control", NULL
16331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16334 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16335 if (PyErr_Occurred()) SWIG_fail
;
16336 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
16337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16340 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
16342 wxPyEndAllowThreads(__tstate
);
16343 if (PyErr_Occurred()) SWIG_fail
;
16346 resultobj
= wxPyMake_wxObject(result
);
16354 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16355 PyObject
*resultobj
;
16356 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16359 PyObject
* obj0
= 0 ;
16360 PyObject
* obj1
= 0 ;
16361 char *kwnames
[] = {
16362 (char *) "self",(char *) "id", NULL
16365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
16366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16368 arg2
= (int) SWIG_AsInt(obj1
);
16369 if (PyErr_Occurred()) SWIG_fail
;
16371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16372 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
16374 wxPyEndAllowThreads(__tstate
);
16375 if (PyErr_Occurred()) SWIG_fail
;
16378 resultobj
= wxPyMake_wxObject(result
);
16386 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16387 PyObject
*resultobj
;
16388 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16389 wxToolBarToolBase
*result
;
16390 PyObject
* obj0
= 0 ;
16391 char *kwnames
[] = {
16392 (char *) "self", NULL
16395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
16396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16400 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
16402 wxPyEndAllowThreads(__tstate
);
16403 if (PyErr_Occurred()) SWIG_fail
;
16406 resultobj
= wxPyMake_wxObject(result
);
16414 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16415 PyObject
*resultobj
;
16416 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16418 wxToolBarToolBase
*result
;
16419 PyObject
* obj0
= 0 ;
16420 PyObject
* obj1
= 0 ;
16421 char *kwnames
[] = {
16422 (char *) "self",(char *) "pos", NULL
16425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
16426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16428 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16429 if (PyErr_Occurred()) SWIG_fail
;
16431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16432 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
16434 wxPyEndAllowThreads(__tstate
);
16435 if (PyErr_Occurred()) SWIG_fail
;
16438 resultobj
= wxPyMake_wxObject(result
);
16446 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16447 PyObject
*resultobj
;
16448 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16450 wxToolBarToolBase
*result
;
16451 PyObject
* obj0
= 0 ;
16452 PyObject
* obj1
= 0 ;
16453 char *kwnames
[] = {
16454 (char *) "self",(char *) "id", NULL
16457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
16458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16460 arg2
= (int) SWIG_AsInt(obj1
);
16461 if (PyErr_Occurred()) SWIG_fail
;
16463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16464 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
16466 wxPyEndAllowThreads(__tstate
);
16467 if (PyErr_Occurred()) SWIG_fail
;
16470 resultobj
= wxPyMake_wxObject(result
);
16478 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16479 PyObject
*resultobj
;
16480 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16483 PyObject
* obj0
= 0 ;
16484 PyObject
* obj1
= 0 ;
16485 char *kwnames
[] = {
16486 (char *) "self",(char *) "pos", NULL
16489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16492 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16493 if (PyErr_Occurred()) SWIG_fail
;
16495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16496 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
16498 wxPyEndAllowThreads(__tstate
);
16499 if (PyErr_Occurred()) SWIG_fail
;
16502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16510 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16511 PyObject
*resultobj
;
16512 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16515 PyObject
* obj0
= 0 ;
16516 PyObject
* obj1
= 0 ;
16517 char *kwnames
[] = {
16518 (char *) "self",(char *) "id", NULL
16521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
16522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16524 arg2
= (int) SWIG_AsInt(obj1
);
16525 if (PyErr_Occurred()) SWIG_fail
;
16527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16528 result
= (bool)(arg1
)->DeleteTool(arg2
);
16530 wxPyEndAllowThreads(__tstate
);
16531 if (PyErr_Occurred()) SWIG_fail
;
16534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16542 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16543 PyObject
*resultobj
;
16544 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16545 PyObject
* obj0
= 0 ;
16546 char *kwnames
[] = {
16547 (char *) "self", NULL
16550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
16551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16555 (arg1
)->ClearTools();
16557 wxPyEndAllowThreads(__tstate
);
16558 if (PyErr_Occurred()) SWIG_fail
;
16560 Py_INCREF(Py_None
); resultobj
= Py_None
;
16567 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16568 PyObject
*resultobj
;
16569 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16571 PyObject
* obj0
= 0 ;
16572 char *kwnames
[] = {
16573 (char *) "self", NULL
16576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
16577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16581 result
= (bool)(arg1
)->Realize();
16583 wxPyEndAllowThreads(__tstate
);
16584 if (PyErr_Occurred()) SWIG_fail
;
16587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16595 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16596 PyObject
*resultobj
;
16597 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16600 PyObject
* obj0
= 0 ;
16601 PyObject
* obj1
= 0 ;
16602 PyObject
* obj2
= 0 ;
16603 char *kwnames
[] = {
16604 (char *) "self",(char *) "id",(char *) "enable", NULL
16607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16610 arg2
= (int) SWIG_AsInt(obj1
);
16611 if (PyErr_Occurred()) SWIG_fail
;
16612 arg3
= (bool) SWIG_AsBool(obj2
);
16613 if (PyErr_Occurred()) SWIG_fail
;
16615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16616 (arg1
)->EnableTool(arg2
,arg3
);
16618 wxPyEndAllowThreads(__tstate
);
16619 if (PyErr_Occurred()) SWIG_fail
;
16621 Py_INCREF(Py_None
); resultobj
= Py_None
;
16628 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16629 PyObject
*resultobj
;
16630 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16633 PyObject
* obj0
= 0 ;
16634 PyObject
* obj1
= 0 ;
16635 PyObject
* obj2
= 0 ;
16636 char *kwnames
[] = {
16637 (char *) "self",(char *) "id",(char *) "toggle", NULL
16640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16643 arg2
= (int) SWIG_AsInt(obj1
);
16644 if (PyErr_Occurred()) SWIG_fail
;
16645 arg3
= (bool) SWIG_AsBool(obj2
);
16646 if (PyErr_Occurred()) SWIG_fail
;
16648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16649 (arg1
)->ToggleTool(arg2
,arg3
);
16651 wxPyEndAllowThreads(__tstate
);
16652 if (PyErr_Occurred()) SWIG_fail
;
16654 Py_INCREF(Py_None
); resultobj
= Py_None
;
16661 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16662 PyObject
*resultobj
;
16663 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16666 PyObject
* obj0
= 0 ;
16667 PyObject
* obj1
= 0 ;
16668 PyObject
* obj2
= 0 ;
16669 char *kwnames
[] = {
16670 (char *) "self",(char *) "id",(char *) "toggle", NULL
16673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16676 arg2
= (int) SWIG_AsInt(obj1
);
16677 if (PyErr_Occurred()) SWIG_fail
;
16678 arg3
= (bool) SWIG_AsBool(obj2
);
16679 if (PyErr_Occurred()) SWIG_fail
;
16681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16682 (arg1
)->SetToggle(arg2
,arg3
);
16684 wxPyEndAllowThreads(__tstate
);
16685 if (PyErr_Occurred()) SWIG_fail
;
16687 Py_INCREF(Py_None
); resultobj
= Py_None
;
16694 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16695 PyObject
*resultobj
;
16696 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16699 PyObject
* obj0
= 0 ;
16700 PyObject
* obj1
= 0 ;
16701 char *kwnames
[] = {
16702 (char *) "self",(char *) "id", NULL
16705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16708 arg2
= (int) SWIG_AsInt(obj1
);
16709 if (PyErr_Occurred()) SWIG_fail
;
16711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16712 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
16714 wxPyEndAllowThreads(__tstate
);
16715 if (PyErr_Occurred()) SWIG_fail
;
16717 resultobj
= result
;
16724 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16725 PyObject
*resultobj
;
16726 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16728 PyObject
*arg3
= (PyObject
*) 0 ;
16729 PyObject
* obj0
= 0 ;
16730 PyObject
* obj1
= 0 ;
16731 PyObject
* obj2
= 0 ;
16732 char *kwnames
[] = {
16733 (char *) "self",(char *) "id",(char *) "clientData", NULL
16736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16739 arg2
= (int) SWIG_AsInt(obj1
);
16740 if (PyErr_Occurred()) SWIG_fail
;
16743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16744 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
16746 wxPyEndAllowThreads(__tstate
);
16747 if (PyErr_Occurred()) SWIG_fail
;
16749 Py_INCREF(Py_None
); resultobj
= Py_None
;
16756 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16757 PyObject
*resultobj
;
16758 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16761 PyObject
* obj0
= 0 ;
16762 PyObject
* obj1
= 0 ;
16763 char *kwnames
[] = {
16764 (char *) "self",(char *) "id", NULL
16767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16770 arg2
= (int) SWIG_AsInt(obj1
);
16771 if (PyErr_Occurred()) SWIG_fail
;
16773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16774 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
16776 wxPyEndAllowThreads(__tstate
);
16777 if (PyErr_Occurred()) SWIG_fail
;
16779 resultobj
= SWIG_FromInt((int)result
);
16786 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16787 PyObject
*resultobj
;
16788 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16791 PyObject
* obj0
= 0 ;
16792 PyObject
* obj1
= 0 ;
16793 char *kwnames
[] = {
16794 (char *) "self",(char *) "id", NULL
16797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
16798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16800 arg2
= (int) SWIG_AsInt(obj1
);
16801 if (PyErr_Occurred()) SWIG_fail
;
16803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16804 result
= (bool)(arg1
)->GetToolState(arg2
);
16806 wxPyEndAllowThreads(__tstate
);
16807 if (PyErr_Occurred()) SWIG_fail
;
16810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16818 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16819 PyObject
*resultobj
;
16820 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16823 PyObject
* obj0
= 0 ;
16824 PyObject
* obj1
= 0 ;
16825 char *kwnames
[] = {
16826 (char *) "self",(char *) "id", NULL
16829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
16830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16832 arg2
= (int) SWIG_AsInt(obj1
);
16833 if (PyErr_Occurred()) SWIG_fail
;
16835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16836 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
16838 wxPyEndAllowThreads(__tstate
);
16839 if (PyErr_Occurred()) SWIG_fail
;
16842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16850 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16851 PyObject
*resultobj
;
16852 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16854 wxString
*arg3
= 0 ;
16855 bool temp3
= False
;
16856 PyObject
* obj0
= 0 ;
16857 PyObject
* obj1
= 0 ;
16858 PyObject
* obj2
= 0 ;
16859 char *kwnames
[] = {
16860 (char *) "self",(char *) "id",(char *) "helpString", NULL
16863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16866 arg2
= (int) SWIG_AsInt(obj1
);
16867 if (PyErr_Occurred()) SWIG_fail
;
16869 arg3
= wxString_in_helper(obj2
);
16870 if (arg3
== NULL
) SWIG_fail
;
16874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16875 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
16877 wxPyEndAllowThreads(__tstate
);
16878 if (PyErr_Occurred()) SWIG_fail
;
16880 Py_INCREF(Py_None
); resultobj
= Py_None
;
16895 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16896 PyObject
*resultobj
;
16897 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16900 PyObject
* obj0
= 0 ;
16901 PyObject
* obj1
= 0 ;
16902 char *kwnames
[] = {
16903 (char *) "self",(char *) "id", NULL
16906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16909 arg2
= (int) SWIG_AsInt(obj1
);
16910 if (PyErr_Occurred()) SWIG_fail
;
16912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16913 result
= (arg1
)->GetToolShortHelp(arg2
);
16915 wxPyEndAllowThreads(__tstate
);
16916 if (PyErr_Occurred()) SWIG_fail
;
16920 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16922 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16931 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16932 PyObject
*resultobj
;
16933 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16935 wxString
*arg3
= 0 ;
16936 bool temp3
= False
;
16937 PyObject
* obj0
= 0 ;
16938 PyObject
* obj1
= 0 ;
16939 PyObject
* obj2
= 0 ;
16940 char *kwnames
[] = {
16941 (char *) "self",(char *) "id",(char *) "helpString", NULL
16944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16947 arg2
= (int) SWIG_AsInt(obj1
);
16948 if (PyErr_Occurred()) SWIG_fail
;
16950 arg3
= wxString_in_helper(obj2
);
16951 if (arg3
== NULL
) SWIG_fail
;
16955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16956 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
16958 wxPyEndAllowThreads(__tstate
);
16959 if (PyErr_Occurred()) SWIG_fail
;
16961 Py_INCREF(Py_None
); resultobj
= Py_None
;
16976 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16977 PyObject
*resultobj
;
16978 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16981 PyObject
* obj0
= 0 ;
16982 PyObject
* obj1
= 0 ;
16983 char *kwnames
[] = {
16984 (char *) "self",(char *) "id", NULL
16987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16990 arg2
= (int) SWIG_AsInt(obj1
);
16991 if (PyErr_Occurred()) SWIG_fail
;
16993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16994 result
= (arg1
)->GetToolLongHelp(arg2
);
16996 wxPyEndAllowThreads(__tstate
);
16997 if (PyErr_Occurred()) SWIG_fail
;
17001 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17003 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17012 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17013 PyObject
*resultobj
;
17014 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17017 PyObject
* obj0
= 0 ;
17018 PyObject
* obj1
= 0 ;
17019 PyObject
* obj2
= 0 ;
17020 char *kwnames
[] = {
17021 (char *) "self",(char *) "x",(char *) "y", NULL
17024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17027 arg2
= (int) SWIG_AsInt(obj1
);
17028 if (PyErr_Occurred()) SWIG_fail
;
17029 arg3
= (int) SWIG_AsInt(obj2
);
17030 if (PyErr_Occurred()) SWIG_fail
;
17032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17033 (arg1
)->SetMargins(arg2
,arg3
);
17035 wxPyEndAllowThreads(__tstate
);
17036 if (PyErr_Occurred()) SWIG_fail
;
17038 Py_INCREF(Py_None
); resultobj
= Py_None
;
17045 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17046 PyObject
*resultobj
;
17047 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17050 PyObject
* obj0
= 0 ;
17051 PyObject
* obj1
= 0 ;
17052 char *kwnames
[] = {
17053 (char *) "self",(char *) "size", NULL
17056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
17057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17061 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17065 (arg1
)->SetMargins((wxSize
const &)*arg2
);
17067 wxPyEndAllowThreads(__tstate
);
17068 if (PyErr_Occurred()) SWIG_fail
;
17070 Py_INCREF(Py_None
); resultobj
= Py_None
;
17077 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17078 PyObject
*resultobj
;
17079 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17081 PyObject
* obj0
= 0 ;
17082 PyObject
* obj1
= 0 ;
17083 char *kwnames
[] = {
17084 (char *) "self",(char *) "packing", NULL
17087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
17088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17090 arg2
= (int) SWIG_AsInt(obj1
);
17091 if (PyErr_Occurred()) SWIG_fail
;
17093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17094 (arg1
)->SetToolPacking(arg2
);
17096 wxPyEndAllowThreads(__tstate
);
17097 if (PyErr_Occurred()) SWIG_fail
;
17099 Py_INCREF(Py_None
); resultobj
= Py_None
;
17106 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17107 PyObject
*resultobj
;
17108 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17110 PyObject
* obj0
= 0 ;
17111 PyObject
* obj1
= 0 ;
17112 char *kwnames
[] = {
17113 (char *) "self",(char *) "separation", NULL
17116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
17117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17119 arg2
= (int) SWIG_AsInt(obj1
);
17120 if (PyErr_Occurred()) SWIG_fail
;
17122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17123 (arg1
)->SetToolSeparation(arg2
);
17125 wxPyEndAllowThreads(__tstate
);
17126 if (PyErr_Occurred()) SWIG_fail
;
17128 Py_INCREF(Py_None
); resultobj
= Py_None
;
17135 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17136 PyObject
*resultobj
;
17137 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17139 PyObject
* obj0
= 0 ;
17140 char *kwnames
[] = {
17141 (char *) "self", NULL
17144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
17145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17149 result
= (arg1
)->GetToolMargins();
17151 wxPyEndAllowThreads(__tstate
);
17152 if (PyErr_Occurred()) SWIG_fail
;
17155 wxSize
* resultptr
;
17156 resultptr
= new wxSize((wxSize
&) result
);
17157 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17165 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17166 PyObject
*resultobj
;
17167 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17169 PyObject
* obj0
= 0 ;
17170 char *kwnames
[] = {
17171 (char *) "self", NULL
17174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
17175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17179 result
= (arg1
)->GetMargins();
17181 wxPyEndAllowThreads(__tstate
);
17182 if (PyErr_Occurred()) SWIG_fail
;
17185 wxSize
* resultptr
;
17186 resultptr
= new wxSize((wxSize
&) result
);
17187 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17195 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17196 PyObject
*resultobj
;
17197 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17199 PyObject
* obj0
= 0 ;
17200 char *kwnames
[] = {
17201 (char *) "self", NULL
17204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
17205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17209 result
= (int)(arg1
)->GetToolPacking();
17211 wxPyEndAllowThreads(__tstate
);
17212 if (PyErr_Occurred()) SWIG_fail
;
17214 resultobj
= SWIG_FromInt((int)result
);
17221 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17222 PyObject
*resultobj
;
17223 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17225 PyObject
* obj0
= 0 ;
17226 char *kwnames
[] = {
17227 (char *) "self", NULL
17230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
17231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17235 result
= (int)(arg1
)->GetToolSeparation();
17237 wxPyEndAllowThreads(__tstate
);
17238 if (PyErr_Occurred()) SWIG_fail
;
17240 resultobj
= SWIG_FromInt((int)result
);
17247 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17248 PyObject
*resultobj
;
17249 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17251 PyObject
* obj0
= 0 ;
17252 PyObject
* obj1
= 0 ;
17253 char *kwnames
[] = {
17254 (char *) "self",(char *) "nRows", NULL
17257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
17258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17260 arg2
= (int) SWIG_AsInt(obj1
);
17261 if (PyErr_Occurred()) SWIG_fail
;
17263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17264 (arg1
)->SetRows(arg2
);
17266 wxPyEndAllowThreads(__tstate
);
17267 if (PyErr_Occurred()) SWIG_fail
;
17269 Py_INCREF(Py_None
); resultobj
= Py_None
;
17276 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17277 PyObject
*resultobj
;
17278 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17281 PyObject
* obj0
= 0 ;
17282 PyObject
* obj1
= 0 ;
17283 PyObject
* obj2
= 0 ;
17284 char *kwnames
[] = {
17285 (char *) "self",(char *) "rows",(char *) "cols", NULL
17288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17291 arg2
= (int) SWIG_AsInt(obj1
);
17292 if (PyErr_Occurred()) SWIG_fail
;
17293 arg3
= (int) SWIG_AsInt(obj2
);
17294 if (PyErr_Occurred()) SWIG_fail
;
17296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17297 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
17299 wxPyEndAllowThreads(__tstate
);
17300 if (PyErr_Occurred()) SWIG_fail
;
17302 Py_INCREF(Py_None
); resultobj
= Py_None
;
17309 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17310 PyObject
*resultobj
;
17311 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17313 PyObject
* obj0
= 0 ;
17314 char *kwnames
[] = {
17315 (char *) "self", NULL
17318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
17319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17323 result
= (int)(arg1
)->GetMaxRows();
17325 wxPyEndAllowThreads(__tstate
);
17326 if (PyErr_Occurred()) SWIG_fail
;
17328 resultobj
= SWIG_FromInt((int)result
);
17335 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17336 PyObject
*resultobj
;
17337 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17339 PyObject
* obj0
= 0 ;
17340 char *kwnames
[] = {
17341 (char *) "self", NULL
17344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
17345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17349 result
= (int)(arg1
)->GetMaxCols();
17351 wxPyEndAllowThreads(__tstate
);
17352 if (PyErr_Occurred()) SWIG_fail
;
17354 resultobj
= SWIG_FromInt((int)result
);
17361 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17362 PyObject
*resultobj
;
17363 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17366 PyObject
* obj0
= 0 ;
17367 PyObject
* obj1
= 0 ;
17368 char *kwnames
[] = {
17369 (char *) "self",(char *) "size", NULL
17372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17377 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17381 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
17383 wxPyEndAllowThreads(__tstate
);
17384 if (PyErr_Occurred()) SWIG_fail
;
17386 Py_INCREF(Py_None
); resultobj
= Py_None
;
17393 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17394 PyObject
*resultobj
;
17395 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17397 PyObject
* obj0
= 0 ;
17398 char *kwnames
[] = {
17399 (char *) "self", NULL
17402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
17403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17407 result
= (arg1
)->GetToolBitmapSize();
17409 wxPyEndAllowThreads(__tstate
);
17410 if (PyErr_Occurred()) SWIG_fail
;
17413 wxSize
* resultptr
;
17414 resultptr
= new wxSize((wxSize
&) result
);
17415 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17423 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17424 PyObject
*resultobj
;
17425 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17427 PyObject
* obj0
= 0 ;
17428 char *kwnames
[] = {
17429 (char *) "self", NULL
17432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
17433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17437 result
= (arg1
)->GetToolSize();
17439 wxPyEndAllowThreads(__tstate
);
17440 if (PyErr_Occurred()) SWIG_fail
;
17443 wxSize
* resultptr
;
17444 resultptr
= new wxSize((wxSize
&) result
);
17445 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17453 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17454 PyObject
*resultobj
;
17455 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17458 wxToolBarToolBase
*result
;
17459 PyObject
* obj0
= 0 ;
17460 PyObject
* obj1
= 0 ;
17461 PyObject
* obj2
= 0 ;
17462 char *kwnames
[] = {
17463 (char *) "self",(char *) "x",(char *) "y", NULL
17466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17469 arg2
= (int) SWIG_AsInt(obj1
);
17470 if (PyErr_Occurred()) SWIG_fail
;
17471 arg3
= (int) SWIG_AsInt(obj2
);
17472 if (PyErr_Occurred()) SWIG_fail
;
17474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17475 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17477 wxPyEndAllowThreads(__tstate
);
17478 if (PyErr_Occurred()) SWIG_fail
;
17481 resultobj
= wxPyMake_wxObject(result
);
17489 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17490 PyObject
*resultobj
;
17491 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17493 wxToolBarToolBase
*result
;
17494 PyObject
* obj0
= 0 ;
17495 PyObject
* obj1
= 0 ;
17496 char *kwnames
[] = {
17497 (char *) "self",(char *) "toolid", NULL
17500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
17501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17503 arg2
= (int) SWIG_AsInt(obj1
);
17504 if (PyErr_Occurred()) SWIG_fail
;
17506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17507 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
17509 wxPyEndAllowThreads(__tstate
);
17510 if (PyErr_Occurred()) SWIG_fail
;
17513 resultobj
= wxPyMake_wxObject(result
);
17521 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17522 PyObject
*resultobj
;
17523 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17525 PyObject
* obj0
= 0 ;
17526 char *kwnames
[] = {
17527 (char *) "self", NULL
17530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
17531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17535 result
= (bool)(arg1
)->IsVertical();
17537 wxPyEndAllowThreads(__tstate
);
17538 if (PyErr_Occurred()) SWIG_fail
;
17541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17549 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
17551 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17552 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
17554 return Py_BuildValue((char *)"");
17556 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17557 PyObject
*resultobj
;
17558 wxWindow
*arg1
= (wxWindow
*) 0 ;
17560 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17561 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17562 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17563 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17564 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17565 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
17566 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17570 bool temp6
= False
;
17571 PyObject
* obj0
= 0 ;
17572 PyObject
* obj1
= 0 ;
17573 PyObject
* obj2
= 0 ;
17574 PyObject
* obj3
= 0 ;
17575 PyObject
* obj4
= 0 ;
17576 PyObject
* obj5
= 0 ;
17577 char *kwnames
[] = {
17578 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17584 arg2
= (int) SWIG_AsInt(obj1
);
17585 if (PyErr_Occurred()) SWIG_fail
;
17589 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17595 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17599 arg5
= (long) SWIG_AsLong(obj4
);
17600 if (PyErr_Occurred()) SWIG_fail
;
17604 arg6
= wxString_in_helper(obj5
);
17605 if (arg6
== NULL
) SWIG_fail
;
17610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17611 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17613 wxPyEndAllowThreads(__tstate
);
17614 if (PyErr_Occurred()) SWIG_fail
;
17617 resultobj
= wxPyMake_wxObject(result
);
17633 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17634 PyObject
*resultobj
;
17636 char *kwnames
[] = {
17640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
17642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17643 result
= (wxToolBar
*)new wxToolBar();
17645 wxPyEndAllowThreads(__tstate
);
17646 if (PyErr_Occurred()) SWIG_fail
;
17649 resultobj
= wxPyMake_wxObject(result
);
17657 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17658 PyObject
*resultobj
;
17659 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17660 wxWindow
*arg2
= (wxWindow
*) 0 ;
17662 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17663 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17664 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17665 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17666 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17667 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
17668 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17672 bool temp7
= False
;
17673 PyObject
* obj0
= 0 ;
17674 PyObject
* obj1
= 0 ;
17675 PyObject
* obj2
= 0 ;
17676 PyObject
* obj3
= 0 ;
17677 PyObject
* obj4
= 0 ;
17678 PyObject
* obj5
= 0 ;
17679 PyObject
* obj6
= 0 ;
17680 char *kwnames
[] = {
17681 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
17686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17687 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17689 arg3
= (int) SWIG_AsInt(obj2
);
17690 if (PyErr_Occurred()) SWIG_fail
;
17694 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17700 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17704 arg6
= (long) SWIG_AsLong(obj5
);
17705 if (PyErr_Occurred()) SWIG_fail
;
17709 arg7
= wxString_in_helper(obj6
);
17710 if (arg7
== NULL
) SWIG_fail
;
17715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17716 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17718 wxPyEndAllowThreads(__tstate
);
17719 if (PyErr_Occurred()) SWIG_fail
;
17722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17738 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17739 PyObject
*resultobj
;
17740 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17743 wxToolBarToolBase
*result
;
17744 PyObject
* obj0
= 0 ;
17745 PyObject
* obj1
= 0 ;
17746 PyObject
* obj2
= 0 ;
17747 char *kwnames
[] = {
17748 (char *) "self",(char *) "x",(char *) "y", NULL
17751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
17753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17754 arg2
= (int) SWIG_AsInt(obj1
);
17755 if (PyErr_Occurred()) SWIG_fail
;
17756 arg3
= (int) SWIG_AsInt(obj2
);
17757 if (PyErr_Occurred()) SWIG_fail
;
17759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17760 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17762 wxPyEndAllowThreads(__tstate
);
17763 if (PyErr_Occurred()) SWIG_fail
;
17766 resultobj
= wxPyMake_wxObject(result
);
17774 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
17776 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17777 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
17779 return Py_BuildValue((char *)"");
17781 static int _wrap_ListCtrlNameStr_set(PyObject
*_val
) {
17782 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
17787 static PyObject
*_wrap_ListCtrlNameStr_get() {
17792 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17794 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17801 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17802 PyObject
*resultobj
;
17803 wxColour
const &arg1_defvalue
= wxNullColour
;
17804 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
17805 wxColour
const &arg2_defvalue
= wxNullColour
;
17806 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
17807 wxFont
const &arg3_defvalue
= wxNullFont
;
17808 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
17809 wxListItemAttr
*result
;
17812 PyObject
* obj0
= 0 ;
17813 PyObject
* obj1
= 0 ;
17814 PyObject
* obj2
= 0 ;
17815 char *kwnames
[] = {
17816 (char *) "colText",(char *) "colBack",(char *) "font", NULL
17819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17823 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
17829 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17833 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
17834 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17836 if (arg3
== NULL
) {
17837 PyErr_SetString(PyExc_TypeError
,"null reference");
17842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17843 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
17845 wxPyEndAllowThreads(__tstate
);
17846 if (PyErr_Occurred()) SWIG_fail
;
17848 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
17855 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17856 PyObject
*resultobj
;
17857 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17858 wxColour
*arg2
= 0 ;
17860 PyObject
* obj0
= 0 ;
17861 PyObject
* obj1
= 0 ;
17862 char *kwnames
[] = {
17863 (char *) "self",(char *) "colText", NULL
17866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17871 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17875 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
17877 wxPyEndAllowThreads(__tstate
);
17878 if (PyErr_Occurred()) SWIG_fail
;
17880 Py_INCREF(Py_None
); resultobj
= Py_None
;
17887 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17888 PyObject
*resultobj
;
17889 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17890 wxColour
*arg2
= 0 ;
17892 PyObject
* obj0
= 0 ;
17893 PyObject
* obj1
= 0 ;
17894 char *kwnames
[] = {
17895 (char *) "self",(char *) "colBack", NULL
17898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17903 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17907 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
17909 wxPyEndAllowThreads(__tstate
);
17910 if (PyErr_Occurred()) SWIG_fail
;
17912 Py_INCREF(Py_None
); resultobj
= Py_None
;
17919 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17920 PyObject
*resultobj
;
17921 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17923 PyObject
* obj0
= 0 ;
17924 PyObject
* obj1
= 0 ;
17925 char *kwnames
[] = {
17926 (char *) "self",(char *) "font", NULL
17929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17932 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17933 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17935 if (arg2
== NULL
) {
17936 PyErr_SetString(PyExc_TypeError
,"null reference");
17940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17941 (arg1
)->SetFont((wxFont
const &)*arg2
);
17943 wxPyEndAllowThreads(__tstate
);
17944 if (PyErr_Occurred()) SWIG_fail
;
17946 Py_INCREF(Py_None
); resultobj
= Py_None
;
17953 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17954 PyObject
*resultobj
;
17955 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17957 PyObject
* obj0
= 0 ;
17958 char *kwnames
[] = {
17959 (char *) "self", NULL
17962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
17963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17967 result
= (bool)(arg1
)->HasTextColour();
17969 wxPyEndAllowThreads(__tstate
);
17970 if (PyErr_Occurred()) SWIG_fail
;
17973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17981 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17982 PyObject
*resultobj
;
17983 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17985 PyObject
* obj0
= 0 ;
17986 char *kwnames
[] = {
17987 (char *) "self", NULL
17990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
17991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17995 result
= (bool)(arg1
)->HasBackgroundColour();
17997 wxPyEndAllowThreads(__tstate
);
17998 if (PyErr_Occurred()) SWIG_fail
;
18001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18009 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18010 PyObject
*resultobj
;
18011 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18013 PyObject
* obj0
= 0 ;
18014 char *kwnames
[] = {
18015 (char *) "self", NULL
18018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
18019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18023 result
= (bool)(arg1
)->HasFont();
18025 wxPyEndAllowThreads(__tstate
);
18026 if (PyErr_Occurred()) SWIG_fail
;
18029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18037 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18038 PyObject
*resultobj
;
18039 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18041 PyObject
* obj0
= 0 ;
18042 char *kwnames
[] = {
18043 (char *) "self", NULL
18046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
18047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18051 result
= (arg1
)->GetTextColour();
18053 wxPyEndAllowThreads(__tstate
);
18054 if (PyErr_Occurred()) SWIG_fail
;
18057 wxColour
* resultptr
;
18058 resultptr
= new wxColour((wxColour
&) result
);
18059 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18067 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18068 PyObject
*resultobj
;
18069 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18071 PyObject
* obj0
= 0 ;
18072 char *kwnames
[] = {
18073 (char *) "self", NULL
18076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
18077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18081 result
= (arg1
)->GetBackgroundColour();
18083 wxPyEndAllowThreads(__tstate
);
18084 if (PyErr_Occurred()) SWIG_fail
;
18087 wxColour
* resultptr
;
18088 resultptr
= new wxColour((wxColour
&) result
);
18089 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18097 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18098 PyObject
*resultobj
;
18099 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18101 PyObject
* obj0
= 0 ;
18102 char *kwnames
[] = {
18103 (char *) "self", NULL
18106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
18107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18111 result
= (arg1
)->GetFont();
18113 wxPyEndAllowThreads(__tstate
);
18114 if (PyErr_Occurred()) SWIG_fail
;
18117 wxFont
* resultptr
;
18118 resultptr
= new wxFont((wxFont
&) result
);
18119 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
18127 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18128 PyObject
*resultobj
;
18129 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18130 PyObject
* obj0
= 0 ;
18131 char *kwnames
[] = {
18132 (char *) "self", NULL
18135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
18136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18140 wxListItemAttr_Destroy(arg1
);
18142 wxPyEndAllowThreads(__tstate
);
18143 if (PyErr_Occurred()) SWIG_fail
;
18145 Py_INCREF(Py_None
); resultobj
= Py_None
;
18152 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
18154 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18155 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
18157 return Py_BuildValue((char *)"");
18159 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18160 PyObject
*resultobj
;
18161 wxListItem
*result
;
18162 char *kwnames
[] = {
18166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
18168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18169 result
= (wxListItem
*)new wxListItem();
18171 wxPyEndAllowThreads(__tstate
);
18172 if (PyErr_Occurred()) SWIG_fail
;
18175 resultobj
= wxPyMake_wxObject(result
);
18183 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18184 PyObject
*resultobj
;
18185 wxListItem
*arg1
= (wxListItem
*) 0 ;
18186 PyObject
* obj0
= 0 ;
18187 char *kwnames
[] = {
18188 (char *) "self", NULL
18191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
18192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18198 wxPyEndAllowThreads(__tstate
);
18199 if (PyErr_Occurred()) SWIG_fail
;
18201 Py_INCREF(Py_None
); resultobj
= Py_None
;
18208 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18209 PyObject
*resultobj
;
18210 wxListItem
*arg1
= (wxListItem
*) 0 ;
18211 PyObject
* obj0
= 0 ;
18212 char *kwnames
[] = {
18213 (char *) "self", NULL
18216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
18217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18223 wxPyEndAllowThreads(__tstate
);
18224 if (PyErr_Occurred()) SWIG_fail
;
18226 Py_INCREF(Py_None
); resultobj
= Py_None
;
18233 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18234 PyObject
*resultobj
;
18235 wxListItem
*arg1
= (wxListItem
*) 0 ;
18236 PyObject
* obj0
= 0 ;
18237 char *kwnames
[] = {
18238 (char *) "self", NULL
18241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
18242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18246 (arg1
)->ClearAttributes();
18248 wxPyEndAllowThreads(__tstate
);
18249 if (PyErr_Occurred()) SWIG_fail
;
18251 Py_INCREF(Py_None
); resultobj
= Py_None
;
18258 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18259 PyObject
*resultobj
;
18260 wxListItem
*arg1
= (wxListItem
*) 0 ;
18262 PyObject
* obj0
= 0 ;
18263 PyObject
* obj1
= 0 ;
18264 char *kwnames
[] = {
18265 (char *) "self",(char *) "mask", NULL
18268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
18269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18271 arg2
= (long) SWIG_AsLong(obj1
);
18272 if (PyErr_Occurred()) SWIG_fail
;
18274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18275 (arg1
)->SetMask(arg2
);
18277 wxPyEndAllowThreads(__tstate
);
18278 if (PyErr_Occurred()) SWIG_fail
;
18280 Py_INCREF(Py_None
); resultobj
= Py_None
;
18287 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18288 PyObject
*resultobj
;
18289 wxListItem
*arg1
= (wxListItem
*) 0 ;
18291 PyObject
* obj0
= 0 ;
18292 PyObject
* obj1
= 0 ;
18293 char *kwnames
[] = {
18294 (char *) "self",(char *) "id", NULL
18297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
18298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18300 arg2
= (long) SWIG_AsLong(obj1
);
18301 if (PyErr_Occurred()) SWIG_fail
;
18303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18304 (arg1
)->SetId(arg2
);
18306 wxPyEndAllowThreads(__tstate
);
18307 if (PyErr_Occurred()) SWIG_fail
;
18309 Py_INCREF(Py_None
); resultobj
= Py_None
;
18316 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18317 PyObject
*resultobj
;
18318 wxListItem
*arg1
= (wxListItem
*) 0 ;
18320 PyObject
* obj0
= 0 ;
18321 PyObject
* obj1
= 0 ;
18322 char *kwnames
[] = {
18323 (char *) "self",(char *) "col", NULL
18326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
18327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18329 arg2
= (int) SWIG_AsInt(obj1
);
18330 if (PyErr_Occurred()) SWIG_fail
;
18332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18333 (arg1
)->SetColumn(arg2
);
18335 wxPyEndAllowThreads(__tstate
);
18336 if (PyErr_Occurred()) SWIG_fail
;
18338 Py_INCREF(Py_None
); resultobj
= Py_None
;
18345 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18346 PyObject
*resultobj
;
18347 wxListItem
*arg1
= (wxListItem
*) 0 ;
18349 PyObject
* obj0
= 0 ;
18350 PyObject
* obj1
= 0 ;
18351 char *kwnames
[] = {
18352 (char *) "self",(char *) "state", NULL
18355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
18356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18358 arg2
= (long) SWIG_AsLong(obj1
);
18359 if (PyErr_Occurred()) SWIG_fail
;
18361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18362 (arg1
)->SetState(arg2
);
18364 wxPyEndAllowThreads(__tstate
);
18365 if (PyErr_Occurred()) SWIG_fail
;
18367 Py_INCREF(Py_None
); resultobj
= Py_None
;
18374 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18375 PyObject
*resultobj
;
18376 wxListItem
*arg1
= (wxListItem
*) 0 ;
18378 PyObject
* obj0
= 0 ;
18379 PyObject
* obj1
= 0 ;
18380 char *kwnames
[] = {
18381 (char *) "self",(char *) "stateMask", NULL
18384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
18385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18387 arg2
= (long) SWIG_AsLong(obj1
);
18388 if (PyErr_Occurred()) SWIG_fail
;
18390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18391 (arg1
)->SetStateMask(arg2
);
18393 wxPyEndAllowThreads(__tstate
);
18394 if (PyErr_Occurred()) SWIG_fail
;
18396 Py_INCREF(Py_None
); resultobj
= Py_None
;
18403 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18404 PyObject
*resultobj
;
18405 wxListItem
*arg1
= (wxListItem
*) 0 ;
18406 wxString
*arg2
= 0 ;
18407 bool temp2
= False
;
18408 PyObject
* obj0
= 0 ;
18409 PyObject
* obj1
= 0 ;
18410 char *kwnames
[] = {
18411 (char *) "self",(char *) "text", NULL
18414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18418 arg2
= wxString_in_helper(obj1
);
18419 if (arg2
== NULL
) SWIG_fail
;
18423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18424 (arg1
)->SetText((wxString
const &)*arg2
);
18426 wxPyEndAllowThreads(__tstate
);
18427 if (PyErr_Occurred()) SWIG_fail
;
18429 Py_INCREF(Py_None
); resultobj
= Py_None
;
18444 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18445 PyObject
*resultobj
;
18446 wxListItem
*arg1
= (wxListItem
*) 0 ;
18448 PyObject
* obj0
= 0 ;
18449 PyObject
* obj1
= 0 ;
18450 char *kwnames
[] = {
18451 (char *) "self",(char *) "image", NULL
18454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
18455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18457 arg2
= (int) SWIG_AsInt(obj1
);
18458 if (PyErr_Occurred()) SWIG_fail
;
18460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18461 (arg1
)->SetImage(arg2
);
18463 wxPyEndAllowThreads(__tstate
);
18464 if (PyErr_Occurred()) SWIG_fail
;
18466 Py_INCREF(Py_None
); resultobj
= Py_None
;
18473 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18474 PyObject
*resultobj
;
18475 wxListItem
*arg1
= (wxListItem
*) 0 ;
18477 PyObject
* obj0
= 0 ;
18478 PyObject
* obj1
= 0 ;
18479 char *kwnames
[] = {
18480 (char *) "self",(char *) "data", NULL
18483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
18484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18486 arg2
= (long) SWIG_AsLong(obj1
);
18487 if (PyErr_Occurred()) SWIG_fail
;
18489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18490 (arg1
)->SetData(arg2
);
18492 wxPyEndAllowThreads(__tstate
);
18493 if (PyErr_Occurred()) SWIG_fail
;
18495 Py_INCREF(Py_None
); resultobj
= Py_None
;
18502 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18503 PyObject
*resultobj
;
18504 wxListItem
*arg1
= (wxListItem
*) 0 ;
18506 PyObject
* obj0
= 0 ;
18507 PyObject
* obj1
= 0 ;
18508 char *kwnames
[] = {
18509 (char *) "self",(char *) "width", NULL
18512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
18513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18515 arg2
= (int) SWIG_AsInt(obj1
);
18516 if (PyErr_Occurred()) SWIG_fail
;
18518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18519 (arg1
)->SetWidth(arg2
);
18521 wxPyEndAllowThreads(__tstate
);
18522 if (PyErr_Occurred()) SWIG_fail
;
18524 Py_INCREF(Py_None
); resultobj
= Py_None
;
18531 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18532 PyObject
*resultobj
;
18533 wxListItem
*arg1
= (wxListItem
*) 0 ;
18535 PyObject
* obj0
= 0 ;
18536 PyObject
* obj1
= 0 ;
18537 char *kwnames
[] = {
18538 (char *) "self",(char *) "align", NULL
18541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
18542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18544 arg2
= (wxListColumnFormat
) SWIG_AsInt(obj1
);
18545 if (PyErr_Occurred()) SWIG_fail
;
18547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18548 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
18550 wxPyEndAllowThreads(__tstate
);
18551 if (PyErr_Occurred()) SWIG_fail
;
18553 Py_INCREF(Py_None
); resultobj
= Py_None
;
18560 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18561 PyObject
*resultobj
;
18562 wxListItem
*arg1
= (wxListItem
*) 0 ;
18563 wxColour
*arg2
= 0 ;
18565 PyObject
* obj0
= 0 ;
18566 PyObject
* obj1
= 0 ;
18567 char *kwnames
[] = {
18568 (char *) "self",(char *) "colText", NULL
18571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18576 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18580 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18582 wxPyEndAllowThreads(__tstate
);
18583 if (PyErr_Occurred()) SWIG_fail
;
18585 Py_INCREF(Py_None
); resultobj
= Py_None
;
18592 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18593 PyObject
*resultobj
;
18594 wxListItem
*arg1
= (wxListItem
*) 0 ;
18595 wxColour
*arg2
= 0 ;
18597 PyObject
* obj0
= 0 ;
18598 PyObject
* obj1
= 0 ;
18599 char *kwnames
[] = {
18600 (char *) "self",(char *) "colBack", NULL
18603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18608 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18612 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18614 wxPyEndAllowThreads(__tstate
);
18615 if (PyErr_Occurred()) SWIG_fail
;
18617 Py_INCREF(Py_None
); resultobj
= Py_None
;
18624 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18625 PyObject
*resultobj
;
18626 wxListItem
*arg1
= (wxListItem
*) 0 ;
18628 PyObject
* obj0
= 0 ;
18629 PyObject
* obj1
= 0 ;
18630 char *kwnames
[] = {
18631 (char *) "self",(char *) "font", NULL
18634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18637 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18638 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18640 if (arg2
== NULL
) {
18641 PyErr_SetString(PyExc_TypeError
,"null reference");
18645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18646 (arg1
)->SetFont((wxFont
const &)*arg2
);
18648 wxPyEndAllowThreads(__tstate
);
18649 if (PyErr_Occurred()) SWIG_fail
;
18651 Py_INCREF(Py_None
); resultobj
= Py_None
;
18658 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18659 PyObject
*resultobj
;
18660 wxListItem
*arg1
= (wxListItem
*) 0 ;
18662 PyObject
* obj0
= 0 ;
18663 char *kwnames
[] = {
18664 (char *) "self", NULL
18667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
18668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18672 result
= (long)(arg1
)->GetMask();
18674 wxPyEndAllowThreads(__tstate
);
18675 if (PyErr_Occurred()) SWIG_fail
;
18677 resultobj
= SWIG_FromLong((long)result
);
18684 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, 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_GetId",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
= (long)(arg1
)->GetId();
18700 wxPyEndAllowThreads(__tstate
);
18701 if (PyErr_Occurred()) SWIG_fail
;
18703 resultobj
= SWIG_FromLong((long)result
);
18710 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18711 PyObject
*resultobj
;
18712 wxListItem
*arg1
= (wxListItem
*) 0 ;
18714 PyObject
* obj0
= 0 ;
18715 char *kwnames
[] = {
18716 (char *) "self", NULL
18719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
18720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18724 result
= (int)(arg1
)->GetColumn();
18726 wxPyEndAllowThreads(__tstate
);
18727 if (PyErr_Occurred()) SWIG_fail
;
18729 resultobj
= SWIG_FromInt((int)result
);
18736 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18737 PyObject
*resultobj
;
18738 wxListItem
*arg1
= (wxListItem
*) 0 ;
18740 PyObject
* obj0
= 0 ;
18741 char *kwnames
[] = {
18742 (char *) "self", NULL
18745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
18746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18750 result
= (long)(arg1
)->GetState();
18752 wxPyEndAllowThreads(__tstate
);
18753 if (PyErr_Occurred()) SWIG_fail
;
18755 resultobj
= SWIG_FromLong((long)result
);
18762 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18763 PyObject
*resultobj
;
18764 wxListItem
*arg1
= (wxListItem
*) 0 ;
18766 PyObject
* obj0
= 0 ;
18767 char *kwnames
[] = {
18768 (char *) "self", NULL
18771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
18772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18777 wxString
const &_result_ref
= (arg1
)->GetText();
18778 result
= (wxString
*) &_result_ref
;
18781 wxPyEndAllowThreads(__tstate
);
18782 if (PyErr_Occurred()) SWIG_fail
;
18786 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18788 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18797 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18798 PyObject
*resultobj
;
18799 wxListItem
*arg1
= (wxListItem
*) 0 ;
18801 PyObject
* obj0
= 0 ;
18802 char *kwnames
[] = {
18803 (char *) "self", NULL
18806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
18807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18811 result
= (int)(arg1
)->GetImage();
18813 wxPyEndAllowThreads(__tstate
);
18814 if (PyErr_Occurred()) SWIG_fail
;
18816 resultobj
= SWIG_FromInt((int)result
);
18823 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18824 PyObject
*resultobj
;
18825 wxListItem
*arg1
= (wxListItem
*) 0 ;
18827 PyObject
* obj0
= 0 ;
18828 char *kwnames
[] = {
18829 (char *) "self", NULL
18832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
18833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18837 result
= (long)(arg1
)->GetData();
18839 wxPyEndAllowThreads(__tstate
);
18840 if (PyErr_Occurred()) SWIG_fail
;
18842 resultobj
= SWIG_FromLong((long)result
);
18849 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18850 PyObject
*resultobj
;
18851 wxListItem
*arg1
= (wxListItem
*) 0 ;
18853 PyObject
* obj0
= 0 ;
18854 char *kwnames
[] = {
18855 (char *) "self", NULL
18858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
18859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18863 result
= (int)(arg1
)->GetWidth();
18865 wxPyEndAllowThreads(__tstate
);
18866 if (PyErr_Occurred()) SWIG_fail
;
18868 resultobj
= SWIG_FromInt((int)result
);
18875 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18876 PyObject
*resultobj
;
18877 wxListItem
*arg1
= (wxListItem
*) 0 ;
18879 PyObject
* obj0
= 0 ;
18880 char *kwnames
[] = {
18881 (char *) "self", NULL
18884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
18885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18889 result
= (int)(arg1
)->GetAlign();
18891 wxPyEndAllowThreads(__tstate
);
18892 if (PyErr_Occurred()) SWIG_fail
;
18894 resultobj
= SWIG_FromInt((int)result
);
18901 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18902 PyObject
*resultobj
;
18903 wxListItem
*arg1
= (wxListItem
*) 0 ;
18904 wxListItemAttr
*result
;
18905 PyObject
* obj0
= 0 ;
18906 char *kwnames
[] = {
18907 (char *) "self", NULL
18910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
18911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18915 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
18917 wxPyEndAllowThreads(__tstate
);
18918 if (PyErr_Occurred()) SWIG_fail
;
18920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
18927 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18928 PyObject
*resultobj
;
18929 wxListItem
*arg1
= (wxListItem
*) 0 ;
18931 PyObject
* obj0
= 0 ;
18932 char *kwnames
[] = {
18933 (char *) "self", NULL
18936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
18937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18941 result
= (bool)(arg1
)->HasAttributes();
18943 wxPyEndAllowThreads(__tstate
);
18944 if (PyErr_Occurred()) SWIG_fail
;
18947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18955 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18956 PyObject
*resultobj
;
18957 wxListItem
*arg1
= (wxListItem
*) 0 ;
18959 PyObject
* obj0
= 0 ;
18960 char *kwnames
[] = {
18961 (char *) "self", NULL
18964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
18965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18969 result
= ((wxListItem
const *)arg1
)->GetTextColour();
18971 wxPyEndAllowThreads(__tstate
);
18972 if (PyErr_Occurred()) SWIG_fail
;
18975 wxColour
* resultptr
;
18976 resultptr
= new wxColour((wxColour
&) result
);
18977 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18985 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18986 PyObject
*resultobj
;
18987 wxListItem
*arg1
= (wxListItem
*) 0 ;
18989 PyObject
* obj0
= 0 ;
18990 char *kwnames
[] = {
18991 (char *) "self", NULL
18994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
18995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18999 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
19001 wxPyEndAllowThreads(__tstate
);
19002 if (PyErr_Occurred()) SWIG_fail
;
19005 wxColour
* resultptr
;
19006 resultptr
= new wxColour((wxColour
&) result
);
19007 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19015 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19016 PyObject
*resultobj
;
19017 wxListItem
*arg1
= (wxListItem
*) 0 ;
19019 PyObject
* obj0
= 0 ;
19020 char *kwnames
[] = {
19021 (char *) "self", NULL
19024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
19025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19029 result
= ((wxListItem
const *)arg1
)->GetFont();
19031 wxPyEndAllowThreads(__tstate
);
19032 if (PyErr_Occurred()) SWIG_fail
;
19035 wxFont
* resultptr
;
19036 resultptr
= new wxFont((wxFont
&) result
);
19037 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
19045 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19046 PyObject
*resultobj
;
19047 wxListItem
*arg1
= (wxListItem
*) 0 ;
19049 PyObject
* obj0
= 0 ;
19050 PyObject
* obj1
= 0 ;
19051 char *kwnames
[] = {
19052 (char *) "self",(char *) "m_mask", NULL
19055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19058 arg2
= (long) SWIG_AsLong(obj1
);
19059 if (PyErr_Occurred()) SWIG_fail
;
19060 if (arg1
) (arg1
)->m_mask
= arg2
;
19062 Py_INCREF(Py_None
); resultobj
= Py_None
;
19069 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19070 PyObject
*resultobj
;
19071 wxListItem
*arg1
= (wxListItem
*) 0 ;
19073 PyObject
* obj0
= 0 ;
19074 char *kwnames
[] = {
19075 (char *) "self", NULL
19078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
19079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19081 result
= (long) ((arg1
)->m_mask
);
19083 resultobj
= SWIG_FromLong((long)result
);
19090 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19091 PyObject
*resultobj
;
19092 wxListItem
*arg1
= (wxListItem
*) 0 ;
19094 PyObject
* obj0
= 0 ;
19095 PyObject
* obj1
= 0 ;
19096 char *kwnames
[] = {
19097 (char *) "self",(char *) "m_itemId", NULL
19100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19103 arg2
= (long) SWIG_AsLong(obj1
);
19104 if (PyErr_Occurred()) SWIG_fail
;
19105 if (arg1
) (arg1
)->m_itemId
= arg2
;
19107 Py_INCREF(Py_None
); resultobj
= Py_None
;
19114 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19115 PyObject
*resultobj
;
19116 wxListItem
*arg1
= (wxListItem
*) 0 ;
19118 PyObject
* obj0
= 0 ;
19119 char *kwnames
[] = {
19120 (char *) "self", NULL
19123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
19124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19126 result
= (long) ((arg1
)->m_itemId
);
19128 resultobj
= SWIG_FromLong((long)result
);
19135 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19136 PyObject
*resultobj
;
19137 wxListItem
*arg1
= (wxListItem
*) 0 ;
19139 PyObject
* obj0
= 0 ;
19140 PyObject
* obj1
= 0 ;
19141 char *kwnames
[] = {
19142 (char *) "self",(char *) "m_col", NULL
19145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19148 arg2
= (int) SWIG_AsInt(obj1
);
19149 if (PyErr_Occurred()) SWIG_fail
;
19150 if (arg1
) (arg1
)->m_col
= arg2
;
19152 Py_INCREF(Py_None
); resultobj
= Py_None
;
19159 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19160 PyObject
*resultobj
;
19161 wxListItem
*arg1
= (wxListItem
*) 0 ;
19163 PyObject
* obj0
= 0 ;
19164 char *kwnames
[] = {
19165 (char *) "self", NULL
19168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
19169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19171 result
= (int) ((arg1
)->m_col
);
19173 resultobj
= SWIG_FromInt((int)result
);
19180 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19181 PyObject
*resultobj
;
19182 wxListItem
*arg1
= (wxListItem
*) 0 ;
19184 PyObject
* obj0
= 0 ;
19185 PyObject
* obj1
= 0 ;
19186 char *kwnames
[] = {
19187 (char *) "self",(char *) "m_state", NULL
19190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19193 arg2
= (long) SWIG_AsLong(obj1
);
19194 if (PyErr_Occurred()) SWIG_fail
;
19195 if (arg1
) (arg1
)->m_state
= arg2
;
19197 Py_INCREF(Py_None
); resultobj
= Py_None
;
19204 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19205 PyObject
*resultobj
;
19206 wxListItem
*arg1
= (wxListItem
*) 0 ;
19208 PyObject
* obj0
= 0 ;
19209 char *kwnames
[] = {
19210 (char *) "self", NULL
19213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
19214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19216 result
= (long) ((arg1
)->m_state
);
19218 resultobj
= SWIG_FromLong((long)result
);
19225 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19226 PyObject
*resultobj
;
19227 wxListItem
*arg1
= (wxListItem
*) 0 ;
19229 PyObject
* obj0
= 0 ;
19230 PyObject
* obj1
= 0 ;
19231 char *kwnames
[] = {
19232 (char *) "self",(char *) "m_stateMask", NULL
19235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19238 arg2
= (long) SWIG_AsLong(obj1
);
19239 if (PyErr_Occurred()) SWIG_fail
;
19240 if (arg1
) (arg1
)->m_stateMask
= arg2
;
19242 Py_INCREF(Py_None
); resultobj
= Py_None
;
19249 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19250 PyObject
*resultobj
;
19251 wxListItem
*arg1
= (wxListItem
*) 0 ;
19253 PyObject
* obj0
= 0 ;
19254 char *kwnames
[] = {
19255 (char *) "self", NULL
19258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
19259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19261 result
= (long) ((arg1
)->m_stateMask
);
19263 resultobj
= SWIG_FromLong((long)result
);
19270 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19271 PyObject
*resultobj
;
19272 wxListItem
*arg1
= (wxListItem
*) 0 ;
19273 wxString
*arg2
= (wxString
*) 0 ;
19274 bool temp2
= False
;
19275 PyObject
* obj0
= 0 ;
19276 PyObject
* obj1
= 0 ;
19277 char *kwnames
[] = {
19278 (char *) "self",(char *) "m_text", NULL
19281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19285 arg2
= wxString_in_helper(obj1
);
19286 if (arg2
== NULL
) SWIG_fail
;
19289 if (arg1
) (arg1
)->m_text
= *arg2
;
19291 Py_INCREF(Py_None
); resultobj
= Py_None
;
19306 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19307 PyObject
*resultobj
;
19308 wxListItem
*arg1
= (wxListItem
*) 0 ;
19310 PyObject
* obj0
= 0 ;
19311 char *kwnames
[] = {
19312 (char *) "self", NULL
19315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
19316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19318 result
= (wxString
*)& ((arg1
)->m_text
);
19322 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19324 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19333 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19334 PyObject
*resultobj
;
19335 wxListItem
*arg1
= (wxListItem
*) 0 ;
19337 PyObject
* obj0
= 0 ;
19338 PyObject
* obj1
= 0 ;
19339 char *kwnames
[] = {
19340 (char *) "self",(char *) "m_image", NULL
19343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19346 arg2
= (int) SWIG_AsInt(obj1
);
19347 if (PyErr_Occurred()) SWIG_fail
;
19348 if (arg1
) (arg1
)->m_image
= arg2
;
19350 Py_INCREF(Py_None
); resultobj
= Py_None
;
19357 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19358 PyObject
*resultobj
;
19359 wxListItem
*arg1
= (wxListItem
*) 0 ;
19361 PyObject
* obj0
= 0 ;
19362 char *kwnames
[] = {
19363 (char *) "self", NULL
19366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
19367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19369 result
= (int) ((arg1
)->m_image
);
19371 resultobj
= SWIG_FromInt((int)result
);
19378 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19379 PyObject
*resultobj
;
19380 wxListItem
*arg1
= (wxListItem
*) 0 ;
19382 PyObject
* obj0
= 0 ;
19383 PyObject
* obj1
= 0 ;
19384 char *kwnames
[] = {
19385 (char *) "self",(char *) "m_data", NULL
19388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19391 arg2
= (long) SWIG_AsLong(obj1
);
19392 if (PyErr_Occurred()) SWIG_fail
;
19393 if (arg1
) (arg1
)->m_data
= arg2
;
19395 Py_INCREF(Py_None
); resultobj
= Py_None
;
19402 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19403 PyObject
*resultobj
;
19404 wxListItem
*arg1
= (wxListItem
*) 0 ;
19406 PyObject
* obj0
= 0 ;
19407 char *kwnames
[] = {
19408 (char *) "self", NULL
19411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
19412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19414 result
= (long) ((arg1
)->m_data
);
19416 resultobj
= SWIG_FromLong((long)result
);
19423 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19424 PyObject
*resultobj
;
19425 wxListItem
*arg1
= (wxListItem
*) 0 ;
19427 PyObject
* obj0
= 0 ;
19428 PyObject
* obj1
= 0 ;
19429 char *kwnames
[] = {
19430 (char *) "self",(char *) "m_format", NULL
19433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19436 arg2
= (int) SWIG_AsInt(obj1
);
19437 if (PyErr_Occurred()) SWIG_fail
;
19438 if (arg1
) (arg1
)->m_format
= arg2
;
19440 Py_INCREF(Py_None
); resultobj
= Py_None
;
19447 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19448 PyObject
*resultobj
;
19449 wxListItem
*arg1
= (wxListItem
*) 0 ;
19451 PyObject
* obj0
= 0 ;
19452 char *kwnames
[] = {
19453 (char *) "self", NULL
19456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
19457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19459 result
= (int) ((arg1
)->m_format
);
19461 resultobj
= SWIG_FromInt((int)result
);
19468 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19469 PyObject
*resultobj
;
19470 wxListItem
*arg1
= (wxListItem
*) 0 ;
19472 PyObject
* obj0
= 0 ;
19473 PyObject
* obj1
= 0 ;
19474 char *kwnames
[] = {
19475 (char *) "self",(char *) "m_width", NULL
19478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19481 arg2
= (int) SWIG_AsInt(obj1
);
19482 if (PyErr_Occurred()) SWIG_fail
;
19483 if (arg1
) (arg1
)->m_width
= arg2
;
19485 Py_INCREF(Py_None
); resultobj
= Py_None
;
19492 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19493 PyObject
*resultobj
;
19494 wxListItem
*arg1
= (wxListItem
*) 0 ;
19496 PyObject
* obj0
= 0 ;
19497 char *kwnames
[] = {
19498 (char *) "self", NULL
19501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
19502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19504 result
= (int) ((arg1
)->m_width
);
19506 resultobj
= SWIG_FromInt((int)result
);
19513 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
19515 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19516 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
19518 return Py_BuildValue((char *)"");
19520 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19521 PyObject
*resultobj
;
19522 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19523 int arg2
= (int) 0 ;
19524 wxListEvent
*result
;
19525 PyObject
* obj0
= 0 ;
19526 PyObject
* obj1
= 0 ;
19527 char *kwnames
[] = {
19528 (char *) "commandType",(char *) "id", NULL
19531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19533 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
19534 if (PyErr_Occurred()) SWIG_fail
;
19537 arg2
= (int) SWIG_AsInt(obj1
);
19538 if (PyErr_Occurred()) SWIG_fail
;
19541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19542 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
19544 wxPyEndAllowThreads(__tstate
);
19545 if (PyErr_Occurred()) SWIG_fail
;
19547 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
19554 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19555 PyObject
*resultobj
;
19556 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19558 PyObject
* obj0
= 0 ;
19559 PyObject
* obj1
= 0 ;
19560 char *kwnames
[] = {
19561 (char *) "self",(char *) "m_code", NULL
19564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19567 arg2
= (int) SWIG_AsInt(obj1
);
19568 if (PyErr_Occurred()) SWIG_fail
;
19569 if (arg1
) (arg1
)->m_code
= arg2
;
19571 Py_INCREF(Py_None
); resultobj
= Py_None
;
19578 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19579 PyObject
*resultobj
;
19580 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19582 PyObject
* obj0
= 0 ;
19583 char *kwnames
[] = {
19584 (char *) "self", NULL
19587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
19588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19590 result
= (int) ((arg1
)->m_code
);
19592 resultobj
= SWIG_FromInt((int)result
);
19599 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19600 PyObject
*resultobj
;
19601 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19603 PyObject
* obj0
= 0 ;
19604 PyObject
* obj1
= 0 ;
19605 char *kwnames
[] = {
19606 (char *) "self",(char *) "m_oldItemIndex", NULL
19609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19612 arg2
= (long) SWIG_AsLong(obj1
);
19613 if (PyErr_Occurred()) SWIG_fail
;
19614 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
19616 Py_INCREF(Py_None
); resultobj
= Py_None
;
19623 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19624 PyObject
*resultobj
;
19625 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19627 PyObject
* obj0
= 0 ;
19628 char *kwnames
[] = {
19629 (char *) "self", NULL
19632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
19633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19635 result
= (long) ((arg1
)->m_oldItemIndex
);
19637 resultobj
= SWIG_FromLong((long)result
);
19644 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19645 PyObject
*resultobj
;
19646 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19648 PyObject
* obj0
= 0 ;
19649 PyObject
* obj1
= 0 ;
19650 char *kwnames
[] = {
19651 (char *) "self",(char *) "m_itemIndex", NULL
19654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19657 arg2
= (long) SWIG_AsLong(obj1
);
19658 if (PyErr_Occurred()) SWIG_fail
;
19659 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
19661 Py_INCREF(Py_None
); resultobj
= Py_None
;
19668 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19669 PyObject
*resultobj
;
19670 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19672 PyObject
* obj0
= 0 ;
19673 char *kwnames
[] = {
19674 (char *) "self", NULL
19677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
19678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19680 result
= (long) ((arg1
)->m_itemIndex
);
19682 resultobj
= SWIG_FromLong((long)result
);
19689 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19690 PyObject
*resultobj
;
19691 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19693 PyObject
* obj0
= 0 ;
19694 PyObject
* obj1
= 0 ;
19695 char *kwnames
[] = {
19696 (char *) "self",(char *) "m_col", NULL
19699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19702 arg2
= (int) SWIG_AsInt(obj1
);
19703 if (PyErr_Occurred()) SWIG_fail
;
19704 if (arg1
) (arg1
)->m_col
= arg2
;
19706 Py_INCREF(Py_None
); resultobj
= Py_None
;
19713 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19714 PyObject
*resultobj
;
19715 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19717 PyObject
* obj0
= 0 ;
19718 char *kwnames
[] = {
19719 (char *) "self", NULL
19722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
19723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19725 result
= (int) ((arg1
)->m_col
);
19727 resultobj
= SWIG_FromInt((int)result
);
19734 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19735 PyObject
*resultobj
;
19736 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19737 wxPoint
*arg2
= (wxPoint
*) 0 ;
19738 PyObject
* obj0
= 0 ;
19739 PyObject
* obj1
= 0 ;
19740 char *kwnames
[] = {
19741 (char *) "self",(char *) "m_pointDrag", NULL
19744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19747 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
19748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19749 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
19751 Py_INCREF(Py_None
); resultobj
= Py_None
;
19758 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19759 PyObject
*resultobj
;
19760 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19762 PyObject
* obj0
= 0 ;
19763 char *kwnames
[] = {
19764 (char *) "self", NULL
19767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
19768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19770 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
19772 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
19779 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19780 PyObject
*resultobj
;
19781 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19782 wxListItem
*result
;
19783 PyObject
* obj0
= 0 ;
19784 char *kwnames
[] = {
19785 (char *) "self", NULL
19788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
19789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19791 result
= (wxListItem
*)& ((arg1
)->m_item
);
19794 resultobj
= wxPyMake_wxObject(result
);
19802 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19803 PyObject
*resultobj
;
19804 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19806 PyObject
* obj0
= 0 ;
19807 char *kwnames
[] = {
19808 (char *) "self", NULL
19811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
19812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19816 result
= (int)(arg1
)->GetKeyCode();
19818 wxPyEndAllowThreads(__tstate
);
19819 if (PyErr_Occurred()) SWIG_fail
;
19821 resultobj
= SWIG_FromInt((int)result
);
19828 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19829 PyObject
*resultobj
;
19830 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19832 PyObject
* obj0
= 0 ;
19833 char *kwnames
[] = {
19834 (char *) "self", NULL
19837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
19838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19842 result
= (long)(arg1
)->GetIndex();
19844 wxPyEndAllowThreads(__tstate
);
19845 if (PyErr_Occurred()) SWIG_fail
;
19847 resultobj
= SWIG_FromLong((long)result
);
19854 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19855 PyObject
*resultobj
;
19856 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19858 PyObject
* obj0
= 0 ;
19859 char *kwnames
[] = {
19860 (char *) "self", NULL
19863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
19864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19868 result
= (int)(arg1
)->GetColumn();
19870 wxPyEndAllowThreads(__tstate
);
19871 if (PyErr_Occurred()) SWIG_fail
;
19873 resultobj
= SWIG_FromInt((int)result
);
19880 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19881 PyObject
*resultobj
;
19882 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19884 PyObject
* obj0
= 0 ;
19885 char *kwnames
[] = {
19886 (char *) "self", NULL
19889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
19890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19894 result
= (arg1
)->GetPoint();
19896 wxPyEndAllowThreads(__tstate
);
19897 if (PyErr_Occurred()) SWIG_fail
;
19900 wxPoint
* resultptr
;
19901 resultptr
= new wxPoint((wxPoint
&) result
);
19902 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19910 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19911 PyObject
*resultobj
;
19912 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19914 PyObject
* obj0
= 0 ;
19915 char *kwnames
[] = {
19916 (char *) "self", NULL
19919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
19920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19925 wxString
const &_result_ref
= (arg1
)->GetLabel();
19926 result
= (wxString
*) &_result_ref
;
19929 wxPyEndAllowThreads(__tstate
);
19930 if (PyErr_Occurred()) SWIG_fail
;
19934 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19936 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19945 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19946 PyObject
*resultobj
;
19947 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19949 PyObject
* obj0
= 0 ;
19950 char *kwnames
[] = {
19951 (char *) "self", NULL
19954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
19955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19960 wxString
const &_result_ref
= (arg1
)->GetText();
19961 result
= (wxString
*) &_result_ref
;
19964 wxPyEndAllowThreads(__tstate
);
19965 if (PyErr_Occurred()) SWIG_fail
;
19969 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19971 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19980 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19981 PyObject
*resultobj
;
19982 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19984 PyObject
* obj0
= 0 ;
19985 char *kwnames
[] = {
19986 (char *) "self", NULL
19989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
19990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19994 result
= (int)(arg1
)->GetImage();
19996 wxPyEndAllowThreads(__tstate
);
19997 if (PyErr_Occurred()) SWIG_fail
;
19999 resultobj
= SWIG_FromInt((int)result
);
20006 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20007 PyObject
*resultobj
;
20008 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20010 PyObject
* obj0
= 0 ;
20011 char *kwnames
[] = {
20012 (char *) "self", NULL
20015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
20016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20020 result
= (long)(arg1
)->GetData();
20022 wxPyEndAllowThreads(__tstate
);
20023 if (PyErr_Occurred()) SWIG_fail
;
20025 resultobj
= SWIG_FromLong((long)result
);
20032 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20033 PyObject
*resultobj
;
20034 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20036 PyObject
* obj0
= 0 ;
20037 char *kwnames
[] = {
20038 (char *) "self", NULL
20041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
20042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20046 result
= (long)(arg1
)->GetMask();
20048 wxPyEndAllowThreads(__tstate
);
20049 if (PyErr_Occurred()) SWIG_fail
;
20051 resultobj
= SWIG_FromLong((long)result
);
20058 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20059 PyObject
*resultobj
;
20060 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20061 wxListItem
*result
;
20062 PyObject
* obj0
= 0 ;
20063 char *kwnames
[] = {
20064 (char *) "self", NULL
20067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
20068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20073 wxListItem
const &_result_ref
= (arg1
)->GetItem();
20074 result
= (wxListItem
*) &_result_ref
;
20077 wxPyEndAllowThreads(__tstate
);
20078 if (PyErr_Occurred()) SWIG_fail
;
20080 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
20087 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20088 PyObject
*resultobj
;
20089 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20091 PyObject
* obj0
= 0 ;
20092 char *kwnames
[] = {
20093 (char *) "self", NULL
20096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
20097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20101 result
= (long)(arg1
)->GetCacheFrom();
20103 wxPyEndAllowThreads(__tstate
);
20104 if (PyErr_Occurred()) SWIG_fail
;
20106 resultobj
= SWIG_FromLong((long)result
);
20113 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20114 PyObject
*resultobj
;
20115 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20117 PyObject
* obj0
= 0 ;
20118 char *kwnames
[] = {
20119 (char *) "self", NULL
20122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
20123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20127 result
= (long)(arg1
)->GetCacheTo();
20129 wxPyEndAllowThreads(__tstate
);
20130 if (PyErr_Occurred()) SWIG_fail
;
20132 resultobj
= SWIG_FromLong((long)result
);
20139 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20140 PyObject
*resultobj
;
20141 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20143 PyObject
* obj0
= 0 ;
20144 char *kwnames
[] = {
20145 (char *) "self", NULL
20148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
20149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20153 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
20155 wxPyEndAllowThreads(__tstate
);
20156 if (PyErr_Occurred()) SWIG_fail
;
20159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20167 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20168 PyObject
*resultobj
;
20169 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20171 PyObject
* obj0
= 0 ;
20172 PyObject
* obj1
= 0 ;
20173 char *kwnames
[] = {
20174 (char *) "self",(char *) "editCancelled", NULL
20177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
20178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20180 arg2
= (bool) SWIG_AsBool(obj1
);
20181 if (PyErr_Occurred()) SWIG_fail
;
20183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20184 (arg1
)->SetEditCanceled(arg2
);
20186 wxPyEndAllowThreads(__tstate
);
20187 if (PyErr_Occurred()) SWIG_fail
;
20189 Py_INCREF(Py_None
); resultobj
= Py_None
;
20196 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
20198 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20199 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
20201 return Py_BuildValue((char *)"");
20203 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20204 PyObject
*resultobj
;
20205 wxWindow
*arg1
= (wxWindow
*) 0 ;
20206 int arg2
= (int) -1 ;
20207 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20208 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20209 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20210 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20211 long arg5
= (long) wxLC_ICON
;
20212 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
20213 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
20214 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
20215 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20216 wxPyListCtrl
*result
;
20219 bool temp7
= False
;
20220 PyObject
* obj0
= 0 ;
20221 PyObject
* obj1
= 0 ;
20222 PyObject
* obj2
= 0 ;
20223 PyObject
* obj3
= 0 ;
20224 PyObject
* obj4
= 0 ;
20225 PyObject
* obj5
= 0 ;
20226 PyObject
* obj6
= 0 ;
20227 char *kwnames
[] = {
20228 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20235 arg2
= (int) SWIG_AsInt(obj1
);
20236 if (PyErr_Occurred()) SWIG_fail
;
20241 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20247 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20251 arg5
= (long) SWIG_AsLong(obj4
);
20252 if (PyErr_Occurred()) SWIG_fail
;
20255 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
20256 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20258 if (arg6
== NULL
) {
20259 PyErr_SetString(PyExc_TypeError
,"null reference");
20265 arg7
= wxString_in_helper(obj6
);
20266 if (arg7
== NULL
) SWIG_fail
;
20271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20272 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
20274 wxPyEndAllowThreads(__tstate
);
20275 if (PyErr_Occurred()) SWIG_fail
;
20277 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
20292 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20293 PyObject
*resultobj
;
20294 wxPyListCtrl
*result
;
20295 char *kwnames
[] = {
20299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
20301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20302 result
= (wxPyListCtrl
*)new wxPyListCtrl();
20304 wxPyEndAllowThreads(__tstate
);
20305 if (PyErr_Occurred()) SWIG_fail
;
20307 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
20314 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20315 PyObject
*resultobj
;
20316 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20317 wxWindow
*arg2
= (wxWindow
*) 0 ;
20318 int arg3
= (int) -1 ;
20319 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20320 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20321 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20322 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20323 long arg6
= (long) wxLC_ICON
;
20324 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
20325 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
20326 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
20327 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20331 bool temp8
= False
;
20332 PyObject
* obj0
= 0 ;
20333 PyObject
* obj1
= 0 ;
20334 PyObject
* obj2
= 0 ;
20335 PyObject
* obj3
= 0 ;
20336 PyObject
* obj4
= 0 ;
20337 PyObject
* obj5
= 0 ;
20338 PyObject
* obj6
= 0 ;
20339 PyObject
* obj7
= 0 ;
20340 char *kwnames
[] = {
20341 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
20345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20347 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20350 arg3
= (int) SWIG_AsInt(obj2
);
20351 if (PyErr_Occurred()) SWIG_fail
;
20356 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20362 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20366 arg6
= (long) SWIG_AsLong(obj5
);
20367 if (PyErr_Occurred()) SWIG_fail
;
20370 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
20371 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20373 if (arg7
== NULL
) {
20374 PyErr_SetString(PyExc_TypeError
,"null reference");
20380 arg8
= wxString_in_helper(obj7
);
20381 if (arg8
== NULL
) SWIG_fail
;
20386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20387 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
20389 wxPyEndAllowThreads(__tstate
);
20390 if (PyErr_Occurred()) SWIG_fail
;
20393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20409 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20410 PyObject
*resultobj
;
20411 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20412 PyObject
*arg2
= (PyObject
*) 0 ;
20413 PyObject
*arg3
= (PyObject
*) 0 ;
20414 PyObject
* obj0
= 0 ;
20415 PyObject
* obj1
= 0 ;
20416 PyObject
* obj2
= 0 ;
20417 char *kwnames
[] = {
20418 (char *) "self",(char *) "self",(char *) "_class", NULL
20421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20428 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20430 wxPyEndAllowThreads(__tstate
);
20431 if (PyErr_Occurred()) SWIG_fail
;
20433 Py_INCREF(Py_None
); resultobj
= Py_None
;
20440 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20441 PyObject
*resultobj
;
20442 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20443 wxColour
*arg2
= 0 ;
20446 PyObject
* obj0
= 0 ;
20447 PyObject
* obj1
= 0 ;
20448 char *kwnames
[] = {
20449 (char *) "self",(char *) "col", NULL
20452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20457 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20461 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
20463 wxPyEndAllowThreads(__tstate
);
20464 if (PyErr_Occurred()) SWIG_fail
;
20467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20475 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20476 PyObject
*resultobj
;
20477 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20478 wxColour
*arg2
= 0 ;
20481 PyObject
* obj0
= 0 ;
20482 PyObject
* obj1
= 0 ;
20483 char *kwnames
[] = {
20484 (char *) "self",(char *) "col", NULL
20487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20492 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20496 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
20498 wxPyEndAllowThreads(__tstate
);
20499 if (PyErr_Occurred()) SWIG_fail
;
20502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20510 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20511 PyObject
*resultobj
;
20512 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20514 wxListItem
*result
;
20515 PyObject
* obj0
= 0 ;
20516 PyObject
* obj1
= 0 ;
20517 char *kwnames
[] = {
20518 (char *) "self",(char *) "col", NULL
20521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
20522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20524 arg2
= (int) SWIG_AsInt(obj1
);
20525 if (PyErr_Occurred()) SWIG_fail
;
20527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20528 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
20530 wxPyEndAllowThreads(__tstate
);
20531 if (PyErr_Occurred()) SWIG_fail
;
20534 resultobj
= wxPyMake_wxObject(result
);
20542 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20543 PyObject
*resultobj
;
20544 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20546 wxListItem
*arg3
= 0 ;
20548 PyObject
* obj0
= 0 ;
20549 PyObject
* obj1
= 0 ;
20550 PyObject
* obj2
= 0 ;
20551 char *kwnames
[] = {
20552 (char *) "self",(char *) "col",(char *) "item", NULL
20555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20558 arg2
= (int) SWIG_AsInt(obj1
);
20559 if (PyErr_Occurred()) SWIG_fail
;
20560 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
20561 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20563 if (arg3
== NULL
) {
20564 PyErr_SetString(PyExc_TypeError
,"null reference");
20568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20569 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
20571 wxPyEndAllowThreads(__tstate
);
20572 if (PyErr_Occurred()) SWIG_fail
;
20575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20583 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20584 PyObject
*resultobj
;
20585 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20588 PyObject
* obj0
= 0 ;
20589 PyObject
* obj1
= 0 ;
20590 char *kwnames
[] = {
20591 (char *) "self",(char *) "col", NULL
20594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
20595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20597 arg2
= (int) SWIG_AsInt(obj1
);
20598 if (PyErr_Occurred()) SWIG_fail
;
20600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20601 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
20603 wxPyEndAllowThreads(__tstate
);
20604 if (PyErr_Occurred()) SWIG_fail
;
20606 resultobj
= SWIG_FromInt((int)result
);
20613 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20614 PyObject
*resultobj
;
20615 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20619 PyObject
* obj0
= 0 ;
20620 PyObject
* obj1
= 0 ;
20621 PyObject
* obj2
= 0 ;
20622 char *kwnames
[] = {
20623 (char *) "self",(char *) "col",(char *) "width", NULL
20626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20629 arg2
= (int) SWIG_AsInt(obj1
);
20630 if (PyErr_Occurred()) SWIG_fail
;
20631 arg3
= (int) SWIG_AsInt(obj2
);
20632 if (PyErr_Occurred()) SWIG_fail
;
20634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20635 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
20637 wxPyEndAllowThreads(__tstate
);
20638 if (PyErr_Occurred()) SWIG_fail
;
20641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20649 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20650 PyObject
*resultobj
;
20651 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20653 PyObject
* obj0
= 0 ;
20654 char *kwnames
[] = {
20655 (char *) "self", NULL
20658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
20659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20663 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
20665 wxPyEndAllowThreads(__tstate
);
20666 if (PyErr_Occurred()) SWIG_fail
;
20668 resultobj
= SWIG_FromInt((int)result
);
20675 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20676 PyObject
*resultobj
;
20677 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20679 PyObject
* obj0
= 0 ;
20680 char *kwnames
[] = {
20681 (char *) "self", NULL
20684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
20685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20689 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
20691 wxPyEndAllowThreads(__tstate
);
20692 if (PyErr_Occurred()) SWIG_fail
;
20695 wxRect
* resultptr
;
20696 resultptr
= new wxRect((wxRect
&) result
);
20697 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
20705 static PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20706 PyObject
*resultobj
;
20707 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20708 wxTextCtrl
*result
;
20709 PyObject
* obj0
= 0 ;
20710 char *kwnames
[] = {
20711 (char *) "self", NULL
20714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
20715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20719 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
20721 wxPyEndAllowThreads(__tstate
);
20722 if (PyErr_Occurred()) SWIG_fail
;
20725 resultobj
= wxPyMake_wxObject(result
);
20733 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20734 PyObject
*resultobj
;
20735 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20737 int arg3
= (int) 0 ;
20738 wxListItem
*result
;
20739 PyObject
* obj0
= 0 ;
20740 PyObject
* obj1
= 0 ;
20741 PyObject
* obj2
= 0 ;
20742 char *kwnames
[] = {
20743 (char *) "self",(char *) "itemId",(char *) "col", NULL
20746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20749 arg2
= (long) SWIG_AsLong(obj1
);
20750 if (PyErr_Occurred()) SWIG_fail
;
20752 arg3
= (int) SWIG_AsInt(obj2
);
20753 if (PyErr_Occurred()) SWIG_fail
;
20756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20757 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
20759 wxPyEndAllowThreads(__tstate
);
20760 if (PyErr_Occurred()) SWIG_fail
;
20763 resultobj
= wxPyMake_wxObject(result
);
20771 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20772 PyObject
*resultobj
;
20773 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20774 wxListItem
*arg2
= 0 ;
20776 PyObject
* obj0
= 0 ;
20777 PyObject
* obj1
= 0 ;
20778 char *kwnames
[] = {
20779 (char *) "self",(char *) "info", NULL
20782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20785 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
20786 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20788 if (arg2
== NULL
) {
20789 PyErr_SetString(PyExc_TypeError
,"null reference");
20793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20794 result
= (bool)(arg1
)->SetItem(*arg2
);
20796 wxPyEndAllowThreads(__tstate
);
20797 if (PyErr_Occurred()) SWIG_fail
;
20800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20808 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20809 PyObject
*resultobj
;
20810 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20813 wxString
*arg4
= 0 ;
20814 int arg5
= (int) -1 ;
20816 bool temp4
= False
;
20817 PyObject
* obj0
= 0 ;
20818 PyObject
* obj1
= 0 ;
20819 PyObject
* obj2
= 0 ;
20820 PyObject
* obj3
= 0 ;
20821 PyObject
* obj4
= 0 ;
20822 char *kwnames
[] = {
20823 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
20826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20829 arg2
= (long) SWIG_AsLong(obj1
);
20830 if (PyErr_Occurred()) SWIG_fail
;
20831 arg3
= (int) SWIG_AsInt(obj2
);
20832 if (PyErr_Occurred()) SWIG_fail
;
20834 arg4
= wxString_in_helper(obj3
);
20835 if (arg4
== NULL
) SWIG_fail
;
20839 arg5
= (int) SWIG_AsInt(obj4
);
20840 if (PyErr_Occurred()) SWIG_fail
;
20843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20844 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20846 wxPyEndAllowThreads(__tstate
);
20847 if (PyErr_Occurred()) SWIG_fail
;
20849 resultobj
= SWIG_FromLong((long)result
);
20864 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20865 PyObject
*resultobj
;
20866 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20870 PyObject
* obj0
= 0 ;
20871 PyObject
* obj1
= 0 ;
20872 PyObject
* obj2
= 0 ;
20873 char *kwnames
[] = {
20874 (char *) "self",(char *) "item",(char *) "stateMask", NULL
20877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20880 arg2
= (long) SWIG_AsLong(obj1
);
20881 if (PyErr_Occurred()) SWIG_fail
;
20882 arg3
= (long) SWIG_AsLong(obj2
);
20883 if (PyErr_Occurred()) SWIG_fail
;
20885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20886 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
20888 wxPyEndAllowThreads(__tstate
);
20889 if (PyErr_Occurred()) SWIG_fail
;
20891 resultobj
= SWIG_FromInt((int)result
);
20898 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20899 PyObject
*resultobj
;
20900 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20905 PyObject
* obj0
= 0 ;
20906 PyObject
* obj1
= 0 ;
20907 PyObject
* obj2
= 0 ;
20908 PyObject
* obj3
= 0 ;
20909 char *kwnames
[] = {
20910 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
20913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20916 arg2
= (long) SWIG_AsLong(obj1
);
20917 if (PyErr_Occurred()) SWIG_fail
;
20918 arg3
= (long) SWIG_AsLong(obj2
);
20919 if (PyErr_Occurred()) SWIG_fail
;
20920 arg4
= (long) SWIG_AsLong(obj3
);
20921 if (PyErr_Occurred()) SWIG_fail
;
20923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20924 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
20926 wxPyEndAllowThreads(__tstate
);
20927 if (PyErr_Occurred()) SWIG_fail
;
20930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20938 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20939 PyObject
*resultobj
;
20940 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20945 PyObject
* obj0
= 0 ;
20946 PyObject
* obj1
= 0 ;
20947 PyObject
* obj2
= 0 ;
20948 PyObject
* obj3
= 0 ;
20949 char *kwnames
[] = {
20950 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
20953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20956 arg2
= (long) SWIG_AsLong(obj1
);
20957 if (PyErr_Occurred()) SWIG_fail
;
20958 arg3
= (int) SWIG_AsInt(obj2
);
20959 if (PyErr_Occurred()) SWIG_fail
;
20960 arg4
= (int) SWIG_AsInt(obj3
);
20961 if (PyErr_Occurred()) SWIG_fail
;
20963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20964 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
20966 wxPyEndAllowThreads(__tstate
);
20967 if (PyErr_Occurred()) SWIG_fail
;
20970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20978 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20979 PyObject
*resultobj
;
20980 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20983 PyObject
* obj0
= 0 ;
20984 PyObject
* obj1
= 0 ;
20985 char *kwnames
[] = {
20986 (char *) "self",(char *) "item", NULL
20989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
20990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20992 arg2
= (long) SWIG_AsLong(obj1
);
20993 if (PyErr_Occurred()) SWIG_fail
;
20995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20996 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
20998 wxPyEndAllowThreads(__tstate
);
20999 if (PyErr_Occurred()) SWIG_fail
;
21003 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21005 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21014 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21015 PyObject
*resultobj
;
21016 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21018 wxString
*arg3
= 0 ;
21019 bool temp3
= False
;
21020 PyObject
* obj0
= 0 ;
21021 PyObject
* obj1
= 0 ;
21022 PyObject
* obj2
= 0 ;
21023 char *kwnames
[] = {
21024 (char *) "self",(char *) "item",(char *) "str", NULL
21027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21030 arg2
= (long) SWIG_AsLong(obj1
);
21031 if (PyErr_Occurred()) SWIG_fail
;
21033 arg3
= wxString_in_helper(obj2
);
21034 if (arg3
== NULL
) SWIG_fail
;
21038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21039 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
21041 wxPyEndAllowThreads(__tstate
);
21042 if (PyErr_Occurred()) SWIG_fail
;
21044 Py_INCREF(Py_None
); resultobj
= Py_None
;
21059 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21060 PyObject
*resultobj
;
21061 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21064 PyObject
* obj0
= 0 ;
21065 PyObject
* obj1
= 0 ;
21066 char *kwnames
[] = {
21067 (char *) "self",(char *) "item", NULL
21070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
21071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21073 arg2
= (long) SWIG_AsLong(obj1
);
21074 if (PyErr_Occurred()) SWIG_fail
;
21076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21077 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
21079 wxPyEndAllowThreads(__tstate
);
21080 if (PyErr_Occurred()) SWIG_fail
;
21082 resultobj
= SWIG_FromLong((long)result
);
21089 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21090 PyObject
*resultobj
;
21091 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21095 PyObject
* obj0
= 0 ;
21096 PyObject
* obj1
= 0 ;
21097 PyObject
* obj2
= 0 ;
21098 char *kwnames
[] = {
21099 (char *) "self",(char *) "item",(char *) "data", NULL
21102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21105 arg2
= (long) SWIG_AsLong(obj1
);
21106 if (PyErr_Occurred()) SWIG_fail
;
21107 arg3
= (long) SWIG_AsLong(obj2
);
21108 if (PyErr_Occurred()) SWIG_fail
;
21110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21111 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
21113 wxPyEndAllowThreads(__tstate
);
21114 if (PyErr_Occurred()) SWIG_fail
;
21117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21125 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21126 PyObject
*resultobj
;
21127 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21130 PyObject
* obj0
= 0 ;
21131 PyObject
* obj1
= 0 ;
21132 char *kwnames
[] = {
21133 (char *) "self",(char *) "item", NULL
21136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
21137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21139 arg2
= (long) SWIG_AsLong(obj1
);
21140 if (PyErr_Occurred()) SWIG_fail
;
21142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21143 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
21145 wxPyEndAllowThreads(__tstate
);
21146 if (PyErr_Occurred()) SWIG_fail
;
21149 wxPoint
* resultptr
;
21150 resultptr
= new wxPoint((wxPoint
&) result
);
21151 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
21159 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21160 PyObject
*resultobj
;
21161 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21163 int arg3
= (int) wxLIST_RECT_BOUNDS
;
21165 PyObject
* obj0
= 0 ;
21166 PyObject
* obj1
= 0 ;
21167 PyObject
* obj2
= 0 ;
21168 char *kwnames
[] = {
21169 (char *) "self",(char *) "item",(char *) "code", NULL
21172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21175 arg2
= (long) SWIG_AsLong(obj1
);
21176 if (PyErr_Occurred()) SWIG_fail
;
21178 arg3
= (int) SWIG_AsInt(obj2
);
21179 if (PyErr_Occurred()) SWIG_fail
;
21182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21183 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
21185 wxPyEndAllowThreads(__tstate
);
21186 if (PyErr_Occurred()) SWIG_fail
;
21189 wxRect
* resultptr
;
21190 resultptr
= new wxRect((wxRect
&) result
);
21191 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
21199 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21200 PyObject
*resultobj
;
21201 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21203 wxPoint
*arg3
= 0 ;
21206 PyObject
* obj0
= 0 ;
21207 PyObject
* obj1
= 0 ;
21208 PyObject
* obj2
= 0 ;
21209 char *kwnames
[] = {
21210 (char *) "self",(char *) "item",(char *) "pos", NULL
21213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21216 arg2
= (long) SWIG_AsLong(obj1
);
21217 if (PyErr_Occurred()) SWIG_fail
;
21220 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21224 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
21226 wxPyEndAllowThreads(__tstate
);
21227 if (PyErr_Occurred()) SWIG_fail
;
21230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21238 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21239 PyObject
*resultobj
;
21240 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21242 PyObject
* obj0
= 0 ;
21243 char *kwnames
[] = {
21244 (char *) "self", NULL
21247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
21248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21252 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
21254 wxPyEndAllowThreads(__tstate
);
21255 if (PyErr_Occurred()) SWIG_fail
;
21257 resultobj
= SWIG_FromInt((int)result
);
21264 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21265 PyObject
*resultobj
;
21266 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21268 PyObject
* obj0
= 0 ;
21269 char *kwnames
[] = {
21270 (char *) "self", NULL
21273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
21274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21278 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
21280 wxPyEndAllowThreads(__tstate
);
21281 if (PyErr_Occurred()) SWIG_fail
;
21283 resultobj
= SWIG_FromInt((int)result
);
21290 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21291 PyObject
*resultobj
;
21292 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21294 PyObject
* obj0
= 0 ;
21295 char *kwnames
[] = {
21296 (char *) "self", NULL
21299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
21300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21304 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
21306 wxPyEndAllowThreads(__tstate
);
21307 if (PyErr_Occurred()) SWIG_fail
;
21310 wxSize
* resultptr
;
21311 resultptr
= new wxSize((wxSize
&) result
);
21312 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
21320 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21321 PyObject
*resultobj
;
21322 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21324 PyObject
* obj0
= 0 ;
21325 char *kwnames
[] = {
21326 (char *) "self", NULL
21329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
21330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21334 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
21336 wxPyEndAllowThreads(__tstate
);
21337 if (PyErr_Occurred()) SWIG_fail
;
21339 resultobj
= SWIG_FromInt((int)result
);
21346 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21347 PyObject
*resultobj
;
21348 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21350 PyObject
* obj0
= 0 ;
21351 char *kwnames
[] = {
21352 (char *) "self", NULL
21355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
21356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21360 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
21362 wxPyEndAllowThreads(__tstate
);
21363 if (PyErr_Occurred()) SWIG_fail
;
21366 wxColour
* resultptr
;
21367 resultptr
= new wxColour((wxColour
&) result
);
21368 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21376 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21377 PyObject
*resultobj
;
21378 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21379 wxColour
*arg2
= 0 ;
21381 PyObject
* obj0
= 0 ;
21382 PyObject
* obj1
= 0 ;
21383 char *kwnames
[] = {
21384 (char *) "self",(char *) "col", NULL
21387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21392 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21396 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21398 wxPyEndAllowThreads(__tstate
);
21399 if (PyErr_Occurred()) SWIG_fail
;
21401 Py_INCREF(Py_None
); resultobj
= Py_None
;
21408 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21409 PyObject
*resultobj
;
21410 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21412 PyObject
* obj0
= 0 ;
21413 char *kwnames
[] = {
21414 (char *) "self", NULL
21417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
21418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21422 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
21424 wxPyEndAllowThreads(__tstate
);
21425 if (PyErr_Occurred()) SWIG_fail
;
21427 resultobj
= SWIG_FromLong((long)result
);
21434 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21435 PyObject
*resultobj
;
21436 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21438 bool arg3
= (bool) True
;
21439 PyObject
* obj0
= 0 ;
21440 PyObject
* obj1
= 0 ;
21441 PyObject
* obj2
= 0 ;
21442 char *kwnames
[] = {
21443 (char *) "self",(char *) "style",(char *) "add", NULL
21446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21449 arg2
= (long) SWIG_AsLong(obj1
);
21450 if (PyErr_Occurred()) SWIG_fail
;
21452 arg3
= (bool) SWIG_AsBool(obj2
);
21453 if (PyErr_Occurred()) SWIG_fail
;
21456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21457 (arg1
)->SetSingleStyle(arg2
,arg3
);
21459 wxPyEndAllowThreads(__tstate
);
21460 if (PyErr_Occurred()) SWIG_fail
;
21462 Py_INCREF(Py_None
); resultobj
= Py_None
;
21469 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21470 PyObject
*resultobj
;
21471 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21473 PyObject
* obj0
= 0 ;
21474 PyObject
* obj1
= 0 ;
21475 char *kwnames
[] = {
21476 (char *) "self",(char *) "style", NULL
21479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
21480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21482 arg2
= (long) SWIG_AsLong(obj1
);
21483 if (PyErr_Occurred()) SWIG_fail
;
21485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21486 (arg1
)->SetWindowStyleFlag(arg2
);
21488 wxPyEndAllowThreads(__tstate
);
21489 if (PyErr_Occurred()) SWIG_fail
;
21491 Py_INCREF(Py_None
); resultobj
= Py_None
;
21498 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21499 PyObject
*resultobj
;
21500 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21502 int arg3
= (int) wxLIST_NEXT_ALL
;
21503 int arg4
= (int) wxLIST_STATE_DONTCARE
;
21505 PyObject
* obj0
= 0 ;
21506 PyObject
* obj1
= 0 ;
21507 PyObject
* obj2
= 0 ;
21508 PyObject
* obj3
= 0 ;
21509 char *kwnames
[] = {
21510 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
21513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21516 arg2
= (long) SWIG_AsLong(obj1
);
21517 if (PyErr_Occurred()) SWIG_fail
;
21519 arg3
= (int) SWIG_AsInt(obj2
);
21520 if (PyErr_Occurred()) SWIG_fail
;
21523 arg4
= (int) SWIG_AsInt(obj3
);
21524 if (PyErr_Occurred()) SWIG_fail
;
21527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21528 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
21530 wxPyEndAllowThreads(__tstate
);
21531 if (PyErr_Occurred()) SWIG_fail
;
21533 resultobj
= SWIG_FromLong((long)result
);
21540 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21541 PyObject
*resultobj
;
21542 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21544 wxImageList
*result
;
21545 PyObject
* obj0
= 0 ;
21546 PyObject
* obj1
= 0 ;
21547 char *kwnames
[] = {
21548 (char *) "self",(char *) "which", NULL
21551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21554 arg2
= (int) SWIG_AsInt(obj1
);
21555 if (PyErr_Occurred()) SWIG_fail
;
21557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21558 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
21560 wxPyEndAllowThreads(__tstate
);
21561 if (PyErr_Occurred()) SWIG_fail
;
21564 resultobj
= wxPyMake_wxObject(result
);
21572 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21573 PyObject
*resultobj
;
21574 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21575 wxImageList
*arg2
= (wxImageList
*) 0 ;
21577 PyObject
* obj0
= 0 ;
21578 PyObject
* obj1
= 0 ;
21579 PyObject
* obj2
= 0 ;
21580 char *kwnames
[] = {
21581 (char *) "self",(char *) "imageList",(char *) "which", NULL
21584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21587 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
21588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21589 arg3
= (int) SWIG_AsInt(obj2
);
21590 if (PyErr_Occurred()) SWIG_fail
;
21592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21593 (arg1
)->SetImageList(arg2
,arg3
);
21595 wxPyEndAllowThreads(__tstate
);
21596 if (PyErr_Occurred()) SWIG_fail
;
21598 Py_INCREF(Py_None
); resultobj
= Py_None
;
21605 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21606 PyObject
*resultobj
;
21607 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21608 wxImageList
*arg2
= (wxImageList
*) 0 ;
21610 PyObject
* obj0
= 0 ;
21611 PyObject
* obj1
= 0 ;
21612 PyObject
* obj2
= 0 ;
21613 char *kwnames
[] = {
21614 (char *) "self",(char *) "imageList",(char *) "which", NULL
21617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21620 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
21621 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
21622 arg3
= (int) SWIG_AsInt(obj2
);
21623 if (PyErr_Occurred()) SWIG_fail
;
21625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21626 (arg1
)->AssignImageList(arg2
,arg3
);
21628 wxPyEndAllowThreads(__tstate
);
21629 if (PyErr_Occurred()) SWIG_fail
;
21631 Py_INCREF(Py_None
); resultobj
= Py_None
;
21638 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21639 PyObject
*resultobj
;
21640 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21642 PyObject
* obj0
= 0 ;
21643 char *kwnames
[] = {
21644 (char *) "self", NULL
21647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
21648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21652 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
21654 wxPyEndAllowThreads(__tstate
);
21655 if (PyErr_Occurred()) SWIG_fail
;
21658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21666 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21667 PyObject
*resultobj
;
21668 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21670 PyObject
* obj0
= 0 ;
21671 char *kwnames
[] = {
21672 (char *) "self", NULL
21675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
21676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21680 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
21682 wxPyEndAllowThreads(__tstate
);
21683 if (PyErr_Occurred()) SWIG_fail
;
21686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21694 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21695 PyObject
*resultobj
;
21696 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21698 PyObject
* obj0
= 0 ;
21699 PyObject
* obj1
= 0 ;
21700 char *kwnames
[] = {
21701 (char *) "self",(char *) "item", NULL
21704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21707 arg2
= (long) SWIG_AsLong(obj1
);
21708 if (PyErr_Occurred()) SWIG_fail
;
21710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21711 (arg1
)->RefreshItem(arg2
);
21713 wxPyEndAllowThreads(__tstate
);
21714 if (PyErr_Occurred()) SWIG_fail
;
21716 Py_INCREF(Py_None
); resultobj
= Py_None
;
21723 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21724 PyObject
*resultobj
;
21725 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21728 PyObject
* obj0
= 0 ;
21729 PyObject
* obj1
= 0 ;
21730 PyObject
* obj2
= 0 ;
21731 char *kwnames
[] = {
21732 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
21735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21738 arg2
= (long) SWIG_AsLong(obj1
);
21739 if (PyErr_Occurred()) SWIG_fail
;
21740 arg3
= (long) SWIG_AsLong(obj2
);
21741 if (PyErr_Occurred()) SWIG_fail
;
21743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21744 (arg1
)->RefreshItems(arg2
,arg3
);
21746 wxPyEndAllowThreads(__tstate
);
21747 if (PyErr_Occurred()) SWIG_fail
;
21749 Py_INCREF(Py_None
); resultobj
= Py_None
;
21756 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21757 PyObject
*resultobj
;
21758 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21759 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
21761 PyObject
* obj0
= 0 ;
21762 PyObject
* obj1
= 0 ;
21763 char *kwnames
[] = {
21764 (char *) "self",(char *) "flag", NULL
21767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
21768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21771 arg2
= (int) SWIG_AsInt(obj1
);
21772 if (PyErr_Occurred()) SWIG_fail
;
21775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21776 result
= (bool)(arg1
)->Arrange(arg2
);
21778 wxPyEndAllowThreads(__tstate
);
21779 if (PyErr_Occurred()) SWIG_fail
;
21782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21790 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21791 PyObject
*resultobj
;
21792 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21795 PyObject
* obj0
= 0 ;
21796 PyObject
* obj1
= 0 ;
21797 char *kwnames
[] = {
21798 (char *) "self",(char *) "item", NULL
21801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21804 arg2
= (long) SWIG_AsLong(obj1
);
21805 if (PyErr_Occurred()) SWIG_fail
;
21807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21808 result
= (bool)(arg1
)->DeleteItem(arg2
);
21810 wxPyEndAllowThreads(__tstate
);
21811 if (PyErr_Occurred()) SWIG_fail
;
21814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21822 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21823 PyObject
*resultobj
;
21824 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21826 PyObject
* obj0
= 0 ;
21827 char *kwnames
[] = {
21828 (char *) "self", NULL
21831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
21832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21836 result
= (bool)(arg1
)->DeleteAllItems();
21838 wxPyEndAllowThreads(__tstate
);
21839 if (PyErr_Occurred()) SWIG_fail
;
21842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21850 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21851 PyObject
*resultobj
;
21852 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21855 PyObject
* obj0
= 0 ;
21856 PyObject
* obj1
= 0 ;
21857 char *kwnames
[] = {
21858 (char *) "self",(char *) "col", NULL
21861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21864 arg2
= (int) SWIG_AsInt(obj1
);
21865 if (PyErr_Occurred()) SWIG_fail
;
21867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21868 result
= (bool)(arg1
)->DeleteColumn(arg2
);
21870 wxPyEndAllowThreads(__tstate
);
21871 if (PyErr_Occurred()) SWIG_fail
;
21874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21882 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21883 PyObject
*resultobj
;
21884 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21886 PyObject
* obj0
= 0 ;
21887 char *kwnames
[] = {
21888 (char *) "self", NULL
21891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
21892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21896 result
= (bool)(arg1
)->DeleteAllColumns();
21898 wxPyEndAllowThreads(__tstate
);
21899 if (PyErr_Occurred()) SWIG_fail
;
21902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21910 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21911 PyObject
*resultobj
;
21912 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21913 PyObject
* obj0
= 0 ;
21914 char *kwnames
[] = {
21915 (char *) "self", NULL
21918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
21919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21923 (arg1
)->ClearAll();
21925 wxPyEndAllowThreads(__tstate
);
21926 if (PyErr_Occurred()) SWIG_fail
;
21928 Py_INCREF(Py_None
); resultobj
= Py_None
;
21935 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21936 PyObject
*resultobj
;
21937 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21939 wxTextCtrl
*result
;
21940 PyObject
* obj0
= 0 ;
21941 PyObject
* obj1
= 0 ;
21942 char *kwnames
[] = {
21943 (char *) "self",(char *) "item", NULL
21946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21949 arg2
= (long) SWIG_AsLong(obj1
);
21950 if (PyErr_Occurred()) SWIG_fail
;
21952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21953 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
21955 wxPyEndAllowThreads(__tstate
);
21956 if (PyErr_Occurred()) SWIG_fail
;
21959 resultobj
= wxPyMake_wxObject(result
);
21967 static PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21968 PyObject
*resultobj
;
21969 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21972 PyObject
* obj0
= 0 ;
21973 PyObject
* obj1
= 0 ;
21974 char *kwnames
[] = {
21975 (char *) "self",(char *) "cancel", NULL
21978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21981 arg2
= (bool) SWIG_AsBool(obj1
);
21982 if (PyErr_Occurred()) SWIG_fail
;
21984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21985 result
= (bool)(arg1
)->EndEditLabel(arg2
);
21987 wxPyEndAllowThreads(__tstate
);
21988 if (PyErr_Occurred()) SWIG_fail
;
21991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21999 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22000 PyObject
*resultobj
;
22001 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22004 PyObject
* obj0
= 0 ;
22005 PyObject
* obj1
= 0 ;
22006 char *kwnames
[] = {
22007 (char *) "self",(char *) "item", NULL
22010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22013 arg2
= (long) SWIG_AsLong(obj1
);
22014 if (PyErr_Occurred()) SWIG_fail
;
22016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22017 result
= (bool)(arg1
)->EnsureVisible(arg2
);
22019 wxPyEndAllowThreads(__tstate
);
22020 if (PyErr_Occurred()) SWIG_fail
;
22023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22031 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22032 PyObject
*resultobj
;
22033 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22035 wxString
*arg3
= 0 ;
22036 bool arg4
= (bool) False
;
22038 bool temp3
= False
;
22039 PyObject
* obj0
= 0 ;
22040 PyObject
* obj1
= 0 ;
22041 PyObject
* obj2
= 0 ;
22042 PyObject
* obj3
= 0 ;
22043 char *kwnames
[] = {
22044 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
22047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22050 arg2
= (long) SWIG_AsLong(obj1
);
22051 if (PyErr_Occurred()) SWIG_fail
;
22053 arg3
= wxString_in_helper(obj2
);
22054 if (arg3
== NULL
) SWIG_fail
;
22058 arg4
= (bool) SWIG_AsBool(obj3
);
22059 if (PyErr_Occurred()) SWIG_fail
;
22062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22063 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
22065 wxPyEndAllowThreads(__tstate
);
22066 if (PyErr_Occurred()) SWIG_fail
;
22068 resultobj
= SWIG_FromLong((long)result
);
22083 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22084 PyObject
*resultobj
;
22085 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22089 PyObject
* obj0
= 0 ;
22090 PyObject
* obj1
= 0 ;
22091 PyObject
* obj2
= 0 ;
22092 char *kwnames
[] = {
22093 (char *) "self",(char *) "start",(char *) "data", NULL
22096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22099 arg2
= (long) SWIG_AsLong(obj1
);
22100 if (PyErr_Occurred()) SWIG_fail
;
22101 arg3
= (long) SWIG_AsLong(obj2
);
22102 if (PyErr_Occurred()) SWIG_fail
;
22104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22105 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
22107 wxPyEndAllowThreads(__tstate
);
22108 if (PyErr_Occurred()) SWIG_fail
;
22110 resultobj
= SWIG_FromLong((long)result
);
22117 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22118 PyObject
*resultobj
;
22119 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22121 wxPoint
*arg3
= 0 ;
22125 PyObject
* obj0
= 0 ;
22126 PyObject
* obj1
= 0 ;
22127 PyObject
* obj2
= 0 ;
22128 PyObject
* obj3
= 0 ;
22129 char *kwnames
[] = {
22130 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
22133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22136 arg2
= (long) SWIG_AsLong(obj1
);
22137 if (PyErr_Occurred()) SWIG_fail
;
22140 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22142 arg4
= (int) SWIG_AsInt(obj3
);
22143 if (PyErr_Occurred()) SWIG_fail
;
22145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22146 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
22148 wxPyEndAllowThreads(__tstate
);
22149 if (PyErr_Occurred()) SWIG_fail
;
22151 resultobj
= SWIG_FromLong((long)result
);
22158 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22159 PyObject
*resultobj
;
22160 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22161 wxPoint
*arg2
= 0 ;
22166 PyObject
* obj0
= 0 ;
22167 PyObject
* obj1
= 0 ;
22168 char *kwnames
[] = {
22169 (char *) "self",(char *) "point", NULL
22173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
22174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22178 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22182 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
22184 wxPyEndAllowThreads(__tstate
);
22185 if (PyErr_Occurred()) SWIG_fail
;
22187 resultobj
= SWIG_FromLong((long)result
);
22189 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22190 resultobj
= t_output_helper(resultobj
,o
);
22198 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22199 PyObject
*resultobj
;
22200 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22201 wxListItem
*arg2
= 0 ;
22203 PyObject
* obj0
= 0 ;
22204 PyObject
* obj1
= 0 ;
22205 char *kwnames
[] = {
22206 (char *) "self",(char *) "info", NULL
22209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22212 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
22213 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22215 if (arg2
== NULL
) {
22216 PyErr_SetString(PyExc_TypeError
,"null reference");
22220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22221 result
= (long)(arg1
)->InsertItem(*arg2
);
22223 wxPyEndAllowThreads(__tstate
);
22224 if (PyErr_Occurred()) SWIG_fail
;
22226 resultobj
= SWIG_FromLong((long)result
);
22233 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22234 PyObject
*resultobj
;
22235 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22237 wxString
*arg3
= 0 ;
22239 bool temp3
= False
;
22240 PyObject
* obj0
= 0 ;
22241 PyObject
* obj1
= 0 ;
22242 PyObject
* obj2
= 0 ;
22243 char *kwnames
[] = {
22244 (char *) "self",(char *) "index",(char *) "label", NULL
22247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22250 arg2
= (long) SWIG_AsLong(obj1
);
22251 if (PyErr_Occurred()) SWIG_fail
;
22253 arg3
= wxString_in_helper(obj2
);
22254 if (arg3
== NULL
) SWIG_fail
;
22258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22259 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
22261 wxPyEndAllowThreads(__tstate
);
22262 if (PyErr_Occurred()) SWIG_fail
;
22264 resultobj
= SWIG_FromLong((long)result
);
22279 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22280 PyObject
*resultobj
;
22281 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22285 PyObject
* obj0
= 0 ;
22286 PyObject
* obj1
= 0 ;
22287 PyObject
* obj2
= 0 ;
22288 char *kwnames
[] = {
22289 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
22292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22295 arg2
= (long) SWIG_AsLong(obj1
);
22296 if (PyErr_Occurred()) SWIG_fail
;
22297 arg3
= (int) SWIG_AsInt(obj2
);
22298 if (PyErr_Occurred()) SWIG_fail
;
22300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22301 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
22303 wxPyEndAllowThreads(__tstate
);
22304 if (PyErr_Occurred()) SWIG_fail
;
22306 resultobj
= SWIG_FromLong((long)result
);
22313 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22314 PyObject
*resultobj
;
22315 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22317 wxString
*arg3
= 0 ;
22320 bool temp3
= False
;
22321 PyObject
* obj0
= 0 ;
22322 PyObject
* obj1
= 0 ;
22323 PyObject
* obj2
= 0 ;
22324 PyObject
* obj3
= 0 ;
22325 char *kwnames
[] = {
22326 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
22329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22332 arg2
= (long) SWIG_AsLong(obj1
);
22333 if (PyErr_Occurred()) SWIG_fail
;
22335 arg3
= wxString_in_helper(obj2
);
22336 if (arg3
== NULL
) SWIG_fail
;
22339 arg4
= (int) SWIG_AsInt(obj3
);
22340 if (PyErr_Occurred()) SWIG_fail
;
22342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22343 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
22345 wxPyEndAllowThreads(__tstate
);
22346 if (PyErr_Occurred()) SWIG_fail
;
22348 resultobj
= SWIG_FromLong((long)result
);
22363 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22364 PyObject
*resultobj
;
22365 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22367 wxListItem
*arg3
= 0 ;
22369 PyObject
* obj0
= 0 ;
22370 PyObject
* obj1
= 0 ;
22371 PyObject
* obj2
= 0 ;
22372 char *kwnames
[] = {
22373 (char *) "self",(char *) "col",(char *) "info", NULL
22376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22379 arg2
= (long) SWIG_AsLong(obj1
);
22380 if (PyErr_Occurred()) SWIG_fail
;
22381 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
22382 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22384 if (arg3
== NULL
) {
22385 PyErr_SetString(PyExc_TypeError
,"null reference");
22389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22390 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
22392 wxPyEndAllowThreads(__tstate
);
22393 if (PyErr_Occurred()) SWIG_fail
;
22395 resultobj
= SWIG_FromLong((long)result
);
22402 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22403 PyObject
*resultobj
;
22404 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22406 wxString
*arg3
= 0 ;
22407 int arg4
= (int) wxLIST_FORMAT_LEFT
;
22408 int arg5
= (int) -1 ;
22410 bool temp3
= False
;
22411 PyObject
* obj0
= 0 ;
22412 PyObject
* obj1
= 0 ;
22413 PyObject
* obj2
= 0 ;
22414 PyObject
* obj3
= 0 ;
22415 PyObject
* obj4
= 0 ;
22416 char *kwnames
[] = {
22417 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
22420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22423 arg2
= (long) SWIG_AsLong(obj1
);
22424 if (PyErr_Occurred()) SWIG_fail
;
22426 arg3
= wxString_in_helper(obj2
);
22427 if (arg3
== NULL
) SWIG_fail
;
22431 arg4
= (int) SWIG_AsInt(obj3
);
22432 if (PyErr_Occurred()) SWIG_fail
;
22435 arg5
= (int) SWIG_AsInt(obj4
);
22436 if (PyErr_Occurred()) SWIG_fail
;
22439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22440 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
22442 wxPyEndAllowThreads(__tstate
);
22443 if (PyErr_Occurred()) SWIG_fail
;
22445 resultobj
= SWIG_FromLong((long)result
);
22460 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22461 PyObject
*resultobj
;
22462 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22464 PyObject
* obj0
= 0 ;
22465 PyObject
* obj1
= 0 ;
22466 char *kwnames
[] = {
22467 (char *) "self",(char *) "count", NULL
22470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
22471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22473 arg2
= (long) SWIG_AsLong(obj1
);
22474 if (PyErr_Occurred()) SWIG_fail
;
22476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22477 (arg1
)->SetItemCount(arg2
);
22479 wxPyEndAllowThreads(__tstate
);
22480 if (PyErr_Occurred()) SWIG_fail
;
22482 Py_INCREF(Py_None
); resultobj
= Py_None
;
22489 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22490 PyObject
*resultobj
;
22491 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22495 PyObject
* obj0
= 0 ;
22496 PyObject
* obj1
= 0 ;
22497 PyObject
* obj2
= 0 ;
22498 char *kwnames
[] = {
22499 (char *) "self",(char *) "dx",(char *) "dy", NULL
22502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22505 arg2
= (int) SWIG_AsInt(obj1
);
22506 if (PyErr_Occurred()) SWIG_fail
;
22507 arg3
= (int) SWIG_AsInt(obj2
);
22508 if (PyErr_Occurred()) SWIG_fail
;
22510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22511 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
22513 wxPyEndAllowThreads(__tstate
);
22514 if (PyErr_Occurred()) SWIG_fail
;
22517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22525 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22526 PyObject
*resultobj
;
22527 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22529 wxColour
*arg3
= 0 ;
22531 PyObject
* obj0
= 0 ;
22532 PyObject
* obj1
= 0 ;
22533 PyObject
* obj2
= 0 ;
22534 char *kwnames
[] = {
22535 (char *) "self",(char *) "item",(char *) "col", NULL
22538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22541 arg2
= (long) SWIG_AsLong(obj1
);
22542 if (PyErr_Occurred()) SWIG_fail
;
22545 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22549 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
22551 wxPyEndAllowThreads(__tstate
);
22552 if (PyErr_Occurred()) SWIG_fail
;
22554 Py_INCREF(Py_None
); resultobj
= Py_None
;
22561 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22562 PyObject
*resultobj
;
22563 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22566 PyObject
* obj0
= 0 ;
22567 PyObject
* obj1
= 0 ;
22568 char *kwnames
[] = {
22569 (char *) "self",(char *) "item", NULL
22572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22575 arg2
= (long) SWIG_AsLong(obj1
);
22576 if (PyErr_Occurred()) SWIG_fail
;
22578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22579 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
22581 wxPyEndAllowThreads(__tstate
);
22582 if (PyErr_Occurred()) SWIG_fail
;
22585 wxColour
* resultptr
;
22586 resultptr
= new wxColour((wxColour
&) result
);
22587 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22595 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22596 PyObject
*resultobj
;
22597 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22599 wxColour
*arg3
= 0 ;
22601 PyObject
* obj0
= 0 ;
22602 PyObject
* obj1
= 0 ;
22603 PyObject
* obj2
= 0 ;
22604 char *kwnames
[] = {
22605 (char *) "self",(char *) "item",(char *) "col", NULL
22608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22611 arg2
= (long) SWIG_AsLong(obj1
);
22612 if (PyErr_Occurred()) SWIG_fail
;
22615 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22619 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
22621 wxPyEndAllowThreads(__tstate
);
22622 if (PyErr_Occurred()) SWIG_fail
;
22624 Py_INCREF(Py_None
); resultobj
= Py_None
;
22631 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22632 PyObject
*resultobj
;
22633 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22636 PyObject
* obj0
= 0 ;
22637 PyObject
* obj1
= 0 ;
22638 char *kwnames
[] = {
22639 (char *) "self",(char *) "item", NULL
22642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22645 arg2
= (long) SWIG_AsLong(obj1
);
22646 if (PyErr_Occurred()) SWIG_fail
;
22648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22649 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
22651 wxPyEndAllowThreads(__tstate
);
22652 if (PyErr_Occurred()) SWIG_fail
;
22655 wxColour
* resultptr
;
22656 resultptr
= new wxColour((wxColour
&) result
);
22657 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22665 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22666 PyObject
*resultobj
;
22667 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22668 PyObject
*arg2
= (PyObject
*) 0 ;
22670 PyObject
* obj0
= 0 ;
22671 PyObject
* obj1
= 0 ;
22672 char *kwnames
[] = {
22673 (char *) "self",(char *) "func", NULL
22676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
22677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22682 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
22684 wxPyEndAllowThreads(__tstate
);
22685 if (PyErr_Occurred()) SWIG_fail
;
22688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22696 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22697 PyObject
*resultobj
;
22698 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22700 PyObject
* obj0
= 0 ;
22701 char *kwnames
[] = {
22702 (char *) "self", NULL
22705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
22706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22710 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
22712 wxPyEndAllowThreads(__tstate
);
22713 if (PyErr_Occurred()) SWIG_fail
;
22716 resultobj
= wxPyMake_wxObject(result
);
22724 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
22726 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22727 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
22729 return Py_BuildValue((char *)"");
22731 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22732 PyObject
*resultobj
;
22733 wxWindow
*arg1
= (wxWindow
*) 0 ;
22734 int arg2
= (int) -1 ;
22735 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22736 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22737 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22738 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22739 long arg5
= (long) wxLC_REPORT
;
22740 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
22741 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
22742 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
22743 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22744 wxListView
*result
;
22747 bool temp7
= False
;
22748 PyObject
* obj0
= 0 ;
22749 PyObject
* obj1
= 0 ;
22750 PyObject
* obj2
= 0 ;
22751 PyObject
* obj3
= 0 ;
22752 PyObject
* obj4
= 0 ;
22753 PyObject
* obj5
= 0 ;
22754 PyObject
* obj6
= 0 ;
22755 char *kwnames
[] = {
22756 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22763 arg2
= (int) SWIG_AsInt(obj1
);
22764 if (PyErr_Occurred()) SWIG_fail
;
22769 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22775 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22779 arg5
= (long) SWIG_AsLong(obj4
);
22780 if (PyErr_Occurred()) SWIG_fail
;
22783 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
22784 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22786 if (arg6
== NULL
) {
22787 PyErr_SetString(PyExc_TypeError
,"null reference");
22793 arg7
= wxString_in_helper(obj6
);
22794 if (arg7
== NULL
) SWIG_fail
;
22799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22800 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
22802 wxPyEndAllowThreads(__tstate
);
22803 if (PyErr_Occurred()) SWIG_fail
;
22805 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
22820 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22821 PyObject
*resultobj
;
22822 wxListView
*result
;
22823 char *kwnames
[] = {
22827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
22829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22830 result
= (wxListView
*)new wxListView();
22832 wxPyEndAllowThreads(__tstate
);
22833 if (PyErr_Occurred()) SWIG_fail
;
22835 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
22842 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22843 PyObject
*resultobj
;
22844 wxListView
*arg1
= (wxListView
*) 0 ;
22845 wxWindow
*arg2
= (wxWindow
*) 0 ;
22846 int arg3
= (int) -1 ;
22847 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22848 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22849 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22850 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22851 long arg6
= (long) wxLC_REPORT
;
22852 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
22853 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
22854 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
22855 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
22859 bool temp8
= False
;
22860 PyObject
* obj0
= 0 ;
22861 PyObject
* obj1
= 0 ;
22862 PyObject
* obj2
= 0 ;
22863 PyObject
* obj3
= 0 ;
22864 PyObject
* obj4
= 0 ;
22865 PyObject
* obj5
= 0 ;
22866 PyObject
* obj6
= 0 ;
22867 PyObject
* obj7
= 0 ;
22868 char *kwnames
[] = {
22869 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
22873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22875 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22878 arg3
= (int) SWIG_AsInt(obj2
);
22879 if (PyErr_Occurred()) SWIG_fail
;
22884 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22890 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22894 arg6
= (long) SWIG_AsLong(obj5
);
22895 if (PyErr_Occurred()) SWIG_fail
;
22898 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
22899 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22901 if (arg7
== NULL
) {
22902 PyErr_SetString(PyExc_TypeError
,"null reference");
22908 arg8
= wxString_in_helper(obj7
);
22909 if (arg8
== NULL
) SWIG_fail
;
22914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22915 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
22917 wxPyEndAllowThreads(__tstate
);
22918 if (PyErr_Occurred()) SWIG_fail
;
22921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22937 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22938 PyObject
*resultobj
;
22939 wxListView
*arg1
= (wxListView
*) 0 ;
22941 bool arg3
= (bool) True
;
22942 PyObject
* obj0
= 0 ;
22943 PyObject
* obj1
= 0 ;
22944 PyObject
* obj2
= 0 ;
22945 char *kwnames
[] = {
22946 (char *) "self",(char *) "n",(char *) "on", NULL
22949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22952 arg2
= (long) SWIG_AsLong(obj1
);
22953 if (PyErr_Occurred()) SWIG_fail
;
22955 arg3
= (bool) SWIG_AsBool(obj2
);
22956 if (PyErr_Occurred()) SWIG_fail
;
22959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22960 (arg1
)->Select(arg2
,arg3
);
22962 wxPyEndAllowThreads(__tstate
);
22963 if (PyErr_Occurred()) SWIG_fail
;
22965 Py_INCREF(Py_None
); resultobj
= Py_None
;
22972 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22973 PyObject
*resultobj
;
22974 wxListView
*arg1
= (wxListView
*) 0 ;
22976 PyObject
* obj0
= 0 ;
22977 PyObject
* obj1
= 0 ;
22978 char *kwnames
[] = {
22979 (char *) "self",(char *) "index", NULL
22982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
22983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22985 arg2
= (long) SWIG_AsLong(obj1
);
22986 if (PyErr_Occurred()) SWIG_fail
;
22988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22989 (arg1
)->Focus(arg2
);
22991 wxPyEndAllowThreads(__tstate
);
22992 if (PyErr_Occurred()) SWIG_fail
;
22994 Py_INCREF(Py_None
); resultobj
= Py_None
;
23001 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23002 PyObject
*resultobj
;
23003 wxListView
*arg1
= (wxListView
*) 0 ;
23005 PyObject
* obj0
= 0 ;
23006 char *kwnames
[] = {
23007 (char *) "self", NULL
23010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
23011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23015 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
23017 wxPyEndAllowThreads(__tstate
);
23018 if (PyErr_Occurred()) SWIG_fail
;
23020 resultobj
= SWIG_FromLong((long)result
);
23027 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23028 PyObject
*resultobj
;
23029 wxListView
*arg1
= (wxListView
*) 0 ;
23032 PyObject
* obj0
= 0 ;
23033 PyObject
* obj1
= 0 ;
23034 char *kwnames
[] = {
23035 (char *) "self",(char *) "item", NULL
23038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
23039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23041 arg2
= (long) SWIG_AsLong(obj1
);
23042 if (PyErr_Occurred()) SWIG_fail
;
23044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23045 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
23047 wxPyEndAllowThreads(__tstate
);
23048 if (PyErr_Occurred()) SWIG_fail
;
23050 resultobj
= SWIG_FromLong((long)result
);
23057 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23058 PyObject
*resultobj
;
23059 wxListView
*arg1
= (wxListView
*) 0 ;
23061 PyObject
* obj0
= 0 ;
23062 char *kwnames
[] = {
23063 (char *) "self", NULL
23066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
23067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23071 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
23073 wxPyEndAllowThreads(__tstate
);
23074 if (PyErr_Occurred()) SWIG_fail
;
23076 resultobj
= SWIG_FromLong((long)result
);
23083 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23084 PyObject
*resultobj
;
23085 wxListView
*arg1
= (wxListView
*) 0 ;
23088 PyObject
* obj0
= 0 ;
23089 PyObject
* obj1
= 0 ;
23090 char *kwnames
[] = {
23091 (char *) "self",(char *) "index", NULL
23094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
23095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23097 arg2
= (long) SWIG_AsLong(obj1
);
23098 if (PyErr_Occurred()) SWIG_fail
;
23100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23101 result
= (bool)(arg1
)->IsSelected(arg2
);
23103 wxPyEndAllowThreads(__tstate
);
23104 if (PyErr_Occurred()) SWIG_fail
;
23107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23115 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23116 PyObject
*resultobj
;
23117 wxListView
*arg1
= (wxListView
*) 0 ;
23120 PyObject
* obj0
= 0 ;
23121 PyObject
* obj1
= 0 ;
23122 PyObject
* obj2
= 0 ;
23123 char *kwnames
[] = {
23124 (char *) "self",(char *) "col",(char *) "image", NULL
23127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23130 arg2
= (int) SWIG_AsInt(obj1
);
23131 if (PyErr_Occurred()) SWIG_fail
;
23132 arg3
= (int) SWIG_AsInt(obj2
);
23133 if (PyErr_Occurred()) SWIG_fail
;
23135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23136 (arg1
)->SetColumnImage(arg2
,arg3
);
23138 wxPyEndAllowThreads(__tstate
);
23139 if (PyErr_Occurred()) SWIG_fail
;
23141 Py_INCREF(Py_None
); resultobj
= Py_None
;
23148 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23149 PyObject
*resultobj
;
23150 wxListView
*arg1
= (wxListView
*) 0 ;
23152 PyObject
* obj0
= 0 ;
23153 PyObject
* obj1
= 0 ;
23154 char *kwnames
[] = {
23155 (char *) "self",(char *) "col", NULL
23158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
23159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23161 arg2
= (int) SWIG_AsInt(obj1
);
23162 if (PyErr_Occurred()) SWIG_fail
;
23164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23165 (arg1
)->ClearColumnImage(arg2
);
23167 wxPyEndAllowThreads(__tstate
);
23168 if (PyErr_Occurred()) SWIG_fail
;
23170 Py_INCREF(Py_None
); resultobj
= Py_None
;
23177 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
23179 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23180 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
23182 return Py_BuildValue((char *)"");
23184 static int _wrap_TreeCtrlNameStr_set(PyObject
*_val
) {
23185 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
23190 static PyObject
*_wrap_TreeCtrlNameStr_get() {
23195 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
23197 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
23204 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23205 PyObject
*resultobj
;
23206 wxTreeItemId
*result
;
23207 char *kwnames
[] = {
23211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
23213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23214 result
= (wxTreeItemId
*)new wxTreeItemId();
23216 wxPyEndAllowThreads(__tstate
);
23217 if (PyErr_Occurred()) SWIG_fail
;
23219 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
23226 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23227 PyObject
*resultobj
;
23228 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23229 PyObject
* obj0
= 0 ;
23230 char *kwnames
[] = {
23231 (char *) "self", NULL
23234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
23235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23241 wxPyEndAllowThreads(__tstate
);
23242 if (PyErr_Occurred()) SWIG_fail
;
23244 Py_INCREF(Py_None
); resultobj
= Py_None
;
23251 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23252 PyObject
*resultobj
;
23253 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23255 PyObject
* obj0
= 0 ;
23256 char *kwnames
[] = {
23257 (char *) "self", NULL
23260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
23261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23265 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
23267 wxPyEndAllowThreads(__tstate
);
23268 if (PyErr_Occurred()) SWIG_fail
;
23271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23279 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23280 PyObject
*resultobj
;
23281 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23282 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
23284 PyObject
* obj0
= 0 ;
23285 PyObject
* obj1
= 0 ;
23286 char *kwnames
[] = {
23287 (char *) "self",(char *) "other", NULL
23290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23293 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23297 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
23299 wxPyEndAllowThreads(__tstate
);
23300 if (PyErr_Occurred()) SWIG_fail
;
23303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23311 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23312 PyObject
*resultobj
;
23313 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23314 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
23316 PyObject
* obj0
= 0 ;
23317 PyObject
* obj1
= 0 ;
23318 char *kwnames
[] = {
23319 (char *) "self",(char *) "other", NULL
23322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23325 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23329 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
23331 wxPyEndAllowThreads(__tstate
);
23332 if (PyErr_Occurred()) SWIG_fail
;
23335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23343 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23344 PyObject
*resultobj
;
23345 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23346 void *arg2
= (void *) 0 ;
23347 PyObject
* obj0
= 0 ;
23348 PyObject
* obj1
= 0 ;
23349 char *kwnames
[] = {
23350 (char *) "self",(char *) "m_pItem", NULL
23353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23356 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23357 if (arg1
) (arg1
)->m_pItem
= arg2
;
23359 Py_INCREF(Py_None
); resultobj
= Py_None
;
23366 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23367 PyObject
*resultobj
;
23368 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23370 PyObject
* obj0
= 0 ;
23371 char *kwnames
[] = {
23372 (char *) "self", NULL
23375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
23376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23378 result
= (void *) ((arg1
)->m_pItem
);
23380 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
23387 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
23389 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23390 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
23392 return Py_BuildValue((char *)"");
23394 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23395 PyObject
*resultobj
;
23396 PyObject
*arg1
= (PyObject
*) NULL
;
23397 wxPyTreeItemData
*result
;
23398 PyObject
* obj0
= 0 ;
23399 char *kwnames
[] = {
23400 (char *) "obj", NULL
23403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
23408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23409 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
23411 wxPyEndAllowThreads(__tstate
);
23412 if (PyErr_Occurred()) SWIG_fail
;
23414 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
23421 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23422 PyObject
*resultobj
;
23423 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23425 PyObject
* obj0
= 0 ;
23426 char *kwnames
[] = {
23427 (char *) "self", NULL
23430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
23431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23435 result
= (PyObject
*)(arg1
)->GetData();
23437 wxPyEndAllowThreads(__tstate
);
23438 if (PyErr_Occurred()) SWIG_fail
;
23440 resultobj
= result
;
23447 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23448 PyObject
*resultobj
;
23449 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23450 PyObject
*arg2
= (PyObject
*) 0 ;
23451 PyObject
* obj0
= 0 ;
23452 PyObject
* obj1
= 0 ;
23453 char *kwnames
[] = {
23454 (char *) "self",(char *) "obj", NULL
23457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
23458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23463 (arg1
)->SetData(arg2
);
23465 wxPyEndAllowThreads(__tstate
);
23466 if (PyErr_Occurred()) SWIG_fail
;
23468 Py_INCREF(Py_None
); resultobj
= Py_None
;
23475 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23476 PyObject
*resultobj
;
23477 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23478 wxTreeItemId
*result
;
23479 PyObject
* obj0
= 0 ;
23480 char *kwnames
[] = {
23481 (char *) "self", NULL
23484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
23485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23490 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
23491 result
= (wxTreeItemId
*) &_result_ref
;
23494 wxPyEndAllowThreads(__tstate
);
23495 if (PyErr_Occurred()) SWIG_fail
;
23497 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
23504 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23505 PyObject
*resultobj
;
23506 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23507 wxTreeItemId
*arg2
= 0 ;
23508 PyObject
* obj0
= 0 ;
23509 PyObject
* obj1
= 0 ;
23510 char *kwnames
[] = {
23511 (char *) "self",(char *) "id", NULL
23514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
23515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23517 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23518 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23520 if (arg2
== NULL
) {
23521 PyErr_SetString(PyExc_TypeError
,"null reference");
23525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23526 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
23528 wxPyEndAllowThreads(__tstate
);
23529 if (PyErr_Occurred()) SWIG_fail
;
23531 Py_INCREF(Py_None
); resultobj
= Py_None
;
23538 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23539 PyObject
*resultobj
;
23540 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23541 PyObject
* obj0
= 0 ;
23542 char *kwnames
[] = {
23543 (char *) "self", NULL
23546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
23547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23551 wxPyTreeItemData_Destroy(arg1
);
23553 wxPyEndAllowThreads(__tstate
);
23554 if (PyErr_Occurred()) SWIG_fail
;
23556 Py_INCREF(Py_None
); resultobj
= Py_None
;
23563 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
23565 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23566 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
23568 return Py_BuildValue((char *)"");
23570 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23571 PyObject
*resultobj
;
23572 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23573 int arg2
= (int) 0 ;
23574 wxTreeEvent
*result
;
23575 PyObject
* obj0
= 0 ;
23576 PyObject
* obj1
= 0 ;
23577 char *kwnames
[] = {
23578 (char *) "commandType",(char *) "id", NULL
23581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23583 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
23584 if (PyErr_Occurred()) SWIG_fail
;
23587 arg2
= (int) SWIG_AsInt(obj1
);
23588 if (PyErr_Occurred()) SWIG_fail
;
23591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23592 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
23594 wxPyEndAllowThreads(__tstate
);
23595 if (PyErr_Occurred()) SWIG_fail
;
23597 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
23604 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23605 PyObject
*resultobj
;
23606 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23607 wxTreeItemId result
;
23608 PyObject
* obj0
= 0 ;
23609 char *kwnames
[] = {
23610 (char *) "self", NULL
23613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
23614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23618 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
23620 wxPyEndAllowThreads(__tstate
);
23621 if (PyErr_Occurred()) SWIG_fail
;
23624 wxTreeItemId
* resultptr
;
23625 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23626 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
23634 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23635 PyObject
*resultobj
;
23636 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23637 wxTreeItemId
*arg2
= 0 ;
23638 PyObject
* obj0
= 0 ;
23639 PyObject
* obj1
= 0 ;
23640 char *kwnames
[] = {
23641 (char *) "self",(char *) "item", NULL
23644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23647 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23648 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23650 if (arg2
== NULL
) {
23651 PyErr_SetString(PyExc_TypeError
,"null reference");
23655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23656 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
23658 wxPyEndAllowThreads(__tstate
);
23659 if (PyErr_Occurred()) SWIG_fail
;
23661 Py_INCREF(Py_None
); resultobj
= Py_None
;
23668 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23669 PyObject
*resultobj
;
23670 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23671 wxTreeItemId result
;
23672 PyObject
* obj0
= 0 ;
23673 char *kwnames
[] = {
23674 (char *) "self", NULL
23677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
23678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23682 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
23684 wxPyEndAllowThreads(__tstate
);
23685 if (PyErr_Occurred()) SWIG_fail
;
23688 wxTreeItemId
* resultptr
;
23689 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23690 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
23698 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23699 PyObject
*resultobj
;
23700 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23701 wxTreeItemId
*arg2
= 0 ;
23702 PyObject
* obj0
= 0 ;
23703 PyObject
* obj1
= 0 ;
23704 char *kwnames
[] = {
23705 (char *) "self",(char *) "item", NULL
23708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23711 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23712 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23714 if (arg2
== NULL
) {
23715 PyErr_SetString(PyExc_TypeError
,"null reference");
23719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23720 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
23722 wxPyEndAllowThreads(__tstate
);
23723 if (PyErr_Occurred()) SWIG_fail
;
23725 Py_INCREF(Py_None
); resultobj
= Py_None
;
23732 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23733 PyObject
*resultobj
;
23734 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23736 PyObject
* obj0
= 0 ;
23737 char *kwnames
[] = {
23738 (char *) "self", NULL
23741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23746 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
23748 wxPyEndAllowThreads(__tstate
);
23749 if (PyErr_Occurred()) SWIG_fail
;
23752 wxPoint
* resultptr
;
23753 resultptr
= new wxPoint((wxPoint
&) result
);
23754 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23762 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23763 PyObject
*resultobj
;
23764 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23765 wxPoint
*arg2
= 0 ;
23767 PyObject
* obj0
= 0 ;
23768 PyObject
* obj1
= 0 ;
23769 char *kwnames
[] = {
23770 (char *) "self",(char *) "pt", NULL
23773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
23774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23778 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23782 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
23784 wxPyEndAllowThreads(__tstate
);
23785 if (PyErr_Occurred()) SWIG_fail
;
23787 Py_INCREF(Py_None
); resultobj
= Py_None
;
23794 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23795 PyObject
*resultobj
;
23796 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23797 wxKeyEvent
*result
;
23798 PyObject
* obj0
= 0 ;
23799 char *kwnames
[] = {
23800 (char *) "self", NULL
23803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
23804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23809 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
23810 result
= (wxKeyEvent
*) &_result_ref
;
23813 wxPyEndAllowThreads(__tstate
);
23814 if (PyErr_Occurred()) SWIG_fail
;
23816 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
23823 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23824 PyObject
*resultobj
;
23825 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23827 PyObject
* obj0
= 0 ;
23828 char *kwnames
[] = {
23829 (char *) "self", NULL
23832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23837 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
23839 wxPyEndAllowThreads(__tstate
);
23840 if (PyErr_Occurred()) SWIG_fail
;
23842 resultobj
= SWIG_FromInt((int)result
);
23849 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23850 PyObject
*resultobj
;
23851 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23852 wxKeyEvent
*arg2
= 0 ;
23853 PyObject
* obj0
= 0 ;
23854 PyObject
* obj1
= 0 ;
23855 char *kwnames
[] = {
23856 (char *) "self",(char *) "evt", NULL
23859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23862 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
23863 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23865 if (arg2
== NULL
) {
23866 PyErr_SetString(PyExc_TypeError
,"null reference");
23870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23871 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
23873 wxPyEndAllowThreads(__tstate
);
23874 if (PyErr_Occurred()) SWIG_fail
;
23876 Py_INCREF(Py_None
); resultobj
= Py_None
;
23883 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23884 PyObject
*resultobj
;
23885 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23887 PyObject
* obj0
= 0 ;
23888 char *kwnames
[] = {
23889 (char *) "self", NULL
23892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23898 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
23899 result
= (wxString
*) &_result_ref
;
23902 wxPyEndAllowThreads(__tstate
);
23903 if (PyErr_Occurred()) SWIG_fail
;
23907 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23909 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23918 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23919 PyObject
*resultobj
;
23920 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23921 wxString
*arg2
= 0 ;
23922 bool temp2
= False
;
23923 PyObject
* obj0
= 0 ;
23924 PyObject
* obj1
= 0 ;
23925 char *kwnames
[] = {
23926 (char *) "self",(char *) "label", NULL
23929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
23930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23933 arg2
= wxString_in_helper(obj1
);
23934 if (arg2
== NULL
) SWIG_fail
;
23938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23939 (arg1
)->SetLabel((wxString
const &)*arg2
);
23941 wxPyEndAllowThreads(__tstate
);
23942 if (PyErr_Occurred()) SWIG_fail
;
23944 Py_INCREF(Py_None
); resultobj
= Py_None
;
23959 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23960 PyObject
*resultobj
;
23961 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23963 PyObject
* obj0
= 0 ;
23964 char *kwnames
[] = {
23965 (char *) "self", NULL
23968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
23969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23973 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
23975 wxPyEndAllowThreads(__tstate
);
23976 if (PyErr_Occurred()) SWIG_fail
;
23979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23987 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23988 PyObject
*resultobj
;
23989 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23991 PyObject
* obj0
= 0 ;
23992 PyObject
* obj1
= 0 ;
23993 char *kwnames
[] = {
23994 (char *) "self",(char *) "editCancelled", NULL
23997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
23998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24000 arg2
= (bool) SWIG_AsBool(obj1
);
24001 if (PyErr_Occurred()) SWIG_fail
;
24003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24004 (arg1
)->SetEditCanceled(arg2
);
24006 wxPyEndAllowThreads(__tstate
);
24007 if (PyErr_Occurred()) SWIG_fail
;
24009 Py_INCREF(Py_None
); resultobj
= Py_None
;
24016 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24017 PyObject
*resultobj
;
24018 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24019 wxString
*arg2
= 0 ;
24020 bool temp2
= False
;
24021 PyObject
* obj0
= 0 ;
24022 PyObject
* obj1
= 0 ;
24023 char *kwnames
[] = {
24024 (char *) "self",(char *) "toolTip", NULL
24027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
24028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24031 arg2
= wxString_in_helper(obj1
);
24032 if (arg2
== NULL
) SWIG_fail
;
24036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24037 (arg1
)->SetToolTip((wxString
const &)*arg2
);
24039 wxPyEndAllowThreads(__tstate
);
24040 if (PyErr_Occurred()) SWIG_fail
;
24042 Py_INCREF(Py_None
); resultobj
= Py_None
;
24057 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
24059 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24060 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
24062 return Py_BuildValue((char *)"");
24064 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24065 PyObject
*resultobj
;
24066 wxWindow
*arg1
= (wxWindow
*) 0 ;
24067 int arg2
= (int) -1 ;
24068 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24069 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24070 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24071 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24072 long arg5
= (long) wxTR_DEFAULT_STYLE
;
24073 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
24074 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
24075 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
24076 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24077 wxPyTreeCtrl
*result
;
24080 bool temp7
= False
;
24081 PyObject
* obj0
= 0 ;
24082 PyObject
* obj1
= 0 ;
24083 PyObject
* obj2
= 0 ;
24084 PyObject
* obj3
= 0 ;
24085 PyObject
* obj4
= 0 ;
24086 PyObject
* obj5
= 0 ;
24087 PyObject
* obj6
= 0 ;
24088 char *kwnames
[] = {
24089 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24096 arg2
= (int) SWIG_AsInt(obj1
);
24097 if (PyErr_Occurred()) SWIG_fail
;
24102 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24108 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24112 arg5
= (long) SWIG_AsLong(obj4
);
24113 if (PyErr_Occurred()) SWIG_fail
;
24116 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
24117 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24119 if (arg6
== NULL
) {
24120 PyErr_SetString(PyExc_TypeError
,"null reference");
24126 arg7
= wxString_in_helper(obj6
);
24127 if (arg7
== NULL
) SWIG_fail
;
24132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24133 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
24135 wxPyEndAllowThreads(__tstate
);
24136 if (PyErr_Occurred()) SWIG_fail
;
24139 resultobj
= wxPyMake_wxObject(result
);
24155 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24156 PyObject
*resultobj
;
24157 wxPyTreeCtrl
*result
;
24158 char *kwnames
[] = {
24162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
24164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24165 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
24167 wxPyEndAllowThreads(__tstate
);
24168 if (PyErr_Occurred()) SWIG_fail
;
24171 resultobj
= wxPyMake_wxObject(result
);
24179 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24180 PyObject
*resultobj
;
24181 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24182 wxWindow
*arg2
= (wxWindow
*) 0 ;
24183 int arg3
= (int) -1 ;
24184 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24185 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24186 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24187 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24188 long arg6
= (long) wxTR_DEFAULT_STYLE
;
24189 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
24190 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
24191 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
24192 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
24196 bool temp8
= False
;
24197 PyObject
* obj0
= 0 ;
24198 PyObject
* obj1
= 0 ;
24199 PyObject
* obj2
= 0 ;
24200 PyObject
* obj3
= 0 ;
24201 PyObject
* obj4
= 0 ;
24202 PyObject
* obj5
= 0 ;
24203 PyObject
* obj6
= 0 ;
24204 PyObject
* obj7
= 0 ;
24205 char *kwnames
[] = {
24206 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
24210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24212 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24215 arg3
= (int) SWIG_AsInt(obj2
);
24216 if (PyErr_Occurred()) SWIG_fail
;
24221 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24227 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24231 arg6
= (long) SWIG_AsLong(obj5
);
24232 if (PyErr_Occurred()) SWIG_fail
;
24235 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
24236 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24238 if (arg7
== NULL
) {
24239 PyErr_SetString(PyExc_TypeError
,"null reference");
24245 arg8
= wxString_in_helper(obj7
);
24246 if (arg8
== NULL
) SWIG_fail
;
24251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24252 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
24254 wxPyEndAllowThreads(__tstate
);
24255 if (PyErr_Occurred()) SWIG_fail
;
24258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24274 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24275 PyObject
*resultobj
;
24276 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24277 PyObject
*arg2
= (PyObject
*) 0 ;
24278 PyObject
*arg3
= (PyObject
*) 0 ;
24279 PyObject
* obj0
= 0 ;
24280 PyObject
* obj1
= 0 ;
24281 PyObject
* obj2
= 0 ;
24282 char *kwnames
[] = {
24283 (char *) "self",(char *) "self",(char *) "_class", NULL
24286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24293 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24295 wxPyEndAllowThreads(__tstate
);
24296 if (PyErr_Occurred()) SWIG_fail
;
24298 Py_INCREF(Py_None
); resultobj
= Py_None
;
24305 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24306 PyObject
*resultobj
;
24307 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24309 PyObject
* obj0
= 0 ;
24310 char *kwnames
[] = {
24311 (char *) "self", NULL
24314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
24315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24319 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
24321 wxPyEndAllowThreads(__tstate
);
24322 if (PyErr_Occurred()) SWIG_fail
;
24324 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24331 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24332 PyObject
*resultobj
;
24333 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24334 unsigned int result
;
24335 PyObject
* obj0
= 0 ;
24336 char *kwnames
[] = {
24337 (char *) "self", NULL
24340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
24341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24345 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
24347 wxPyEndAllowThreads(__tstate
);
24348 if (PyErr_Occurred()) SWIG_fail
;
24350 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
24357 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24358 PyObject
*resultobj
;
24359 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24360 unsigned int arg2
;
24361 PyObject
* obj0
= 0 ;
24362 PyObject
* obj1
= 0 ;
24363 char *kwnames
[] = {
24364 (char *) "self",(char *) "indent", NULL
24367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
24368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24370 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
24371 if (PyErr_Occurred()) SWIG_fail
;
24373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24374 (arg1
)->SetIndent(arg2
);
24376 wxPyEndAllowThreads(__tstate
);
24377 if (PyErr_Occurred()) SWIG_fail
;
24379 Py_INCREF(Py_None
); resultobj
= Py_None
;
24386 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24387 PyObject
*resultobj
;
24388 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24389 unsigned int result
;
24390 PyObject
* obj0
= 0 ;
24391 char *kwnames
[] = {
24392 (char *) "self", NULL
24395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
24396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24400 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
24402 wxPyEndAllowThreads(__tstate
);
24403 if (PyErr_Occurred()) SWIG_fail
;
24405 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
24412 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24413 PyObject
*resultobj
;
24414 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24415 unsigned int arg2
;
24416 PyObject
* obj0
= 0 ;
24417 PyObject
* obj1
= 0 ;
24418 char *kwnames
[] = {
24419 (char *) "self",(char *) "spacing", NULL
24422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
24423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24425 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
24426 if (PyErr_Occurred()) SWIG_fail
;
24428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24429 (arg1
)->SetSpacing(arg2
);
24431 wxPyEndAllowThreads(__tstate
);
24432 if (PyErr_Occurred()) SWIG_fail
;
24434 Py_INCREF(Py_None
); resultobj
= Py_None
;
24441 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24442 PyObject
*resultobj
;
24443 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24444 wxImageList
*result
;
24445 PyObject
* obj0
= 0 ;
24446 char *kwnames
[] = {
24447 (char *) "self", NULL
24450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
24451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24455 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
24457 wxPyEndAllowThreads(__tstate
);
24458 if (PyErr_Occurred()) SWIG_fail
;
24461 resultobj
= wxPyMake_wxObject(result
);
24469 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24470 PyObject
*resultobj
;
24471 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24472 wxImageList
*result
;
24473 PyObject
* obj0
= 0 ;
24474 char *kwnames
[] = {
24475 (char *) "self", NULL
24478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
24479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24483 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
24485 wxPyEndAllowThreads(__tstate
);
24486 if (PyErr_Occurred()) SWIG_fail
;
24489 resultobj
= wxPyMake_wxObject(result
);
24497 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24498 PyObject
*resultobj
;
24499 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24500 wxImageList
*arg2
= (wxImageList
*) 0 ;
24501 PyObject
* obj0
= 0 ;
24502 PyObject
* obj1
= 0 ;
24503 char *kwnames
[] = {
24504 (char *) "self",(char *) "imageList", NULL
24507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24510 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24514 (arg1
)->SetImageList(arg2
);
24516 wxPyEndAllowThreads(__tstate
);
24517 if (PyErr_Occurred()) SWIG_fail
;
24519 Py_INCREF(Py_None
); resultobj
= Py_None
;
24526 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24527 PyObject
*resultobj
;
24528 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24529 wxImageList
*arg2
= (wxImageList
*) 0 ;
24530 PyObject
* obj0
= 0 ;
24531 PyObject
* obj1
= 0 ;
24532 char *kwnames
[] = {
24533 (char *) "self",(char *) "imageList", NULL
24536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) 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_wxImageList
,
24540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24543 (arg1
)->SetStateImageList(arg2
);
24545 wxPyEndAllowThreads(__tstate
);
24546 if (PyErr_Occurred()) SWIG_fail
;
24548 Py_INCREF(Py_None
); resultobj
= Py_None
;
24555 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24556 PyObject
*resultobj
;
24557 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24558 wxImageList
*arg2
= (wxImageList
*) 0 ;
24559 PyObject
* obj0
= 0 ;
24560 PyObject
* obj1
= 0 ;
24561 char *kwnames
[] = {
24562 (char *) "self",(char *) "imageList", NULL
24565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24568 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24569 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24572 (arg1
)->AssignImageList(arg2
);
24574 wxPyEndAllowThreads(__tstate
);
24575 if (PyErr_Occurred()) SWIG_fail
;
24577 Py_INCREF(Py_None
); resultobj
= Py_None
;
24584 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24585 PyObject
*resultobj
;
24586 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24587 wxImageList
*arg2
= (wxImageList
*) 0 ;
24588 PyObject
* obj0
= 0 ;
24589 PyObject
* obj1
= 0 ;
24590 char *kwnames
[] = {
24591 (char *) "self",(char *) "imageList", NULL
24594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24597 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24598 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24601 (arg1
)->AssignStateImageList(arg2
);
24603 wxPyEndAllowThreads(__tstate
);
24604 if (PyErr_Occurred()) SWIG_fail
;
24606 Py_INCREF(Py_None
); resultobj
= Py_None
;
24613 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24614 PyObject
*resultobj
;
24615 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24616 wxTreeItemId
*arg2
= 0 ;
24618 PyObject
* obj0
= 0 ;
24619 PyObject
* obj1
= 0 ;
24620 char *kwnames
[] = {
24621 (char *) "self",(char *) "item", NULL
24624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
24625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24627 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24628 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24630 if (arg2
== NULL
) {
24631 PyErr_SetString(PyExc_TypeError
,"null reference");
24635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24636 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
24638 wxPyEndAllowThreads(__tstate
);
24639 if (PyErr_Occurred()) SWIG_fail
;
24643 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24645 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24654 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24655 PyObject
*resultobj
;
24656 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24657 wxTreeItemId
*arg2
= 0 ;
24658 int arg3
= (int) wxTreeItemIcon_Normal
;
24660 PyObject
* obj0
= 0 ;
24661 PyObject
* obj1
= 0 ;
24662 PyObject
* obj2
= 0 ;
24663 char *kwnames
[] = {
24664 (char *) "self",(char *) "item",(char *) "which", NULL
24667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",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");
24678 arg3
= (wxTreeItemIcon
) SWIG_AsInt(obj2
);
24679 if (PyErr_Occurred()) SWIG_fail
;
24682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24683 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
24685 wxPyEndAllowThreads(__tstate
);
24686 if (PyErr_Occurred()) SWIG_fail
;
24688 resultobj
= SWIG_FromInt((int)result
);
24695 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24696 PyObject
*resultobj
;
24697 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24698 wxTreeItemId
*arg2
= 0 ;
24699 wxPyTreeItemData
*result
;
24700 PyObject
* obj0
= 0 ;
24701 PyObject
* obj1
= 0 ;
24702 char *kwnames
[] = {
24703 (char *) "self",(char *) "item", NULL
24706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
24707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24709 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24710 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24712 if (arg2
== NULL
) {
24713 PyErr_SetString(PyExc_TypeError
,"null reference");
24717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24718 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
24720 wxPyEndAllowThreads(__tstate
);
24721 if (PyErr_Occurred()) SWIG_fail
;
24723 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
24730 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24731 PyObject
*resultobj
;
24732 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24733 wxTreeItemId
*arg2
= 0 ;
24735 PyObject
* obj0
= 0 ;
24736 PyObject
* obj1
= 0 ;
24737 char *kwnames
[] = {
24738 (char *) "self",(char *) "item", NULL
24741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
24742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24744 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24745 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24747 if (arg2
== NULL
) {
24748 PyErr_SetString(PyExc_TypeError
,"null reference");
24752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24753 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
24755 wxPyEndAllowThreads(__tstate
);
24756 if (PyErr_Occurred()) SWIG_fail
;
24758 resultobj
= result
;
24765 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24766 PyObject
*resultobj
;
24767 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24768 wxTreeItemId
*arg2
= 0 ;
24770 PyObject
* obj0
= 0 ;
24771 PyObject
* obj1
= 0 ;
24772 char *kwnames
[] = {
24773 (char *) "self",(char *) "item", NULL
24776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24779 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24780 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24782 if (arg2
== NULL
) {
24783 PyErr_SetString(PyExc_TypeError
,"null reference");
24787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24788 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
24790 wxPyEndAllowThreads(__tstate
);
24791 if (PyErr_Occurred()) SWIG_fail
;
24794 wxColour
* resultptr
;
24795 resultptr
= new wxColour((wxColour
&) result
);
24796 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24804 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24805 PyObject
*resultobj
;
24806 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24807 wxTreeItemId
*arg2
= 0 ;
24809 PyObject
* obj0
= 0 ;
24810 PyObject
* obj1
= 0 ;
24811 char *kwnames
[] = {
24812 (char *) "self",(char *) "item", NULL
24815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24818 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24819 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24821 if (arg2
== NULL
) {
24822 PyErr_SetString(PyExc_TypeError
,"null reference");
24826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24827 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
24829 wxPyEndAllowThreads(__tstate
);
24830 if (PyErr_Occurred()) SWIG_fail
;
24833 wxColour
* resultptr
;
24834 resultptr
= new wxColour((wxColour
&) result
);
24835 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24843 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24844 PyObject
*resultobj
;
24845 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24846 wxTreeItemId
*arg2
= 0 ;
24848 PyObject
* obj0
= 0 ;
24849 PyObject
* obj1
= 0 ;
24850 char *kwnames
[] = {
24851 (char *) "self",(char *) "item", NULL
24854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
24855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24857 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24858 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24860 if (arg2
== NULL
) {
24861 PyErr_SetString(PyExc_TypeError
,"null reference");
24865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24866 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
24868 wxPyEndAllowThreads(__tstate
);
24869 if (PyErr_Occurred()) SWIG_fail
;
24872 wxFont
* resultptr
;
24873 resultptr
= new wxFont((wxFont
&) result
);
24874 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
24882 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24883 PyObject
*resultobj
;
24884 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24885 wxTreeItemId
*arg2
= 0 ;
24886 wxString
*arg3
= 0 ;
24887 bool temp3
= False
;
24888 PyObject
* obj0
= 0 ;
24889 PyObject
* obj1
= 0 ;
24890 PyObject
* obj2
= 0 ;
24891 char *kwnames
[] = {
24892 (char *) "self",(char *) "item",(char *) "text", NULL
24895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24898 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24899 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24901 if (arg2
== NULL
) {
24902 PyErr_SetString(PyExc_TypeError
,"null reference");
24906 arg3
= wxString_in_helper(obj2
);
24907 if (arg3
== NULL
) SWIG_fail
;
24911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24912 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
24914 wxPyEndAllowThreads(__tstate
);
24915 if (PyErr_Occurred()) SWIG_fail
;
24917 Py_INCREF(Py_None
); resultobj
= Py_None
;
24932 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24933 PyObject
*resultobj
;
24934 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24935 wxTreeItemId
*arg2
= 0 ;
24937 int arg4
= (int) wxTreeItemIcon_Normal
;
24938 PyObject
* obj0
= 0 ;
24939 PyObject
* obj1
= 0 ;
24940 PyObject
* obj2
= 0 ;
24941 PyObject
* obj3
= 0 ;
24942 char *kwnames
[] = {
24943 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
24946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24949 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24950 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24952 if (arg2
== NULL
) {
24953 PyErr_SetString(PyExc_TypeError
,"null reference");
24956 arg3
= (int) SWIG_AsInt(obj2
);
24957 if (PyErr_Occurred()) SWIG_fail
;
24959 arg4
= (wxTreeItemIcon
) SWIG_AsInt(obj3
);
24960 if (PyErr_Occurred()) SWIG_fail
;
24963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24964 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
24966 wxPyEndAllowThreads(__tstate
);
24967 if (PyErr_Occurred()) SWIG_fail
;
24969 Py_INCREF(Py_None
); resultobj
= Py_None
;
24976 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24977 PyObject
*resultobj
;
24978 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24979 wxTreeItemId
*arg2
= 0 ;
24980 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
24981 PyObject
* obj0
= 0 ;
24982 PyObject
* obj1
= 0 ;
24983 PyObject
* obj2
= 0 ;
24984 char *kwnames
[] = {
24985 (char *) "self",(char *) "item",(char *) "data", NULL
24988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24991 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24992 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24994 if (arg2
== NULL
) {
24995 PyErr_SetString(PyExc_TypeError
,"null reference");
24998 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
24999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25002 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25004 wxPyEndAllowThreads(__tstate
);
25005 if (PyErr_Occurred()) SWIG_fail
;
25007 Py_INCREF(Py_None
); resultobj
= Py_None
;
25014 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25015 PyObject
*resultobj
;
25016 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25017 wxTreeItemId
*arg2
= 0 ;
25018 PyObject
*arg3
= (PyObject
*) 0 ;
25019 PyObject
* obj0
= 0 ;
25020 PyObject
* obj1
= 0 ;
25021 PyObject
* obj2
= 0 ;
25022 char *kwnames
[] = {
25023 (char *) "self",(char *) "item",(char *) "obj", NULL
25026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25029 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25030 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25032 if (arg2
== NULL
) {
25033 PyErr_SetString(PyExc_TypeError
,"null reference");
25038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25039 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25041 wxPyEndAllowThreads(__tstate
);
25042 if (PyErr_Occurred()) SWIG_fail
;
25044 Py_INCREF(Py_None
); resultobj
= Py_None
;
25051 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25052 PyObject
*resultobj
;
25053 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25054 wxTreeItemId
*arg2
= 0 ;
25055 bool arg3
= (bool) True
;
25056 PyObject
* obj0
= 0 ;
25057 PyObject
* obj1
= 0 ;
25058 PyObject
* obj2
= 0 ;
25059 char *kwnames
[] = {
25060 (char *) "self",(char *) "item",(char *) "has", NULL
25063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25066 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25067 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25069 if (arg2
== NULL
) {
25070 PyErr_SetString(PyExc_TypeError
,"null reference");
25074 arg3
= (bool) SWIG_AsBool(obj2
);
25075 if (PyErr_Occurred()) SWIG_fail
;
25078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25079 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
25081 wxPyEndAllowThreads(__tstate
);
25082 if (PyErr_Occurred()) SWIG_fail
;
25084 Py_INCREF(Py_None
); resultobj
= Py_None
;
25091 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25092 PyObject
*resultobj
;
25093 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25094 wxTreeItemId
*arg2
= 0 ;
25095 bool arg3
= (bool) True
;
25096 PyObject
* obj0
= 0 ;
25097 PyObject
* obj1
= 0 ;
25098 PyObject
* obj2
= 0 ;
25099 char *kwnames
[] = {
25100 (char *) "self",(char *) "item",(char *) "bold", NULL
25103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25106 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25107 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25109 if (arg2
== NULL
) {
25110 PyErr_SetString(PyExc_TypeError
,"null reference");
25114 arg3
= (bool) SWIG_AsBool(obj2
);
25115 if (PyErr_Occurred()) SWIG_fail
;
25118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25119 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
25121 wxPyEndAllowThreads(__tstate
);
25122 if (PyErr_Occurred()) SWIG_fail
;
25124 Py_INCREF(Py_None
); resultobj
= Py_None
;
25131 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25132 PyObject
*resultobj
;
25133 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25134 wxTreeItemId
*arg2
= 0 ;
25135 bool arg3
= (bool) True
;
25136 PyObject
* obj0
= 0 ;
25137 PyObject
* obj1
= 0 ;
25138 PyObject
* obj2
= 0 ;
25139 char *kwnames
[] = {
25140 (char *) "self",(char *) "item",(char *) "highlight", NULL
25143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25146 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25147 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25149 if (arg2
== NULL
) {
25150 PyErr_SetString(PyExc_TypeError
,"null reference");
25154 arg3
= (bool) SWIG_AsBool(obj2
);
25155 if (PyErr_Occurred()) SWIG_fail
;
25158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25159 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
25161 wxPyEndAllowThreads(__tstate
);
25162 if (PyErr_Occurred()) SWIG_fail
;
25164 Py_INCREF(Py_None
); resultobj
= Py_None
;
25171 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25172 PyObject
*resultobj
;
25173 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25174 wxTreeItemId
*arg2
= 0 ;
25175 wxColour
*arg3
= 0 ;
25177 PyObject
* obj0
= 0 ;
25178 PyObject
* obj1
= 0 ;
25179 PyObject
* obj2
= 0 ;
25180 char *kwnames
[] = {
25181 (char *) "self",(char *) "item",(char *) "col", NULL
25184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25187 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25188 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25190 if (arg2
== NULL
) {
25191 PyErr_SetString(PyExc_TypeError
,"null reference");
25196 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
25199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25200 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
25202 wxPyEndAllowThreads(__tstate
);
25203 if (PyErr_Occurred()) SWIG_fail
;
25205 Py_INCREF(Py_None
); resultobj
= Py_None
;
25212 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25213 PyObject
*resultobj
;
25214 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25215 wxTreeItemId
*arg2
= 0 ;
25216 wxColour
*arg3
= 0 ;
25218 PyObject
* obj0
= 0 ;
25219 PyObject
* obj1
= 0 ;
25220 PyObject
* obj2
= 0 ;
25221 char *kwnames
[] = {
25222 (char *) "self",(char *) "item",(char *) "col", NULL
25225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25228 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25229 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25231 if (arg2
== NULL
) {
25232 PyErr_SetString(PyExc_TypeError
,"null reference");
25237 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
25240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25241 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
25243 wxPyEndAllowThreads(__tstate
);
25244 if (PyErr_Occurred()) SWIG_fail
;
25246 Py_INCREF(Py_None
); resultobj
= Py_None
;
25253 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25254 PyObject
*resultobj
;
25255 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25256 wxTreeItemId
*arg2
= 0 ;
25258 PyObject
* obj0
= 0 ;
25259 PyObject
* obj1
= 0 ;
25260 PyObject
* obj2
= 0 ;
25261 char *kwnames
[] = {
25262 (char *) "self",(char *) "item",(char *) "font", NULL
25265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25268 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25269 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25271 if (arg2
== NULL
) {
25272 PyErr_SetString(PyExc_TypeError
,"null reference");
25275 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
25276 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25278 if (arg3
== NULL
) {
25279 PyErr_SetString(PyExc_TypeError
,"null reference");
25283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25284 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
25286 wxPyEndAllowThreads(__tstate
);
25287 if (PyErr_Occurred()) SWIG_fail
;
25289 Py_INCREF(Py_None
); resultobj
= Py_None
;
25296 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25297 PyObject
*resultobj
;
25298 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25299 wxTreeItemId
*arg2
= 0 ;
25301 PyObject
* obj0
= 0 ;
25302 PyObject
* obj1
= 0 ;
25303 char *kwnames
[] = {
25304 (char *) "self",(char *) "item", NULL
25307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25310 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25311 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25313 if (arg2
== NULL
) {
25314 PyErr_SetString(PyExc_TypeError
,"null reference");
25318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25319 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
25321 wxPyEndAllowThreads(__tstate
);
25322 if (PyErr_Occurred()) SWIG_fail
;
25325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25333 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25334 PyObject
*resultobj
;
25335 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25336 wxTreeItemId
*arg2
= 0 ;
25338 PyObject
* obj0
= 0 ;
25339 PyObject
* obj1
= 0 ;
25340 char *kwnames
[] = {
25341 (char *) "self",(char *) "item", NULL
25344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
25345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25347 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25348 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25350 if (arg2
== NULL
) {
25351 PyErr_SetString(PyExc_TypeError
,"null reference");
25355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25356 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
25358 wxPyEndAllowThreads(__tstate
);
25359 if (PyErr_Occurred()) SWIG_fail
;
25362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25370 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25371 PyObject
*resultobj
;
25372 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25373 wxTreeItemId
*arg2
= 0 ;
25375 PyObject
* obj0
= 0 ;
25376 PyObject
* obj1
= 0 ;
25377 char *kwnames
[] = {
25378 (char *) "self",(char *) "item", NULL
25381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
25382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25384 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25385 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25387 if (arg2
== NULL
) {
25388 PyErr_SetString(PyExc_TypeError
,"null reference");
25392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25393 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
25395 wxPyEndAllowThreads(__tstate
);
25396 if (PyErr_Occurred()) SWIG_fail
;
25399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25407 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25408 PyObject
*resultobj
;
25409 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25410 wxTreeItemId
*arg2
= 0 ;
25412 PyObject
* obj0
= 0 ;
25413 PyObject
* obj1
= 0 ;
25414 char *kwnames
[] = {
25415 (char *) "self",(char *) "item", NULL
25418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
25419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25421 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25422 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25424 if (arg2
== NULL
) {
25425 PyErr_SetString(PyExc_TypeError
,"null reference");
25429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25430 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
25432 wxPyEndAllowThreads(__tstate
);
25433 if (PyErr_Occurred()) SWIG_fail
;
25436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25444 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25445 PyObject
*resultobj
;
25446 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25447 wxTreeItemId
*arg2
= 0 ;
25449 PyObject
* obj0
= 0 ;
25450 PyObject
* obj1
= 0 ;
25451 char *kwnames
[] = {
25452 (char *) "self",(char *) "item", NULL
25455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
25456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25458 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25459 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25461 if (arg2
== NULL
) {
25462 PyErr_SetString(PyExc_TypeError
,"null reference");
25466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25467 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
25469 wxPyEndAllowThreads(__tstate
);
25470 if (PyErr_Occurred()) SWIG_fail
;
25473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25481 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25482 PyObject
*resultobj
;
25483 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25484 wxTreeItemId
*arg2
= 0 ;
25485 bool arg3
= (bool) True
;
25487 PyObject
* obj0
= 0 ;
25488 PyObject
* obj1
= 0 ;
25489 PyObject
* obj2
= 0 ;
25490 char *kwnames
[] = {
25491 (char *) "self",(char *) "item",(char *) "recursively", NULL
25494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25497 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25498 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25500 if (arg2
== NULL
) {
25501 PyErr_SetString(PyExc_TypeError
,"null reference");
25505 arg3
= (bool) SWIG_AsBool(obj2
);
25506 if (PyErr_Occurred()) SWIG_fail
;
25509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25510 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
25512 wxPyEndAllowThreads(__tstate
);
25513 if (PyErr_Occurred()) SWIG_fail
;
25515 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25522 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25523 PyObject
*resultobj
;
25524 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25525 wxTreeItemId result
;
25526 PyObject
* obj0
= 0 ;
25527 char *kwnames
[] = {
25528 (char *) "self", NULL
25531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
25532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25536 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
25538 wxPyEndAllowThreads(__tstate
);
25539 if (PyErr_Occurred()) SWIG_fail
;
25542 wxTreeItemId
* resultptr
;
25543 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25544 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25552 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25553 PyObject
*resultobj
;
25554 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25555 wxTreeItemId result
;
25556 PyObject
* obj0
= 0 ;
25557 char *kwnames
[] = {
25558 (char *) "self", NULL
25561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
25562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25566 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
25568 wxPyEndAllowThreads(__tstate
);
25569 if (PyErr_Occurred()) SWIG_fail
;
25572 wxTreeItemId
* resultptr
;
25573 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25574 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25582 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25583 PyObject
*resultobj
;
25584 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25586 PyObject
* obj0
= 0 ;
25587 char *kwnames
[] = {
25588 (char *) "self", NULL
25591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
25592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25596 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
25598 wxPyEndAllowThreads(__tstate
);
25599 if (PyErr_Occurred()) SWIG_fail
;
25601 resultobj
= result
;
25608 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25609 PyObject
*resultobj
;
25610 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25611 wxTreeItemId
*arg2
= 0 ;
25612 wxTreeItemId result
;
25613 PyObject
* obj0
= 0 ;
25614 PyObject
* obj1
= 0 ;
25615 char *kwnames
[] = {
25616 (char *) "self",(char *) "item", NULL
25619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
25620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25622 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25623 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25625 if (arg2
== NULL
) {
25626 PyErr_SetString(PyExc_TypeError
,"null reference");
25630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25631 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
25633 wxPyEndAllowThreads(__tstate
);
25634 if (PyErr_Occurred()) SWIG_fail
;
25637 wxTreeItemId
* resultptr
;
25638 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25639 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25647 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25648 PyObject
*resultobj
;
25649 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25650 wxTreeItemId
*arg2
= 0 ;
25652 PyObject
* obj0
= 0 ;
25653 PyObject
* obj1
= 0 ;
25654 char *kwnames
[] = {
25655 (char *) "self",(char *) "item", NULL
25658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25661 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25662 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25664 if (arg2
== NULL
) {
25665 PyErr_SetString(PyExc_TypeError
,"null reference");
25669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25670 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
25672 wxPyEndAllowThreads(__tstate
);
25673 if (PyErr_Occurred()) SWIG_fail
;
25675 resultobj
= result
;
25682 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25683 PyObject
*resultobj
;
25684 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25685 wxTreeItemId
*arg2
= 0 ;
25686 void *arg3
= (void *) 0 ;
25688 PyObject
* obj0
= 0 ;
25689 PyObject
* obj1
= 0 ;
25690 PyObject
* obj2
= 0 ;
25691 char *kwnames
[] = {
25692 (char *) "self",(char *) "item",(char *) "cookie", NULL
25695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25698 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25699 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25701 if (arg2
== NULL
) {
25702 PyErr_SetString(PyExc_TypeError
,"null reference");
25705 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25708 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25710 wxPyEndAllowThreads(__tstate
);
25711 if (PyErr_Occurred()) SWIG_fail
;
25713 resultobj
= result
;
25720 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25721 PyObject
*resultobj
;
25722 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25723 wxTreeItemId
*arg2
= 0 ;
25724 wxTreeItemId result
;
25725 PyObject
* obj0
= 0 ;
25726 PyObject
* obj1
= 0 ;
25727 char *kwnames
[] = {
25728 (char *) "self",(char *) "item", NULL
25731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25734 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25735 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25737 if (arg2
== NULL
) {
25738 PyErr_SetString(PyExc_TypeError
,"null reference");
25742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25743 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
25745 wxPyEndAllowThreads(__tstate
);
25746 if (PyErr_Occurred()) SWIG_fail
;
25749 wxTreeItemId
* resultptr
;
25750 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25751 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25759 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25760 PyObject
*resultobj
;
25761 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25762 wxTreeItemId
*arg2
= 0 ;
25763 wxTreeItemId result
;
25764 PyObject
* obj0
= 0 ;
25765 PyObject
* obj1
= 0 ;
25766 char *kwnames
[] = {
25767 (char *) "self",(char *) "item", NULL
25770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25773 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25774 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25776 if (arg2
== NULL
) {
25777 PyErr_SetString(PyExc_TypeError
,"null reference");
25781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25782 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
25784 wxPyEndAllowThreads(__tstate
);
25785 if (PyErr_Occurred()) SWIG_fail
;
25788 wxTreeItemId
* resultptr
;
25789 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25790 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25798 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25799 PyObject
*resultobj
;
25800 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25801 wxTreeItemId
*arg2
= 0 ;
25802 wxTreeItemId result
;
25803 PyObject
* obj0
= 0 ;
25804 PyObject
* obj1
= 0 ;
25805 char *kwnames
[] = {
25806 (char *) "self",(char *) "item", NULL
25809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25812 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25813 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25815 if (arg2
== NULL
) {
25816 PyErr_SetString(PyExc_TypeError
,"null reference");
25820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25821 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
25823 wxPyEndAllowThreads(__tstate
);
25824 if (PyErr_Occurred()) SWIG_fail
;
25827 wxTreeItemId
* resultptr
;
25828 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25829 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25837 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25838 PyObject
*resultobj
;
25839 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25840 wxTreeItemId result
;
25841 PyObject
* obj0
= 0 ;
25842 char *kwnames
[] = {
25843 (char *) "self", NULL
25846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
25847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25851 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
25853 wxPyEndAllowThreads(__tstate
);
25854 if (PyErr_Occurred()) SWIG_fail
;
25857 wxTreeItemId
* resultptr
;
25858 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25859 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25867 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25868 PyObject
*resultobj
;
25869 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25870 wxTreeItemId
*arg2
= 0 ;
25871 wxTreeItemId result
;
25872 PyObject
* obj0
= 0 ;
25873 PyObject
* obj1
= 0 ;
25874 char *kwnames
[] = {
25875 (char *) "self",(char *) "item", NULL
25878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25881 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25882 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25884 if (arg2
== NULL
) {
25885 PyErr_SetString(PyExc_TypeError
,"null reference");
25889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25890 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
25892 wxPyEndAllowThreads(__tstate
);
25893 if (PyErr_Occurred()) SWIG_fail
;
25896 wxTreeItemId
* resultptr
;
25897 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25898 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25906 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25907 PyObject
*resultobj
;
25908 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25909 wxTreeItemId
*arg2
= 0 ;
25910 wxTreeItemId result
;
25911 PyObject
* obj0
= 0 ;
25912 PyObject
* obj1
= 0 ;
25913 char *kwnames
[] = {
25914 (char *) "self",(char *) "item", NULL
25917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25920 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25921 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25923 if (arg2
== NULL
) {
25924 PyErr_SetString(PyExc_TypeError
,"null reference");
25928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25929 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
25931 wxPyEndAllowThreads(__tstate
);
25932 if (PyErr_Occurred()) SWIG_fail
;
25935 wxTreeItemId
* resultptr
;
25936 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25937 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25945 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25946 PyObject
*resultobj
;
25947 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25948 wxString
*arg2
= 0 ;
25949 int arg3
= (int) -1 ;
25950 int arg4
= (int) -1 ;
25951 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
25952 wxTreeItemId result
;
25953 bool temp2
= False
;
25954 PyObject
* obj0
= 0 ;
25955 PyObject
* obj1
= 0 ;
25956 PyObject
* obj2
= 0 ;
25957 PyObject
* obj3
= 0 ;
25958 PyObject
* obj4
= 0 ;
25959 char *kwnames
[] = {
25960 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25967 arg2
= wxString_in_helper(obj1
);
25968 if (arg2
== NULL
) SWIG_fail
;
25972 arg3
= (int) SWIG_AsInt(obj2
);
25973 if (PyErr_Occurred()) SWIG_fail
;
25976 arg4
= (int) SWIG_AsInt(obj3
);
25977 if (PyErr_Occurred()) SWIG_fail
;
25980 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
25981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25985 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
25987 wxPyEndAllowThreads(__tstate
);
25988 if (PyErr_Occurred()) SWIG_fail
;
25991 wxTreeItemId
* resultptr
;
25992 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25993 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26009 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26010 PyObject
*resultobj
;
26011 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26012 wxTreeItemId
*arg2
= 0 ;
26013 wxString
*arg3
= 0 ;
26014 int arg4
= (int) -1 ;
26015 int arg5
= (int) -1 ;
26016 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
26017 wxTreeItemId result
;
26018 bool temp3
= False
;
26019 PyObject
* obj0
= 0 ;
26020 PyObject
* obj1
= 0 ;
26021 PyObject
* obj2
= 0 ;
26022 PyObject
* obj3
= 0 ;
26023 PyObject
* obj4
= 0 ;
26024 PyObject
* obj5
= 0 ;
26025 char *kwnames
[] = {
26026 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26032 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26033 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26035 if (arg2
== NULL
) {
26036 PyErr_SetString(PyExc_TypeError
,"null reference");
26040 arg3
= wxString_in_helper(obj2
);
26041 if (arg3
== NULL
) SWIG_fail
;
26045 arg4
= (int) SWIG_AsInt(obj3
);
26046 if (PyErr_Occurred()) SWIG_fail
;
26049 arg5
= (int) SWIG_AsInt(obj4
);
26050 if (PyErr_Occurred()) SWIG_fail
;
26053 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
26054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26058 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
26060 wxPyEndAllowThreads(__tstate
);
26061 if (PyErr_Occurred()) SWIG_fail
;
26064 wxTreeItemId
* resultptr
;
26065 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26066 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26082 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26083 PyObject
*resultobj
;
26084 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26085 wxTreeItemId
*arg2
= 0 ;
26086 wxTreeItemId
*arg3
= 0 ;
26087 wxString
*arg4
= 0 ;
26088 int arg5
= (int) -1 ;
26089 int arg6
= (int) -1 ;
26090 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
26091 wxTreeItemId result
;
26092 bool temp4
= False
;
26093 PyObject
* obj0
= 0 ;
26094 PyObject
* obj1
= 0 ;
26095 PyObject
* obj2
= 0 ;
26096 PyObject
* obj3
= 0 ;
26097 PyObject
* obj4
= 0 ;
26098 PyObject
* obj5
= 0 ;
26099 PyObject
* obj6
= 0 ;
26100 char *kwnames
[] = {
26101 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26107 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26108 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26110 if (arg2
== NULL
) {
26111 PyErr_SetString(PyExc_TypeError
,"null reference");
26114 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
26115 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26117 if (arg3
== NULL
) {
26118 PyErr_SetString(PyExc_TypeError
,"null reference");
26122 arg4
= wxString_in_helper(obj3
);
26123 if (arg4
== NULL
) SWIG_fail
;
26127 arg5
= (int) SWIG_AsInt(obj4
);
26128 if (PyErr_Occurred()) SWIG_fail
;
26131 arg6
= (int) SWIG_AsInt(obj5
);
26132 if (PyErr_Occurred()) SWIG_fail
;
26135 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
26136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26140 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
26142 wxPyEndAllowThreads(__tstate
);
26143 if (PyErr_Occurred()) SWIG_fail
;
26146 wxTreeItemId
* resultptr
;
26147 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26148 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26164 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26165 PyObject
*resultobj
;
26166 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26167 wxTreeItemId
*arg2
= 0 ;
26169 wxString
*arg4
= 0 ;
26170 int arg5
= (int) -1 ;
26171 int arg6
= (int) -1 ;
26172 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
26173 wxTreeItemId result
;
26174 bool temp4
= False
;
26175 PyObject
* obj0
= 0 ;
26176 PyObject
* obj1
= 0 ;
26177 PyObject
* obj2
= 0 ;
26178 PyObject
* obj3
= 0 ;
26179 PyObject
* obj4
= 0 ;
26180 PyObject
* obj5
= 0 ;
26181 PyObject
* obj6
= 0 ;
26182 char *kwnames
[] = {
26183 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26189 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26190 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26192 if (arg2
== NULL
) {
26193 PyErr_SetString(PyExc_TypeError
,"null reference");
26196 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
26197 if (PyErr_Occurred()) SWIG_fail
;
26199 arg4
= wxString_in_helper(obj3
);
26200 if (arg4
== NULL
) SWIG_fail
;
26204 arg5
= (int) SWIG_AsInt(obj4
);
26205 if (PyErr_Occurred()) SWIG_fail
;
26208 arg6
= (int) SWIG_AsInt(obj5
);
26209 if (PyErr_Occurred()) SWIG_fail
;
26212 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
26213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26217 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
26219 wxPyEndAllowThreads(__tstate
);
26220 if (PyErr_Occurred()) SWIG_fail
;
26223 wxTreeItemId
* resultptr
;
26224 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26225 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26241 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26242 PyObject
*resultobj
;
26243 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26244 wxTreeItemId
*arg2
= 0 ;
26245 wxString
*arg3
= 0 ;
26246 int arg4
= (int) -1 ;
26247 int arg5
= (int) -1 ;
26248 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
26249 wxTreeItemId result
;
26250 bool temp3
= False
;
26251 PyObject
* obj0
= 0 ;
26252 PyObject
* obj1
= 0 ;
26253 PyObject
* obj2
= 0 ;
26254 PyObject
* obj3
= 0 ;
26255 PyObject
* obj4
= 0 ;
26256 PyObject
* obj5
= 0 ;
26257 char *kwnames
[] = {
26258 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26264 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26265 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26267 if (arg2
== NULL
) {
26268 PyErr_SetString(PyExc_TypeError
,"null reference");
26272 arg3
= wxString_in_helper(obj2
);
26273 if (arg3
== NULL
) SWIG_fail
;
26277 arg4
= (int) SWIG_AsInt(obj3
);
26278 if (PyErr_Occurred()) SWIG_fail
;
26281 arg5
= (int) SWIG_AsInt(obj4
);
26282 if (PyErr_Occurred()) SWIG_fail
;
26285 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
26286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26290 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
26292 wxPyEndAllowThreads(__tstate
);
26293 if (PyErr_Occurred()) SWIG_fail
;
26296 wxTreeItemId
* resultptr
;
26297 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26298 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26314 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26315 PyObject
*resultobj
;
26316 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26317 wxTreeItemId
*arg2
= 0 ;
26318 PyObject
* obj0
= 0 ;
26319 PyObject
* obj1
= 0 ;
26320 char *kwnames
[] = {
26321 (char *) "self",(char *) "item", NULL
26324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
26325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26327 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26328 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26330 if (arg2
== NULL
) {
26331 PyErr_SetString(PyExc_TypeError
,"null reference");
26335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26336 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
26338 wxPyEndAllowThreads(__tstate
);
26339 if (PyErr_Occurred()) SWIG_fail
;
26341 Py_INCREF(Py_None
); resultobj
= Py_None
;
26348 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26349 PyObject
*resultobj
;
26350 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26351 wxTreeItemId
*arg2
= 0 ;
26352 PyObject
* obj0
= 0 ;
26353 PyObject
* obj1
= 0 ;
26354 char *kwnames
[] = {
26355 (char *) "self",(char *) "item", NULL
26358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26361 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26362 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26364 if (arg2
== NULL
) {
26365 PyErr_SetString(PyExc_TypeError
,"null reference");
26369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26370 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
26372 wxPyEndAllowThreads(__tstate
);
26373 if (PyErr_Occurred()) SWIG_fail
;
26375 Py_INCREF(Py_None
); resultobj
= Py_None
;
26382 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26383 PyObject
*resultobj
;
26384 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26385 PyObject
* obj0
= 0 ;
26386 char *kwnames
[] = {
26387 (char *) "self", NULL
26390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
26391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26395 (arg1
)->DeleteAllItems();
26397 wxPyEndAllowThreads(__tstate
);
26398 if (PyErr_Occurred()) SWIG_fail
;
26400 Py_INCREF(Py_None
); resultobj
= Py_None
;
26407 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26408 PyObject
*resultobj
;
26409 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26410 wxTreeItemId
*arg2
= 0 ;
26411 PyObject
* obj0
= 0 ;
26412 PyObject
* obj1
= 0 ;
26413 char *kwnames
[] = {
26414 (char *) "self",(char *) "item", NULL
26417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
26418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26420 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26421 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26423 if (arg2
== NULL
) {
26424 PyErr_SetString(PyExc_TypeError
,"null reference");
26428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26429 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
26431 wxPyEndAllowThreads(__tstate
);
26432 if (PyErr_Occurred()) SWIG_fail
;
26434 Py_INCREF(Py_None
); resultobj
= Py_None
;
26441 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26442 PyObject
*resultobj
;
26443 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26444 wxTreeItemId
*arg2
= 0 ;
26445 PyObject
* obj0
= 0 ;
26446 PyObject
* obj1
= 0 ;
26447 char *kwnames
[] = {
26448 (char *) "self",(char *) "item", NULL
26451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
26452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26454 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26455 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26457 if (arg2
== NULL
) {
26458 PyErr_SetString(PyExc_TypeError
,"null reference");
26462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26463 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
26465 wxPyEndAllowThreads(__tstate
);
26466 if (PyErr_Occurred()) SWIG_fail
;
26468 Py_INCREF(Py_None
); resultobj
= Py_None
;
26475 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26476 PyObject
*resultobj
;
26477 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26478 wxTreeItemId
*arg2
= 0 ;
26479 PyObject
* obj0
= 0 ;
26480 PyObject
* obj1
= 0 ;
26481 char *kwnames
[] = {
26482 (char *) "self",(char *) "item", NULL
26485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
26486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26488 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26489 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26491 if (arg2
== NULL
) {
26492 PyErr_SetString(PyExc_TypeError
,"null reference");
26496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26497 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
26499 wxPyEndAllowThreads(__tstate
);
26500 if (PyErr_Occurred()) SWIG_fail
;
26502 Py_INCREF(Py_None
); resultobj
= Py_None
;
26509 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26510 PyObject
*resultobj
;
26511 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26512 wxTreeItemId
*arg2
= 0 ;
26513 PyObject
* obj0
= 0 ;
26514 PyObject
* obj1
= 0 ;
26515 char *kwnames
[] = {
26516 (char *) "self",(char *) "item", NULL
26519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
26520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26522 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26523 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26525 if (arg2
== NULL
) {
26526 PyErr_SetString(PyExc_TypeError
,"null reference");
26530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26531 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
26533 wxPyEndAllowThreads(__tstate
);
26534 if (PyErr_Occurred()) SWIG_fail
;
26536 Py_INCREF(Py_None
); resultobj
= Py_None
;
26543 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26544 PyObject
*resultobj
;
26545 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26546 PyObject
* obj0
= 0 ;
26547 char *kwnames
[] = {
26548 (char *) "self", NULL
26551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
26552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26556 (arg1
)->Unselect();
26558 wxPyEndAllowThreads(__tstate
);
26559 if (PyErr_Occurred()) SWIG_fail
;
26561 Py_INCREF(Py_None
); resultobj
= Py_None
;
26568 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26569 PyObject
*resultobj
;
26570 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26571 wxTreeItemId
*arg2
= 0 ;
26572 PyObject
* obj0
= 0 ;
26573 PyObject
* obj1
= 0 ;
26574 char *kwnames
[] = {
26575 (char *) "self",(char *) "item", NULL
26578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26581 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26582 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26584 if (arg2
== NULL
) {
26585 PyErr_SetString(PyExc_TypeError
,"null reference");
26589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26590 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
26592 wxPyEndAllowThreads(__tstate
);
26593 if (PyErr_Occurred()) SWIG_fail
;
26595 Py_INCREF(Py_None
); resultobj
= Py_None
;
26602 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26603 PyObject
*resultobj
;
26604 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26605 PyObject
* obj0
= 0 ;
26606 char *kwnames
[] = {
26607 (char *) "self", NULL
26610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
26611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26615 (arg1
)->UnselectAll();
26617 wxPyEndAllowThreads(__tstate
);
26618 if (PyErr_Occurred()) SWIG_fail
;
26620 Py_INCREF(Py_None
); resultobj
= Py_None
;
26627 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26628 PyObject
*resultobj
;
26629 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26630 wxTreeItemId
*arg2
= 0 ;
26631 bool arg3
= (bool) True
;
26632 PyObject
* obj0
= 0 ;
26633 PyObject
* obj1
= 0 ;
26634 PyObject
* obj2
= 0 ;
26635 char *kwnames
[] = {
26636 (char *) "self",(char *) "item",(char *) "select", NULL
26639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26642 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26643 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26645 if (arg2
== NULL
) {
26646 PyErr_SetString(PyExc_TypeError
,"null reference");
26650 arg3
= (bool) SWIG_AsBool(obj2
);
26651 if (PyErr_Occurred()) SWIG_fail
;
26654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26655 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
26657 wxPyEndAllowThreads(__tstate
);
26658 if (PyErr_Occurred()) SWIG_fail
;
26660 Py_INCREF(Py_None
); resultobj
= Py_None
;
26667 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26668 PyObject
*resultobj
;
26669 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26670 wxTreeItemId
*arg2
= 0 ;
26671 PyObject
* obj0
= 0 ;
26672 PyObject
* obj1
= 0 ;
26673 char *kwnames
[] = {
26674 (char *) "self",(char *) "item", NULL
26677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
26678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26680 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26681 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26683 if (arg2
== NULL
) {
26684 PyErr_SetString(PyExc_TypeError
,"null reference");
26688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26689 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
26691 wxPyEndAllowThreads(__tstate
);
26692 if (PyErr_Occurred()) SWIG_fail
;
26694 Py_INCREF(Py_None
); resultobj
= Py_None
;
26701 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26702 PyObject
*resultobj
;
26703 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26704 wxTreeItemId
*arg2
= 0 ;
26705 PyObject
* obj0
= 0 ;
26706 PyObject
* obj1
= 0 ;
26707 char *kwnames
[] = {
26708 (char *) "self",(char *) "item", NULL
26711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26714 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26715 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26717 if (arg2
== NULL
) {
26718 PyErr_SetString(PyExc_TypeError
,"null reference");
26722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26723 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
26725 wxPyEndAllowThreads(__tstate
);
26726 if (PyErr_Occurred()) SWIG_fail
;
26728 Py_INCREF(Py_None
); resultobj
= Py_None
;
26735 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26736 PyObject
*resultobj
;
26737 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26738 wxTreeItemId
*arg2
= 0 ;
26739 PyObject
* obj0
= 0 ;
26740 PyObject
* obj1
= 0 ;
26741 char *kwnames
[] = {
26742 (char *) "self",(char *) "item", NULL
26745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
26746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26748 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26749 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26751 if (arg2
== NULL
) {
26752 PyErr_SetString(PyExc_TypeError
,"null reference");
26756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26757 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
26759 wxPyEndAllowThreads(__tstate
);
26760 if (PyErr_Occurred()) SWIG_fail
;
26762 Py_INCREF(Py_None
); resultobj
= Py_None
;
26769 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26770 PyObject
*resultobj
;
26771 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26772 wxTreeItemId
*arg2
= 0 ;
26773 PyObject
* obj0
= 0 ;
26774 PyObject
* obj1
= 0 ;
26775 char *kwnames
[] = {
26776 (char *) "self",(char *) "item", NULL
26779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
26780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26782 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26783 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26785 if (arg2
== NULL
) {
26786 PyErr_SetString(PyExc_TypeError
,"null reference");
26790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26791 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
26793 wxPyEndAllowThreads(__tstate
);
26794 if (PyErr_Occurred()) SWIG_fail
;
26796 Py_INCREF(Py_None
); resultobj
= Py_None
;
26803 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26804 PyObject
*resultobj
;
26805 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26806 wxTextCtrl
*result
;
26807 PyObject
* obj0
= 0 ;
26808 char *kwnames
[] = {
26809 (char *) "self", NULL
26812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
26813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26817 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
26819 wxPyEndAllowThreads(__tstate
);
26820 if (PyErr_Occurred()) SWIG_fail
;
26823 resultobj
= wxPyMake_wxObject(result
);
26831 static PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26832 PyObject
*resultobj
;
26833 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26834 wxTreeItemId
*arg2
= 0 ;
26835 bool arg3
= (bool) False
;
26836 PyObject
* obj0
= 0 ;
26837 PyObject
* obj1
= 0 ;
26838 PyObject
* obj2
= 0 ;
26839 char *kwnames
[] = {
26840 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
26843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26846 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26847 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26849 if (arg2
== NULL
) {
26850 PyErr_SetString(PyExc_TypeError
,"null reference");
26854 arg3
= (bool) SWIG_AsBool(obj2
);
26855 if (PyErr_Occurred()) SWIG_fail
;
26858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26859 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
26861 wxPyEndAllowThreads(__tstate
);
26862 if (PyErr_Occurred()) SWIG_fail
;
26864 Py_INCREF(Py_None
); resultobj
= Py_None
;
26871 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26872 PyObject
*resultobj
;
26873 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26874 wxTreeItemId
*arg2
= 0 ;
26875 PyObject
* obj0
= 0 ;
26876 PyObject
* obj1
= 0 ;
26877 char *kwnames
[] = {
26878 (char *) "self",(char *) "item", NULL
26881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26884 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26885 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26887 if (arg2
== NULL
) {
26888 PyErr_SetString(PyExc_TypeError
,"null reference");
26892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26893 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
26895 wxPyEndAllowThreads(__tstate
);
26896 if (PyErr_Occurred()) SWIG_fail
;
26898 Py_INCREF(Py_None
); resultobj
= Py_None
;
26905 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26906 PyObject
*resultobj
;
26907 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26908 wxPoint
*arg2
= 0 ;
26910 wxTreeItemId result
;
26913 PyObject
* obj0
= 0 ;
26914 PyObject
* obj1
= 0 ;
26915 char *kwnames
[] = {
26916 (char *) "self",(char *) "point", NULL
26920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
26921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26925 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26929 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
26931 wxPyEndAllowThreads(__tstate
);
26932 if (PyErr_Occurred()) SWIG_fail
;
26935 wxTreeItemId
* resultptr
;
26936 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26937 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26940 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26941 resultobj
= t_output_helper(resultobj
,o
);
26949 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26950 PyObject
*resultobj
;
26951 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26952 wxTreeItemId
*arg2
= 0 ;
26953 bool arg3
= (bool) False
;
26955 PyObject
* obj0
= 0 ;
26956 PyObject
* obj1
= 0 ;
26957 PyObject
* obj2
= 0 ;
26958 char *kwnames
[] = {
26959 (char *) "self",(char *) "item",(char *) "textOnly", NULL
26962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26965 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26966 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26968 if (arg2
== NULL
) {
26969 PyErr_SetString(PyExc_TypeError
,"null reference");
26973 arg3
= (bool) SWIG_AsBool(obj2
);
26974 if (PyErr_Occurred()) SWIG_fail
;
26977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26978 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26980 wxPyEndAllowThreads(__tstate
);
26981 if (PyErr_Occurred()) SWIG_fail
;
26983 resultobj
= result
;
26990 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
26992 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26993 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
26995 return Py_BuildValue((char *)"");
26997 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*_val
) {
26998 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
27003 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
27008 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
27010 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
27017 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27018 PyObject
*resultobj
;
27019 wxWindow
*arg1
= (wxWindow
*) 0 ;
27020 int arg2
= (int) (int)-1 ;
27021 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
27022 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
27023 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27024 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27025 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27026 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27027 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
27028 wxString
const &arg7_defvalue
= wxPyEmptyString
;
27029 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27030 int arg8
= (int) 0 ;
27031 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
27032 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
27033 wxGenericDirCtrl
*result
;
27034 bool temp3
= False
;
27037 bool temp7
= False
;
27038 bool temp9
= False
;
27039 PyObject
* obj0
= 0 ;
27040 PyObject
* obj1
= 0 ;
27041 PyObject
* obj2
= 0 ;
27042 PyObject
* obj3
= 0 ;
27043 PyObject
* obj4
= 0 ;
27044 PyObject
* obj5
= 0 ;
27045 PyObject
* obj6
= 0 ;
27046 PyObject
* obj7
= 0 ;
27047 PyObject
* obj8
= 0 ;
27048 char *kwnames
[] = {
27049 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
27053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27056 arg2
= (int const) SWIG_AsInt(obj1
);
27057 if (PyErr_Occurred()) SWIG_fail
;
27061 arg3
= wxString_in_helper(obj2
);
27062 if (arg3
== NULL
) SWIG_fail
;
27069 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27075 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27079 arg6
= (long) SWIG_AsLong(obj5
);
27080 if (PyErr_Occurred()) SWIG_fail
;
27084 arg7
= wxString_in_helper(obj6
);
27085 if (arg7
== NULL
) SWIG_fail
;
27090 arg8
= (int) SWIG_AsInt(obj7
);
27091 if (PyErr_Occurred()) SWIG_fail
;
27095 arg9
= wxString_in_helper(obj8
);
27096 if (arg9
== NULL
) SWIG_fail
;
27101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27102 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
27104 wxPyEndAllowThreads(__tstate
);
27105 if (PyErr_Occurred()) SWIG_fail
;
27107 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
27138 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27139 PyObject
*resultobj
;
27140 wxGenericDirCtrl
*result
;
27141 char *kwnames
[] = {
27145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
27147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27148 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
27150 wxPyEndAllowThreads(__tstate
);
27151 if (PyErr_Occurred()) SWIG_fail
;
27153 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
27160 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27161 PyObject
*resultobj
;
27162 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27163 wxWindow
*arg2
= (wxWindow
*) 0 ;
27164 int arg3
= (int) (int)-1 ;
27165 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
27166 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27167 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
27168 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
27169 wxSize
const &arg6_defvalue
= wxDefaultSize
;
27170 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
27171 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
27172 wxString
const &arg8_defvalue
= wxPyEmptyString
;
27173 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
27174 int arg9
= (int) 0 ;
27175 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
27176 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
27178 bool temp4
= False
;
27181 bool temp8
= False
;
27182 bool temp10
= False
;
27183 PyObject
* obj0
= 0 ;
27184 PyObject
* obj1
= 0 ;
27185 PyObject
* obj2
= 0 ;
27186 PyObject
* obj3
= 0 ;
27187 PyObject
* obj4
= 0 ;
27188 PyObject
* obj5
= 0 ;
27189 PyObject
* obj6
= 0 ;
27190 PyObject
* obj7
= 0 ;
27191 PyObject
* obj8
= 0 ;
27192 PyObject
* obj9
= 0 ;
27193 char *kwnames
[] = {
27194 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
27198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27200 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
27201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27203 arg3
= (int const) SWIG_AsInt(obj2
);
27204 if (PyErr_Occurred()) SWIG_fail
;
27208 arg4
= wxString_in_helper(obj3
);
27209 if (arg4
== NULL
) SWIG_fail
;
27216 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
27222 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
27226 arg7
= (long) SWIG_AsLong(obj6
);
27227 if (PyErr_Occurred()) SWIG_fail
;
27231 arg8
= wxString_in_helper(obj7
);
27232 if (arg8
== NULL
) SWIG_fail
;
27237 arg9
= (int) SWIG_AsInt(obj8
);
27238 if (PyErr_Occurred()) SWIG_fail
;
27242 arg10
= wxString_in_helper(obj9
);
27243 if (arg10
== NULL
) SWIG_fail
;
27248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27249 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
27251 wxPyEndAllowThreads(__tstate
);
27252 if (PyErr_Occurred()) SWIG_fail
;
27255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27287 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27288 PyObject
*resultobj
;
27289 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27290 wxString
*arg2
= 0 ;
27292 bool temp2
= False
;
27293 PyObject
* obj0
= 0 ;
27294 PyObject
* obj1
= 0 ;
27295 char *kwnames
[] = {
27296 (char *) "self",(char *) "path", NULL
27299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
27300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27303 arg2
= wxString_in_helper(obj1
);
27304 if (arg2
== NULL
) SWIG_fail
;
27308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27309 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
27311 wxPyEndAllowThreads(__tstate
);
27312 if (PyErr_Occurred()) SWIG_fail
;
27315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27331 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27332 PyObject
*resultobj
;
27333 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27335 PyObject
* obj0
= 0 ;
27336 char *kwnames
[] = {
27337 (char *) "self", NULL
27340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
27341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27345 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
27347 wxPyEndAllowThreads(__tstate
);
27348 if (PyErr_Occurred()) SWIG_fail
;
27352 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27354 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27363 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27364 PyObject
*resultobj
;
27365 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27366 wxString
*arg2
= 0 ;
27367 bool temp2
= False
;
27368 PyObject
* obj0
= 0 ;
27369 PyObject
* obj1
= 0 ;
27370 char *kwnames
[] = {
27371 (char *) "self",(char *) "path", NULL
27374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
27375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27378 arg2
= wxString_in_helper(obj1
);
27379 if (arg2
== NULL
) SWIG_fail
;
27383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27384 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
27386 wxPyEndAllowThreads(__tstate
);
27387 if (PyErr_Occurred()) SWIG_fail
;
27389 Py_INCREF(Py_None
); resultobj
= Py_None
;
27404 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27405 PyObject
*resultobj
;
27406 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27408 PyObject
* obj0
= 0 ;
27409 char *kwnames
[] = {
27410 (char *) "self", NULL
27413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
27414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27418 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
27420 wxPyEndAllowThreads(__tstate
);
27421 if (PyErr_Occurred()) SWIG_fail
;
27425 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27427 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27436 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27437 PyObject
*resultobj
;
27438 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27440 PyObject
* obj0
= 0 ;
27441 char *kwnames
[] = {
27442 (char *) "self", NULL
27445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
27446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27450 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
27452 wxPyEndAllowThreads(__tstate
);
27453 if (PyErr_Occurred()) SWIG_fail
;
27457 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27459 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27468 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27469 PyObject
*resultobj
;
27470 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27471 wxString
*arg2
= 0 ;
27472 bool temp2
= False
;
27473 PyObject
* obj0
= 0 ;
27474 PyObject
* obj1
= 0 ;
27475 char *kwnames
[] = {
27476 (char *) "self",(char *) "path", NULL
27479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
27480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27483 arg2
= wxString_in_helper(obj1
);
27484 if (arg2
== NULL
) SWIG_fail
;
27488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27489 (arg1
)->SetPath((wxString
const &)*arg2
);
27491 wxPyEndAllowThreads(__tstate
);
27492 if (PyErr_Occurred()) SWIG_fail
;
27494 Py_INCREF(Py_None
); resultobj
= Py_None
;
27509 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27510 PyObject
*resultobj
;
27511 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27513 PyObject
* obj0
= 0 ;
27514 PyObject
* obj1
= 0 ;
27515 char *kwnames
[] = {
27516 (char *) "self",(char *) "show", NULL
27519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
27520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27522 arg2
= (bool) SWIG_AsBool(obj1
);
27523 if (PyErr_Occurred()) SWIG_fail
;
27525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27526 (arg1
)->ShowHidden(arg2
);
27528 wxPyEndAllowThreads(__tstate
);
27529 if (PyErr_Occurred()) SWIG_fail
;
27531 Py_INCREF(Py_None
); resultobj
= Py_None
;
27538 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27539 PyObject
*resultobj
;
27540 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27542 PyObject
* obj0
= 0 ;
27543 char *kwnames
[] = {
27544 (char *) "self", NULL
27547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
27548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27552 result
= (bool)(arg1
)->GetShowHidden();
27554 wxPyEndAllowThreads(__tstate
);
27555 if (PyErr_Occurred()) SWIG_fail
;
27558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27566 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27567 PyObject
*resultobj
;
27568 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27570 PyObject
* obj0
= 0 ;
27571 char *kwnames
[] = {
27572 (char *) "self", NULL
27575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
27576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27580 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
27582 wxPyEndAllowThreads(__tstate
);
27583 if (PyErr_Occurred()) SWIG_fail
;
27587 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27589 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27598 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27599 PyObject
*resultobj
;
27600 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27601 wxString
*arg2
= 0 ;
27602 bool temp2
= False
;
27603 PyObject
* obj0
= 0 ;
27604 PyObject
* obj1
= 0 ;
27605 char *kwnames
[] = {
27606 (char *) "self",(char *) "filter", NULL
27609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
27610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27613 arg2
= wxString_in_helper(obj1
);
27614 if (arg2
== NULL
) SWIG_fail
;
27618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27619 (arg1
)->SetFilter((wxString
const &)*arg2
);
27621 wxPyEndAllowThreads(__tstate
);
27622 if (PyErr_Occurred()) SWIG_fail
;
27624 Py_INCREF(Py_None
); resultobj
= Py_None
;
27639 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27640 PyObject
*resultobj
;
27641 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27643 PyObject
* obj0
= 0 ;
27644 char *kwnames
[] = {
27645 (char *) "self", NULL
27648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
27649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27653 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
27655 wxPyEndAllowThreads(__tstate
);
27656 if (PyErr_Occurred()) SWIG_fail
;
27658 resultobj
= SWIG_FromInt((int)result
);
27665 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27666 PyObject
*resultobj
;
27667 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27669 PyObject
* obj0
= 0 ;
27670 PyObject
* obj1
= 0 ;
27671 char *kwnames
[] = {
27672 (char *) "self",(char *) "n", NULL
27675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
27676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27678 arg2
= (int) SWIG_AsInt(obj1
);
27679 if (PyErr_Occurred()) SWIG_fail
;
27681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27682 (arg1
)->SetFilterIndex(arg2
);
27684 wxPyEndAllowThreads(__tstate
);
27685 if (PyErr_Occurred()) SWIG_fail
;
27687 Py_INCREF(Py_None
); resultobj
= Py_None
;
27694 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27695 PyObject
*resultobj
;
27696 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27697 wxTreeItemId result
;
27698 PyObject
* obj0
= 0 ;
27699 char *kwnames
[] = {
27700 (char *) "self", NULL
27703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
27704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27708 result
= (arg1
)->GetRootId();
27710 wxPyEndAllowThreads(__tstate
);
27711 if (PyErr_Occurred()) SWIG_fail
;
27714 wxTreeItemId
* resultptr
;
27715 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27716 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27724 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27725 PyObject
*resultobj
;
27726 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27727 wxPyTreeCtrl
*result
;
27728 PyObject
* obj0
= 0 ;
27729 char *kwnames
[] = {
27730 (char *) "self", NULL
27733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
27734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27738 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
27740 wxPyEndAllowThreads(__tstate
);
27741 if (PyErr_Occurred()) SWIG_fail
;
27744 resultobj
= wxPyMake_wxObject(result
);
27752 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27753 PyObject
*resultobj
;
27754 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27755 wxDirFilterListCtrl
*result
;
27756 PyObject
* obj0
= 0 ;
27757 char *kwnames
[] = {
27758 (char *) "self", NULL
27761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
27762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27766 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
27768 wxPyEndAllowThreads(__tstate
);
27769 if (PyErr_Occurred()) SWIG_fail
;
27771 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
27778 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27779 PyObject
*resultobj
;
27780 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27781 wxTreeItemId arg2
;
27782 wxString
*arg3
= 0 ;
27784 wxTreeItemId result
;
27785 wxTreeItemId
*argp2
;
27786 bool temp3
= False
;
27788 PyObject
* obj0
= 0 ;
27789 PyObject
* obj1
= 0 ;
27790 PyObject
* obj2
= 0 ;
27791 char *kwnames
[] = {
27792 (char *) "self",(char *) "parentId",(char *) "path", NULL
27796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27799 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
27800 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
27803 arg3
= wxString_in_helper(obj2
);
27804 if (arg3
== NULL
) SWIG_fail
;
27808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27809 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
27811 wxPyEndAllowThreads(__tstate
);
27812 if (PyErr_Occurred()) SWIG_fail
;
27815 wxTreeItemId
* resultptr
;
27816 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27817 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27820 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
27821 resultobj
= t_output_helper(resultobj
,o
);
27837 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27838 PyObject
*resultobj
;
27839 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27840 PyObject
* obj0
= 0 ;
27841 char *kwnames
[] = {
27842 (char *) "self", NULL
27845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
27846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27850 (arg1
)->DoResize();
27852 wxPyEndAllowThreads(__tstate
);
27853 if (PyErr_Occurred()) SWIG_fail
;
27855 Py_INCREF(Py_None
); resultobj
= Py_None
;
27862 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27863 PyObject
*resultobj
;
27864 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27865 PyObject
* obj0
= 0 ;
27866 char *kwnames
[] = {
27867 (char *) "self", NULL
27870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
27871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27875 (arg1
)->ReCreateTree();
27877 wxPyEndAllowThreads(__tstate
);
27878 if (PyErr_Occurred()) SWIG_fail
;
27880 Py_INCREF(Py_None
); resultobj
= Py_None
;
27887 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27889 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27890 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
27892 return Py_BuildValue((char *)"");
27894 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27895 PyObject
*resultobj
;
27896 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27897 int arg2
= (int) (int)-1 ;
27898 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27899 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27900 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27901 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27902 long arg5
= (long) 0 ;
27903 wxDirFilterListCtrl
*result
;
27906 PyObject
* obj0
= 0 ;
27907 PyObject
* obj1
= 0 ;
27908 PyObject
* obj2
= 0 ;
27909 PyObject
* obj3
= 0 ;
27910 PyObject
* obj4
= 0 ;
27911 char *kwnames
[] = {
27912 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27919 arg2
= (int const) SWIG_AsInt(obj1
);
27920 if (PyErr_Occurred()) SWIG_fail
;
27925 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27931 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27935 arg5
= (long) SWIG_AsLong(obj4
);
27936 if (PyErr_Occurred()) SWIG_fail
;
27939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27940 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
27942 wxPyEndAllowThreads(__tstate
);
27943 if (PyErr_Occurred()) SWIG_fail
;
27945 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
27952 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27953 PyObject
*resultobj
;
27954 wxDirFilterListCtrl
*result
;
27955 char *kwnames
[] = {
27959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
27961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27962 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
27964 wxPyEndAllowThreads(__tstate
);
27965 if (PyErr_Occurred()) SWIG_fail
;
27967 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
27974 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27975 PyObject
*resultobj
;
27976 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
27977 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
27978 int arg3
= (int) (int)-1 ;
27979 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27980 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27981 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27982 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27983 long arg6
= (long) 0 ;
27987 PyObject
* obj0
= 0 ;
27988 PyObject
* obj1
= 0 ;
27989 PyObject
* obj2
= 0 ;
27990 PyObject
* obj3
= 0 ;
27991 PyObject
* obj4
= 0 ;
27992 PyObject
* obj5
= 0 ;
27993 char *kwnames
[] = {
27994 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
27999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28000 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
28001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28003 arg3
= (int const) SWIG_AsInt(obj2
);
28004 if (PyErr_Occurred()) SWIG_fail
;
28009 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28015 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28019 arg6
= (long) SWIG_AsLong(obj5
);
28020 if (PyErr_Occurred()) SWIG_fail
;
28023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28024 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
28026 wxPyEndAllowThreads(__tstate
);
28027 if (PyErr_Occurred()) SWIG_fail
;
28030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28038 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28039 PyObject
*resultobj
;
28040 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
28041 wxString
*arg2
= 0 ;
28043 bool temp2
= False
;
28044 PyObject
* obj0
= 0 ;
28045 PyObject
* obj1
= 0 ;
28046 PyObject
* obj2
= 0 ;
28047 char *kwnames
[] = {
28048 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
28051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
28053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28055 arg2
= wxString_in_helper(obj1
);
28056 if (arg2
== NULL
) SWIG_fail
;
28059 arg3
= (int) SWIG_AsInt(obj2
);
28060 if (PyErr_Occurred()) SWIG_fail
;
28062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28063 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
28065 wxPyEndAllowThreads(__tstate
);
28066 if (PyErr_Occurred()) SWIG_fail
;
28068 Py_INCREF(Py_None
); resultobj
= Py_None
;
28083 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
28085 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28086 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
28088 return Py_BuildValue((char *)"");
28090 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28091 PyObject
*resultobj
;
28092 wxWindow
*arg1
= (wxWindow
*) 0 ;
28094 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28095 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28096 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28097 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28098 long arg5
= (long) 0 ;
28099 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28100 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28101 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
28102 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28103 wxPyControl
*result
;
28106 bool temp7
= False
;
28107 PyObject
* obj0
= 0 ;
28108 PyObject
* obj1
= 0 ;
28109 PyObject
* obj2
= 0 ;
28110 PyObject
* obj3
= 0 ;
28111 PyObject
* obj4
= 0 ;
28112 PyObject
* obj5
= 0 ;
28113 PyObject
* obj6
= 0 ;
28114 char *kwnames
[] = {
28115 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
28119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28121 arg2
= (int const) SWIG_AsInt(obj1
);
28122 if (PyErr_Occurred()) SWIG_fail
;
28126 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28132 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28136 arg5
= (long) SWIG_AsLong(obj4
);
28137 if (PyErr_Occurred()) SWIG_fail
;
28140 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
28141 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28143 if (arg6
== NULL
) {
28144 PyErr_SetString(PyExc_TypeError
,"null reference");
28150 arg7
= wxString_in_helper(obj6
);
28151 if (arg7
== NULL
) SWIG_fail
;
28156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28157 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28159 wxPyEndAllowThreads(__tstate
);
28160 if (PyErr_Occurred()) SWIG_fail
;
28162 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
28177 static PyObject
*_wrap_new_PrePyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28178 PyObject
*resultobj
;
28179 wxPyControl
*result
;
28180 char *kwnames
[] = {
28184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
28186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28187 result
= (wxPyControl
*)new wxPyControl();
28189 wxPyEndAllowThreads(__tstate
);
28190 if (PyErr_Occurred()) SWIG_fail
;
28192 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
28199 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28200 PyObject
*resultobj
;
28201 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28202 PyObject
*arg2
= (PyObject
*) 0 ;
28203 PyObject
*arg3
= (PyObject
*) 0 ;
28204 PyObject
* obj0
= 0 ;
28205 PyObject
* obj1
= 0 ;
28206 PyObject
* obj2
= 0 ;
28207 char *kwnames
[] = {
28208 (char *) "self",(char *) "self",(char *) "_class", NULL
28211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28218 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28220 wxPyEndAllowThreads(__tstate
);
28221 if (PyErr_Occurred()) SWIG_fail
;
28223 Py_INCREF(Py_None
); resultobj
= Py_None
;
28230 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28231 PyObject
*resultobj
;
28232 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28237 PyObject
* obj0
= 0 ;
28238 PyObject
* obj1
= 0 ;
28239 PyObject
* obj2
= 0 ;
28240 PyObject
* obj3
= 0 ;
28241 PyObject
* obj4
= 0 ;
28242 char *kwnames
[] = {
28243 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
28246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28249 arg2
= (int) SWIG_AsInt(obj1
);
28250 if (PyErr_Occurred()) SWIG_fail
;
28251 arg3
= (int) SWIG_AsInt(obj2
);
28252 if (PyErr_Occurred()) SWIG_fail
;
28253 arg4
= (int) SWIG_AsInt(obj3
);
28254 if (PyErr_Occurred()) SWIG_fail
;
28255 arg5
= (int) SWIG_AsInt(obj4
);
28256 if (PyErr_Occurred()) SWIG_fail
;
28258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28259 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
28261 wxPyEndAllowThreads(__tstate
);
28262 if (PyErr_Occurred()) SWIG_fail
;
28264 Py_INCREF(Py_None
); resultobj
= Py_None
;
28271 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28272 PyObject
*resultobj
;
28273 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28278 int arg6
= (int) wxSIZE_AUTO
;
28279 PyObject
* obj0
= 0 ;
28280 PyObject
* obj1
= 0 ;
28281 PyObject
* obj2
= 0 ;
28282 PyObject
* obj3
= 0 ;
28283 PyObject
* obj4
= 0 ;
28284 PyObject
* obj5
= 0 ;
28285 char *kwnames
[] = {
28286 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
28289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28292 arg2
= (int) SWIG_AsInt(obj1
);
28293 if (PyErr_Occurred()) SWIG_fail
;
28294 arg3
= (int) SWIG_AsInt(obj2
);
28295 if (PyErr_Occurred()) SWIG_fail
;
28296 arg4
= (int) SWIG_AsInt(obj3
);
28297 if (PyErr_Occurred()) SWIG_fail
;
28298 arg5
= (int) SWIG_AsInt(obj4
);
28299 if (PyErr_Occurred()) SWIG_fail
;
28301 arg6
= (int) SWIG_AsInt(obj5
);
28302 if (PyErr_Occurred()) SWIG_fail
;
28305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28306 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
28308 wxPyEndAllowThreads(__tstate
);
28309 if (PyErr_Occurred()) SWIG_fail
;
28311 Py_INCREF(Py_None
); resultobj
= Py_None
;
28318 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28319 PyObject
*resultobj
;
28320 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28323 PyObject
* obj0
= 0 ;
28324 PyObject
* obj1
= 0 ;
28325 PyObject
* obj2
= 0 ;
28326 char *kwnames
[] = {
28327 (char *) "self",(char *) "width",(char *) "height", NULL
28330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28333 arg2
= (int) SWIG_AsInt(obj1
);
28334 if (PyErr_Occurred()) SWIG_fail
;
28335 arg3
= (int) SWIG_AsInt(obj2
);
28336 if (PyErr_Occurred()) SWIG_fail
;
28338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28339 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
28341 wxPyEndAllowThreads(__tstate
);
28342 if (PyErr_Occurred()) SWIG_fail
;
28344 Py_INCREF(Py_None
); resultobj
= Py_None
;
28351 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28352 PyObject
*resultobj
;
28353 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28356 PyObject
* obj0
= 0 ;
28357 PyObject
* obj1
= 0 ;
28358 PyObject
* obj2
= 0 ;
28359 char *kwnames
[] = {
28360 (char *) "self",(char *) "x",(char *) "y", NULL
28363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28366 arg2
= (int) SWIG_AsInt(obj1
);
28367 if (PyErr_Occurred()) SWIG_fail
;
28368 arg3
= (int) SWIG_AsInt(obj2
);
28369 if (PyErr_Occurred()) SWIG_fail
;
28371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28372 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
28374 wxPyEndAllowThreads(__tstate
);
28375 if (PyErr_Occurred()) SWIG_fail
;
28377 Py_INCREF(Py_None
); resultobj
= Py_None
;
28384 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28385 PyObject
*resultobj
;
28386 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28387 int *arg2
= (int *) 0 ;
28388 int *arg3
= (int *) 0 ;
28391 PyObject
* obj0
= 0 ;
28392 char *kwnames
[] = {
28393 (char *) "self", NULL
28398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
28399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28403 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
28405 wxPyEndAllowThreads(__tstate
);
28406 if (PyErr_Occurred()) SWIG_fail
;
28408 Py_INCREF(Py_None
); resultobj
= Py_None
;
28410 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
28411 resultobj
= t_output_helper(resultobj
,o
);
28414 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
28415 resultobj
= t_output_helper(resultobj
,o
);
28423 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28424 PyObject
*resultobj
;
28425 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28426 int *arg2
= (int *) 0 ;
28427 int *arg3
= (int *) 0 ;
28430 PyObject
* obj0
= 0 ;
28431 char *kwnames
[] = {
28432 (char *) "self", NULL
28437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
28438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28442 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
28444 wxPyEndAllowThreads(__tstate
);
28445 if (PyErr_Occurred()) SWIG_fail
;
28447 Py_INCREF(Py_None
); resultobj
= Py_None
;
28449 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
28450 resultobj
= t_output_helper(resultobj
,o
);
28453 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
28454 resultobj
= t_output_helper(resultobj
,o
);
28462 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28463 PyObject
*resultobj
;
28464 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28465 int *arg2
= (int *) 0 ;
28466 int *arg3
= (int *) 0 ;
28469 PyObject
* obj0
= 0 ;
28470 char *kwnames
[] = {
28471 (char *) "self", NULL
28476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
28477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28481 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
28483 wxPyEndAllowThreads(__tstate
);
28484 if (PyErr_Occurred()) SWIG_fail
;
28486 Py_INCREF(Py_None
); resultobj
= Py_None
;
28488 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
28489 resultobj
= t_output_helper(resultobj
,o
);
28492 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
28493 resultobj
= t_output_helper(resultobj
,o
);
28501 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28502 PyObject
*resultobj
;
28503 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28505 PyObject
* obj0
= 0 ;
28506 char *kwnames
[] = {
28507 (char *) "self", NULL
28510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
28511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28515 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
28517 wxPyEndAllowThreads(__tstate
);
28518 if (PyErr_Occurred()) SWIG_fail
;
28521 wxSize
* resultptr
;
28522 resultptr
= new wxSize((wxSize
&) result
);
28523 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28531 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28532 PyObject
*resultobj
;
28533 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28535 PyObject
* obj0
= 0 ;
28536 char *kwnames
[] = {
28537 (char *) "self", NULL
28540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
28541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28545 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
28547 wxPyEndAllowThreads(__tstate
);
28548 if (PyErr_Occurred()) SWIG_fail
;
28551 wxSize
* resultptr
;
28552 resultptr
= new wxSize((wxSize
&) result
);
28553 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28561 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28562 PyObject
*resultobj
;
28563 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28564 PyObject
* obj0
= 0 ;
28565 char *kwnames
[] = {
28566 (char *) "self", NULL
28569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
28570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28574 (arg1
)->base_InitDialog();
28576 wxPyEndAllowThreads(__tstate
);
28577 if (PyErr_Occurred()) SWIG_fail
;
28579 Py_INCREF(Py_None
); resultobj
= Py_None
;
28586 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28587 PyObject
*resultobj
;
28588 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28590 PyObject
* obj0
= 0 ;
28591 char *kwnames
[] = {
28592 (char *) "self", NULL
28595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
28596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28600 result
= (bool)(arg1
)->base_TransferDataToWindow();
28602 wxPyEndAllowThreads(__tstate
);
28603 if (PyErr_Occurred()) SWIG_fail
;
28606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28614 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28615 PyObject
*resultobj
;
28616 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28618 PyObject
* obj0
= 0 ;
28619 char *kwnames
[] = {
28620 (char *) "self", NULL
28623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
28624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28628 result
= (bool)(arg1
)->base_TransferDataFromWindow();
28630 wxPyEndAllowThreads(__tstate
);
28631 if (PyErr_Occurred()) SWIG_fail
;
28634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28642 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28643 PyObject
*resultobj
;
28644 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28646 PyObject
* obj0
= 0 ;
28647 char *kwnames
[] = {
28648 (char *) "self", NULL
28651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
28652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28656 result
= (bool)(arg1
)->base_Validate();
28658 wxPyEndAllowThreads(__tstate
);
28659 if (PyErr_Occurred()) SWIG_fail
;
28662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28670 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28671 PyObject
*resultobj
;
28672 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28674 PyObject
* obj0
= 0 ;
28675 char *kwnames
[] = {
28676 (char *) "self", NULL
28679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
28680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28684 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
28686 wxPyEndAllowThreads(__tstate
);
28687 if (PyErr_Occurred()) SWIG_fail
;
28690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28698 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28699 PyObject
*resultobj
;
28700 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28702 PyObject
* obj0
= 0 ;
28703 char *kwnames
[] = {
28704 (char *) "self", NULL
28707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
28708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28712 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
28714 wxPyEndAllowThreads(__tstate
);
28715 if (PyErr_Occurred()) SWIG_fail
;
28718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28726 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28727 PyObject
*resultobj
;
28728 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28730 PyObject
* obj0
= 0 ;
28731 char *kwnames
[] = {
28732 (char *) "self", NULL
28735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
28736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28740 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
28742 wxPyEndAllowThreads(__tstate
);
28743 if (PyErr_Occurred()) SWIG_fail
;
28746 wxSize
* resultptr
;
28747 resultptr
= new wxSize((wxSize
&) result
);
28748 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28756 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28757 PyObject
*resultobj
;
28758 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28759 wxWindow
*arg2
= (wxWindow
*) 0 ;
28760 PyObject
* obj0
= 0 ;
28761 PyObject
* obj1
= 0 ;
28762 char *kwnames
[] = {
28763 (char *) "self",(char *) "child", NULL
28766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28769 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28773 (arg1
)->base_AddChild(arg2
);
28775 wxPyEndAllowThreads(__tstate
);
28776 if (PyErr_Occurred()) SWIG_fail
;
28778 Py_INCREF(Py_None
); resultobj
= Py_None
;
28785 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28786 PyObject
*resultobj
;
28787 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28788 wxWindow
*arg2
= (wxWindow
*) 0 ;
28789 PyObject
* obj0
= 0 ;
28790 PyObject
* obj1
= 0 ;
28791 char *kwnames
[] = {
28792 (char *) "self",(char *) "child", NULL
28795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28798 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28802 (arg1
)->base_RemoveChild(arg2
);
28804 wxPyEndAllowThreads(__tstate
);
28805 if (PyErr_Occurred()) SWIG_fail
;
28807 Py_INCREF(Py_None
); resultobj
= Py_None
;
28814 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28815 PyObject
*resultobj
;
28816 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28818 PyObject
* obj0
= 0 ;
28819 char *kwnames
[] = {
28820 (char *) "self", NULL
28823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
28824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28828 result
= (bool)(arg1
)->base_ShouldInheritColours();
28830 wxPyEndAllowThreads(__tstate
);
28831 if (PyErr_Occurred()) SWIG_fail
;
28834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28842 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28843 PyObject
*resultobj
;
28844 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28845 wxColour
*arg2
= 0 ;
28847 PyObject
* obj0
= 0 ;
28848 PyObject
* obj1
= 0 ;
28849 char *kwnames
[] = {
28850 (char *) "self",(char *) "c", NULL
28853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
28854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28858 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28862 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
28864 wxPyEndAllowThreads(__tstate
);
28865 if (PyErr_Occurred()) SWIG_fail
;
28867 Py_INCREF(Py_None
); resultobj
= Py_None
;
28874 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
28876 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28877 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
28879 return Py_BuildValue((char *)"");
28881 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28882 PyObject
*resultobj
;
28883 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28884 int arg2
= (int) 0 ;
28885 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28886 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28887 wxHelpEvent
*result
;
28889 PyObject
* obj0
= 0 ;
28890 PyObject
* obj1
= 0 ;
28891 PyObject
* obj2
= 0 ;
28892 char *kwnames
[] = {
28893 (char *) "type",(char *) "winid",(char *) "pt", NULL
28896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28898 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
28899 if (PyErr_Occurred()) SWIG_fail
;
28902 arg2
= (int) SWIG_AsInt(obj1
);
28903 if (PyErr_Occurred()) SWIG_fail
;
28908 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28913 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
28915 wxPyEndAllowThreads(__tstate
);
28916 if (PyErr_Occurred()) SWIG_fail
;
28918 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
28925 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28926 PyObject
*resultobj
;
28927 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28929 PyObject
* obj0
= 0 ;
28930 char *kwnames
[] = {
28931 (char *) "self", NULL
28934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
28935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28939 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
28941 wxPyEndAllowThreads(__tstate
);
28942 if (PyErr_Occurred()) SWIG_fail
;
28945 wxPoint
* resultptr
;
28946 resultptr
= new wxPoint((wxPoint
&) result
);
28947 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28955 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28956 PyObject
*resultobj
;
28957 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28958 wxPoint
*arg2
= 0 ;
28960 PyObject
* obj0
= 0 ;
28961 PyObject
* obj1
= 0 ;
28962 char *kwnames
[] = {
28963 (char *) "self",(char *) "pos", NULL
28966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
28967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28971 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28975 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
28977 wxPyEndAllowThreads(__tstate
);
28978 if (PyErr_Occurred()) SWIG_fail
;
28980 Py_INCREF(Py_None
); resultobj
= Py_None
;
28987 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28988 PyObject
*resultobj
;
28989 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28991 PyObject
* obj0
= 0 ;
28992 char *kwnames
[] = {
28993 (char *) "self", NULL
28996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
28997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29002 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
29003 result
= (wxString
*) &_result_ref
;
29006 wxPyEndAllowThreads(__tstate
);
29007 if (PyErr_Occurred()) SWIG_fail
;
29011 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29013 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29022 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29023 PyObject
*resultobj
;
29024 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29025 wxString
*arg2
= 0 ;
29026 bool temp2
= False
;
29027 PyObject
* obj0
= 0 ;
29028 PyObject
* obj1
= 0 ;
29029 char *kwnames
[] = {
29030 (char *) "self",(char *) "link", NULL
29033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
29034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29037 arg2
= wxString_in_helper(obj1
);
29038 if (arg2
== NULL
) SWIG_fail
;
29042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29043 (arg1
)->SetLink((wxString
const &)*arg2
);
29045 wxPyEndAllowThreads(__tstate
);
29046 if (PyErr_Occurred()) SWIG_fail
;
29048 Py_INCREF(Py_None
); resultobj
= Py_None
;
29063 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29064 PyObject
*resultobj
;
29065 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29067 PyObject
* obj0
= 0 ;
29068 char *kwnames
[] = {
29069 (char *) "self", NULL
29072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
29073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29078 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
29079 result
= (wxString
*) &_result_ref
;
29082 wxPyEndAllowThreads(__tstate
);
29083 if (PyErr_Occurred()) SWIG_fail
;
29087 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29089 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29098 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29099 PyObject
*resultobj
;
29100 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29101 wxString
*arg2
= 0 ;
29102 bool temp2
= False
;
29103 PyObject
* obj0
= 0 ;
29104 PyObject
* obj1
= 0 ;
29105 char *kwnames
[] = {
29106 (char *) "self",(char *) "target", NULL
29109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
29110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29113 arg2
= wxString_in_helper(obj1
);
29114 if (arg2
== NULL
) SWIG_fail
;
29118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29119 (arg1
)->SetTarget((wxString
const &)*arg2
);
29121 wxPyEndAllowThreads(__tstate
);
29122 if (PyErr_Occurred()) SWIG_fail
;
29124 Py_INCREF(Py_None
); resultobj
= Py_None
;
29139 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
29141 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29142 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
29144 return Py_BuildValue((char *)"");
29146 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29147 PyObject
*resultobj
;
29148 wxWindow
*arg1
= (wxWindow
*) NULL
;
29149 bool arg2
= (bool) True
;
29150 wxContextHelp
*result
;
29151 PyObject
* obj0
= 0 ;
29152 PyObject
* obj1
= 0 ;
29153 char *kwnames
[] = {
29154 (char *) "window",(char *) "doNow", NULL
29157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29163 arg2
= (bool) SWIG_AsBool(obj1
);
29164 if (PyErr_Occurred()) SWIG_fail
;
29167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29168 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
29170 wxPyEndAllowThreads(__tstate
);
29171 if (PyErr_Occurred()) SWIG_fail
;
29173 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
29180 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29181 PyObject
*resultobj
;
29182 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
29183 PyObject
* obj0
= 0 ;
29184 char *kwnames
[] = {
29185 (char *) "self", NULL
29188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
29189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
29190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29195 wxPyEndAllowThreads(__tstate
);
29196 if (PyErr_Occurred()) SWIG_fail
;
29198 Py_INCREF(Py_None
); resultobj
= Py_None
;
29205 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29206 PyObject
*resultobj
;
29207 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
29208 wxWindow
*arg2
= (wxWindow
*) NULL
;
29210 PyObject
* obj0
= 0 ;
29211 PyObject
* obj1
= 0 ;
29212 char *kwnames
[] = {
29213 (char *) "self",(char *) "window", NULL
29216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
29218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29220 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29225 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
29227 wxPyEndAllowThreads(__tstate
);
29228 if (PyErr_Occurred()) SWIG_fail
;
29231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29239 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29240 PyObject
*resultobj
;
29241 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
29243 PyObject
* obj0
= 0 ;
29244 char *kwnames
[] = {
29245 (char *) "self", NULL
29248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
29249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
29250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29253 result
= (bool)(arg1
)->EndContextHelp();
29255 wxPyEndAllowThreads(__tstate
);
29256 if (PyErr_Occurred()) SWIG_fail
;
29259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29267 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
29269 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29270 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
29272 return Py_BuildValue((char *)"");
29274 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29275 PyObject
*resultobj
;
29276 wxWindow
*arg1
= (wxWindow
*) 0 ;
29277 int arg2
= (int) wxID_CONTEXT_HELP
;
29278 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29279 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29280 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29281 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29282 long arg5
= (long) wxBU_AUTODRAW
;
29283 wxContextHelpButton
*result
;
29286 PyObject
* obj0
= 0 ;
29287 PyObject
* obj1
= 0 ;
29288 PyObject
* obj2
= 0 ;
29289 PyObject
* obj3
= 0 ;
29290 PyObject
* obj4
= 0 ;
29291 char *kwnames
[] = {
29292 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29299 arg2
= (int) SWIG_AsInt(obj1
);
29300 if (PyErr_Occurred()) SWIG_fail
;
29305 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29311 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29315 arg5
= (long) SWIG_AsLong(obj4
);
29316 if (PyErr_Occurred()) SWIG_fail
;
29319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29320 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
29322 wxPyEndAllowThreads(__tstate
);
29323 if (PyErr_Occurred()) SWIG_fail
;
29325 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
29332 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
29334 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29335 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
29337 return Py_BuildValue((char *)"");
29339 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29340 PyObject
*resultobj
;
29341 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29342 wxHelpProvider
*result
;
29343 PyObject
* obj0
= 0 ;
29344 char *kwnames
[] = {
29345 (char *) "helpProvider", NULL
29348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
29349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29353 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
29355 wxPyEndAllowThreads(__tstate
);
29356 if (PyErr_Occurred()) SWIG_fail
;
29358 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
29365 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29366 PyObject
*resultobj
;
29367 wxHelpProvider
*result
;
29368 char *kwnames
[] = {
29372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
29374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29375 result
= (wxHelpProvider
*)wxHelpProvider::Get();
29377 wxPyEndAllowThreads(__tstate
);
29378 if (PyErr_Occurred()) SWIG_fail
;
29380 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
29387 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29388 PyObject
*resultobj
;
29389 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29390 wxWindow
*arg2
= (wxWindow
*) 0 ;
29392 PyObject
* obj0
= 0 ;
29393 PyObject
* obj1
= 0 ;
29394 char *kwnames
[] = {
29395 (char *) "self",(char *) "window", NULL
29398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29401 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29405 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
29407 wxPyEndAllowThreads(__tstate
);
29408 if (PyErr_Occurred()) SWIG_fail
;
29412 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29414 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29423 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29424 PyObject
*resultobj
;
29425 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29426 wxWindow
*arg2
= (wxWindow
*) 0 ;
29428 PyObject
* obj0
= 0 ;
29429 PyObject
* obj1
= 0 ;
29430 char *kwnames
[] = {
29431 (char *) "self",(char *) "window", NULL
29434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29437 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29441 result
= (bool)(arg1
)->ShowHelp(arg2
);
29443 wxPyEndAllowThreads(__tstate
);
29444 if (PyErr_Occurred()) SWIG_fail
;
29447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29455 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29456 PyObject
*resultobj
;
29457 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29458 wxWindow
*arg2
= (wxWindow
*) 0 ;
29459 wxString
*arg3
= 0 ;
29460 bool temp3
= False
;
29461 PyObject
* obj0
= 0 ;
29462 PyObject
* obj1
= 0 ;
29463 PyObject
* obj2
= 0 ;
29464 char *kwnames
[] = {
29465 (char *) "self",(char *) "window",(char *) "text", NULL
29468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29471 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29474 arg3
= wxString_in_helper(obj2
);
29475 if (arg3
== NULL
) SWIG_fail
;
29479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29480 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
29482 wxPyEndAllowThreads(__tstate
);
29483 if (PyErr_Occurred()) SWIG_fail
;
29485 Py_INCREF(Py_None
); resultobj
= Py_None
;
29500 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29501 PyObject
*resultobj
;
29502 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29504 wxString
*arg3
= 0 ;
29505 bool temp3
= False
;
29506 PyObject
* obj0
= 0 ;
29507 PyObject
* obj1
= 0 ;
29508 PyObject
* obj2
= 0 ;
29509 char *kwnames
[] = {
29510 (char *) "self",(char *) "id",(char *) "text", NULL
29513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29516 arg2
= (int) SWIG_AsInt(obj1
);
29517 if (PyErr_Occurred()) SWIG_fail
;
29519 arg3
= wxString_in_helper(obj2
);
29520 if (arg3
== NULL
) SWIG_fail
;
29524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29525 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
29527 wxPyEndAllowThreads(__tstate
);
29528 if (PyErr_Occurred()) SWIG_fail
;
29530 Py_INCREF(Py_None
); resultobj
= Py_None
;
29545 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29546 PyObject
*resultobj
;
29547 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29548 wxWindow
*arg2
= (wxWindow
*) 0 ;
29549 PyObject
* obj0
= 0 ;
29550 PyObject
* obj1
= 0 ;
29551 char *kwnames
[] = {
29552 (char *) "self",(char *) "window", NULL
29555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29558 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29562 (arg1
)->RemoveHelp(arg2
);
29564 wxPyEndAllowThreads(__tstate
);
29565 if (PyErr_Occurred()) SWIG_fail
;
29567 Py_INCREF(Py_None
); resultobj
= Py_None
;
29574 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29575 PyObject
*resultobj
;
29576 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29577 PyObject
* obj0
= 0 ;
29578 char *kwnames
[] = {
29579 (char *) "self", NULL
29582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
29583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29587 wxHelpProvider_Destroy(arg1
);
29589 wxPyEndAllowThreads(__tstate
);
29590 if (PyErr_Occurred()) SWIG_fail
;
29592 Py_INCREF(Py_None
); resultobj
= Py_None
;
29599 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
29601 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29602 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
29604 return Py_BuildValue((char *)"");
29606 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29607 PyObject
*resultobj
;
29608 wxSimpleHelpProvider
*result
;
29609 char *kwnames
[] = {
29613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
29615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29616 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
29618 wxPyEndAllowThreads(__tstate
);
29619 if (PyErr_Occurred()) SWIG_fail
;
29621 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
29628 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
29630 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29631 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
29633 return Py_BuildValue((char *)"");
29635 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29636 PyObject
*resultobj
;
29637 wxBitmap
*arg1
= 0 ;
29638 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29639 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29640 wxGenericDragImage
*result
;
29641 PyObject
* obj0
= 0 ;
29642 PyObject
* obj1
= 0 ;
29643 char *kwnames
[] = {
29644 (char *) "image",(char *) "cursor", NULL
29647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
29648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
29649 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29651 if (arg1
== NULL
) {
29652 PyErr_SetString(PyExc_TypeError
,"null reference");
29656 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29657 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29659 if (arg2
== NULL
) {
29660 PyErr_SetString(PyExc_TypeError
,"null reference");
29665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29666 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
29668 wxPyEndAllowThreads(__tstate
);
29669 if (PyErr_Occurred()) SWIG_fail
;
29671 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29678 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29679 PyObject
*resultobj
;
29681 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29682 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29683 wxGenericDragImage
*result
;
29684 PyObject
* obj0
= 0 ;
29685 PyObject
* obj1
= 0 ;
29686 char *kwnames
[] = {
29687 (char *) "image",(char *) "cursor", NULL
29690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
29691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
29692 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29694 if (arg1
== NULL
) {
29695 PyErr_SetString(PyExc_TypeError
,"null reference");
29699 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29700 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29702 if (arg2
== NULL
) {
29703 PyErr_SetString(PyExc_TypeError
,"null reference");
29708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29709 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
29711 wxPyEndAllowThreads(__tstate
);
29712 if (PyErr_Occurred()) SWIG_fail
;
29714 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29721 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29722 PyObject
*resultobj
;
29723 wxString
*arg1
= 0 ;
29724 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29725 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29726 wxGenericDragImage
*result
;
29727 bool temp1
= False
;
29728 PyObject
* obj0
= 0 ;
29729 PyObject
* obj1
= 0 ;
29730 char *kwnames
[] = {
29731 (char *) "str",(char *) "cursor", NULL
29734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
29736 arg1
= wxString_in_helper(obj0
);
29737 if (arg1
== NULL
) SWIG_fail
;
29741 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29742 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29744 if (arg2
== NULL
) {
29745 PyErr_SetString(PyExc_TypeError
,"null reference");
29750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29751 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
29753 wxPyEndAllowThreads(__tstate
);
29754 if (PyErr_Occurred()) SWIG_fail
;
29756 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29771 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29772 PyObject
*resultobj
;
29773 wxPyTreeCtrl
*arg1
= 0 ;
29774 wxTreeItemId
*arg2
= 0 ;
29775 wxGenericDragImage
*result
;
29776 PyObject
* obj0
= 0 ;
29777 PyObject
* obj1
= 0 ;
29778 char *kwnames
[] = {
29779 (char *) "treeCtrl",(char *) "id", NULL
29782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
29784 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29786 if (arg1
== NULL
) {
29787 PyErr_SetString(PyExc_TypeError
,"null reference");
29790 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
29791 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29793 if (arg2
== NULL
) {
29794 PyErr_SetString(PyExc_TypeError
,"null reference");
29798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29799 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
29801 wxPyEndAllowThreads(__tstate
);
29802 if (PyErr_Occurred()) SWIG_fail
;
29804 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29811 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29812 PyObject
*resultobj
;
29813 wxPyListCtrl
*arg1
= 0 ;
29815 wxGenericDragImage
*result
;
29816 PyObject
* obj0
= 0 ;
29817 PyObject
* obj1
= 0 ;
29818 char *kwnames
[] = {
29819 (char *) "listCtrl",(char *) "id", NULL
29822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
29824 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29826 if (arg1
== NULL
) {
29827 PyErr_SetString(PyExc_TypeError
,"null reference");
29830 arg2
= (long) SWIG_AsLong(obj1
);
29831 if (PyErr_Occurred()) SWIG_fail
;
29833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29834 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
29836 wxPyEndAllowThreads(__tstate
);
29837 if (PyErr_Occurred()) SWIG_fail
;
29839 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29846 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29847 PyObject
*resultobj
;
29848 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29849 PyObject
* obj0
= 0 ;
29850 char *kwnames
[] = {
29851 (char *) "self", NULL
29854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
29855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29861 wxPyEndAllowThreads(__tstate
);
29862 if (PyErr_Occurred()) SWIG_fail
;
29864 Py_INCREF(Py_None
); resultobj
= Py_None
;
29871 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29872 PyObject
*resultobj
;
29873 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29874 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
29875 PyObject
* obj0
= 0 ;
29876 PyObject
* obj1
= 0 ;
29877 char *kwnames
[] = {
29878 (char *) "self",(char *) "bitmap", NULL
29881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
29882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29884 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
29885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29888 (arg1
)->SetBackingBitmap(arg2
);
29890 wxPyEndAllowThreads(__tstate
);
29891 if (PyErr_Occurred()) SWIG_fail
;
29893 Py_INCREF(Py_None
); resultobj
= Py_None
;
29900 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29901 PyObject
*resultobj
;
29902 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29903 wxPoint
*arg2
= 0 ;
29904 wxWindow
*arg3
= (wxWindow
*) 0 ;
29905 bool arg4
= (bool) False
;
29906 wxRect
*arg5
= (wxRect
*) NULL
;
29909 PyObject
* obj0
= 0 ;
29910 PyObject
* obj1
= 0 ;
29911 PyObject
* obj2
= 0 ;
29912 PyObject
* obj3
= 0 ;
29913 PyObject
* obj4
= 0 ;
29914 char *kwnames
[] = {
29915 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
29918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29923 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29925 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
29926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29928 arg4
= (bool) SWIG_AsBool(obj3
);
29929 if (PyErr_Occurred()) SWIG_fail
;
29932 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
29933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29937 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
29939 wxPyEndAllowThreads(__tstate
);
29940 if (PyErr_Occurred()) SWIG_fail
;
29943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29951 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29952 PyObject
*resultobj
;
29953 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29954 wxPoint
*arg2
= 0 ;
29955 wxWindow
*arg3
= (wxWindow
*) 0 ;
29956 wxWindow
*arg4
= (wxWindow
*) 0 ;
29959 PyObject
* obj0
= 0 ;
29960 PyObject
* obj1
= 0 ;
29961 PyObject
* obj2
= 0 ;
29962 PyObject
* obj3
= 0 ;
29963 char *kwnames
[] = {
29964 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
29967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29972 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29974 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
29975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29976 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
29977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29980 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
29982 wxPyEndAllowThreads(__tstate
);
29983 if (PyErr_Occurred()) SWIG_fail
;
29986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29994 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29995 PyObject
*resultobj
;
29996 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29998 PyObject
* obj0
= 0 ;
29999 char *kwnames
[] = {
30000 (char *) "self", NULL
30003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
30004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30008 result
= (bool)(arg1
)->EndDrag();
30010 wxPyEndAllowThreads(__tstate
);
30011 if (PyErr_Occurred()) SWIG_fail
;
30014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30022 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30023 PyObject
*resultobj
;
30024 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30025 wxPoint
*arg2
= 0 ;
30028 PyObject
* obj0
= 0 ;
30029 PyObject
* obj1
= 0 ;
30030 char *kwnames
[] = {
30031 (char *) "self",(char *) "pt", NULL
30034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
30035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30039 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30043 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
30045 wxPyEndAllowThreads(__tstate
);
30046 if (PyErr_Occurred()) SWIG_fail
;
30049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30057 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30058 PyObject
*resultobj
;
30059 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30061 PyObject
* obj0
= 0 ;
30062 char *kwnames
[] = {
30063 (char *) "self", NULL
30066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
30067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30071 result
= (bool)(arg1
)->Show();
30073 wxPyEndAllowThreads(__tstate
);
30074 if (PyErr_Occurred()) SWIG_fail
;
30077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30085 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30086 PyObject
*resultobj
;
30087 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30089 PyObject
* obj0
= 0 ;
30090 char *kwnames
[] = {
30091 (char *) "self", NULL
30094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
30095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30099 result
= (bool)(arg1
)->Hide();
30101 wxPyEndAllowThreads(__tstate
);
30102 if (PyErr_Occurred()) SWIG_fail
;
30105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30113 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30114 PyObject
*resultobj
;
30115 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30116 wxPoint
*arg2
= 0 ;
30119 PyObject
* obj0
= 0 ;
30120 PyObject
* obj1
= 0 ;
30121 char *kwnames
[] = {
30122 (char *) "self",(char *) "pos", NULL
30125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
30126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30130 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30134 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
30136 wxPyEndAllowThreads(__tstate
);
30137 if (PyErr_Occurred()) SWIG_fail
;
30140 wxRect
* resultptr
;
30141 resultptr
= new wxRect((wxRect
&) result
);
30142 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
30150 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30151 PyObject
*resultobj
;
30152 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30154 wxPoint
*arg3
= 0 ;
30157 PyObject
* obj0
= 0 ;
30158 PyObject
* obj1
= 0 ;
30159 PyObject
* obj2
= 0 ;
30160 char *kwnames
[] = {
30161 (char *) "self",(char *) "dc",(char *) "pos", NULL
30164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30167 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30168 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30170 if (arg2
== NULL
) {
30171 PyErr_SetString(PyExc_TypeError
,"null reference");
30176 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30180 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
30182 wxPyEndAllowThreads(__tstate
);
30183 if (PyErr_Occurred()) SWIG_fail
;
30186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30194 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30195 PyObject
*resultobj
;
30196 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30198 wxMemoryDC
*arg3
= 0 ;
30204 PyObject
* obj0
= 0 ;
30205 PyObject
* obj1
= 0 ;
30206 PyObject
* obj2
= 0 ;
30207 PyObject
* obj3
= 0 ;
30208 PyObject
* obj4
= 0 ;
30209 char *kwnames
[] = {
30210 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
30213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30216 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30217 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30219 if (arg2
== NULL
) {
30220 PyErr_SetString(PyExc_TypeError
,"null reference");
30223 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
30224 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30226 if (arg3
== NULL
) {
30227 PyErr_SetString(PyExc_TypeError
,"null reference");
30232 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30236 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
30239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30240 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
30242 wxPyEndAllowThreads(__tstate
);
30243 if (PyErr_Occurred()) SWIG_fail
;
30246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30254 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30255 PyObject
*resultobj
;
30256 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30257 wxPoint
*arg2
= 0 ;
30258 wxPoint
*arg3
= 0 ;
30264 PyObject
* obj0
= 0 ;
30265 PyObject
* obj1
= 0 ;
30266 PyObject
* obj2
= 0 ;
30267 PyObject
* obj3
= 0 ;
30268 PyObject
* obj4
= 0 ;
30269 char *kwnames
[] = {
30270 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
30273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30278 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30282 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30284 arg4
= (bool) SWIG_AsBool(obj3
);
30285 if (PyErr_Occurred()) SWIG_fail
;
30286 arg5
= (bool) SWIG_AsBool(obj4
);
30287 if (PyErr_Occurred()) SWIG_fail
;
30289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30290 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
30292 wxPyEndAllowThreads(__tstate
);
30293 if (PyErr_Occurred()) SWIG_fail
;
30296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30304 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
30306 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30307 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
30309 return Py_BuildValue((char *)"");
30311 static PyMethodDef SwigMethods
[] = {
30312 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
30313 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
30314 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
30315 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
30316 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
30317 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
30318 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
30319 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
30320 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
30321 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
30322 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
30323 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
30324 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
30325 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
30326 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
30327 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
30328 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
30329 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
30330 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
30331 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
30332 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
30333 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
30334 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
30335 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30336 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30337 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
30338 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30339 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
30340 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
30341 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
30342 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
30343 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
30344 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
30345 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
30346 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
30347 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30348 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30349 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
30350 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
30351 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
30352 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
30353 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30354 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30355 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30356 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
30357 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
30358 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
30359 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
30360 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
30361 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
30362 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
30363 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30364 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
30365 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
30366 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
30367 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
30368 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
30369 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
30370 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
30371 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
30372 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
30373 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
30374 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30375 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30376 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30377 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
30378 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
30379 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
30380 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
30381 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
30382 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
30383 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
30384 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30385 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
30386 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
30387 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
30388 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
30389 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30390 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
30391 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
30392 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
30393 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
30394 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
30395 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
30396 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30397 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30398 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
30399 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30400 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30401 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
30402 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
30403 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
30404 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
30405 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30406 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
30407 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
30408 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
30409 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
30410 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30411 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
30412 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
30413 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
30414 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30415 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
30416 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
30417 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
30418 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30419 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30420 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
30421 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30422 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30423 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
30424 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
30425 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
30426 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
30427 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30428 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
30429 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
30430 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
30431 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30432 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
30433 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
30434 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
},
30435 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
30436 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
30437 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30438 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30439 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
30440 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
30441 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
30442 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
30443 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
30444 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
30445 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30446 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30447 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
30448 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
30449 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
30450 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
30451 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
30452 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
30453 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30454 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30455 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
30456 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
30457 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
30458 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
30459 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
30460 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
30461 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
30462 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
30463 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
30464 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30465 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30466 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30467 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30468 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30469 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
30470 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
30471 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
30472 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
30473 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
30474 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
30475 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
30476 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
30477 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30478 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30479 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
30480 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
30481 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
30482 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
30483 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
30484 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
30485 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
30486 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
30487 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
30488 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
30489 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
30490 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
30491 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
30492 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
30493 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
30494 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
30495 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
30496 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
30497 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30498 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
30499 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
30500 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
30501 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
30502 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
30503 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
30504 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
30505 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
30506 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
30507 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
30508 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
30509 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
30510 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
30511 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
30512 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30513 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
30514 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
30515 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
},
30516 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
) _wrap_TextCtrl_HideNativeCaret
, METH_VARARGS
| METH_KEYWORDS
},
30517 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
30518 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
30519 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
30520 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
30521 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
30522 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
30523 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
30524 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
30525 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
30526 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
30527 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
30528 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
30529 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
30530 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30531 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
30532 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30533 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
30534 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
30535 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
30536 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
30537 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
30538 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
30539 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30540 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
30541 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
30542 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30543 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
30544 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
30545 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
30546 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30547 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
30548 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30549 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30550 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30551 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30552 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30553 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
30554 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
30555 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
30556 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
30557 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30558 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
30559 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
30560 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30561 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30562 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
},
30563 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
30564 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
30565 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30566 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30567 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30568 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30569 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30570 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
30571 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
30572 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
30573 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
30574 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
30575 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
30576 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
30577 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
30578 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
30579 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
30580 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
30581 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
30582 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
30583 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30584 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30585 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
30586 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
30587 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
30588 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
30589 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30590 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30591 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
30592 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
30593 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
30594 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
30595 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
30596 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
30597 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30598 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
30599 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30600 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
30601 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
30602 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
30603 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
30604 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
30605 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
30606 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
30607 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
30608 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
30609 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30610 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
30611 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
30612 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
30613 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
30614 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30615 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30616 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30617 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
30618 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
30619 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
30620 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30621 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
30622 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
30623 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30624 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
30625 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30626 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
30627 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
30628 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30629 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
30630 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
30631 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
30632 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
30633 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
30634 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
30635 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30636 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
30637 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
30638 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
30639 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30640 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30641 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
30642 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
30643 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
30644 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
30645 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
30646 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
30647 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
30648 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
30649 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
30650 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30651 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
30652 { (char *)"Notebook_ApplyThemeBackground", (PyCFunction
) _wrap_Notebook_ApplyThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
30653 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
30654 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
30655 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
30656 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
30657 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
30658 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
30659 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30660 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
30661 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
30662 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
30663 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
30664 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
30665 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
30666 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
30667 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
30668 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
30669 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
30670 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
30671 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
30672 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
30673 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
30674 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
30675 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
30676 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
30677 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
30678 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
30679 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
30680 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
30681 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
30682 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
30683 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
30684 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30685 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30686 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30687 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30688 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30689 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30690 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
30691 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
30692 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
30693 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30694 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30695 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30696 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30697 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30698 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
30699 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
30700 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
30701 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
30702 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
30703 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
30704 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
30705 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
30706 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
30707 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
30708 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
30709 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
30710 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
30711 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
30712 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
30713 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
30714 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
30715 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
30716 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
30717 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
30718 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
30719 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
30720 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
30721 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
30722 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
30723 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
30724 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
30725 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30726 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30727 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30728 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30729 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
30730 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
30731 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
30732 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
30733 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
30734 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
30735 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
30736 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
30737 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
30738 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
30739 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
30740 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
30741 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
30742 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
30743 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
30744 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
30745 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
30746 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30747 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
30748 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
30749 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
30750 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
30751 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
30752 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
30753 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
30754 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30755 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30756 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
30757 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30758 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30759 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
30760 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30761 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30762 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
30763 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
30764 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
30765 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
30766 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
30767 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
30768 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30769 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
30770 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
30771 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30772 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
30773 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
30774 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
30775 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
30776 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
30777 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
30778 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
30779 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30780 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30781 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
30782 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
30783 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
30784 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30785 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
30786 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
30787 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
30788 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
30789 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
30790 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
30791 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30792 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30793 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30794 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30795 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
30796 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
30797 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
30798 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
30799 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
30800 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
30801 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
30802 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
30803 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
30804 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
30805 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
30806 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
30807 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
30808 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
30809 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
30810 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
30811 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
30812 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
30813 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
30814 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
30815 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
30816 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
30817 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
30818 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
30819 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
30820 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
30821 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
30822 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
30823 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
30824 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
30825 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
30826 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
30827 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
30828 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
30829 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
30830 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
30831 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30832 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
30833 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30834 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
30835 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
30836 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
30837 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
30838 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
30839 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
30840 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
30841 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
30842 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
30843 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
30844 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30845 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30846 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30847 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
30848 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30849 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30850 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30851 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30852 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
30853 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
30854 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
30855 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
30856 { (char *)"ListCtrl_GetEditControl", (PyCFunction
) _wrap_ListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
30857 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
30858 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
30859 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
30860 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
30861 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
30862 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
30863 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30864 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30865 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30866 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30867 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
30868 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
30869 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
30870 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
30871 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
30872 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30873 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
30874 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30875 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30876 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
30877 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
30878 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
30879 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
30880 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30881 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30882 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
30883 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
},
30884 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
30885 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
30886 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
30887 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
30888 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
30889 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
30890 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
30891 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
30892 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
30893 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
30894 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
30895 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30896 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
30897 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
30898 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
30899 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30900 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
30901 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
30902 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
30903 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
30904 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
30905 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
30906 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
30907 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
30908 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30909 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30910 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30911 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30912 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
30913 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
30914 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
30915 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
30916 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
30917 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
30918 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
30919 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
30920 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
30921 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
30922 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
30923 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
30924 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
30925 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
30926 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
30927 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
30928 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
30929 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
30930 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
30931 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
30932 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
30933 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
30934 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
30935 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
30936 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
30937 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
30938 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
30939 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
30940 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
30941 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
30942 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
30943 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
30944 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
30945 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
30946 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
30947 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
30948 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
30949 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
30950 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
30951 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
30952 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30953 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30954 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
30955 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
30956 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
30957 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
30958 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30959 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30960 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30961 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
30962 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
30963 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
30964 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
30965 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30966 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30967 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30968 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
30969 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30970 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
30971 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
30972 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
30973 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30974 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
30975 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30976 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
30977 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30978 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30979 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
30980 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30981 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
30982 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30983 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
30984 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
30985 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
30986 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
},
30987 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30988 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30989 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
30990 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
30991 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
30992 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
30993 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
30994 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
30995 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
30996 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
30997 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30998 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
30999 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
31000 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
31001 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
31002 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
31003 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
31004 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
31005 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
31006 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
31007 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
31008 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
31009 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
31010 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
31011 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
31012 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
31013 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
31014 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
31015 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
31016 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
31017 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
31018 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
31019 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
31020 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
31021 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
},
31022 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
31023 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
31024 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
},
31025 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31026 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
31027 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
31028 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
31029 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
31030 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
31031 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31032 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
31033 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
31034 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31035 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31036 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31037 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
31038 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
31039 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
31040 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
31041 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
31042 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
31043 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
31044 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
31045 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
31046 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
31047 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
31048 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
31049 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
31050 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31051 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31052 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
31053 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
31054 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
31055 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
31056 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31057 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31058 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31059 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
31060 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
31061 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
31062 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
},
31063 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31064 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
31065 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
31066 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
31067 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
31068 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
31069 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
31070 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31071 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
31072 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
31073 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
31074 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
31075 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
31076 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
31077 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
31078 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
31079 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
31080 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
31081 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
31082 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
31083 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
31084 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
31085 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
31086 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31087 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31088 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
31089 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
31090 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
31091 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
31092 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
31093 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31094 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31095 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31096 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31097 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
31098 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
31099 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
31100 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
31101 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
31102 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
31103 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
31104 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
31105 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
31106 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
},
31107 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31108 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
31109 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
31110 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
31111 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
31112 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
31113 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
31114 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
31115 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
31116 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
31117 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31118 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
31119 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
31120 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
31121 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
31122 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
31123 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
31124 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
31125 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
31126 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
31127 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
31128 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
31133 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31135 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
31136 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31138 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
31139 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31141 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
31142 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
31144 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
31145 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31147 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
31148 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31150 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
31151 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
31153 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
31154 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31156 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
31157 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
31159 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
31160 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
31162 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
31163 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
31165 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
31166 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31168 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
31169 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
31171 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
31172 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
31174 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
31175 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
31177 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
31178 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
31180 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
31181 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31183 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
31184 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
31186 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
31187 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
31189 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
31190 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
31192 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
31193 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
31195 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
31196 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31198 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
31199 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
31201 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
31202 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31204 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
31205 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
31207 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
31208 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31210 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
31211 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31213 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
31214 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
31216 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
31217 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
31219 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
31220 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31222 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
31223 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31225 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
31226 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
31228 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
31229 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
31231 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
31232 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
31234 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
31235 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
31237 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
31238 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
31240 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
31241 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
31243 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
31244 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
31246 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
31247 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31249 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
31250 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31252 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
31253 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31255 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
31256 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31258 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
31259 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31261 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
31262 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
31264 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
31265 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
31267 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
31268 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31270 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
31271 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
31273 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
31274 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
31276 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
31277 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31279 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
31280 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31282 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
31283 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31285 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
31286 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
31288 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
31289 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
31291 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
31292 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31294 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
31295 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
31297 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
31298 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31300 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
31301 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
31303 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
31304 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
31306 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
31307 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
31309 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
31310 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31312 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
31313 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
31315 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
31316 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31318 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
31319 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
31321 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
31322 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
31324 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
31325 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
31327 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
31328 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
31330 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
31331 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
31333 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
31334 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
31336 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
31337 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
31339 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
31340 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
31342 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
31343 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
31345 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
31346 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31348 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
31349 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
31351 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
31352 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
31354 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
31355 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
31357 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
31358 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
31360 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
31361 return (void *)((wxControl
*) ((wxGauge
*) x
));
31363 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
31364 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
31366 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
31367 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
31369 static void *_p_wxButtonTo_p_wxControl(void *x
) {
31370 return (void *)((wxControl
*) ((wxButton
*) x
));
31372 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
31373 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
31375 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
31376 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31378 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
31379 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
31381 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
31382 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
31384 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
31385 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
31387 static void *_p_wxListbookTo_p_wxControl(void *x
) {
31388 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
31390 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
31391 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
31393 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
31394 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
31396 static void *_p_wxListViewTo_p_wxControl(void *x
) {
31397 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
31399 static void *_p_wxSliderTo_p_wxControl(void *x
) {
31400 return (void *)((wxControl
*) ((wxSlider
*) x
));
31402 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
31403 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
31405 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
31406 return (void *)((wxControl
*) ((wxPyControl
*) x
));
31408 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
31409 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
31411 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
31412 return (void *)((wxControl
*) ((wxStaticText
*) x
));
31414 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
31415 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
31417 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
31418 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
31420 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
31421 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31423 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
31424 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31426 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
31427 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31429 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
31430 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
31432 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
31433 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31435 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
31436 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31438 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
31439 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31441 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
31442 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
31444 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
31445 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
31447 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
31448 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
31450 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
31451 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
31453 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
31454 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31456 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
31457 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
31459 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
31460 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
31462 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
31463 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
31465 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
31466 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
31468 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
31469 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
31471 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
31472 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
31474 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
31475 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
31477 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
31478 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
31480 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
31481 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31483 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
31484 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
31486 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
31487 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
31489 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
31490 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
31492 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
31493 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
31495 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
31496 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31498 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
31499 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
31501 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
31502 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
31504 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
31505 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31507 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
31508 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
31510 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
31511 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
31513 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
31514 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
31516 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
31517 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31519 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
31520 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31522 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
31523 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31525 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
31526 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31528 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
31529 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
31531 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
31532 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31534 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
31535 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
31537 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
31538 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
31540 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
31541 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
31543 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
31544 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
31546 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
31547 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
31549 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
31550 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
31552 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
31553 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31555 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
31556 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31558 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
31559 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
31561 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
31562 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
31564 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
31565 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
31567 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
31568 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
31570 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
31571 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
31573 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
31574 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31576 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
31577 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31579 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
31580 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
31582 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
31583 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
31585 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
31586 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
31588 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
31589 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
31591 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
31592 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
31594 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
31595 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
31597 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
31598 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
31600 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
31601 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31603 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
31604 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31606 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
31607 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
31609 static void *_p_wxSizerTo_p_wxObject(void *x
) {
31610 return (void *)((wxObject
*) ((wxSizer
*) x
));
31612 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
31613 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31615 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
31616 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
31618 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
31619 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
31621 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
31622 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31624 static void *_p_wxEventTo_p_wxObject(void *x
) {
31625 return (void *)((wxObject
*) ((wxEvent
*) x
));
31627 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
31628 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31630 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
31631 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
31633 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
31634 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
31636 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
31637 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
31639 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
31640 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
31642 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
31643 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31645 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
31646 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
31648 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
31649 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
31651 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
31652 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31654 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
31655 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31657 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
31658 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31660 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
31661 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31663 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
31664 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
31666 static void *_p_wxControlTo_p_wxObject(void *x
) {
31667 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
31669 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
31670 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
31672 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
31673 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
31675 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
31676 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
31678 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
31679 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
31681 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
31682 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
31684 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
31685 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
31687 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
31688 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31690 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
31691 return (void *)((wxObject
*) ((wxFSFile
*) x
));
31693 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
31694 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
31696 static void *_p_wxListViewTo_p_wxObject(void *x
) {
31697 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31699 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
31700 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
31702 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
31703 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31705 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
31706 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
31708 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
31709 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31711 static void *_p_wxListbookTo_p_wxObject(void *x
) {
31712 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31714 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
31715 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
31717 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
31718 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
31720 static void *_p_wxSliderTo_p_wxObject(void *x
) {
31721 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
31723 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
31724 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
31726 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
31727 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
31729 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
31730 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31732 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
31733 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31735 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
31736 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
31738 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
31739 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
31741 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
31742 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
31744 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
31745 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
31747 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
31748 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
31750 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
31751 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
31753 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
31754 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
31756 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
31757 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
31759 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
31760 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
31762 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
31763 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
31765 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
31766 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
31768 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
31769 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
31771 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
31772 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
31774 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
31775 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
31777 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
31778 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
31780 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
31781 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
31783 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
31784 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
31786 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
31787 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
31789 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
31790 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
31792 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
31793 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
31795 static void *_p_wxListEventTo_p_wxObject(void *x
) {
31796 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
31798 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
31799 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31801 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
31802 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31804 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
31805 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
31807 static void *_p_wxButtonTo_p_wxObject(void *x
) {
31808 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
31810 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
31811 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31813 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
31814 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
31816 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
31817 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31819 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
31820 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
31822 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
31823 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
31825 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
31826 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
31828 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
31829 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
31831 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
31832 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
31834 static void *_p_wxListItemTo_p_wxObject(void *x
) {
31835 return (void *)((wxObject
*) ((wxListItem
*) x
));
31837 static void *_p_wxImageTo_p_wxObject(void *x
) {
31838 return (void *)((wxObject
*) ((wxImage
*) x
));
31840 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
31841 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
31843 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
31844 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
31846 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
31847 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31849 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
31850 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
31852 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
31853 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
31855 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
31856 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31858 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
31859 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31861 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
31862 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31864 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
31865 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31867 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
31868 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
31870 static void *_p_wxWindowTo_p_wxObject(void *x
) {
31871 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
31873 static void *_p_wxMenuTo_p_wxObject(void *x
) {
31874 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
31876 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
31877 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
31879 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
31880 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
31882 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
31883 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31885 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
31886 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
31888 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
31889 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
31891 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
31892 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
31894 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
31895 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
31897 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
31898 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
31900 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
31901 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31903 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
31904 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31906 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
31907 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
31909 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
31910 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
31912 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
31913 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
31915 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
31916 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
31918 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
31919 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31921 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
31922 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31924 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
31925 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
31927 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
31928 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31930 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
31931 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
31933 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
31934 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
31936 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
31937 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
31939 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
31940 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
31942 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
31943 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
31945 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
31946 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31948 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
31949 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
31951 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
31952 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
31954 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
31955 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
31957 static void *_p_wxControlTo_p_wxWindow(void *x
) {
31958 return (void *)((wxWindow
*) ((wxControl
*) x
));
31960 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
31961 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
31963 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
31964 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31966 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
31967 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
31969 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
31970 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
31972 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
31973 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
31975 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
31976 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
31978 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
31979 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
31981 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
31982 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
31984 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
31985 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
31987 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
31988 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31990 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
31991 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
31993 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
31994 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
31996 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
31997 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
31999 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
32000 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32002 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
32003 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32005 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
32006 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32008 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
32009 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32011 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
32012 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32014 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
32015 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
32017 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
32018 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
32020 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
32021 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
32023 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
32024 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
32026 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
32027 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
32029 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
32030 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
32032 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
32033 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
32035 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
32036 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32038 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
32039 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32041 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
32042 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
32044 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
32045 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32047 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
32048 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32050 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
32051 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32053 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
32054 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
32056 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
32057 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32059 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
32060 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32062 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
32063 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32065 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
32066 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32068 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
32069 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32071 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
32072 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
32074 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
32075 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32077 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
32078 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32080 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
32081 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32083 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
32084 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
32086 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
32087 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32089 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
32090 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32092 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
32093 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
32095 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
32096 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32098 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
32099 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
32101 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
32102 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
32104 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
32105 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
32107 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
32108 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
32110 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}};
32111 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}};
32112 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}};
32113 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}};
32114 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}};
32115 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}};
32116 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}};
32117 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}};
32118 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}};
32119 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}};
32120 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}};
32121 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}};
32122 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}};
32123 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}};
32124 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}};
32125 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}};
32126 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}};
32127 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}};
32128 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}};
32129 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}};
32130 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxChoice
, 0, 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}};
32131 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}};
32132 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}};
32133 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}};
32134 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}};
32135 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}};
32136 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}};
32137 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}};
32138 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}};
32139 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}};
32140 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}};
32141 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}};
32142 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}};
32143 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}};
32144 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}};
32145 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}};
32146 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}};
32147 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}};
32148 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}};
32149 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}};
32150 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}};
32151 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}};
32152 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}};
32153 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}};
32154 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}};
32155 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}};
32156 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}};
32157 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}};
32158 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}};
32159 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}};
32160 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}};
32161 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}};
32162 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}};
32163 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}};
32164 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}};
32165 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}};
32166 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}};
32167 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}};
32168 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}};
32169 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}};
32170 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}};
32171 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}};
32172 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}};
32173 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}};
32174 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}};
32175 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}};
32176 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}};
32177 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}};
32178 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}};
32179 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}};
32180 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}};
32181 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}};
32182 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}};
32183 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}};
32184 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}};
32185 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}};
32186 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}};
32187 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}};
32188 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControlWithItems
, 0, 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}};
32189 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}};
32190 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}};
32191 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}};
32192 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}};
32193 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}};
32195 static swig_type_info
*swig_types_initial
[] = {
32196 _swigt__p_wxTextUrlEvent
,
32197 _swigt__p_wxBookCtrlEvent
,
32199 _swigt__p_wxCheckBox
,
32200 _swigt__p_wxPyTreeCtrl
,
32202 _swigt__p_wxGenericDirCtrl
,
32204 _swigt__p_wxPyTreeItemData
,
32205 _swigt__p_wxItemContainer
,
32206 _swigt__p_wxDirFilterListCtrl
,
32207 _swigt__p_wxPyListCtrl
,
32208 _swigt__p_wxStaticLine
,
32209 _swigt__p_wxControl
,
32210 _swigt__p_wxPyControl
,
32212 _swigt__p_wxToolBarBase
,
32214 _swigt__p_wxToggleButton
,
32215 _swigt__p_wxRadioButton
,
32216 _swigt__p_wxChoice
,
32217 _swigt__p_wxMemoryDC
,
32218 _swigt__p_wxListItemAttr
,
32223 _swigt__p_wxListView
,
32225 _swigt__p_wxTextCtrl
,
32226 _swigt__p_wxNotebook
,
32227 _swigt__p_wxNotifyEvent
,
32228 _swigt__p_wxArrayString
,
32229 _swigt__p_wxListbook
,
32230 _swigt__p_wxStaticBitmap
,
32231 _swigt__p_wxSlider
,
32232 _swigt__p_wxStaticBox
,
32233 _swigt__p_wxArrayInt
,
32234 _swigt__p_wxContextHelp
,
32236 _swigt__p_wxEvtHandler
,
32237 _swigt__p_wxListEvent
,
32238 _swigt__p_wxListBox
,
32239 _swigt__p_wxCheckListBox
,
32240 _swigt__p_wxBookCtrl
,
32241 _swigt__p_wxSpinButton
,
32242 _swigt__p_wxButton
,
32243 _swigt__p_wxBitmapButton
,
32245 _swigt__p_wxContextHelpButton
,
32246 _swigt__p_wxRadioBox
,
32247 _swigt__p_wxScrollBar
,
32249 _swigt__p_wxTreeItemId
,
32250 _swigt__p_wxComboBox
,
32251 _swigt__p_wxHelpEvent
,
32252 _swigt__p_wxListItem
,
32253 _swigt__p_wxNotebookSizer
,
32254 _swigt__p_wxSpinEvent
,
32255 _swigt__p_wxGenericDragImage
,
32256 _swigt__p_wxSpinCtrl
,
32257 _swigt__p_wxImageList
,
32258 _swigt__p_wxHelpProvider
,
32259 _swigt__p_wxTextAttr
,
32260 _swigt__p_wxSimpleHelpProvider
,
32262 _swigt__p_wxListbookEvent
,
32263 _swigt__p_wxNotebookEvent
,
32264 _swigt__p_wxObject
,
32265 _swigt__p_wxCursor
,
32266 _swigt__p_wxKeyEvent
,
32267 _swigt__p_wxWindow
,
32268 _swigt__p_wxString
,
32269 _swigt__p_wxBitmap
,
32270 _swigt__p_wxTreeEvent
,
32271 _swigt__p_wxMouseEvent
,
32272 _swigt__p_wxCommandEvent
,
32273 _swigt__p_wxStaticText
,
32274 _swigt__p_wxControlWithItems
,
32275 _swigt__p_wxToolBarToolBase
,
32276 _swigt__p_wxColour
,
32277 _swigt__p_wxToolBar
,
32278 _swigt__p_wxBookCtrlSizer
,
32279 _swigt__p_wxValidator
,
32284 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32286 static swig_const_info swig_const_table
[] = {
32296 SWIGEXPORT(void) SWIG_init(void) {
32297 static PyObject
*SWIG_globals
= 0;
32298 static int typeinit
= 0;
32301 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
32302 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
32303 d
= PyModule_GetDict(m
);
32306 for (i
= 0; swig_types_initial
[i
]; i
++) {
32307 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
32311 SWIG_InstallConstants(d
,swig_const_table
);
32313 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
32314 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
32315 PyDict_SetItemString(d
,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT
));
32316 PyDict_SetItemString(d
,"BU_TOP", SWIG_FromInt((int)wxBU_TOP
));
32317 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT
));
32318 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM
));
32319 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT
));
32320 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW
));
32321 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
32322 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE
));
32323 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE
));
32324 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
32325 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED
));
32326 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED
));
32327 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED
));
32328 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
32329 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
32330 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
32331 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL
));
32332 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL
));
32333 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH
));
32334 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR
));
32335 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
32336 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
32337 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
32338 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
32339 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
32340 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL
));
32341 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL
));
32342 PyDict_SetItemString(d
,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY
));
32343 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE
));
32344 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB
));
32345 PyDict_SetItemString(d
,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT
));
32346 PyDict_SetItemString(d
,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER
));
32347 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT
));
32348 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE
));
32349 PyDict_SetItemString(d
,"TE_RICH", SWIG_FromInt((int)wxTE_RICH
));
32350 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER
));
32351 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD
));
32352 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL
));
32353 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL
));
32354 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP
));
32355 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP
));
32356 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP
));
32357 PyDict_SetItemString(d
,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2
));
32358 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT
));
32359 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT
));
32360 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE
));
32361 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER
));
32362 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT
));
32363 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
32364 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR
));
32365 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
32366 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE
));
32367 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE
));
32368 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT
));
32369 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC
));
32370 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE
));
32371 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT
));
32372 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT
));
32373 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT
));
32374 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT
));
32375 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS
));
32376 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN
));
32377 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE
));
32378 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT
));
32379 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW
));
32380 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND
));
32381 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
32382 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
32383 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
32384 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
32385 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
32386 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
32387 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
32388 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL
));
32389 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL
));
32390 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS
));
32391 PyDict_SetItemString(d
,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP
));
32392 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
32393 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
32394 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
32395 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
32396 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
32397 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
32398 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
32399 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH
));
32400 PyDict_SetItemString(d
,"NB_TOP", SWIG_FromInt((int)wxNB_TOP
));
32401 PyDict_SetItemString(d
,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT
));
32402 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT
));
32403 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM
));
32404 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE
));
32405 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE
));
32406 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON
));
32407 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL
));
32408 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM
));
32409 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
32410 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
32411 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT
));
32412 PyDict_SetItemString(d
,"LB_TOP", SWIG_FromInt((int)wxLB_TOP
));
32413 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM
));
32414 PyDict_SetItemString(d
,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT
));
32415 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT
));
32416 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK
));
32417 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
32418 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
32419 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON
));
32420 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR
));
32421 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL
));
32422 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL
));
32423 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL
));
32424 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS
));
32425 PyDict_SetItemString(d
,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT
));
32426 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE
));
32427 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS
));
32428 PyDict_SetItemString(d
,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT
));
32429 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER
));
32430 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN
));
32431 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT
));
32432 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT
));
32433 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
32434 PyDict_SetItemString(d
,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES
));
32435 PyDict_SetItemString(d
,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES
));
32436 PyDict_SetItemString(d
,"LC_ICON", SWIG_FromInt((int)wxLC_ICON
));
32437 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON
));
32438 PyDict_SetItemString(d
,"LC_LIST", SWIG_FromInt((int)wxLC_LIST
));
32439 PyDict_SetItemString(d
,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT
));
32440 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP
));
32441 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT
));
32442 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE
));
32443 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL
));
32444 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS
));
32445 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER
));
32446 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER
));
32447 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL
));
32448 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING
));
32449 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING
));
32450 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE
));
32451 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN
));
32452 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT
));
32453 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE
));
32454 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT
));
32455 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE
));
32456 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA
));
32457 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM
));
32458 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH
));
32459 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT
));
32460 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE
));
32461 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED
));
32462 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED
));
32463 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED
));
32464 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT
));
32465 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED
));
32466 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED
));
32467 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE
));
32468 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED
));
32469 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE
));
32470 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE
));
32471 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW
));
32472 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE
));
32473 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON
));
32474 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL
));
32475 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT
));
32476 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON
));
32477 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT
));
32478 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT
));
32479 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM
));
32480 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE
));
32481 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL
));
32482 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW
));
32483 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT
));
32484 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT
));
32485 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT
));
32486 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT
));
32487 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP
));
32488 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID
));
32489 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT
));
32490 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT
));
32491 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE
));
32492 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER
));
32493 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE
));
32494 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER
));
32495 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS
));
32496 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON
));
32497 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL
));
32498 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP
));
32499 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN
));
32500 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT
));
32501 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT
));
32502 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
32503 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
32504 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
32505 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
32506 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
32507 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
32508 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
32509 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
32510 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
32511 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
32512 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
32513 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
32514 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
32515 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
32516 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
32517 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
32518 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
32519 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
32520 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
32521 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
32522 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
32523 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
32525 // Map renamed classes back to their common name for OOR
32526 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
32528 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
32529 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS
));
32530 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS
));
32531 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES
));
32532 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT
));
32533 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE
));
32534 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE
));
32535 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED
));
32536 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
32537 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS
));
32538 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT
));
32539 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES
));
32540 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT
));
32541 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE
));
32542 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS
));
32543 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS
));
32544 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS
));
32545 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal
));
32546 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected
));
32547 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded
));
32548 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded
));
32549 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max
));
32550 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE
));
32551 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW
));
32552 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE
));
32553 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON
));
32554 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON
));
32555 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT
));
32556 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL
));
32557 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT
));
32558 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON
));
32559 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT
));
32560 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT
));
32561 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART
));
32562 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART
));
32563 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM
));
32564 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
32565 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
32566 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
32567 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
32568 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
32569 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
32570 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
32571 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
32572 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
32573 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
32574 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
32575 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
32576 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
32577 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
32578 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
32579 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
32580 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
32581 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
32582 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
32583 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
32585 // Map renamed classes back to their common name for OOR
32586 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
32587 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
32589 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
32590 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY
));
32591 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST
));
32592 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS
));
32593 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL
));
32594 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS
));
32595 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP
));
32596 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP
));
32597 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
32598 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
32600 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");