1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
210 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
211 #define SWIGTYPE_p_wxSizer swig_types[2]
212 #define SWIGTYPE_p_wxCheckBox swig_types[3]
213 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[4]
214 #define SWIGTYPE_p_wxEvent swig_types[5]
215 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[6]
216 #define SWIGTYPE_p_bool swig_types[7]
217 #define SWIGTYPE_p_wxPyTreeItemData swig_types[8]
218 #define SWIGTYPE_p_wxItemContainer swig_types[9]
219 #define SWIGTYPE_p_wxPyListCtrl swig_types[10]
220 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[11]
221 #define SWIGTYPE_p_wxStaticLine swig_types[12]
222 #define SWIGTYPE_p_wxControl swig_types[13]
223 #define SWIGTYPE_p_wxPyControl swig_types[14]
224 #define SWIGTYPE_p_wxGauge swig_types[15]
225 #define SWIGTYPE_p_wxToolBarBase swig_types[16]
226 #define SWIGTYPE_p_wxFont swig_types[17]
227 #define SWIGTYPE_p_wxToggleButton swig_types[18]
228 #define SWIGTYPE_p_wxRadioButton swig_types[19]
229 #define SWIGTYPE_p_wxChoice swig_types[20]
230 #define SWIGTYPE_p_wxMemoryDC swig_types[21]
231 #define SWIGTYPE_p_wxListItemAttr swig_types[22]
232 #define SWIGTYPE_p_void swig_types[23]
233 #define SWIGTYPE_p_int swig_types[24]
234 #define SWIGTYPE_p_wxSize swig_types[25]
235 #define SWIGTYPE_p_wxDC swig_types[26]
236 #define SWIGTYPE_p_wxListView swig_types[27]
237 #define SWIGTYPE_p_wxIcon swig_types[28]
238 #define SWIGTYPE_p_wxVisualAttributes swig_types[29]
239 #define SWIGTYPE_p_wxTextCtrl swig_types[30]
240 #define SWIGTYPE_p_wxNotebook swig_types[31]
241 #define SWIGTYPE_p_wxNotifyEvent swig_types[32]
242 #define SWIGTYPE_p_wxArrayString swig_types[33]
243 #define SWIGTYPE_p_wxListbook swig_types[34]
244 #define SWIGTYPE_p_wxStaticBitmap swig_types[35]
245 #define SWIGTYPE_p_wxSlider swig_types[36]
246 #define SWIGTYPE_p_wxStaticBox swig_types[37]
247 #define SWIGTYPE_p_wxArrayInt swig_types[38]
248 #define SWIGTYPE_p_wxContextHelp swig_types[39]
249 #define SWIGTYPE_p_long swig_types[40]
250 #define SWIGTYPE_p_wxEvtHandler swig_types[41]
251 #define SWIGTYPE_p_wxListEvent swig_types[42]
252 #define SWIGTYPE_p_wxCheckListBox swig_types[43]
253 #define SWIGTYPE_p_wxListBox swig_types[44]
254 #define SWIGTYPE_p_wxBookCtrl swig_types[45]
255 #define SWIGTYPE_p_wxSpinButton swig_types[46]
256 #define SWIGTYPE_p_wxButton swig_types[47]
257 #define SWIGTYPE_p_wxBitmapButton swig_types[48]
258 #define SWIGTYPE_p_wxRect swig_types[49]
259 #define SWIGTYPE_p_wxContextHelpButton swig_types[50]
260 #define SWIGTYPE_p_wxRadioBox swig_types[51]
261 #define SWIGTYPE_p_wxScrollBar swig_types[52]
262 #define SWIGTYPE_p_char swig_types[53]
263 #define SWIGTYPE_p_wxTreeItemId swig_types[54]
264 #define SWIGTYPE_p_wxComboBox swig_types[55]
265 #define SWIGTYPE_p_wxHelpEvent swig_types[56]
266 #define SWIGTYPE_p_wxListItem swig_types[57]
267 #define SWIGTYPE_p_wxNotebookSizer swig_types[58]
268 #define SWIGTYPE_p_wxSpinEvent swig_types[59]
269 #define SWIGTYPE_p_wxGenericDragImage swig_types[60]
270 #define SWIGTYPE_p_wxSpinCtrl swig_types[61]
271 #define SWIGTYPE_p_wxImageList swig_types[62]
272 #define SWIGTYPE_p_wxHelpProvider swig_types[63]
273 #define SWIGTYPE_p_wxTextAttr swig_types[64]
274 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[65]
275 #define SWIGTYPE_p_wxPoint swig_types[66]
276 #define SWIGTYPE_p_wxListbookEvent swig_types[67]
277 #define SWIGTYPE_p_wxNotebookEvent swig_types[68]
278 #define SWIGTYPE_p_wxObject swig_types[69]
279 #define SWIGTYPE_p_wxCursor swig_types[70]
280 #define SWIGTYPE_p_wxKeyEvent swig_types[71]
281 #define SWIGTYPE_p_wxWindow swig_types[72]
282 #define SWIGTYPE_p_wxString swig_types[73]
283 #define SWIGTYPE_p_wxBitmap swig_types[74]
284 #define SWIGTYPE_p_wxTreeEvent swig_types[75]
285 #define SWIGTYPE_p_wxMouseEvent swig_types[76]
286 #define SWIGTYPE_p_wxCommandEvent swig_types[77]
287 #define SWIGTYPE_p_wxStaticText swig_types[78]
288 #define SWIGTYPE_p_wxControlWithItems swig_types[79]
289 #define SWIGTYPE_p_wxToolBarToolBase swig_types[80]
290 #define SWIGTYPE_p_wxColour swig_types[81]
291 #define SWIGTYPE_p_wxToolBar swig_types[82]
292 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[83]
293 #define SWIGTYPE_p_wxValidator swig_types[84]
294 static swig_type_info
*swig_types
[86];
296 /* -------- TYPES TABLE (END) -------- */
299 /*-----------------------------------------------
300 @(target):= _controls_.so
301 ------------------------------------------------*/
302 #define SWIG_init init_controls_
304 #define SWIG_name "_controls_"
306 /* Auxiliar swig macros */
309 #define SWIGSTATICINLINE(a) static inline a
310 #define SWIGSTATIC(a) static a
311 #define swig_new_array(type, size) (new type[(size)])
312 #define swig_delete_array(cptr) delete[] cptr
313 #define swig_const_cast(type,a) const_cast<type>(a)
314 #define swig_static_cast(type,a) static_cast<type>(a)
315 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
317 #ifdef HAVE_NUMERIC_CAST
318 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
320 #define swig_numeric_cast(type,a) static_cast<type>(a)
325 #define SWIGSTATICINLINE(a) static a
326 #define SWIGSTATIC(a) static a
327 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
328 #define swig_delete_array(cptr) free((char*)cptr)
329 #define swig_const_cast(type,a) (type)(a)
330 #define swig_static_cast(type,a) (type)(a)
331 #define swig_reinterpret_cast(type,a) (type)(a)
332 #define swig_numeric_cast(type,a) (type)(a)
334 #endif /* __cplusplus */
337 #define SWIG_FromSignedChar PyInt_FromLong
338 #define SWIG_FromUnsignedChar PyInt_FromLong
339 #define SWIG_FromShort PyInt_FromLong
340 #define SWIG_FromUnsignedShort PyInt_FromLong
341 #define SWIG_FromInt PyInt_FromLong
342 #define SWIG_FromLong PyInt_FromLong
343 #define SWIG_FromFloat PyFloat_FromDouble
344 #define SWIG_FromDouble PyFloat_FromDouble
345 #define SWIG_FromFloat PyFloat_FromDouble
346 #define SWIG_FromDouble PyFloat_FromDouble
349 #include "wx/wxPython/wxPython.h"
350 #include "wx/wxPython/pyclasses.h"
352 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
353 static const wxString
wxPyEmptyString(wxEmptyString
);
354 static const wxString
wxPyControlNameStr(wxControlNameStr
);
356 const wxArrayString wxPyEmptyStringArray
;
358 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
363 SWIGSTATICINLINE(long)
364 SWIG_CheckLongInRange(long value
, const char* type
,
365 long min_value
, long max_value
)
367 if (!PyErr_Occurred()) {
368 if (value
< min_value
) {
370 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
371 value
, type
, min_value
);
373 PyErr_SetObject(PyExc_OverflowError
, err
);
375 } else if (value
> max_value
) {
377 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
378 value
, type
, max_value
);
379 PyErr_SetObject(PyExc_OverflowError
, err
);
387 SWIGSTATICINLINE(long)
388 SWIG_AsLong(PyObject
* obj
)
390 if (PyNumber_Check(obj
))
391 return PyInt_AsLong(obj
);
393 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
394 obj
->ob_type
->tp_name
);
395 PyErr_SetObject(PyExc_TypeError
, errmsg
);
402 #if INT_MAX != LONG_MAX
403 SWIGSTATICINLINE(int)
404 SWIG_AsInt(PyObject
*obj
)
406 return swig_numeric_cast(int,
407 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
408 "int", INT_MIN
, INT_MAX
));
411 #define SWIG_AsInt SWIG_AsLong
415 SWIGSTATICINLINE(int)
416 SWIG_CheckInt(PyObject
* obj
)
419 if (PyErr_Occurred()) {
428 SWIGSTATICINLINE(int)
429 SWIG_CheckLong(PyObject
* obj
)
432 if (PyErr_Occurred()) {
440 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
442 SWIGSTATICINLINE(bool)
443 SWIG_AsBool(PyObject
*obj
)
445 return PyObject_IsTrue(obj
) ? true : false;
449 SWIGSTATICINLINE(int)
450 SWIG_CheckBool(PyObject
* obj
)
453 if (PyErr_Occurred()) {
461 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
462 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
463 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
464 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
465 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
466 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
468 #include <wx/checklst.h>
471 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
472 void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
474 wxPyClientData
* data
= new wxPyClientData(clientData
);
475 self
->Insert(item
, pos
, data
);
477 self
->Insert(item
, pos
);
479 PyObject
*wxListBox_GetSelections(wxListBox
*self
){
481 self
->GetSelections(lst
);
482 PyObject
*tup
= PyTuple_New(lst
.GetCount());
483 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
484 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
488 void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
490 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
491 self
->GetItem(item
)->SetTextColour(c
);
494 void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
496 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
497 self
->GetItem(item
)->SetBackgroundColour(c
);
500 void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
502 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
503 self
->GetItem(item
)->SetFont(f
);
506 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
508 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
514 } else if (target
== Py_None
) {
518 if (!PyTuple_Check(target
)) {
520 target
= PyTuple_New(1);
521 PyTuple_SetItem(target
, 0, o2
);
524 PyTuple_SetItem(o3
, 0, o
);
527 target
= PySequence_Concat(o2
, o3
);
535 SWIGSTATICINLINE(unsigned long)
536 SWIG_AsUnsignedLong(PyObject
* obj
)
538 if (PyLong_Check(obj
)) {
539 return PyLong_AsUnsignedLong(obj
);
541 long i
= SWIG_AsLong(obj
);
542 if ( !PyErr_Occurred() && (i
< 0)) {
543 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
550 SWIGSTATICINLINE(int)
551 SWIG_CheckUnsignedLong(PyObject
* obj
)
553 SWIG_AsUnsignedLong(obj
);
554 if (PyErr_Occurred()) {
562 void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
563 self
->AppendText(text
);
565 wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
566 return self
->GetValue().Mid(from
, to
- from
);
568 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
569 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
570 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
571 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
572 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
573 int wxRadioBox_GetColumnCount(wxRadioBox
const *self
){ return -1; }
574 int wxRadioBox_GetRowCount(wxRadioBox
const *self
){ return -1; }
575 int wxRadioBox_GetNextItem(wxRadioBox
const *self
,int item
,wxDirection dir
,long style
){ return -1; }
577 #include <wx/slider.h>
580 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
581 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
584 // implement dummy items for platforms that don't have this class
586 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
588 class wxToggleButton
: public wxControl
591 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
592 const wxPoint
&, const wxSize
&, long,
593 const wxValidator
&, const wxString
&)
594 { wxPyRaiseNotImplemented(); }
597 { wxPyRaiseNotImplemented(); }
601 static const wxString
wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME
);
603 SWIGSTATICINLINE(PyObject
* )
604 SWIG_FromUnsignedLong(unsigned long value
)
606 return (value
> LONG_MAX
) ?
607 PyLong_FromUnsignedLong(value
)
608 : PyInt_FromLong(swig_numeric_cast(long,value
));
611 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
612 PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
613 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
615 Py_INCREF(udata
->m_obj
);
622 void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
623 self
->SetClientData(new wxPyUserData(clientData
));
625 wxToolBarToolBase
*wxToolBarBase_DoAddTool(wxToolBarBase
*self
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
,wxItemKind kind
,wxString
const &shortHelp
,wxString
const &longHelp
,PyObject
*clientData
){
626 wxPyUserData
* udata
= NULL
;
627 if (clientData
&& clientData
!= Py_None
)
628 udata
= new wxPyUserData(clientData
);
629 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
630 shortHelp
, longHelp
, udata
);
632 wxToolBarToolBase
*wxToolBarBase_DoInsertTool(wxToolBarBase
*self
,size_t pos
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
,wxItemKind kind
,wxString
const &shortHelp
,wxString
const &longHelp
,PyObject
*clientData
){
633 wxPyUserData
* udata
= NULL
;
634 if (clientData
&& clientData
!= Py_None
)
635 udata
= new wxPyUserData(clientData
);
636 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
637 shortHelp
, longHelp
, udata
);
639 PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
640 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
642 Py_INCREF(udata
->m_obj
);
649 void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
650 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
653 #include <wx/listctrl.h>
655 static const wxString
wxPyListCtrlNameStr(_T("wxListCtrl"));
656 void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
657 // Python aware sorting function for wxPyListCtrl
658 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
660 PyObject
* func
= (PyObject
*)funcPtr
;
661 bool blocked
= wxPyBeginBlockThreads();
663 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
664 PyObject
* result
= PyEval_CallObject(func
, args
);
667 retval
= PyInt_AsLong(result
);
671 wxPyEndBlockThreads(blocked
);
675 // C++ Version of a Python aware class
676 class wxPyListCtrl
: public wxListCtrl
{
677 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
679 wxPyListCtrl() : wxListCtrl() {}
680 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
684 const wxValidator
& validator
,
685 const wxString
& name
) :
686 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
688 bool Create(wxWindow
* parent
, wxWindowID id
,
692 const wxValidator
& validator
,
693 const wxString
& name
) {
694 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
697 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
698 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
699 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
704 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
706 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
707 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
708 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
710 wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
712 item
.SetMask( wxLIST_MASK_STATE
|
720 if (self
->GetColumn(col
, item
))
721 return new wxListItem(item
);
725 wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
){
726 wxListItem
* info
= new wxListItem
;
727 info
->m_itemId
= itemId
;
729 info
->m_mask
= 0xFFFF;
730 self
->GetItem(*info
);
733 wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
735 self
->GetItemPosition(item
, pos
);
738 wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
){
740 self
->GetItemRect(item
, rect
, code
);
743 bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
744 if (!PyCallable_Check(func
))
746 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
748 wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
752 return (wxWindow
*)self
->m_mainWin
;
756 #include <wx/treectrl.h>
757 #include "wx/wxPython/pytree.h"
759 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
760 bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : False
; }
761 bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : True
; }
762 void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
763 // C++ version of Python aware wxTreeCtrl
764 class wxPyTreeCtrl
: public wxTreeCtrl
{
765 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
767 wxPyTreeCtrl() : wxTreeCtrl() {}
768 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
772 const wxValidator
& validator
,
773 const wxString
& name
) :
774 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
776 bool Create(wxWindow
*parent
, wxWindowID id
,
780 const wxValidator
& validator
,
781 const wxString
& name
) {
782 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
786 int OnCompareItems(const wxTreeItemId
& item1
,
787 const wxTreeItemId
& item2
) {
790 bool blocked
= wxPyBeginBlockThreads();
791 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
792 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), False
);
793 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), False
);
794 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
798 wxPyEndBlockThreads(blocked
);
800 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
806 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
810 #if UINT_MAX < LONG_MAX
811 #define SWIG_FromUnsignedInt SWIG_FromLong
813 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
817 SWIGSTATICINLINE(unsigned long)
818 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
819 unsigned long max_value
)
821 if (!PyErr_Occurred()) {
822 if (value
> max_value
) {
824 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
825 value
, type
, max_value
);
826 PyErr_SetObject(PyExc_OverflowError
, err
);
834 #if UINT_MAX != ULONG_MAX
835 SWIGSTATICINLINE(unsigned int)
836 SWIG_AsUnsignedInt(PyObject
*obj
)
838 return swig_numeric_cast(unsigned int,
839 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
840 "unsigned int", UINT_MAX
));
843 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
847 SWIGSTATICINLINE(int)
848 SWIG_CheckUnsignedInt(PyObject
* obj
)
850 SWIG_AsUnsignedInt(obj
);
851 if (PyErr_Occurred()) {
859 wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
860 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
862 data
= new wxPyTreeItemData();
863 data
->SetId(item
); // set the id
864 self
->SetItemData(item
, data
);
868 PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
869 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
871 data
= new wxPyTreeItemData();
872 data
->SetId(item
); // set the id
873 self
->SetItemData(item
, data
);
875 return data
->GetData();
877 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
878 data
->SetId(item
); // set the id
879 self
->SetItemData(item
, data
);
881 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
882 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
884 data
= new wxPyTreeItemData(obj
);
885 data
->SetId(item
); // set the id
886 self
->SetItemData(item
, data
);
890 PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
891 bool blocked
= wxPyBeginBlockThreads();
892 PyObject
* rval
= PyList_New(0);
893 wxArrayTreeItemIds array
;
895 num
= self
->GetSelections(array
);
896 for (x
=0; x
< num
; x
++) {
897 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
898 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), True
);
899 PyList_Append(rval
, item
);
902 wxPyEndBlockThreads(blocked
);
905 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
907 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
908 bool blocked
= wxPyBeginBlockThreads();
909 PyObject
* tup
= PyTuple_New(2);
910 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
911 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
912 wxPyEndBlockThreads(blocked
);
915 PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
916 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
917 bool blocked
= wxPyBeginBlockThreads();
918 PyObject
* tup
= PyTuple_New(2);
919 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
920 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
921 wxPyEndBlockThreads(blocked
);
924 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
926 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
927 bool blocked
= wxPyBeginBlockThreads();
928 wxRect
* r
= new wxRect(rect
);
929 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), True
);
930 wxPyEndBlockThreads(blocked
);
936 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
937 // C++ version of Python aware wxControl
938 class wxPyControl
: public wxControl
940 DECLARE_DYNAMIC_CLASS(wxPyControl
)
942 wxPyControl() : wxControl() {}
943 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
944 const wxPoint
& pos
= wxDefaultPosition
,
945 const wxSize
& size
= wxDefaultSize
,
947 const wxValidator
& validator
=wxDefaultValidator
,
948 const wxString
& name
= wxPyControlNameStr
)
949 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
951 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
953 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
954 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
955 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
956 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
958 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
959 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
960 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
962 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
963 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
965 DEC_PYCALLBACK__(InitDialog
);
966 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
967 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
968 DEC_PYCALLBACK_BOOL_(Validate
);
970 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
971 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
972 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
974 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
975 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
977 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
978 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
979 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
984 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
986 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
987 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
988 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
989 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
991 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
992 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
993 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
995 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
996 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
998 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
999 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
1000 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
1001 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
1003 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
1004 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
1005 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
1007 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
1008 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
1010 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
1011 IMP_PYCALLBACK__COLOUR(wxPyControl
, wxControl
, ApplyParentThemeBackground
);
1012 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
1016 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
1018 #include <wx/generic/dragimgg.h>
1023 static int _wrap_ButtonNameStr_set(PyObject
*_val
) {
1024 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
1029 static PyObject
*_wrap_ButtonNameStr_get() {
1034 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1036 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1043 static PyObject
*_wrap_new_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1044 PyObject
*resultobj
;
1045 wxWindow
*arg1
= (wxWindow
*) 0 ;
1046 int arg2
= (int) -1 ;
1047 wxString
const &arg3_defvalue
= wxPyEmptyString
;
1048 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
1049 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1050 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1051 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1052 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1053 long arg6
= (long) 0 ;
1054 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1055 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1056 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1057 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1059 bool temp3
= False
;
1062 bool temp8
= False
;
1063 PyObject
* obj0
= 0 ;
1064 PyObject
* obj1
= 0 ;
1065 PyObject
* obj2
= 0 ;
1066 PyObject
* obj3
= 0 ;
1067 PyObject
* obj4
= 0 ;
1068 PyObject
* obj5
= 0 ;
1069 PyObject
* obj6
= 0 ;
1070 PyObject
* obj7
= 0 ;
1072 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1079 arg2
= (int) SWIG_AsInt(obj1
);
1080 if (PyErr_Occurred()) SWIG_fail
;
1084 arg3
= wxString_in_helper(obj2
);
1085 if (arg3
== NULL
) SWIG_fail
;
1092 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1098 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1102 arg6
= (long) SWIG_AsLong(obj5
);
1103 if (PyErr_Occurred()) SWIG_fail
;
1106 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1107 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1110 PyErr_SetString(PyExc_TypeError
,"null reference");
1116 arg8
= wxString_in_helper(obj7
);
1117 if (arg8
== NULL
) SWIG_fail
;
1122 if (!wxPyCheckForApp()) SWIG_fail
;
1123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1124 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1126 wxPyEndAllowThreads(__tstate
);
1127 if (PyErr_Occurred()) SWIG_fail
;
1130 resultobj
= wxPyMake_wxObject(result
);
1154 static PyObject
*_wrap_new_PreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1155 PyObject
*resultobj
;
1161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
1163 if (!wxPyCheckForApp()) SWIG_fail
;
1164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1165 result
= (wxButton
*)new wxButton();
1167 wxPyEndAllowThreads(__tstate
);
1168 if (PyErr_Occurred()) SWIG_fail
;
1171 resultobj
= wxPyMake_wxObject(result
);
1179 static PyObject
*_wrap_Button_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1180 PyObject
*resultobj
;
1181 wxButton
*arg1
= (wxButton
*) 0 ;
1182 wxWindow
*arg2
= (wxWindow
*) 0 ;
1183 int arg3
= (int) -1 ;
1184 wxString
const &arg4_defvalue
= wxPyEmptyString
;
1185 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
1186 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1187 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1188 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1189 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1190 long arg7
= (long) 0 ;
1191 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1192 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1193 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1194 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1196 bool temp4
= False
;
1199 bool temp9
= False
;
1200 PyObject
* obj0
= 0 ;
1201 PyObject
* obj1
= 0 ;
1202 PyObject
* obj2
= 0 ;
1203 PyObject
* obj3
= 0 ;
1204 PyObject
* obj4
= 0 ;
1205 PyObject
* obj5
= 0 ;
1206 PyObject
* obj6
= 0 ;
1207 PyObject
* obj7
= 0 ;
1208 PyObject
* obj8
= 0 ;
1210 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1216 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1219 arg3
= (int) SWIG_AsInt(obj2
);
1220 if (PyErr_Occurred()) SWIG_fail
;
1224 arg4
= wxString_in_helper(obj3
);
1225 if (arg4
== NULL
) SWIG_fail
;
1232 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1238 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1242 arg7
= (long) SWIG_AsLong(obj6
);
1243 if (PyErr_Occurred()) SWIG_fail
;
1246 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1247 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1250 PyErr_SetString(PyExc_TypeError
,"null reference");
1256 arg9
= wxString_in_helper(obj8
);
1257 if (arg9
== NULL
) SWIG_fail
;
1262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1263 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1265 wxPyEndAllowThreads(__tstate
);
1266 if (PyErr_Occurred()) SWIG_fail
;
1269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1293 static PyObject
*_wrap_Button_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1294 PyObject
*resultobj
;
1295 wxButton
*arg1
= (wxButton
*) 0 ;
1296 PyObject
* obj0
= 0 ;
1298 (char *) "self", NULL
1301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1306 (arg1
)->SetDefault();
1308 wxPyEndAllowThreads(__tstate
);
1309 if (PyErr_Occurred()) SWIG_fail
;
1311 Py_INCREF(Py_None
); resultobj
= Py_None
;
1318 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1319 PyObject
*resultobj
;
1325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1328 result
= wxButton::GetDefaultSize();
1330 wxPyEndAllowThreads(__tstate
);
1331 if (PyErr_Occurred()) SWIG_fail
;
1335 resultptr
= new wxSize((wxSize
&) result
);
1336 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
1344 static PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1345 PyObject
*resultobj
;
1346 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
1347 wxVisualAttributes result
;
1348 PyObject
* obj0
= 0 ;
1350 (char *) "variant", NULL
1353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
1355 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
1356 if (PyErr_Occurred()) SWIG_fail
;
1359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1360 result
= wxButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
1362 wxPyEndAllowThreads(__tstate
);
1363 if (PyErr_Occurred()) SWIG_fail
;
1366 wxVisualAttributes
* resultptr
;
1367 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
1368 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
1376 static PyObject
* Button_swigregister(PyObject
*self
, PyObject
*args
) {
1378 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1379 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1381 return Py_BuildValue((char *)"");
1383 static PyObject
*_wrap_new_BitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1384 PyObject
*resultobj
;
1385 wxWindow
*arg1
= (wxWindow
*) 0 ;
1386 int arg2
= (int) -1 ;
1387 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
1388 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
1389 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1390 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1391 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1392 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1393 long arg6
= (long) wxBU_AUTODRAW
;
1394 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1395 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1396 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1397 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1398 wxBitmapButton
*result
;
1401 bool temp8
= False
;
1402 PyObject
* obj0
= 0 ;
1403 PyObject
* obj1
= 0 ;
1404 PyObject
* obj2
= 0 ;
1405 PyObject
* obj3
= 0 ;
1406 PyObject
* obj4
= 0 ;
1407 PyObject
* obj5
= 0 ;
1408 PyObject
* obj6
= 0 ;
1409 PyObject
* obj7
= 0 ;
1411 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1418 arg2
= (int) SWIG_AsInt(obj1
);
1419 if (PyErr_Occurred()) SWIG_fail
;
1422 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
1423 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1426 PyErr_SetString(PyExc_TypeError
,"null reference");
1433 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1439 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1443 arg6
= (long) SWIG_AsLong(obj5
);
1444 if (PyErr_Occurred()) SWIG_fail
;
1447 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1448 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1451 PyErr_SetString(PyExc_TypeError
,"null reference");
1457 arg8
= wxString_in_helper(obj7
);
1458 if (arg8
== NULL
) SWIG_fail
;
1463 if (!wxPyCheckForApp()) SWIG_fail
;
1464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1465 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1467 wxPyEndAllowThreads(__tstate
);
1468 if (PyErr_Occurred()) SWIG_fail
;
1471 resultobj
= wxPyMake_wxObject(result
);
1487 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1488 PyObject
*resultobj
;
1489 wxBitmapButton
*result
;
1494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1496 if (!wxPyCheckForApp()) SWIG_fail
;
1497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1498 result
= (wxBitmapButton
*)new wxBitmapButton();
1500 wxPyEndAllowThreads(__tstate
);
1501 if (PyErr_Occurred()) SWIG_fail
;
1504 resultobj
= wxPyMake_wxObject(result
);
1512 static PyObject
*_wrap_BitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1513 PyObject
*resultobj
;
1514 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1515 wxWindow
*arg2
= (wxWindow
*) 0 ;
1516 int arg3
= (int) -1 ;
1517 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
1518 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
1519 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1520 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1521 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1522 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1523 long arg7
= (long) wxBU_AUTODRAW
;
1524 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1525 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1526 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1527 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1531 bool temp9
= False
;
1532 PyObject
* obj0
= 0 ;
1533 PyObject
* obj1
= 0 ;
1534 PyObject
* obj2
= 0 ;
1535 PyObject
* obj3
= 0 ;
1536 PyObject
* obj4
= 0 ;
1537 PyObject
* obj5
= 0 ;
1538 PyObject
* obj6
= 0 ;
1539 PyObject
* obj7
= 0 ;
1540 PyObject
* obj8
= 0 ;
1542 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1548 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1551 arg3
= (int) SWIG_AsInt(obj2
);
1552 if (PyErr_Occurred()) SWIG_fail
;
1555 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
1556 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1559 PyErr_SetString(PyExc_TypeError
,"null reference");
1566 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1572 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1576 arg7
= (long) SWIG_AsLong(obj6
);
1577 if (PyErr_Occurred()) SWIG_fail
;
1580 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1581 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1584 PyErr_SetString(PyExc_TypeError
,"null reference");
1590 arg9
= wxString_in_helper(obj8
);
1591 if (arg9
== NULL
) SWIG_fail
;
1596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1597 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1599 wxPyEndAllowThreads(__tstate
);
1600 if (PyErr_Occurred()) SWIG_fail
;
1603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1619 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1620 PyObject
*resultobj
;
1621 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1623 PyObject
* obj0
= 0 ;
1625 (char *) "self", NULL
1628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1633 result
= (arg1
)->GetBitmapLabel();
1635 wxPyEndAllowThreads(__tstate
);
1636 if (PyErr_Occurred()) SWIG_fail
;
1639 wxBitmap
* resultptr
;
1640 resultptr
= new wxBitmap((wxBitmap
&) result
);
1641 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1649 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1650 PyObject
*resultobj
;
1651 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1653 PyObject
* obj0
= 0 ;
1655 (char *) "self", NULL
1658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1663 result
= (arg1
)->GetBitmapDisabled();
1665 wxPyEndAllowThreads(__tstate
);
1666 if (PyErr_Occurred()) SWIG_fail
;
1669 wxBitmap
* resultptr
;
1670 resultptr
= new wxBitmap((wxBitmap
&) result
);
1671 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1679 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1680 PyObject
*resultobj
;
1681 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1683 PyObject
* obj0
= 0 ;
1685 (char *) "self", NULL
1688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1693 result
= (arg1
)->GetBitmapFocus();
1695 wxPyEndAllowThreads(__tstate
);
1696 if (PyErr_Occurred()) SWIG_fail
;
1699 wxBitmap
* resultptr
;
1700 resultptr
= new wxBitmap((wxBitmap
&) result
);
1701 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1709 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1710 PyObject
*resultobj
;
1711 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1713 PyObject
* obj0
= 0 ;
1715 (char *) "self", NULL
1718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1723 result
= (arg1
)->GetBitmapSelected();
1725 wxPyEndAllowThreads(__tstate
);
1726 if (PyErr_Occurred()) SWIG_fail
;
1729 wxBitmap
* resultptr
;
1730 resultptr
= new wxBitmap((wxBitmap
&) result
);
1731 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1739 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1740 PyObject
*resultobj
;
1741 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1742 wxBitmap
*arg2
= 0 ;
1743 PyObject
* obj0
= 0 ;
1744 PyObject
* obj1
= 0 ;
1746 (char *) "self",(char *) "bitmap", NULL
1749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1752 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1753 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1756 PyErr_SetString(PyExc_TypeError
,"null reference");
1760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1761 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1763 wxPyEndAllowThreads(__tstate
);
1764 if (PyErr_Occurred()) SWIG_fail
;
1766 Py_INCREF(Py_None
); resultobj
= Py_None
;
1773 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1774 PyObject
*resultobj
;
1775 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1776 wxBitmap
*arg2
= 0 ;
1777 PyObject
* obj0
= 0 ;
1778 PyObject
* obj1
= 0 ;
1780 (char *) "self",(char *) "bitmap", NULL
1783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1786 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1787 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1790 PyErr_SetString(PyExc_TypeError
,"null reference");
1794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1795 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1797 wxPyEndAllowThreads(__tstate
);
1798 if (PyErr_Occurred()) SWIG_fail
;
1800 Py_INCREF(Py_None
); resultobj
= Py_None
;
1807 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1808 PyObject
*resultobj
;
1809 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1810 wxBitmap
*arg2
= 0 ;
1811 PyObject
* obj0
= 0 ;
1812 PyObject
* obj1
= 0 ;
1814 (char *) "self",(char *) "bitmap", NULL
1817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1820 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1821 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1824 PyErr_SetString(PyExc_TypeError
,"null reference");
1828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1829 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1831 wxPyEndAllowThreads(__tstate
);
1832 if (PyErr_Occurred()) SWIG_fail
;
1834 Py_INCREF(Py_None
); resultobj
= Py_None
;
1841 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1842 PyObject
*resultobj
;
1843 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1844 wxBitmap
*arg2
= 0 ;
1845 PyObject
* obj0
= 0 ;
1846 PyObject
* obj1
= 0 ;
1848 (char *) "self",(char *) "bitmap", NULL
1851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1854 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1855 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1858 PyErr_SetString(PyExc_TypeError
,"null reference");
1862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1863 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1865 wxPyEndAllowThreads(__tstate
);
1866 if (PyErr_Occurred()) SWIG_fail
;
1868 Py_INCREF(Py_None
); resultobj
= Py_None
;
1875 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1876 PyObject
*resultobj
;
1877 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1880 PyObject
* obj0
= 0 ;
1881 PyObject
* obj1
= 0 ;
1882 PyObject
* obj2
= 0 ;
1884 (char *) "self",(char *) "x",(char *) "y", NULL
1887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1890 arg2
= (int) SWIG_AsInt(obj1
);
1891 if (PyErr_Occurred()) SWIG_fail
;
1892 arg3
= (int) SWIG_AsInt(obj2
);
1893 if (PyErr_Occurred()) SWIG_fail
;
1895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1896 (arg1
)->SetMargins(arg2
,arg3
);
1898 wxPyEndAllowThreads(__tstate
);
1899 if (PyErr_Occurred()) SWIG_fail
;
1901 Py_INCREF(Py_None
); resultobj
= Py_None
;
1908 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1909 PyObject
*resultobj
;
1910 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1912 PyObject
* obj0
= 0 ;
1914 (char *) "self", NULL
1917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1922 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1924 wxPyEndAllowThreads(__tstate
);
1925 if (PyErr_Occurred()) SWIG_fail
;
1927 resultobj
= SWIG_FromInt((int)result
);
1934 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1935 PyObject
*resultobj
;
1936 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1938 PyObject
* obj0
= 0 ;
1940 (char *) "self", NULL
1943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1948 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1950 wxPyEndAllowThreads(__tstate
);
1951 if (PyErr_Occurred()) SWIG_fail
;
1953 resultobj
= SWIG_FromInt((int)result
);
1960 static PyObject
* BitmapButton_swigregister(PyObject
*self
, PyObject
*args
) {
1962 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1963 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1965 return Py_BuildValue((char *)"");
1967 static int _wrap_CheckBoxNameStr_set(PyObject
*_val
) {
1968 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
1973 static PyObject
*_wrap_CheckBoxNameStr_get() {
1978 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1980 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1987 static PyObject
*_wrap_new_CheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1988 PyObject
*resultobj
;
1989 wxWindow
*arg1
= (wxWindow
*) 0 ;
1990 int arg2
= (int) -1 ;
1991 wxString
const &arg3_defvalue
= wxPyEmptyString
;
1992 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
1993 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1994 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1995 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1996 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1997 long arg6
= (long) 0 ;
1998 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1999 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2000 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
2001 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2003 bool temp3
= False
;
2006 bool temp8
= False
;
2007 PyObject
* obj0
= 0 ;
2008 PyObject
* obj1
= 0 ;
2009 PyObject
* obj2
= 0 ;
2010 PyObject
* obj3
= 0 ;
2011 PyObject
* obj4
= 0 ;
2012 PyObject
* obj5
= 0 ;
2013 PyObject
* obj6
= 0 ;
2014 PyObject
* obj7
= 0 ;
2016 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2023 arg2
= (int) SWIG_AsInt(obj1
);
2024 if (PyErr_Occurred()) SWIG_fail
;
2028 arg3
= wxString_in_helper(obj2
);
2029 if (arg3
== NULL
) SWIG_fail
;
2036 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2042 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2046 arg6
= (long) SWIG_AsLong(obj5
);
2047 if (PyErr_Occurred()) SWIG_fail
;
2050 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2051 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2054 PyErr_SetString(PyExc_TypeError
,"null reference");
2060 arg8
= wxString_in_helper(obj7
);
2061 if (arg8
== NULL
) SWIG_fail
;
2066 if (!wxPyCheckForApp()) SWIG_fail
;
2067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2068 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2070 wxPyEndAllowThreads(__tstate
);
2071 if (PyErr_Occurred()) SWIG_fail
;
2073 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2096 static PyObject
*_wrap_new_PreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2097 PyObject
*resultobj
;
2103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
2105 if (!wxPyCheckForApp()) SWIG_fail
;
2106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2107 result
= (wxCheckBox
*)new wxCheckBox();
2109 wxPyEndAllowThreads(__tstate
);
2110 if (PyErr_Occurred()) SWIG_fail
;
2112 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2119 static PyObject
*_wrap_CheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2120 PyObject
*resultobj
;
2121 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2122 wxWindow
*arg2
= (wxWindow
*) 0 ;
2123 int arg3
= (int) -1 ;
2124 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2125 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2126 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2127 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2128 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2129 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2130 long arg7
= (long) 0 ;
2131 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2132 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2133 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
2134 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2136 bool temp4
= False
;
2139 bool temp9
= False
;
2140 PyObject
* obj0
= 0 ;
2141 PyObject
* obj1
= 0 ;
2142 PyObject
* obj2
= 0 ;
2143 PyObject
* obj3
= 0 ;
2144 PyObject
* obj4
= 0 ;
2145 PyObject
* obj5
= 0 ;
2146 PyObject
* obj6
= 0 ;
2147 PyObject
* obj7
= 0 ;
2148 PyObject
* obj8
= 0 ;
2150 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2156 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2159 arg3
= (int) SWIG_AsInt(obj2
);
2160 if (PyErr_Occurred()) SWIG_fail
;
2164 arg4
= wxString_in_helper(obj3
);
2165 if (arg4
== NULL
) SWIG_fail
;
2172 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2178 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2182 arg7
= (long) SWIG_AsLong(obj6
);
2183 if (PyErr_Occurred()) SWIG_fail
;
2186 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2187 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2190 PyErr_SetString(PyExc_TypeError
,"null reference");
2196 arg9
= wxString_in_helper(obj8
);
2197 if (arg9
== NULL
) SWIG_fail
;
2202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2203 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2205 wxPyEndAllowThreads(__tstate
);
2206 if (PyErr_Occurred()) SWIG_fail
;
2209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2233 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2234 PyObject
*resultobj
;
2235 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2237 PyObject
* obj0
= 0 ;
2239 (char *) "self", NULL
2242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
2243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2247 result
= (bool)(arg1
)->GetValue();
2249 wxPyEndAllowThreads(__tstate
);
2250 if (PyErr_Occurred()) SWIG_fail
;
2253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2261 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2262 PyObject
*resultobj
;
2263 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2265 PyObject
* obj0
= 0 ;
2267 (char *) "self", NULL
2270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2275 result
= (bool)(arg1
)->IsChecked();
2277 wxPyEndAllowThreads(__tstate
);
2278 if (PyErr_Occurred()) SWIG_fail
;
2281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2289 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2290 PyObject
*resultobj
;
2291 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2293 PyObject
* obj0
= 0 ;
2294 PyObject
* obj1
= 0 ;
2296 (char *) "self",(char *) "state", NULL
2299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2302 arg2
= (bool const) SWIG_AsBool(obj1
);
2303 if (PyErr_Occurred()) SWIG_fail
;
2305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2306 (arg1
)->SetValue(arg2
);
2308 wxPyEndAllowThreads(__tstate
);
2309 if (PyErr_Occurred()) SWIG_fail
;
2311 Py_INCREF(Py_None
); resultobj
= Py_None
;
2318 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2319 PyObject
*resultobj
;
2320 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2322 PyObject
* obj0
= 0 ;
2324 (char *) "self", NULL
2327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2332 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2334 wxPyEndAllowThreads(__tstate
);
2335 if (PyErr_Occurred()) SWIG_fail
;
2337 resultobj
= SWIG_FromInt((int)result
);
2344 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2345 PyObject
*resultobj
;
2346 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2348 PyObject
* obj0
= 0 ;
2349 PyObject
* obj1
= 0 ;
2351 (char *) "self",(char *) "state", NULL
2354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2357 arg2
= (wxCheckBoxState
) SWIG_AsInt(obj1
);
2358 if (PyErr_Occurred()) SWIG_fail
;
2360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2361 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2363 wxPyEndAllowThreads(__tstate
);
2364 if (PyErr_Occurred()) SWIG_fail
;
2366 Py_INCREF(Py_None
); resultobj
= Py_None
;
2373 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2374 PyObject
*resultobj
;
2375 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2377 PyObject
* obj0
= 0 ;
2379 (char *) "self", NULL
2382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2387 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2389 wxPyEndAllowThreads(__tstate
);
2390 if (PyErr_Occurred()) SWIG_fail
;
2393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2401 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2402 PyObject
*resultobj
;
2403 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2405 PyObject
* obj0
= 0 ;
2407 (char *) "self", NULL
2410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2415 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2417 wxPyEndAllowThreads(__tstate
);
2418 if (PyErr_Occurred()) SWIG_fail
;
2421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2429 static PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2430 PyObject
*resultobj
;
2431 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2432 wxVisualAttributes result
;
2433 PyObject
* obj0
= 0 ;
2435 (char *) "variant", NULL
2438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2440 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2441 if (PyErr_Occurred()) SWIG_fail
;
2444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2445 result
= wxCheckBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2447 wxPyEndAllowThreads(__tstate
);
2448 if (PyErr_Occurred()) SWIG_fail
;
2451 wxVisualAttributes
* resultptr
;
2452 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2453 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2461 static PyObject
* CheckBox_swigregister(PyObject
*self
, PyObject
*args
) {
2463 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2464 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2466 return Py_BuildValue((char *)"");
2468 static int _wrap_ChoiceNameStr_set(PyObject
*_val
) {
2469 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2474 static PyObject
*_wrap_ChoiceNameStr_get() {
2479 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2481 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2488 static PyObject
*_wrap_new_Choice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2489 PyObject
*resultobj
;
2490 wxWindow
*arg1
= (wxWindow
*) 0 ;
2491 int arg2
= (int) -1 ;
2492 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2493 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2494 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2495 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2496 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
2497 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
2498 long arg6
= (long) 0 ;
2499 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2500 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2501 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
2502 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2506 bool temp5
= False
;
2507 bool temp8
= False
;
2508 PyObject
* obj0
= 0 ;
2509 PyObject
* obj1
= 0 ;
2510 PyObject
* obj2
= 0 ;
2511 PyObject
* obj3
= 0 ;
2512 PyObject
* obj4
= 0 ;
2513 PyObject
* obj5
= 0 ;
2514 PyObject
* obj6
= 0 ;
2515 PyObject
* obj7
= 0 ;
2517 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2524 arg2
= (int) SWIG_AsInt(obj1
);
2525 if (PyErr_Occurred()) SWIG_fail
;
2530 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2536 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2541 if (! PySequence_Check(obj4
)) {
2542 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2545 arg5
= new wxArrayString
;
2547 int i
, len
=PySequence_Length(obj4
);
2548 for (i
=0; i
<len
; i
++) {
2549 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2551 PyObject
* str
= PyObject_Unicode(item
);
2553 PyObject
* str
= PyObject_Str(item
);
2555 if (PyErr_Occurred()) SWIG_fail
;
2556 arg5
->Add(Py2wxString(str
));
2563 arg6
= (long) SWIG_AsLong(obj5
);
2564 if (PyErr_Occurred()) SWIG_fail
;
2567 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2568 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2571 PyErr_SetString(PyExc_TypeError
,"null reference");
2577 arg8
= wxString_in_helper(obj7
);
2578 if (arg8
== NULL
) SWIG_fail
;
2583 if (!wxPyCheckForApp()) SWIG_fail
;
2584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2585 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2587 wxPyEndAllowThreads(__tstate
);
2588 if (PyErr_Occurred()) SWIG_fail
;
2590 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2592 if (temp5
) delete arg5
;
2601 if (temp5
) delete arg5
;
2611 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2612 PyObject
*resultobj
;
2618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2620 if (!wxPyCheckForApp()) SWIG_fail
;
2621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2622 result
= (wxChoice
*)new wxChoice();
2624 wxPyEndAllowThreads(__tstate
);
2625 if (PyErr_Occurred()) SWIG_fail
;
2627 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2634 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2635 PyObject
*resultobj
;
2636 wxChoice
*arg1
= (wxChoice
*) 0 ;
2637 wxWindow
*arg2
= (wxWindow
*) 0 ;
2638 int arg3
= (int) -1 ;
2639 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2640 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2641 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2642 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2643 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2644 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2645 long arg7
= (long) 0 ;
2646 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2647 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2648 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2649 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2653 bool temp6
= False
;
2654 bool temp9
= False
;
2655 PyObject
* obj0
= 0 ;
2656 PyObject
* obj1
= 0 ;
2657 PyObject
* obj2
= 0 ;
2658 PyObject
* obj3
= 0 ;
2659 PyObject
* obj4
= 0 ;
2660 PyObject
* obj5
= 0 ;
2661 PyObject
* obj6
= 0 ;
2662 PyObject
* obj7
= 0 ;
2663 PyObject
* obj8
= 0 ;
2665 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2671 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2674 arg3
= (int) SWIG_AsInt(obj2
);
2675 if (PyErr_Occurred()) SWIG_fail
;
2680 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2686 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2691 if (! PySequence_Check(obj5
)) {
2692 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2695 arg6
= new wxArrayString
;
2697 int i
, len
=PySequence_Length(obj5
);
2698 for (i
=0; i
<len
; i
++) {
2699 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2701 PyObject
* str
= PyObject_Unicode(item
);
2703 PyObject
* str
= PyObject_Str(item
);
2705 if (PyErr_Occurred()) SWIG_fail
;
2706 arg6
->Add(Py2wxString(str
));
2713 arg7
= (long) SWIG_AsLong(obj6
);
2714 if (PyErr_Occurred()) SWIG_fail
;
2717 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2718 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2721 PyErr_SetString(PyExc_TypeError
,"null reference");
2727 arg9
= wxString_in_helper(obj8
);
2728 if (arg9
== NULL
) SWIG_fail
;
2733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2734 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2736 wxPyEndAllowThreads(__tstate
);
2737 if (PyErr_Occurred()) SWIG_fail
;
2740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2743 if (temp6
) delete arg6
;
2752 if (temp6
) delete arg6
;
2762 static PyObject
*_wrap_Choice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2763 PyObject
*resultobj
;
2764 wxChoice
*arg1
= (wxChoice
*) 0 ;
2766 PyObject
* obj0
= 0 ;
2767 PyObject
* obj1
= 0 ;
2769 (char *) "self",(char *) "n", NULL
2772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2775 arg2
= (int const) SWIG_AsInt(obj1
);
2776 if (PyErr_Occurred()) SWIG_fail
;
2778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2779 (arg1
)->SetSelection(arg2
);
2781 wxPyEndAllowThreads(__tstate
);
2782 if (PyErr_Occurred()) SWIG_fail
;
2784 Py_INCREF(Py_None
); resultobj
= Py_None
;
2791 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2792 PyObject
*resultobj
;
2793 wxChoice
*arg1
= (wxChoice
*) 0 ;
2794 wxString
*arg2
= 0 ;
2796 bool temp2
= False
;
2797 PyObject
* obj0
= 0 ;
2798 PyObject
* obj1
= 0 ;
2800 (char *) "self",(char *) "string", NULL
2803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2807 arg2
= wxString_in_helper(obj1
);
2808 if (arg2
== NULL
) SWIG_fail
;
2812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2813 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
2815 wxPyEndAllowThreads(__tstate
);
2816 if (PyErr_Occurred()) SWIG_fail
;
2819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2835 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2836 PyObject
*resultobj
;
2837 wxChoice
*arg1
= (wxChoice
*) 0 ;
2839 wxString
*arg3
= 0 ;
2840 bool temp3
= False
;
2841 PyObject
* obj0
= 0 ;
2842 PyObject
* obj1
= 0 ;
2843 PyObject
* obj2
= 0 ;
2845 (char *) "self",(char *) "n",(char *) "string", NULL
2848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2851 arg2
= (int) SWIG_AsInt(obj1
);
2852 if (PyErr_Occurred()) SWIG_fail
;
2854 arg3
= wxString_in_helper(obj2
);
2855 if (arg3
== NULL
) SWIG_fail
;
2859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2860 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2862 wxPyEndAllowThreads(__tstate
);
2863 if (PyErr_Occurred()) SWIG_fail
;
2865 Py_INCREF(Py_None
); resultobj
= Py_None
;
2880 static PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2881 PyObject
*resultobj
;
2882 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2883 wxVisualAttributes result
;
2884 PyObject
* obj0
= 0 ;
2886 (char *) "variant", NULL
2889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2891 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2892 if (PyErr_Occurred()) SWIG_fail
;
2895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2896 result
= wxChoice::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2898 wxPyEndAllowThreads(__tstate
);
2899 if (PyErr_Occurred()) SWIG_fail
;
2902 wxVisualAttributes
* resultptr
;
2903 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2904 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2912 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2914 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2915 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2917 return Py_BuildValue((char *)"");
2919 static int _wrap_ComboBoxNameStr_set(PyObject
*_val
) {
2920 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2925 static PyObject
*_wrap_ComboBoxNameStr_get() {
2930 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2932 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2939 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2940 PyObject
*resultobj
;
2941 wxWindow
*arg1
= (wxWindow
*) 0 ;
2942 int arg2
= (int) -1 ;
2943 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2944 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2945 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2946 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2947 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2948 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2949 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2950 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2951 long arg7
= (long) 0 ;
2952 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2953 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2954 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
2955 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2957 bool temp3
= False
;
2960 bool temp6
= False
;
2961 bool temp9
= False
;
2962 PyObject
* obj0
= 0 ;
2963 PyObject
* obj1
= 0 ;
2964 PyObject
* obj2
= 0 ;
2965 PyObject
* obj3
= 0 ;
2966 PyObject
* obj4
= 0 ;
2967 PyObject
* obj5
= 0 ;
2968 PyObject
* obj6
= 0 ;
2969 PyObject
* obj7
= 0 ;
2970 PyObject
* obj8
= 0 ;
2972 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2979 arg2
= (int) SWIG_AsInt(obj1
);
2980 if (PyErr_Occurred()) SWIG_fail
;
2984 arg3
= wxString_in_helper(obj2
);
2985 if (arg3
== NULL
) SWIG_fail
;
2992 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2998 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3003 if (! PySequence_Check(obj5
)) {
3004 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3007 arg6
= new wxArrayString
;
3009 int i
, len
=PySequence_Length(obj5
);
3010 for (i
=0; i
<len
; i
++) {
3011 PyObject
* item
= PySequence_GetItem(obj5
, i
);
3013 PyObject
* str
= PyObject_Unicode(item
);
3015 PyObject
* str
= PyObject_Str(item
);
3017 if (PyErr_Occurred()) SWIG_fail
;
3018 arg6
->Add(Py2wxString(str
));
3025 arg7
= (long) SWIG_AsLong(obj6
);
3026 if (PyErr_Occurred()) SWIG_fail
;
3029 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
3030 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3033 PyErr_SetString(PyExc_TypeError
,"null reference");
3039 arg9
= wxString_in_helper(obj8
);
3040 if (arg9
== NULL
) SWIG_fail
;
3045 if (!wxPyCheckForApp()) SWIG_fail
;
3046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3047 result
= (wxComboBox
*)new wxComboBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3049 wxPyEndAllowThreads(__tstate
);
3050 if (PyErr_Occurred()) SWIG_fail
;
3052 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3058 if (temp6
) delete arg6
;
3071 if (temp6
) delete arg6
;
3081 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3082 PyObject
*resultobj
;
3088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
3090 if (!wxPyCheckForApp()) SWIG_fail
;
3091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3092 result
= (wxComboBox
*)new wxComboBox();
3094 wxPyEndAllowThreads(__tstate
);
3095 if (PyErr_Occurred()) SWIG_fail
;
3097 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3104 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3105 PyObject
*resultobj
;
3106 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3107 wxWindow
*arg2
= (wxWindow
*) 0 ;
3108 int arg3
= (int) -1 ;
3109 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3110 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3111 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3112 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3113 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3114 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3115 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
3116 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
3117 long arg8
= (long) 0 ;
3118 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
3119 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
3120 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
3121 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
3123 bool temp4
= False
;
3126 bool temp7
= False
;
3127 bool temp10
= False
;
3128 PyObject
* obj0
= 0 ;
3129 PyObject
* obj1
= 0 ;
3130 PyObject
* obj2
= 0 ;
3131 PyObject
* obj3
= 0 ;
3132 PyObject
* obj4
= 0 ;
3133 PyObject
* obj5
= 0 ;
3134 PyObject
* obj6
= 0 ;
3135 PyObject
* obj7
= 0 ;
3136 PyObject
* obj8
= 0 ;
3137 PyObject
* obj9
= 0 ;
3139 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
3143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3145 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3148 arg3
= (int) SWIG_AsInt(obj2
);
3149 if (PyErr_Occurred()) SWIG_fail
;
3153 arg4
= wxString_in_helper(obj3
);
3154 if (arg4
== NULL
) SWIG_fail
;
3161 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3167 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3172 if (! PySequence_Check(obj6
)) {
3173 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3176 arg7
= new wxArrayString
;
3178 int i
, len
=PySequence_Length(obj6
);
3179 for (i
=0; i
<len
; i
++) {
3180 PyObject
* item
= PySequence_GetItem(obj6
, i
);
3182 PyObject
* str
= PyObject_Unicode(item
);
3184 PyObject
* str
= PyObject_Str(item
);
3186 if (PyErr_Occurred()) SWIG_fail
;
3187 arg7
->Add(Py2wxString(str
));
3194 arg8
= (long) SWIG_AsLong(obj7
);
3195 if (PyErr_Occurred()) SWIG_fail
;
3198 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
3199 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3202 PyErr_SetString(PyExc_TypeError
,"null reference");
3208 arg10
= wxString_in_helper(obj9
);
3209 if (arg10
== NULL
) SWIG_fail
;
3214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3215 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxArrayString
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
3217 wxPyEndAllowThreads(__tstate
);
3218 if (PyErr_Occurred()) SWIG_fail
;
3221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3228 if (temp7
) delete arg7
;
3241 if (temp7
) delete arg7
;
3251 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3252 PyObject
*resultobj
;
3253 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3255 PyObject
* obj0
= 0 ;
3257 (char *) "self", NULL
3260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
3261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3265 result
= ((wxComboBox
const *)arg1
)->GetValue();
3267 wxPyEndAllowThreads(__tstate
);
3268 if (PyErr_Occurred()) SWIG_fail
;
3272 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3274 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3283 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3284 PyObject
*resultobj
;
3285 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3286 wxString
*arg2
= 0 ;
3287 bool temp2
= False
;
3288 PyObject
* obj0
= 0 ;
3289 PyObject
* obj1
= 0 ;
3291 (char *) "self",(char *) "value", NULL
3294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3298 arg2
= wxString_in_helper(obj1
);
3299 if (arg2
== NULL
) SWIG_fail
;
3303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3304 (arg1
)->SetValue((wxString
const &)*arg2
);
3306 wxPyEndAllowThreads(__tstate
);
3307 if (PyErr_Occurred()) SWIG_fail
;
3309 Py_INCREF(Py_None
); resultobj
= Py_None
;
3324 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3325 PyObject
*resultobj
;
3326 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3327 PyObject
* obj0
= 0 ;
3329 (char *) "self", NULL
3332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
3333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3339 wxPyEndAllowThreads(__tstate
);
3340 if (PyErr_Occurred()) SWIG_fail
;
3342 Py_INCREF(Py_None
); resultobj
= Py_None
;
3349 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3350 PyObject
*resultobj
;
3351 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3352 PyObject
* obj0
= 0 ;
3354 (char *) "self", NULL
3357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3364 wxPyEndAllowThreads(__tstate
);
3365 if (PyErr_Occurred()) SWIG_fail
;
3367 Py_INCREF(Py_None
); resultobj
= Py_None
;
3374 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3375 PyObject
*resultobj
;
3376 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3377 PyObject
* obj0
= 0 ;
3379 (char *) "self", NULL
3382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3389 wxPyEndAllowThreads(__tstate
);
3390 if (PyErr_Occurred()) SWIG_fail
;
3392 Py_INCREF(Py_None
); resultobj
= Py_None
;
3399 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3400 PyObject
*resultobj
;
3401 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3403 PyObject
* obj0
= 0 ;
3404 PyObject
* obj1
= 0 ;
3406 (char *) "self",(char *) "pos", NULL
3409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3412 arg2
= (long) SWIG_AsLong(obj1
);
3413 if (PyErr_Occurred()) SWIG_fail
;
3415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3416 (arg1
)->SetInsertionPoint(arg2
);
3418 wxPyEndAllowThreads(__tstate
);
3419 if (PyErr_Occurred()) SWIG_fail
;
3421 Py_INCREF(Py_None
); resultobj
= Py_None
;
3428 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3429 PyObject
*resultobj
;
3430 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3432 PyObject
* obj0
= 0 ;
3434 (char *) "self", NULL
3437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3442 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3444 wxPyEndAllowThreads(__tstate
);
3445 if (PyErr_Occurred()) SWIG_fail
;
3447 resultobj
= SWIG_FromLong((long)result
);
3454 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3455 PyObject
*resultobj
;
3456 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3458 PyObject
* obj0
= 0 ;
3460 (char *) "self", NULL
3463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3468 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3470 wxPyEndAllowThreads(__tstate
);
3471 if (PyErr_Occurred()) SWIG_fail
;
3473 resultobj
= SWIG_FromLong((long)result
);
3480 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3481 PyObject
*resultobj
;
3482 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3485 wxString
*arg4
= 0 ;
3486 bool temp4
= False
;
3487 PyObject
* obj0
= 0 ;
3488 PyObject
* obj1
= 0 ;
3489 PyObject
* obj2
= 0 ;
3490 PyObject
* obj3
= 0 ;
3492 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3498 arg2
= (long) SWIG_AsLong(obj1
);
3499 if (PyErr_Occurred()) SWIG_fail
;
3500 arg3
= (long) SWIG_AsLong(obj2
);
3501 if (PyErr_Occurred()) SWIG_fail
;
3503 arg4
= wxString_in_helper(obj3
);
3504 if (arg4
== NULL
) SWIG_fail
;
3508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3509 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3511 wxPyEndAllowThreads(__tstate
);
3512 if (PyErr_Occurred()) SWIG_fail
;
3514 Py_INCREF(Py_None
); resultobj
= Py_None
;
3529 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3530 PyObject
*resultobj
;
3531 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3533 PyObject
* obj0
= 0 ;
3534 PyObject
* obj1
= 0 ;
3536 (char *) "self",(char *) "n", NULL
3539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3542 arg2
= (int) SWIG_AsInt(obj1
);
3543 if (PyErr_Occurred()) SWIG_fail
;
3545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3546 (arg1
)->SetSelection(arg2
);
3548 wxPyEndAllowThreads(__tstate
);
3549 if (PyErr_Occurred()) SWIG_fail
;
3551 Py_INCREF(Py_None
); resultobj
= Py_None
;
3558 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3559 PyObject
*resultobj
;
3560 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3563 PyObject
* obj0
= 0 ;
3564 PyObject
* obj1
= 0 ;
3565 PyObject
* obj2
= 0 ;
3567 (char *) "self",(char *) "from",(char *) "to", NULL
3570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3573 arg2
= (long) SWIG_AsLong(obj1
);
3574 if (PyErr_Occurred()) SWIG_fail
;
3575 arg3
= (long) SWIG_AsLong(obj2
);
3576 if (PyErr_Occurred()) SWIG_fail
;
3578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3579 (arg1
)->SetSelection(arg2
,arg3
);
3581 wxPyEndAllowThreads(__tstate
);
3582 if (PyErr_Occurred()) SWIG_fail
;
3584 Py_INCREF(Py_None
); resultobj
= Py_None
;
3591 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3592 PyObject
*resultobj
;
3593 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3594 wxString
*arg2
= 0 ;
3596 bool temp2
= False
;
3597 PyObject
* obj0
= 0 ;
3598 PyObject
* obj1
= 0 ;
3600 (char *) "self",(char *) "string", NULL
3603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3607 arg2
= wxString_in_helper(obj1
);
3608 if (arg2
== NULL
) SWIG_fail
;
3612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3613 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
3615 wxPyEndAllowThreads(__tstate
);
3616 if (PyErr_Occurred()) SWIG_fail
;
3619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3635 static PyObject
*_wrap_ComboBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3636 PyObject
*resultobj
;
3637 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3639 wxString
*arg3
= 0 ;
3640 bool temp3
= False
;
3641 PyObject
* obj0
= 0 ;
3642 PyObject
* obj1
= 0 ;
3643 PyObject
* obj2
= 0 ;
3645 (char *) "self",(char *) "n",(char *) "string", NULL
3648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3651 arg2
= (int) SWIG_AsInt(obj1
);
3652 if (PyErr_Occurred()) SWIG_fail
;
3654 arg3
= wxString_in_helper(obj2
);
3655 if (arg3
== NULL
) SWIG_fail
;
3659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3660 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
3662 wxPyEndAllowThreads(__tstate
);
3663 if (PyErr_Occurred()) SWIG_fail
;
3665 Py_INCREF(Py_None
); resultobj
= Py_None
;
3680 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3681 PyObject
*resultobj
;
3682 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3684 PyObject
* obj0
= 0 ;
3685 PyObject
* obj1
= 0 ;
3687 (char *) "self",(char *) "editable", NULL
3690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3693 arg2
= (bool) SWIG_AsBool(obj1
);
3694 if (PyErr_Occurred()) SWIG_fail
;
3696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3697 (arg1
)->SetEditable(arg2
);
3699 wxPyEndAllowThreads(__tstate
);
3700 if (PyErr_Occurred()) SWIG_fail
;
3702 Py_INCREF(Py_None
); resultobj
= Py_None
;
3709 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3710 PyObject
*resultobj
;
3711 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3712 PyObject
* obj0
= 0 ;
3714 (char *) "self", NULL
3717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3722 (arg1
)->SetInsertionPointEnd();
3724 wxPyEndAllowThreads(__tstate
);
3725 if (PyErr_Occurred()) SWIG_fail
;
3727 Py_INCREF(Py_None
); resultobj
= Py_None
;
3734 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3735 PyObject
*resultobj
;
3736 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3739 PyObject
* obj0
= 0 ;
3740 PyObject
* obj1
= 0 ;
3741 PyObject
* obj2
= 0 ;
3743 (char *) "self",(char *) "from",(char *) "to", NULL
3746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3749 arg2
= (long) SWIG_AsLong(obj1
);
3750 if (PyErr_Occurred()) SWIG_fail
;
3751 arg3
= (long) SWIG_AsLong(obj2
);
3752 if (PyErr_Occurred()) SWIG_fail
;
3754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3755 (arg1
)->Remove(arg2
,arg3
);
3757 wxPyEndAllowThreads(__tstate
);
3758 if (PyErr_Occurred()) SWIG_fail
;
3760 Py_INCREF(Py_None
); resultobj
= Py_None
;
3767 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3768 PyObject
*resultobj
;
3769 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
3770 wxVisualAttributes result
;
3771 PyObject
* obj0
= 0 ;
3773 (char *) "variant", NULL
3776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3778 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
3779 if (PyErr_Occurred()) SWIG_fail
;
3782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3783 result
= wxComboBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3785 wxPyEndAllowThreads(__tstate
);
3786 if (PyErr_Occurred()) SWIG_fail
;
3789 wxVisualAttributes
* resultptr
;
3790 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
3791 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3799 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
3801 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3802 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3804 return Py_BuildValue((char *)"");
3806 static int _wrap_GaugeNameStr_set(PyObject
*_val
) {
3807 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3812 static PyObject
*_wrap_GaugeNameStr_get() {
3817 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3819 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3826 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3827 PyObject
*resultobj
;
3828 wxWindow
*arg1
= (wxWindow
*) 0 ;
3829 int arg2
= (int) -1 ;
3830 int arg3
= (int) 100 ;
3831 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3832 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3833 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3834 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3835 long arg6
= (long) wxGA_HORIZONTAL
;
3836 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3837 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3838 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3839 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3843 bool temp8
= False
;
3844 PyObject
* obj0
= 0 ;
3845 PyObject
* obj1
= 0 ;
3846 PyObject
* obj2
= 0 ;
3847 PyObject
* obj3
= 0 ;
3848 PyObject
* obj4
= 0 ;
3849 PyObject
* obj5
= 0 ;
3850 PyObject
* obj6
= 0 ;
3851 PyObject
* obj7
= 0 ;
3853 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3860 arg2
= (int) SWIG_AsInt(obj1
);
3861 if (PyErr_Occurred()) SWIG_fail
;
3864 arg3
= (int) SWIG_AsInt(obj2
);
3865 if (PyErr_Occurred()) SWIG_fail
;
3870 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3876 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3880 arg6
= (long) SWIG_AsLong(obj5
);
3881 if (PyErr_Occurred()) SWIG_fail
;
3884 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
3885 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3888 PyErr_SetString(PyExc_TypeError
,"null reference");
3894 arg8
= wxString_in_helper(obj7
);
3895 if (arg8
== NULL
) SWIG_fail
;
3900 if (!wxPyCheckForApp()) SWIG_fail
;
3901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3902 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3904 wxPyEndAllowThreads(__tstate
);
3905 if (PyErr_Occurred()) SWIG_fail
;
3907 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3922 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3923 PyObject
*resultobj
;
3929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3931 if (!wxPyCheckForApp()) SWIG_fail
;
3932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3933 result
= (wxGauge
*)new wxGauge();
3935 wxPyEndAllowThreads(__tstate
);
3936 if (PyErr_Occurred()) SWIG_fail
;
3938 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3945 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3946 PyObject
*resultobj
;
3947 wxGauge
*arg1
= (wxGauge
*) 0 ;
3948 wxWindow
*arg2
= (wxWindow
*) 0 ;
3949 int arg3
= (int) -1 ;
3950 int arg4
= (int) 100 ;
3951 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3952 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3953 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3954 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3955 long arg7
= (long) wxGA_HORIZONTAL
;
3956 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3957 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3958 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3959 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3963 bool temp9
= False
;
3964 PyObject
* obj0
= 0 ;
3965 PyObject
* obj1
= 0 ;
3966 PyObject
* obj2
= 0 ;
3967 PyObject
* obj3
= 0 ;
3968 PyObject
* obj4
= 0 ;
3969 PyObject
* obj5
= 0 ;
3970 PyObject
* obj6
= 0 ;
3971 PyObject
* obj7
= 0 ;
3972 PyObject
* obj8
= 0 ;
3974 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3980 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3983 arg3
= (int) SWIG_AsInt(obj2
);
3984 if (PyErr_Occurred()) SWIG_fail
;
3987 arg4
= (int) SWIG_AsInt(obj3
);
3988 if (PyErr_Occurred()) SWIG_fail
;
3993 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3999 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4003 arg7
= (long) SWIG_AsLong(obj6
);
4004 if (PyErr_Occurred()) SWIG_fail
;
4007 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
4008 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4011 PyErr_SetString(PyExc_TypeError
,"null reference");
4017 arg9
= wxString_in_helper(obj8
);
4018 if (arg9
== NULL
) SWIG_fail
;
4023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4024 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4026 wxPyEndAllowThreads(__tstate
);
4027 if (PyErr_Occurred()) SWIG_fail
;
4030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4046 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4047 PyObject
*resultobj
;
4048 wxGauge
*arg1
= (wxGauge
*) 0 ;
4050 PyObject
* obj0
= 0 ;
4051 PyObject
* obj1
= 0 ;
4053 (char *) "self",(char *) "range", NULL
4056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
4057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4059 arg2
= (int) SWIG_AsInt(obj1
);
4060 if (PyErr_Occurred()) SWIG_fail
;
4062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4063 (arg1
)->SetRange(arg2
);
4065 wxPyEndAllowThreads(__tstate
);
4066 if (PyErr_Occurred()) SWIG_fail
;
4068 Py_INCREF(Py_None
); resultobj
= Py_None
;
4075 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4076 PyObject
*resultobj
;
4077 wxGauge
*arg1
= (wxGauge
*) 0 ;
4079 PyObject
* obj0
= 0 ;
4081 (char *) "self", NULL
4084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
4085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4089 result
= (int)((wxGauge
const *)arg1
)->GetRange();
4091 wxPyEndAllowThreads(__tstate
);
4092 if (PyErr_Occurred()) SWIG_fail
;
4094 resultobj
= SWIG_FromInt((int)result
);
4101 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4102 PyObject
*resultobj
;
4103 wxGauge
*arg1
= (wxGauge
*) 0 ;
4105 PyObject
* obj0
= 0 ;
4106 PyObject
* obj1
= 0 ;
4108 (char *) "self",(char *) "pos", NULL
4111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
4112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4114 arg2
= (int) SWIG_AsInt(obj1
);
4115 if (PyErr_Occurred()) SWIG_fail
;
4117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4118 (arg1
)->SetValue(arg2
);
4120 wxPyEndAllowThreads(__tstate
);
4121 if (PyErr_Occurred()) SWIG_fail
;
4123 Py_INCREF(Py_None
); resultobj
= Py_None
;
4130 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4131 PyObject
*resultobj
;
4132 wxGauge
*arg1
= (wxGauge
*) 0 ;
4134 PyObject
* obj0
= 0 ;
4136 (char *) "self", NULL
4139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
4140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4144 result
= (int)((wxGauge
const *)arg1
)->GetValue();
4146 wxPyEndAllowThreads(__tstate
);
4147 if (PyErr_Occurred()) SWIG_fail
;
4149 resultobj
= SWIG_FromInt((int)result
);
4156 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4157 PyObject
*resultobj
;
4158 wxGauge
*arg1
= (wxGauge
*) 0 ;
4160 PyObject
* obj0
= 0 ;
4162 (char *) "self", NULL
4165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
4166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4170 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
4172 wxPyEndAllowThreads(__tstate
);
4173 if (PyErr_Occurred()) SWIG_fail
;
4176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4184 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4185 PyObject
*resultobj
;
4186 wxGauge
*arg1
= (wxGauge
*) 0 ;
4188 PyObject
* obj0
= 0 ;
4189 PyObject
* obj1
= 0 ;
4191 (char *) "self",(char *) "w", NULL
4194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4197 arg2
= (int) SWIG_AsInt(obj1
);
4198 if (PyErr_Occurred()) SWIG_fail
;
4200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4201 (arg1
)->SetShadowWidth(arg2
);
4203 wxPyEndAllowThreads(__tstate
);
4204 if (PyErr_Occurred()) SWIG_fail
;
4206 Py_INCREF(Py_None
); resultobj
= Py_None
;
4213 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4214 PyObject
*resultobj
;
4215 wxGauge
*arg1
= (wxGauge
*) 0 ;
4217 PyObject
* obj0
= 0 ;
4219 (char *) "self", NULL
4222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
4223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4227 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
4229 wxPyEndAllowThreads(__tstate
);
4230 if (PyErr_Occurred()) SWIG_fail
;
4232 resultobj
= SWIG_FromInt((int)result
);
4239 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4240 PyObject
*resultobj
;
4241 wxGauge
*arg1
= (wxGauge
*) 0 ;
4243 PyObject
* obj0
= 0 ;
4244 PyObject
* obj1
= 0 ;
4246 (char *) "self",(char *) "w", NULL
4249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
4250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4252 arg2
= (int) SWIG_AsInt(obj1
);
4253 if (PyErr_Occurred()) SWIG_fail
;
4255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4256 (arg1
)->SetBezelFace(arg2
);
4258 wxPyEndAllowThreads(__tstate
);
4259 if (PyErr_Occurred()) SWIG_fail
;
4261 Py_INCREF(Py_None
); resultobj
= Py_None
;
4268 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4269 PyObject
*resultobj
;
4270 wxGauge
*arg1
= (wxGauge
*) 0 ;
4272 PyObject
* obj0
= 0 ;
4274 (char *) "self", NULL
4277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
4278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4282 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
4284 wxPyEndAllowThreads(__tstate
);
4285 if (PyErr_Occurred()) SWIG_fail
;
4287 resultobj
= SWIG_FromInt((int)result
);
4294 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4295 PyObject
*resultobj
;
4296 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4297 wxVisualAttributes result
;
4298 PyObject
* obj0
= 0 ;
4300 (char *) "variant", NULL
4303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4305 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4306 if (PyErr_Occurred()) SWIG_fail
;
4309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4310 result
= wxGauge::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4312 wxPyEndAllowThreads(__tstate
);
4313 if (PyErr_Occurred()) SWIG_fail
;
4316 wxVisualAttributes
* resultptr
;
4317 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4318 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4326 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
4328 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4329 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
4331 return Py_BuildValue((char *)"");
4333 static int _wrap_StaticBitmapNameStr_set(PyObject
*_val
) {
4334 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
4339 static PyObject
*_wrap_StaticBitmapNameStr_get() {
4344 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4346 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4353 static int _wrap_StaticBoxNameStr_set(PyObject
*_val
) {
4354 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
4359 static PyObject
*_wrap_StaticBoxNameStr_get() {
4364 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4366 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4373 static int _wrap_StaticTextNameStr_set(PyObject
*_val
) {
4374 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
4379 static PyObject
*_wrap_StaticTextNameStr_get() {
4384 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4386 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4393 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4394 PyObject
*resultobj
;
4395 wxWindow
*arg1
= (wxWindow
*) 0 ;
4396 int arg2
= (int) -1 ;
4397 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4398 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4399 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4400 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4401 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4402 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4403 long arg6
= (long) 0 ;
4404 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
4405 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4406 wxStaticBox
*result
;
4407 bool temp3
= False
;
4410 bool temp7
= False
;
4411 PyObject
* obj0
= 0 ;
4412 PyObject
* obj1
= 0 ;
4413 PyObject
* obj2
= 0 ;
4414 PyObject
* obj3
= 0 ;
4415 PyObject
* obj4
= 0 ;
4416 PyObject
* obj5
= 0 ;
4417 PyObject
* obj6
= 0 ;
4419 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4426 arg2
= (int) SWIG_AsInt(obj1
);
4427 if (PyErr_Occurred()) SWIG_fail
;
4431 arg3
= wxString_in_helper(obj2
);
4432 if (arg3
== NULL
) SWIG_fail
;
4439 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4445 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4449 arg6
= (long) SWIG_AsLong(obj5
);
4450 if (PyErr_Occurred()) SWIG_fail
;
4454 arg7
= wxString_in_helper(obj6
);
4455 if (arg7
== NULL
) SWIG_fail
;
4460 if (!wxPyCheckForApp()) SWIG_fail
;
4461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4462 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4464 wxPyEndAllowThreads(__tstate
);
4465 if (PyErr_Occurred()) SWIG_fail
;
4468 resultobj
= wxPyMake_wxObject(result
);
4492 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4493 PyObject
*resultobj
;
4494 wxStaticBox
*result
;
4499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4501 if (!wxPyCheckForApp()) SWIG_fail
;
4502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4503 result
= (wxStaticBox
*)new wxStaticBox();
4505 wxPyEndAllowThreads(__tstate
);
4506 if (PyErr_Occurred()) SWIG_fail
;
4509 resultobj
= wxPyMake_wxObject(result
);
4517 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4518 PyObject
*resultobj
;
4519 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4520 wxWindow
*arg2
= (wxWindow
*) 0 ;
4521 int arg3
= (int) -1 ;
4522 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4523 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4524 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4525 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4526 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4527 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4528 long arg7
= (long) 0 ;
4529 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4530 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4532 bool temp4
= False
;
4535 bool temp8
= False
;
4536 PyObject
* obj0
= 0 ;
4537 PyObject
* obj1
= 0 ;
4538 PyObject
* obj2
= 0 ;
4539 PyObject
* obj3
= 0 ;
4540 PyObject
* obj4
= 0 ;
4541 PyObject
* obj5
= 0 ;
4542 PyObject
* obj6
= 0 ;
4543 PyObject
* obj7
= 0 ;
4545 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
4550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4551 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4554 arg3
= (int) SWIG_AsInt(obj2
);
4555 if (PyErr_Occurred()) SWIG_fail
;
4559 arg4
= wxString_in_helper(obj3
);
4560 if (arg4
== NULL
) SWIG_fail
;
4567 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4573 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4577 arg7
= (long) SWIG_AsLong(obj6
);
4578 if (PyErr_Occurred()) SWIG_fail
;
4582 arg8
= wxString_in_helper(obj7
);
4583 if (arg8
== NULL
) SWIG_fail
;
4588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4589 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4591 wxPyEndAllowThreads(__tstate
);
4592 if (PyErr_Occurred()) SWIG_fail
;
4595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4619 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4620 PyObject
*resultobj
;
4621 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4622 wxVisualAttributes result
;
4623 PyObject
* obj0
= 0 ;
4625 (char *) "variant", NULL
4628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4630 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4631 if (PyErr_Occurred()) SWIG_fail
;
4634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4635 result
= wxStaticBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4637 wxPyEndAllowThreads(__tstate
);
4638 if (PyErr_Occurred()) SWIG_fail
;
4641 wxVisualAttributes
* resultptr
;
4642 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4643 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4651 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
4653 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4654 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4656 return Py_BuildValue((char *)"");
4658 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4659 PyObject
*resultobj
;
4660 wxWindow
*arg1
= (wxWindow
*) 0 ;
4661 int arg2
= (int) -1 ;
4662 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4663 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4664 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4665 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4666 long arg5
= (long) wxLI_HORIZONTAL
;
4667 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4668 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4669 wxStaticLine
*result
;
4672 bool temp6
= False
;
4673 PyObject
* obj0
= 0 ;
4674 PyObject
* obj1
= 0 ;
4675 PyObject
* obj2
= 0 ;
4676 PyObject
* obj3
= 0 ;
4677 PyObject
* obj4
= 0 ;
4678 PyObject
* obj5
= 0 ;
4680 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4687 arg2
= (int) SWIG_AsInt(obj1
);
4688 if (PyErr_Occurred()) SWIG_fail
;
4693 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4699 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4703 arg5
= (long) SWIG_AsLong(obj4
);
4704 if (PyErr_Occurred()) SWIG_fail
;
4708 arg6
= wxString_in_helper(obj5
);
4709 if (arg6
== NULL
) SWIG_fail
;
4714 if (!wxPyCheckForApp()) SWIG_fail
;
4715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4716 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4718 wxPyEndAllowThreads(__tstate
);
4719 if (PyErr_Occurred()) SWIG_fail
;
4721 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4736 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4737 PyObject
*resultobj
;
4738 wxStaticLine
*result
;
4743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4745 if (!wxPyCheckForApp()) SWIG_fail
;
4746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4747 result
= (wxStaticLine
*)new wxStaticLine();
4749 wxPyEndAllowThreads(__tstate
);
4750 if (PyErr_Occurred()) SWIG_fail
;
4752 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4759 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4760 PyObject
*resultobj
;
4761 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4762 wxWindow
*arg2
= (wxWindow
*) 0 ;
4763 int arg3
= (int) -1 ;
4764 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4765 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4766 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4767 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4768 long arg6
= (long) wxLI_HORIZONTAL
;
4769 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4770 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4774 bool temp7
= False
;
4775 PyObject
* obj0
= 0 ;
4776 PyObject
* obj1
= 0 ;
4777 PyObject
* obj2
= 0 ;
4778 PyObject
* obj3
= 0 ;
4779 PyObject
* obj4
= 0 ;
4780 PyObject
* obj5
= 0 ;
4781 PyObject
* obj6
= 0 ;
4783 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4789 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4792 arg3
= (int) SWIG_AsInt(obj2
);
4793 if (PyErr_Occurred()) SWIG_fail
;
4798 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4804 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4808 arg6
= (long) SWIG_AsLong(obj5
);
4809 if (PyErr_Occurred()) SWIG_fail
;
4813 arg7
= wxString_in_helper(obj6
);
4814 if (arg7
== NULL
) SWIG_fail
;
4819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4820 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4822 wxPyEndAllowThreads(__tstate
);
4823 if (PyErr_Occurred()) SWIG_fail
;
4826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4842 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4843 PyObject
*resultobj
;
4844 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4846 PyObject
* obj0
= 0 ;
4848 (char *) "self", NULL
4851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4856 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4858 wxPyEndAllowThreads(__tstate
);
4859 if (PyErr_Occurred()) SWIG_fail
;
4862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4870 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4871 PyObject
*resultobj
;
4877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
4879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4880 result
= (int)wxStaticLine::GetDefaultSize();
4882 wxPyEndAllowThreads(__tstate
);
4883 if (PyErr_Occurred()) SWIG_fail
;
4885 resultobj
= SWIG_FromInt((int)result
);
4892 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4893 PyObject
*resultobj
;
4894 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4895 wxVisualAttributes result
;
4896 PyObject
* obj0
= 0 ;
4898 (char *) "variant", NULL
4901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4903 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4904 if (PyErr_Occurred()) SWIG_fail
;
4907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4908 result
= wxStaticLine::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4910 wxPyEndAllowThreads(__tstate
);
4911 if (PyErr_Occurred()) SWIG_fail
;
4914 wxVisualAttributes
* resultptr
;
4915 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4916 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4924 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
4926 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4927 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
4929 return Py_BuildValue((char *)"");
4931 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4932 PyObject
*resultobj
;
4933 wxWindow
*arg1
= (wxWindow
*) 0 ;
4934 int arg2
= (int) -1 ;
4935 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4936 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4937 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4938 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4939 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4940 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4941 long arg6
= (long) 0 ;
4942 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4943 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4944 wxStaticText
*result
;
4945 bool temp3
= False
;
4948 bool temp7
= False
;
4949 PyObject
* obj0
= 0 ;
4950 PyObject
* obj1
= 0 ;
4951 PyObject
* obj2
= 0 ;
4952 PyObject
* obj3
= 0 ;
4953 PyObject
* obj4
= 0 ;
4954 PyObject
* obj5
= 0 ;
4955 PyObject
* obj6
= 0 ;
4957 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4964 arg2
= (int) SWIG_AsInt(obj1
);
4965 if (PyErr_Occurred()) SWIG_fail
;
4969 arg3
= wxString_in_helper(obj2
);
4970 if (arg3
== NULL
) SWIG_fail
;
4977 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4983 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4987 arg6
= (long) SWIG_AsLong(obj5
);
4988 if (PyErr_Occurred()) SWIG_fail
;
4992 arg7
= wxString_in_helper(obj6
);
4993 if (arg7
== NULL
) SWIG_fail
;
4998 if (!wxPyCheckForApp()) SWIG_fail
;
4999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5000 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5002 wxPyEndAllowThreads(__tstate
);
5003 if (PyErr_Occurred()) SWIG_fail
;
5005 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
5028 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5029 PyObject
*resultobj
;
5030 wxStaticText
*result
;
5035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
5037 if (!wxPyCheckForApp()) SWIG_fail
;
5038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5039 result
= (wxStaticText
*)new wxStaticText();
5041 wxPyEndAllowThreads(__tstate
);
5042 if (PyErr_Occurred()) SWIG_fail
;
5044 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
5051 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5052 PyObject
*resultobj
;
5053 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
5054 wxWindow
*arg2
= (wxWindow
*) 0 ;
5055 int arg3
= (int) -1 ;
5056 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5057 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5058 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5059 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5060 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5061 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5062 long arg7
= (long) 0 ;
5063 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
5064 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5066 bool temp4
= False
;
5069 bool temp8
= False
;
5070 PyObject
* obj0
= 0 ;
5071 PyObject
* obj1
= 0 ;
5072 PyObject
* obj2
= 0 ;
5073 PyObject
* obj3
= 0 ;
5074 PyObject
* obj4
= 0 ;
5075 PyObject
* obj5
= 0 ;
5076 PyObject
* obj6
= 0 ;
5077 PyObject
* obj7
= 0 ;
5079 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticText
,
5084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5085 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5088 arg3
= (int) SWIG_AsInt(obj2
);
5089 if (PyErr_Occurred()) SWIG_fail
;
5093 arg4
= wxString_in_helper(obj3
);
5094 if (arg4
== NULL
) SWIG_fail
;
5101 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5107 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5111 arg7
= (long) SWIG_AsLong(obj6
);
5112 if (PyErr_Occurred()) SWIG_fail
;
5116 arg8
= wxString_in_helper(obj7
);
5117 if (arg8
== NULL
) SWIG_fail
;
5122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5123 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5125 wxPyEndAllowThreads(__tstate
);
5126 if (PyErr_Occurred()) SWIG_fail
;
5129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5153 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5154 PyObject
*resultobj
;
5155 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5156 wxVisualAttributes result
;
5157 PyObject
* obj0
= 0 ;
5159 (char *) "variant", NULL
5162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5164 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
5165 if (PyErr_Occurred()) SWIG_fail
;
5168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5169 result
= wxStaticText::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5171 wxPyEndAllowThreads(__tstate
);
5172 if (PyErr_Occurred()) SWIG_fail
;
5175 wxVisualAttributes
* resultptr
;
5176 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5177 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5185 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
5187 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5188 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
5190 return Py_BuildValue((char *)"");
5192 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5193 PyObject
*resultobj
;
5194 wxWindow
*arg1
= (wxWindow
*) 0 ;
5195 int arg2
= (int) -1 ;
5196 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
5197 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
5198 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5199 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5200 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5201 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5202 long arg6
= (long) 0 ;
5203 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
5204 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5205 wxStaticBitmap
*result
;
5208 bool temp7
= False
;
5209 PyObject
* obj0
= 0 ;
5210 PyObject
* obj1
= 0 ;
5211 PyObject
* obj2
= 0 ;
5212 PyObject
* obj3
= 0 ;
5213 PyObject
* obj4
= 0 ;
5214 PyObject
* obj5
= 0 ;
5215 PyObject
* obj6
= 0 ;
5217 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5224 arg2
= (int) SWIG_AsInt(obj1
);
5225 if (PyErr_Occurred()) SWIG_fail
;
5228 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
5229 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5232 PyErr_SetString(PyExc_TypeError
,"null reference");
5239 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5245 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5249 arg6
= (long) SWIG_AsLong(obj5
);
5250 if (PyErr_Occurred()) SWIG_fail
;
5254 arg7
= wxString_in_helper(obj6
);
5255 if (arg7
== NULL
) SWIG_fail
;
5260 if (!wxPyCheckForApp()) SWIG_fail
;
5261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5262 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5264 wxPyEndAllowThreads(__tstate
);
5265 if (PyErr_Occurred()) SWIG_fail
;
5267 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5282 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5283 PyObject
*resultobj
;
5284 wxStaticBitmap
*result
;
5289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
5291 if (!wxPyCheckForApp()) SWIG_fail
;
5292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5293 result
= (wxStaticBitmap
*)new wxStaticBitmap();
5295 wxPyEndAllowThreads(__tstate
);
5296 if (PyErr_Occurred()) SWIG_fail
;
5298 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5305 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5306 PyObject
*resultobj
;
5307 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5308 wxWindow
*arg2
= (wxWindow
*) 0 ;
5309 int arg3
= (int) -1 ;
5310 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
5311 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
5312 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5313 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5314 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5315 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5316 long arg7
= (long) 0 ;
5317 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
5318 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5322 bool temp8
= False
;
5323 PyObject
* obj0
= 0 ;
5324 PyObject
* obj1
= 0 ;
5325 PyObject
* obj2
= 0 ;
5326 PyObject
* obj3
= 0 ;
5327 PyObject
* obj4
= 0 ;
5328 PyObject
* obj5
= 0 ;
5329 PyObject
* obj6
= 0 ;
5330 PyObject
* obj7
= 0 ;
5332 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5338 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5341 arg3
= (int) SWIG_AsInt(obj2
);
5342 if (PyErr_Occurred()) SWIG_fail
;
5345 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
5346 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5349 PyErr_SetString(PyExc_TypeError
,"null reference");
5356 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5362 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5366 arg7
= (long) SWIG_AsLong(obj6
);
5367 if (PyErr_Occurred()) SWIG_fail
;
5371 arg8
= wxString_in_helper(obj7
);
5372 if (arg8
== NULL
) SWIG_fail
;
5377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5378 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5380 wxPyEndAllowThreads(__tstate
);
5381 if (PyErr_Occurred()) SWIG_fail
;
5384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5400 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5401 PyObject
*resultobj
;
5402 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5404 PyObject
* obj0
= 0 ;
5406 (char *) "self", NULL
5409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
5410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5414 result
= (arg1
)->GetBitmap();
5416 wxPyEndAllowThreads(__tstate
);
5417 if (PyErr_Occurred()) SWIG_fail
;
5420 wxBitmap
* resultptr
;
5421 resultptr
= new wxBitmap((wxBitmap
&) result
);
5422 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5430 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5431 PyObject
*resultobj
;
5432 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5433 wxBitmap
*arg2
= 0 ;
5434 PyObject
* obj0
= 0 ;
5435 PyObject
* obj1
= 0 ;
5437 (char *) "self",(char *) "bitmap", NULL
5440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5443 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5444 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5447 PyErr_SetString(PyExc_TypeError
,"null reference");
5451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5452 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
5454 wxPyEndAllowThreads(__tstate
);
5455 if (PyErr_Occurred()) SWIG_fail
;
5457 Py_INCREF(Py_None
); resultobj
= Py_None
;
5464 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5465 PyObject
*resultobj
;
5466 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5468 PyObject
* obj0
= 0 ;
5469 PyObject
* obj1
= 0 ;
5471 (char *) "self",(char *) "icon", NULL
5474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5477 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
5478 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5481 PyErr_SetString(PyExc_TypeError
,"null reference");
5485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5486 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5488 wxPyEndAllowThreads(__tstate
);
5489 if (PyErr_Occurred()) SWIG_fail
;
5491 Py_INCREF(Py_None
); resultobj
= Py_None
;
5498 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5499 PyObject
*resultobj
;
5500 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5501 wxVisualAttributes result
;
5502 PyObject
* obj0
= 0 ;
5504 (char *) "variant", NULL
5507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5509 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
5510 if (PyErr_Occurred()) SWIG_fail
;
5513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5514 result
= wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5516 wxPyEndAllowThreads(__tstate
);
5517 if (PyErr_Occurred()) SWIG_fail
;
5520 wxVisualAttributes
* resultptr
;
5521 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5522 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5530 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
5532 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5533 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
5535 return Py_BuildValue((char *)"");
5537 static int _wrap_ListBoxNameStr_set(PyObject
*_val
) {
5538 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
5543 static PyObject
*_wrap_ListBoxNameStr_get() {
5548 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5550 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5557 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5558 PyObject
*resultobj
;
5559 wxWindow
*arg1
= (wxWindow
*) 0 ;
5560 int arg2
= (int) -1 ;
5561 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5562 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5563 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5564 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5565 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5566 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5567 long arg6
= (long) 0 ;
5568 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5569 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5570 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5571 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5575 bool temp5
= False
;
5576 bool temp8
= False
;
5577 PyObject
* obj0
= 0 ;
5578 PyObject
* obj1
= 0 ;
5579 PyObject
* obj2
= 0 ;
5580 PyObject
* obj3
= 0 ;
5581 PyObject
* obj4
= 0 ;
5582 PyObject
* obj5
= 0 ;
5583 PyObject
* obj6
= 0 ;
5584 PyObject
* obj7
= 0 ;
5586 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5593 arg2
= (int) SWIG_AsInt(obj1
);
5594 if (PyErr_Occurred()) SWIG_fail
;
5599 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5605 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5610 if (! PySequence_Check(obj4
)) {
5611 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5614 arg5
= new wxArrayString
;
5616 int i
, len
=PySequence_Length(obj4
);
5617 for (i
=0; i
<len
; i
++) {
5618 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5620 PyObject
* str
= PyObject_Unicode(item
);
5622 PyObject
* str
= PyObject_Str(item
);
5624 if (PyErr_Occurred()) SWIG_fail
;
5625 arg5
->Add(Py2wxString(str
));
5632 arg6
= (long) SWIG_AsLong(obj5
);
5633 if (PyErr_Occurred()) SWIG_fail
;
5636 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
5637 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5640 PyErr_SetString(PyExc_TypeError
,"null reference");
5646 arg8
= wxString_in_helper(obj7
);
5647 if (arg8
== NULL
) SWIG_fail
;
5652 if (!wxPyCheckForApp()) SWIG_fail
;
5653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5654 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5656 wxPyEndAllowThreads(__tstate
);
5657 if (PyErr_Occurred()) SWIG_fail
;
5659 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5661 if (temp5
) delete arg5
;
5670 if (temp5
) delete arg5
;
5680 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5681 PyObject
*resultobj
;
5687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5689 if (!wxPyCheckForApp()) SWIG_fail
;
5690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5691 result
= (wxListBox
*)new wxListBox();
5693 wxPyEndAllowThreads(__tstate
);
5694 if (PyErr_Occurred()) SWIG_fail
;
5696 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5703 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5704 PyObject
*resultobj
;
5705 wxListBox
*arg1
= (wxListBox
*) 0 ;
5706 wxWindow
*arg2
= (wxWindow
*) 0 ;
5707 int arg3
= (int) -1 ;
5708 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5709 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5710 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5711 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5712 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5713 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5714 long arg7
= (long) 0 ;
5715 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5716 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5717 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5718 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5722 bool temp6
= False
;
5723 bool temp9
= False
;
5724 PyObject
* obj0
= 0 ;
5725 PyObject
* obj1
= 0 ;
5726 PyObject
* obj2
= 0 ;
5727 PyObject
* obj3
= 0 ;
5728 PyObject
* obj4
= 0 ;
5729 PyObject
* obj5
= 0 ;
5730 PyObject
* obj6
= 0 ;
5731 PyObject
* obj7
= 0 ;
5732 PyObject
* obj8
= 0 ;
5734 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5740 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5743 arg3
= (int) SWIG_AsInt(obj2
);
5744 if (PyErr_Occurred()) SWIG_fail
;
5749 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5755 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5760 if (! PySequence_Check(obj5
)) {
5761 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5764 arg6
= new wxArrayString
;
5766 int i
, len
=PySequence_Length(obj5
);
5767 for (i
=0; i
<len
; i
++) {
5768 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5770 PyObject
* str
= PyObject_Unicode(item
);
5772 PyObject
* str
= PyObject_Str(item
);
5774 if (PyErr_Occurred()) SWIG_fail
;
5775 arg6
->Add(Py2wxString(str
));
5782 arg7
= (long) SWIG_AsLong(obj6
);
5783 if (PyErr_Occurred()) SWIG_fail
;
5786 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
5787 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5790 PyErr_SetString(PyExc_TypeError
,"null reference");
5796 arg9
= wxString_in_helper(obj8
);
5797 if (arg9
== NULL
) SWIG_fail
;
5802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5803 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5805 wxPyEndAllowThreads(__tstate
);
5806 if (PyErr_Occurred()) SWIG_fail
;
5809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5812 if (temp6
) delete arg6
;
5821 if (temp6
) delete arg6
;
5831 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5832 PyObject
*resultobj
;
5833 wxListBox
*arg1
= (wxListBox
*) 0 ;
5834 wxString
*arg2
= 0 ;
5836 PyObject
*arg4
= (PyObject
*) NULL
;
5837 bool temp2
= False
;
5838 PyObject
* obj0
= 0 ;
5839 PyObject
* obj1
= 0 ;
5840 PyObject
* obj2
= 0 ;
5841 PyObject
* obj3
= 0 ;
5843 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5850 arg2
= wxString_in_helper(obj1
);
5851 if (arg2
== NULL
) SWIG_fail
;
5854 arg3
= (int) SWIG_AsInt(obj2
);
5855 if (PyErr_Occurred()) SWIG_fail
;
5860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5861 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5863 wxPyEndAllowThreads(__tstate
);
5864 if (PyErr_Occurred()) SWIG_fail
;
5866 Py_INCREF(Py_None
); resultobj
= Py_None
;
5881 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5882 PyObject
*resultobj
;
5883 wxListBox
*arg1
= (wxListBox
*) 0 ;
5884 wxArrayString
*arg2
= 0 ;
5886 bool temp2
= False
;
5887 PyObject
* obj0
= 0 ;
5888 PyObject
* obj1
= 0 ;
5889 PyObject
* obj2
= 0 ;
5891 (char *) "self",(char *) "items",(char *) "pos", NULL
5894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5898 if (! PySequence_Check(obj1
)) {
5899 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5902 arg2
= new wxArrayString
;
5904 int i
, len
=PySequence_Length(obj1
);
5905 for (i
=0; i
<len
; i
++) {
5906 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5908 PyObject
* str
= PyObject_Unicode(item
);
5910 PyObject
* str
= PyObject_Str(item
);
5912 if (PyErr_Occurred()) SWIG_fail
;
5913 arg2
->Add(Py2wxString(str
));
5918 arg3
= (int) SWIG_AsInt(obj2
);
5919 if (PyErr_Occurred()) SWIG_fail
;
5921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5922 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
5924 wxPyEndAllowThreads(__tstate
);
5925 if (PyErr_Occurred()) SWIG_fail
;
5927 Py_INCREF(Py_None
); resultobj
= Py_None
;
5929 if (temp2
) delete arg2
;
5934 if (temp2
) delete arg2
;
5940 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5941 PyObject
*resultobj
;
5942 wxListBox
*arg1
= (wxListBox
*) 0 ;
5943 wxArrayString
*arg2
= 0 ;
5944 bool temp2
= False
;
5945 PyObject
* obj0
= 0 ;
5946 PyObject
* obj1
= 0 ;
5948 (char *) "self",(char *) "items", NULL
5951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
5952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5955 if (! PySequence_Check(obj1
)) {
5956 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5959 arg2
= new wxArrayString
;
5961 int i
, len
=PySequence_Length(obj1
);
5962 for (i
=0; i
<len
; i
++) {
5963 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5965 PyObject
* str
= PyObject_Unicode(item
);
5967 PyObject
* str
= PyObject_Str(item
);
5969 if (PyErr_Occurred()) SWIG_fail
;
5970 arg2
->Add(Py2wxString(str
));
5976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5977 (arg1
)->Set((wxArrayString
const &)*arg2
);
5979 wxPyEndAllowThreads(__tstate
);
5980 if (PyErr_Occurred()) SWIG_fail
;
5982 Py_INCREF(Py_None
); resultobj
= Py_None
;
5984 if (temp2
) delete arg2
;
5989 if (temp2
) delete arg2
;
5995 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5996 PyObject
*resultobj
;
5997 wxListBox
*arg1
= (wxListBox
*) 0 ;
6000 PyObject
* obj0
= 0 ;
6001 PyObject
* obj1
= 0 ;
6003 (char *) "self",(char *) "n", NULL
6006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
6007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6009 arg2
= (int) SWIG_AsInt(obj1
);
6010 if (PyErr_Occurred()) SWIG_fail
;
6012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6013 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
6015 wxPyEndAllowThreads(__tstate
);
6016 if (PyErr_Occurred()) SWIG_fail
;
6019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6027 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6028 PyObject
*resultobj
;
6029 wxListBox
*arg1
= (wxListBox
*) 0 ;
6031 bool arg3
= (bool) True
;
6032 PyObject
* obj0
= 0 ;
6033 PyObject
* obj1
= 0 ;
6034 PyObject
* obj2
= 0 ;
6036 (char *) "self",(char *) "n",(char *) "select", NULL
6039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6042 arg2
= (int) SWIG_AsInt(obj1
);
6043 if (PyErr_Occurred()) SWIG_fail
;
6045 arg3
= (bool) SWIG_AsBool(obj2
);
6046 if (PyErr_Occurred()) SWIG_fail
;
6049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6050 (arg1
)->SetSelection(arg2
,arg3
);
6052 wxPyEndAllowThreads(__tstate
);
6053 if (PyErr_Occurred()) SWIG_fail
;
6055 Py_INCREF(Py_None
); resultobj
= Py_None
;
6062 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6063 PyObject
*resultobj
;
6064 wxListBox
*arg1
= (wxListBox
*) 0 ;
6066 PyObject
* obj0
= 0 ;
6067 PyObject
* obj1
= 0 ;
6069 (char *) "self",(char *) "n", NULL
6072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
6073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6075 arg2
= (int) SWIG_AsInt(obj1
);
6076 if (PyErr_Occurred()) SWIG_fail
;
6078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6079 (arg1
)->Select(arg2
);
6081 wxPyEndAllowThreads(__tstate
);
6082 if (PyErr_Occurred()) SWIG_fail
;
6084 Py_INCREF(Py_None
); resultobj
= Py_None
;
6091 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6092 PyObject
*resultobj
;
6093 wxListBox
*arg1
= (wxListBox
*) 0 ;
6095 PyObject
* obj0
= 0 ;
6096 PyObject
* obj1
= 0 ;
6098 (char *) "self",(char *) "n", NULL
6101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
6102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6104 arg2
= (int) SWIG_AsInt(obj1
);
6105 if (PyErr_Occurred()) SWIG_fail
;
6107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6108 (arg1
)->Deselect(arg2
);
6110 wxPyEndAllowThreads(__tstate
);
6111 if (PyErr_Occurred()) SWIG_fail
;
6113 Py_INCREF(Py_None
); resultobj
= Py_None
;
6120 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6121 PyObject
*resultobj
;
6122 wxListBox
*arg1
= (wxListBox
*) 0 ;
6123 int arg2
= (int) -1 ;
6124 PyObject
* obj0
= 0 ;
6125 PyObject
* obj1
= 0 ;
6127 (char *) "self",(char *) "itemToLeaveSelected", NULL
6130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
6131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6134 arg2
= (int) SWIG_AsInt(obj1
);
6135 if (PyErr_Occurred()) SWIG_fail
;
6138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6139 (arg1
)->DeselectAll(arg2
);
6141 wxPyEndAllowThreads(__tstate
);
6142 if (PyErr_Occurred()) SWIG_fail
;
6144 Py_INCREF(Py_None
); resultobj
= Py_None
;
6151 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6152 PyObject
*resultobj
;
6153 wxListBox
*arg1
= (wxListBox
*) 0 ;
6154 wxString
*arg2
= 0 ;
6155 bool arg3
= (bool) True
;
6157 bool temp2
= False
;
6158 PyObject
* obj0
= 0 ;
6159 PyObject
* obj1
= 0 ;
6160 PyObject
* obj2
= 0 ;
6162 (char *) "self",(char *) "s",(char *) "select", NULL
6165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6169 arg2
= wxString_in_helper(obj1
);
6170 if (arg2
== NULL
) SWIG_fail
;
6174 arg3
= (bool) SWIG_AsBool(obj2
);
6175 if (PyErr_Occurred()) SWIG_fail
;
6178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6179 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
6181 wxPyEndAllowThreads(__tstate
);
6182 if (PyErr_Occurred()) SWIG_fail
;
6185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6201 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6202 PyObject
*resultobj
;
6203 wxListBox
*arg1
= (wxListBox
*) 0 ;
6205 PyObject
* obj0
= 0 ;
6207 (char *) "self", NULL
6210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
6211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6215 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
6217 wxPyEndAllowThreads(__tstate
);
6218 if (PyErr_Occurred()) SWIG_fail
;
6227 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6228 PyObject
*resultobj
;
6229 wxListBox
*arg1
= (wxListBox
*) 0 ;
6231 PyObject
* obj0
= 0 ;
6232 PyObject
* obj1
= 0 ;
6234 (char *) "self",(char *) "n", NULL
6237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
6238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6240 arg2
= (int) SWIG_AsInt(obj1
);
6241 if (PyErr_Occurred()) SWIG_fail
;
6243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6244 (arg1
)->SetFirstItem(arg2
);
6246 wxPyEndAllowThreads(__tstate
);
6247 if (PyErr_Occurred()) SWIG_fail
;
6249 Py_INCREF(Py_None
); resultobj
= Py_None
;
6256 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6257 PyObject
*resultobj
;
6258 wxListBox
*arg1
= (wxListBox
*) 0 ;
6259 wxString
*arg2
= 0 ;
6260 bool temp2
= False
;
6261 PyObject
* obj0
= 0 ;
6262 PyObject
* obj1
= 0 ;
6264 (char *) "self",(char *) "s", NULL
6267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
6268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6271 arg2
= wxString_in_helper(obj1
);
6272 if (arg2
== NULL
) SWIG_fail
;
6276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6277 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
6279 wxPyEndAllowThreads(__tstate
);
6280 if (PyErr_Occurred()) SWIG_fail
;
6282 Py_INCREF(Py_None
); resultobj
= Py_None
;
6297 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6298 PyObject
*resultobj
;
6299 wxListBox
*arg1
= (wxListBox
*) 0 ;
6301 PyObject
* obj0
= 0 ;
6302 PyObject
* obj1
= 0 ;
6304 (char *) "self",(char *) "n", NULL
6307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6310 arg2
= (int) SWIG_AsInt(obj1
);
6311 if (PyErr_Occurred()) SWIG_fail
;
6313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6314 (arg1
)->EnsureVisible(arg2
);
6316 wxPyEndAllowThreads(__tstate
);
6317 if (PyErr_Occurred()) SWIG_fail
;
6319 Py_INCREF(Py_None
); resultobj
= Py_None
;
6326 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6327 PyObject
*resultobj
;
6328 wxListBox
*arg1
= (wxListBox
*) 0 ;
6329 wxString
*arg2
= 0 ;
6330 bool temp2
= False
;
6331 PyObject
* obj0
= 0 ;
6332 PyObject
* obj1
= 0 ;
6334 (char *) "self",(char *) "s", NULL
6337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6341 arg2
= wxString_in_helper(obj1
);
6342 if (arg2
== NULL
) SWIG_fail
;
6346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6347 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
6349 wxPyEndAllowThreads(__tstate
);
6350 if (PyErr_Occurred()) SWIG_fail
;
6352 Py_INCREF(Py_None
); resultobj
= Py_None
;
6367 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6368 PyObject
*resultobj
;
6369 wxListBox
*arg1
= (wxListBox
*) 0 ;
6371 PyObject
* obj0
= 0 ;
6373 (char *) "self", NULL
6376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
6377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6381 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
6383 wxPyEndAllowThreads(__tstate
);
6384 if (PyErr_Occurred()) SWIG_fail
;
6387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6395 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6396 PyObject
*resultobj
;
6397 wxListBox
*arg1
= (wxListBox
*) 0 ;
6399 wxColour
*arg3
= 0 ;
6401 PyObject
* obj0
= 0 ;
6402 PyObject
* obj1
= 0 ;
6403 PyObject
* obj2
= 0 ;
6405 (char *) "self",(char *) "item",(char *) "c", NULL
6408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6411 arg2
= (int) SWIG_AsInt(obj1
);
6412 if (PyErr_Occurred()) SWIG_fail
;
6415 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6419 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6421 wxPyEndAllowThreads(__tstate
);
6422 if (PyErr_Occurred()) SWIG_fail
;
6424 Py_INCREF(Py_None
); resultobj
= Py_None
;
6431 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6432 PyObject
*resultobj
;
6433 wxListBox
*arg1
= (wxListBox
*) 0 ;
6435 wxColour
*arg3
= 0 ;
6437 PyObject
* obj0
= 0 ;
6438 PyObject
* obj1
= 0 ;
6439 PyObject
* obj2
= 0 ;
6441 (char *) "self",(char *) "item",(char *) "c", NULL
6444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6447 arg2
= (int) SWIG_AsInt(obj1
);
6448 if (PyErr_Occurred()) SWIG_fail
;
6451 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6455 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6457 wxPyEndAllowThreads(__tstate
);
6458 if (PyErr_Occurred()) SWIG_fail
;
6460 Py_INCREF(Py_None
); resultobj
= Py_None
;
6467 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6468 PyObject
*resultobj
;
6469 wxListBox
*arg1
= (wxListBox
*) 0 ;
6472 PyObject
* obj0
= 0 ;
6473 PyObject
* obj1
= 0 ;
6474 PyObject
* obj2
= 0 ;
6476 (char *) "self",(char *) "item",(char *) "f", NULL
6479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6482 arg2
= (int) SWIG_AsInt(obj1
);
6483 if (PyErr_Occurred()) SWIG_fail
;
6484 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6485 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6488 PyErr_SetString(PyExc_TypeError
,"null reference");
6492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6493 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
6495 wxPyEndAllowThreads(__tstate
);
6496 if (PyErr_Occurred()) SWIG_fail
;
6498 Py_INCREF(Py_None
); resultobj
= Py_None
;
6505 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6506 PyObject
*resultobj
;
6507 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6508 wxVisualAttributes result
;
6509 PyObject
* obj0
= 0 ;
6511 (char *) "variant", NULL
6514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6516 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
6517 if (PyErr_Occurred()) SWIG_fail
;
6520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6521 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6523 wxPyEndAllowThreads(__tstate
);
6524 if (PyErr_Occurred()) SWIG_fail
;
6527 wxVisualAttributes
* resultptr
;
6528 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6529 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6537 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6539 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6540 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
6542 return Py_BuildValue((char *)"");
6544 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6545 PyObject
*resultobj
;
6546 wxWindow
*arg1
= (wxWindow
*) 0 ;
6547 int arg2
= (int) -1 ;
6548 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6549 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6550 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6551 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6552 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
6553 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
6554 long arg6
= (long) 0 ;
6555 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6556 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6557 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
6558 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6559 wxCheckListBox
*result
;
6562 bool temp5
= False
;
6563 bool temp8
= False
;
6564 PyObject
* obj0
= 0 ;
6565 PyObject
* obj1
= 0 ;
6566 PyObject
* obj2
= 0 ;
6567 PyObject
* obj3
= 0 ;
6568 PyObject
* obj4
= 0 ;
6569 PyObject
* obj5
= 0 ;
6570 PyObject
* obj6
= 0 ;
6571 PyObject
* obj7
= 0 ;
6573 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6580 arg2
= (int) SWIG_AsInt(obj1
);
6581 if (PyErr_Occurred()) SWIG_fail
;
6586 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6592 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6597 if (! PySequence_Check(obj4
)) {
6598 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6601 arg5
= new wxArrayString
;
6603 int i
, len
=PySequence_Length(obj4
);
6604 for (i
=0; i
<len
; i
++) {
6605 PyObject
* item
= PySequence_GetItem(obj4
, i
);
6607 PyObject
* str
= PyObject_Unicode(item
);
6609 PyObject
* str
= PyObject_Str(item
);
6611 if (PyErr_Occurred()) SWIG_fail
;
6612 arg5
->Add(Py2wxString(str
));
6619 arg6
= (long) SWIG_AsLong(obj5
);
6620 if (PyErr_Occurred()) SWIG_fail
;
6623 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
6624 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6627 PyErr_SetString(PyExc_TypeError
,"null reference");
6633 arg8
= wxString_in_helper(obj7
);
6634 if (arg8
== NULL
) SWIG_fail
;
6639 if (!wxPyCheckForApp()) SWIG_fail
;
6640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6641 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6643 wxPyEndAllowThreads(__tstate
);
6644 if (PyErr_Occurred()) SWIG_fail
;
6646 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6648 if (temp5
) delete arg5
;
6657 if (temp5
) delete arg5
;
6667 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6668 PyObject
*resultobj
;
6669 wxCheckListBox
*result
;
6674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
6676 if (!wxPyCheckForApp()) SWIG_fail
;
6677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6678 result
= (wxCheckListBox
*)new wxCheckListBox();
6680 wxPyEndAllowThreads(__tstate
);
6681 if (PyErr_Occurred()) SWIG_fail
;
6683 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6690 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6691 PyObject
*resultobj
;
6692 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6693 wxWindow
*arg2
= (wxWindow
*) 0 ;
6694 int arg3
= (int) -1 ;
6695 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6696 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6697 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6698 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6699 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
6700 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
6701 long arg7
= (long) 0 ;
6702 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6703 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6704 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
6705 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6709 bool temp6
= False
;
6710 bool temp9
= False
;
6711 PyObject
* obj0
= 0 ;
6712 PyObject
* obj1
= 0 ;
6713 PyObject
* obj2
= 0 ;
6714 PyObject
* obj3
= 0 ;
6715 PyObject
* obj4
= 0 ;
6716 PyObject
* obj5
= 0 ;
6717 PyObject
* obj6
= 0 ;
6718 PyObject
* obj7
= 0 ;
6719 PyObject
* obj8
= 0 ;
6721 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
6725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6727 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6730 arg3
= (int) SWIG_AsInt(obj2
);
6731 if (PyErr_Occurred()) SWIG_fail
;
6736 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6742 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6747 if (! PySequence_Check(obj5
)) {
6748 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6751 arg6
= new wxArrayString
;
6753 int i
, len
=PySequence_Length(obj5
);
6754 for (i
=0; i
<len
; i
++) {
6755 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6757 PyObject
* str
= PyObject_Unicode(item
);
6759 PyObject
* str
= PyObject_Str(item
);
6761 if (PyErr_Occurred()) SWIG_fail
;
6762 arg6
->Add(Py2wxString(str
));
6769 arg7
= (long) SWIG_AsLong(obj6
);
6770 if (PyErr_Occurred()) SWIG_fail
;
6773 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
6774 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6777 PyErr_SetString(PyExc_TypeError
,"null reference");
6783 arg9
= wxString_in_helper(obj8
);
6784 if (arg9
== NULL
) SWIG_fail
;
6789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6790 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6792 wxPyEndAllowThreads(__tstate
);
6793 if (PyErr_Occurred()) SWIG_fail
;
6796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6799 if (temp6
) delete arg6
;
6808 if (temp6
) delete arg6
;
6818 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6819 PyObject
*resultobj
;
6820 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6823 PyObject
* obj0
= 0 ;
6824 PyObject
* obj1
= 0 ;
6826 (char *) "self",(char *) "index", NULL
6829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6832 arg2
= (int) SWIG_AsInt(obj1
);
6833 if (PyErr_Occurred()) SWIG_fail
;
6835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6836 result
= (bool)(arg1
)->IsChecked(arg2
);
6838 wxPyEndAllowThreads(__tstate
);
6839 if (PyErr_Occurred()) SWIG_fail
;
6842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6850 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6851 PyObject
*resultobj
;
6852 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6854 int arg3
= (int) True
;
6855 PyObject
* obj0
= 0 ;
6856 PyObject
* obj1
= 0 ;
6857 PyObject
* obj2
= 0 ;
6859 (char *) "self",(char *) "index",(char *) "check", NULL
6862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6865 arg2
= (int) SWIG_AsInt(obj1
);
6866 if (PyErr_Occurred()) SWIG_fail
;
6868 arg3
= (int) SWIG_AsInt(obj2
);
6869 if (PyErr_Occurred()) SWIG_fail
;
6872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6873 (arg1
)->Check(arg2
,arg3
);
6875 wxPyEndAllowThreads(__tstate
);
6876 if (PyErr_Occurred()) SWIG_fail
;
6878 Py_INCREF(Py_None
); resultobj
= Py_None
;
6885 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6886 PyObject
*resultobj
;
6887 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6889 PyObject
* obj0
= 0 ;
6891 (char *) "self", NULL
6894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
6895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6899 result
= (int)(arg1
)->GetItemHeight();
6901 wxPyEndAllowThreads(__tstate
);
6902 if (PyErr_Occurred()) SWIG_fail
;
6904 resultobj
= SWIG_FromInt((int)result
);
6911 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6912 PyObject
*resultobj
;
6913 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6917 PyObject
* obj0
= 0 ;
6918 PyObject
* obj1
= 0 ;
6920 (char *) "self",(char *) "pt", NULL
6923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
6924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6928 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6932 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
6934 wxPyEndAllowThreads(__tstate
);
6935 if (PyErr_Occurred()) SWIG_fail
;
6937 resultobj
= SWIG_FromInt((int)result
);
6944 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6945 PyObject
*resultobj
;
6946 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6950 PyObject
* obj0
= 0 ;
6951 PyObject
* obj1
= 0 ;
6952 PyObject
* obj2
= 0 ;
6954 (char *) "self",(char *) "x",(char *) "y", NULL
6957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6960 arg2
= (int) SWIG_AsInt(obj1
);
6961 if (PyErr_Occurred()) SWIG_fail
;
6962 arg3
= (int) SWIG_AsInt(obj2
);
6963 if (PyErr_Occurred()) SWIG_fail
;
6965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6966 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
6968 wxPyEndAllowThreads(__tstate
);
6969 if (PyErr_Occurred()) SWIG_fail
;
6971 resultobj
= SWIG_FromInt((int)result
);
6978 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6980 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6981 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
6983 return Py_BuildValue((char *)"");
6985 static int _wrap_TextCtrlNameStr_set(PyObject
*_val
) {
6986 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
6991 static PyObject
*_wrap_TextCtrlNameStr_get() {
6996 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6998 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
7005 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7006 PyObject
*resultobj
;
7007 wxColour
const &arg1_defvalue
= wxNullColour
;
7008 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
7009 wxColour
const &arg2_defvalue
= wxNullColour
;
7010 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
7011 wxFont
const &arg3_defvalue
= wxNullFont
;
7012 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
7013 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
7017 PyObject
* obj0
= 0 ;
7018 PyObject
* obj1
= 0 ;
7019 PyObject
* obj2
= 0 ;
7020 PyObject
* obj3
= 0 ;
7022 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
7025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7029 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
7035 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7039 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
7040 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7043 PyErr_SetString(PyExc_TypeError
,"null reference");
7048 arg4
= (wxTextAttrAlignment
) SWIG_AsInt(obj3
);
7049 if (PyErr_Occurred()) SWIG_fail
;
7052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7053 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
7055 wxPyEndAllowThreads(__tstate
);
7056 if (PyErr_Occurred()) SWIG_fail
;
7058 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
7065 static PyObject
*_wrap_delete_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7066 PyObject
*resultobj
;
7067 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7068 PyObject
* obj0
= 0 ;
7070 (char *) "self", NULL
7073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
7074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7080 wxPyEndAllowThreads(__tstate
);
7081 if (PyErr_Occurred()) SWIG_fail
;
7083 Py_INCREF(Py_None
); resultobj
= Py_None
;
7090 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7091 PyObject
*resultobj
;
7092 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7093 PyObject
* obj0
= 0 ;
7095 (char *) "self", NULL
7098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
7099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7105 wxPyEndAllowThreads(__tstate
);
7106 if (PyErr_Occurred()) SWIG_fail
;
7108 Py_INCREF(Py_None
); resultobj
= Py_None
;
7115 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7116 PyObject
*resultobj
;
7117 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7118 wxColour
*arg2
= 0 ;
7120 PyObject
* obj0
= 0 ;
7121 PyObject
* obj1
= 0 ;
7123 (char *) "self",(char *) "colText", NULL
7126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7131 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7135 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
7137 wxPyEndAllowThreads(__tstate
);
7138 if (PyErr_Occurred()) SWIG_fail
;
7140 Py_INCREF(Py_None
); resultobj
= Py_None
;
7147 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7148 PyObject
*resultobj
;
7149 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7150 wxColour
*arg2
= 0 ;
7152 PyObject
* obj0
= 0 ;
7153 PyObject
* obj1
= 0 ;
7155 (char *) "self",(char *) "colBack", NULL
7158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7163 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7167 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
7169 wxPyEndAllowThreads(__tstate
);
7170 if (PyErr_Occurred()) SWIG_fail
;
7172 Py_INCREF(Py_None
); resultobj
= Py_None
;
7179 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7180 PyObject
*resultobj
;
7181 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7183 long arg3
= (long) wxTEXT_ATTR_FONT
;
7184 PyObject
* obj0
= 0 ;
7185 PyObject
* obj1
= 0 ;
7186 PyObject
* obj2
= 0 ;
7188 (char *) "self",(char *) "font",(char *) "flags", NULL
7191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7194 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7195 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7198 PyErr_SetString(PyExc_TypeError
,"null reference");
7202 arg3
= (long) SWIG_AsLong(obj2
);
7203 if (PyErr_Occurred()) SWIG_fail
;
7206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7207 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
7209 wxPyEndAllowThreads(__tstate
);
7210 if (PyErr_Occurred()) SWIG_fail
;
7212 Py_INCREF(Py_None
); resultobj
= Py_None
;
7219 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7220 PyObject
*resultobj
;
7221 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7223 PyObject
* obj0
= 0 ;
7224 PyObject
* obj1
= 0 ;
7226 (char *) "self",(char *) "alignment", NULL
7229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7232 arg2
= (wxTextAttrAlignment
) SWIG_AsInt(obj1
);
7233 if (PyErr_Occurred()) SWIG_fail
;
7235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7236 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
7238 wxPyEndAllowThreads(__tstate
);
7239 if (PyErr_Occurred()) SWIG_fail
;
7241 Py_INCREF(Py_None
); resultobj
= Py_None
;
7248 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7249 PyObject
*resultobj
;
7250 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7251 wxArrayInt
*arg2
= 0 ;
7252 bool temp2
= False
;
7253 PyObject
* obj0
= 0 ;
7254 PyObject
* obj1
= 0 ;
7256 (char *) "self",(char *) "tabs", NULL
7259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
7260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7263 if (! PySequence_Check(obj1
)) {
7264 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
7267 arg2
= new wxArrayInt
;
7269 int i
, len
=PySequence_Length(obj1
);
7270 for (i
=0; i
<len
; i
++) {
7271 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7272 PyObject
* number
= PyNumber_Int(item
);
7273 arg2
->Add(PyInt_AS_LONG(number
));
7279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7280 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
7282 wxPyEndAllowThreads(__tstate
);
7283 if (PyErr_Occurred()) SWIG_fail
;
7285 Py_INCREF(Py_None
); resultobj
= Py_None
;
7287 if (temp2
) delete arg2
;
7292 if (temp2
) delete arg2
;
7298 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7299 PyObject
*resultobj
;
7300 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7302 int arg3
= (int) 0 ;
7303 PyObject
* obj0
= 0 ;
7304 PyObject
* obj1
= 0 ;
7305 PyObject
* obj2
= 0 ;
7307 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
7310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7313 arg2
= (int) SWIG_AsInt(obj1
);
7314 if (PyErr_Occurred()) SWIG_fail
;
7316 arg3
= (int) SWIG_AsInt(obj2
);
7317 if (PyErr_Occurred()) SWIG_fail
;
7320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7321 (arg1
)->SetLeftIndent(arg2
,arg3
);
7323 wxPyEndAllowThreads(__tstate
);
7324 if (PyErr_Occurred()) SWIG_fail
;
7326 Py_INCREF(Py_None
); resultobj
= Py_None
;
7333 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7334 PyObject
*resultobj
;
7335 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7337 PyObject
* obj0
= 0 ;
7338 PyObject
* obj1
= 0 ;
7340 (char *) "self",(char *) "indent", NULL
7343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
7344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7346 arg2
= (int) SWIG_AsInt(obj1
);
7347 if (PyErr_Occurred()) SWIG_fail
;
7349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7350 (arg1
)->SetRightIndent(arg2
);
7352 wxPyEndAllowThreads(__tstate
);
7353 if (PyErr_Occurred()) SWIG_fail
;
7355 Py_INCREF(Py_None
); resultobj
= Py_None
;
7362 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7363 PyObject
*resultobj
;
7364 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7366 PyObject
* obj0
= 0 ;
7367 PyObject
* obj1
= 0 ;
7369 (char *) "self",(char *) "flags", NULL
7372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7375 arg2
= (long) SWIG_AsLong(obj1
);
7376 if (PyErr_Occurred()) SWIG_fail
;
7378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7379 (arg1
)->SetFlags(arg2
);
7381 wxPyEndAllowThreads(__tstate
);
7382 if (PyErr_Occurred()) SWIG_fail
;
7384 Py_INCREF(Py_None
); resultobj
= Py_None
;
7391 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7392 PyObject
*resultobj
;
7393 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7395 PyObject
* obj0
= 0 ;
7397 (char *) "self", NULL
7400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
7401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7405 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
7407 wxPyEndAllowThreads(__tstate
);
7408 if (PyErr_Occurred()) SWIG_fail
;
7411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7419 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7420 PyObject
*resultobj
;
7421 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7423 PyObject
* obj0
= 0 ;
7425 (char *) "self", NULL
7428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
7429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7433 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
7435 wxPyEndAllowThreads(__tstate
);
7436 if (PyErr_Occurred()) SWIG_fail
;
7439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7447 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7448 PyObject
*resultobj
;
7449 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7451 PyObject
* obj0
= 0 ;
7453 (char *) "self", NULL
7456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
7457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7461 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
7463 wxPyEndAllowThreads(__tstate
);
7464 if (PyErr_Occurred()) SWIG_fail
;
7467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7475 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7476 PyObject
*resultobj
;
7477 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7479 PyObject
* obj0
= 0 ;
7481 (char *) "self", NULL
7484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
7485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7489 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
7491 wxPyEndAllowThreads(__tstate
);
7492 if (PyErr_Occurred()) SWIG_fail
;
7495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7503 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7504 PyObject
*resultobj
;
7505 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7507 PyObject
* obj0
= 0 ;
7509 (char *) "self", NULL
7512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
7513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7517 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
7519 wxPyEndAllowThreads(__tstate
);
7520 if (PyErr_Occurred()) SWIG_fail
;
7523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7531 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7532 PyObject
*resultobj
;
7533 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7535 PyObject
* obj0
= 0 ;
7537 (char *) "self", NULL
7540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
7541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7545 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
7547 wxPyEndAllowThreads(__tstate
);
7548 if (PyErr_Occurred()) SWIG_fail
;
7551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7559 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7560 PyObject
*resultobj
;
7561 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7563 PyObject
* obj0
= 0 ;
7565 (char *) "self", NULL
7568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
7569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7573 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
7575 wxPyEndAllowThreads(__tstate
);
7576 if (PyErr_Occurred()) SWIG_fail
;
7579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7587 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7588 PyObject
*resultobj
;
7589 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7592 PyObject
* obj0
= 0 ;
7593 PyObject
* obj1
= 0 ;
7595 (char *) "self",(char *) "flag", NULL
7598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
7599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7601 arg2
= (long) SWIG_AsLong(obj1
);
7602 if (PyErr_Occurred()) SWIG_fail
;
7604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7605 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
7607 wxPyEndAllowThreads(__tstate
);
7608 if (PyErr_Occurred()) SWIG_fail
;
7611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7619 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7620 PyObject
*resultobj
;
7621 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7623 PyObject
* obj0
= 0 ;
7625 (char *) "self", NULL
7628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
7629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7634 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
7635 result
= (wxColour
*) &_result_ref
;
7638 wxPyEndAllowThreads(__tstate
);
7639 if (PyErr_Occurred()) SWIG_fail
;
7641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7648 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7649 PyObject
*resultobj
;
7650 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7652 PyObject
* obj0
= 0 ;
7654 (char *) "self", NULL
7657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
7658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7663 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
7664 result
= (wxColour
*) &_result_ref
;
7667 wxPyEndAllowThreads(__tstate
);
7668 if (PyErr_Occurred()) SWIG_fail
;
7670 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7677 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7678 PyObject
*resultobj
;
7679 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7681 PyObject
* obj0
= 0 ;
7683 (char *) "self", NULL
7686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
7687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7692 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7693 result
= (wxFont
*) &_result_ref
;
7696 wxPyEndAllowThreads(__tstate
);
7697 if (PyErr_Occurred()) SWIG_fail
;
7700 wxFont
* resultptr
= new wxFont(*result
);
7701 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
7709 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7710 PyObject
*resultobj
;
7711 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7713 PyObject
* obj0
= 0 ;
7715 (char *) "self", NULL
7718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7723 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7725 wxPyEndAllowThreads(__tstate
);
7726 if (PyErr_Occurred()) SWIG_fail
;
7728 resultobj
= SWIG_FromInt((int)result
);
7735 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7736 PyObject
*resultobj
;
7737 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7739 PyObject
* obj0
= 0 ;
7741 (char *) "self", NULL
7744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7750 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7751 result
= (wxArrayInt
*) &_result_ref
;
7754 wxPyEndAllowThreads(__tstate
);
7755 if (PyErr_Occurred()) SWIG_fail
;
7758 resultobj
= PyList_New(0);
7760 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7761 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7762 PyList_Append(resultobj
, val
);
7772 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7773 PyObject
*resultobj
;
7774 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7776 PyObject
* obj0
= 0 ;
7778 (char *) "self", NULL
7781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7786 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7788 wxPyEndAllowThreads(__tstate
);
7789 if (PyErr_Occurred()) SWIG_fail
;
7791 resultobj
= SWIG_FromLong((long)result
);
7798 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7799 PyObject
*resultobj
;
7800 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7802 PyObject
* obj0
= 0 ;
7804 (char *) "self", NULL
7807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftSubIndent",kwnames
,&obj0
)) goto fail
;
7808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7812 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
7814 wxPyEndAllowThreads(__tstate
);
7815 if (PyErr_Occurred()) SWIG_fail
;
7817 resultobj
= SWIG_FromLong((long)result
);
7824 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7825 PyObject
*resultobj
;
7826 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7828 PyObject
* obj0
= 0 ;
7830 (char *) "self", NULL
7833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7838 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7840 wxPyEndAllowThreads(__tstate
);
7841 if (PyErr_Occurred()) SWIG_fail
;
7843 resultobj
= SWIG_FromLong((long)result
);
7850 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7851 PyObject
*resultobj
;
7852 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7854 PyObject
* obj0
= 0 ;
7856 (char *) "self", NULL
7859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
7860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7864 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7866 wxPyEndAllowThreads(__tstate
);
7867 if (PyErr_Occurred()) SWIG_fail
;
7869 resultobj
= SWIG_FromLong((long)result
);
7876 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7877 PyObject
*resultobj
;
7878 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7880 PyObject
* obj0
= 0 ;
7882 (char *) "self", NULL
7885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
7886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7890 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
7892 wxPyEndAllowThreads(__tstate
);
7893 if (PyErr_Occurred()) SWIG_fail
;
7896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7904 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7905 PyObject
*resultobj
;
7906 wxTextAttr
*arg1
= 0 ;
7907 wxTextAttr
*arg2
= 0 ;
7908 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
7910 PyObject
* obj0
= 0 ;
7911 PyObject
* obj1
= 0 ;
7912 PyObject
* obj2
= 0 ;
7914 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7919 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7922 PyErr_SetString(PyExc_TypeError
,"null reference");
7925 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
7926 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7929 PyErr_SetString(PyExc_TypeError
,"null reference");
7932 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
,
7933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7936 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
7938 wxPyEndAllowThreads(__tstate
);
7939 if (PyErr_Occurred()) SWIG_fail
;
7942 wxTextAttr
* resultptr
;
7943 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
7944 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
7952 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
7954 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7955 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
7957 return Py_BuildValue((char *)"");
7959 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7960 PyObject
*resultobj
;
7961 wxWindow
*arg1
= (wxWindow
*) 0 ;
7962 int arg2
= (int) -1 ;
7963 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7964 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7965 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7966 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7967 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7968 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7969 long arg6
= (long) 0 ;
7970 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7971 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7972 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
7973 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7975 bool temp3
= False
;
7978 bool temp8
= False
;
7979 PyObject
* obj0
= 0 ;
7980 PyObject
* obj1
= 0 ;
7981 PyObject
* obj2
= 0 ;
7982 PyObject
* obj3
= 0 ;
7983 PyObject
* obj4
= 0 ;
7984 PyObject
* obj5
= 0 ;
7985 PyObject
* obj6
= 0 ;
7986 PyObject
* obj7
= 0 ;
7988 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7995 arg2
= (int) SWIG_AsInt(obj1
);
7996 if (PyErr_Occurred()) SWIG_fail
;
8000 arg3
= wxString_in_helper(obj2
);
8001 if (arg3
== NULL
) SWIG_fail
;
8008 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8014 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8018 arg6
= (long) SWIG_AsLong(obj5
);
8019 if (PyErr_Occurred()) SWIG_fail
;
8022 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
8023 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8026 PyErr_SetString(PyExc_TypeError
,"null reference");
8032 arg8
= wxString_in_helper(obj7
);
8033 if (arg8
== NULL
) SWIG_fail
;
8038 if (!wxPyCheckForApp()) SWIG_fail
;
8039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8040 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8042 wxPyEndAllowThreads(__tstate
);
8043 if (PyErr_Occurred()) SWIG_fail
;
8046 resultobj
= wxPyMake_wxObject(result
);
8070 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8071 PyObject
*resultobj
;
8077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
8079 if (!wxPyCheckForApp()) SWIG_fail
;
8080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8081 result
= (wxTextCtrl
*)new wxTextCtrl();
8083 wxPyEndAllowThreads(__tstate
);
8084 if (PyErr_Occurred()) SWIG_fail
;
8087 resultobj
= wxPyMake_wxObject(result
);
8095 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8096 PyObject
*resultobj
;
8097 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8098 wxWindow
*arg2
= (wxWindow
*) 0 ;
8099 int arg3
= (int) -1 ;
8100 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8101 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8102 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8103 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8104 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8105 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8106 long arg7
= (long) 0 ;
8107 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8108 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8109 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
8110 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8112 bool temp4
= False
;
8115 bool temp9
= False
;
8116 PyObject
* obj0
= 0 ;
8117 PyObject
* obj1
= 0 ;
8118 PyObject
* obj2
= 0 ;
8119 PyObject
* obj3
= 0 ;
8120 PyObject
* obj4
= 0 ;
8121 PyObject
* obj5
= 0 ;
8122 PyObject
* obj6
= 0 ;
8123 PyObject
* obj7
= 0 ;
8124 PyObject
* obj8
= 0 ;
8126 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8132 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8135 arg3
= (int) SWIG_AsInt(obj2
);
8136 if (PyErr_Occurred()) SWIG_fail
;
8140 arg4
= wxString_in_helper(obj3
);
8141 if (arg4
== NULL
) SWIG_fail
;
8148 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8154 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8158 arg7
= (long) SWIG_AsLong(obj6
);
8159 if (PyErr_Occurred()) SWIG_fail
;
8162 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
8163 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8166 PyErr_SetString(PyExc_TypeError
,"null reference");
8172 arg9
= wxString_in_helper(obj8
);
8173 if (arg9
== NULL
) SWIG_fail
;
8178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8179 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8181 wxPyEndAllowThreads(__tstate
);
8182 if (PyErr_Occurred()) SWIG_fail
;
8185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8209 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8210 PyObject
*resultobj
;
8211 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8213 PyObject
* obj0
= 0 ;
8215 (char *) "self", NULL
8218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
8219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8223 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
8225 wxPyEndAllowThreads(__tstate
);
8226 if (PyErr_Occurred()) SWIG_fail
;
8230 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8232 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8241 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8242 PyObject
*resultobj
;
8243 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8244 wxString
*arg2
= 0 ;
8245 bool temp2
= False
;
8246 PyObject
* obj0
= 0 ;
8247 PyObject
* obj1
= 0 ;
8249 (char *) "self",(char *) "value", NULL
8252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
8253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8256 arg2
= wxString_in_helper(obj1
);
8257 if (arg2
== NULL
) SWIG_fail
;
8261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8262 (arg1
)->SetValue((wxString
const &)*arg2
);
8264 wxPyEndAllowThreads(__tstate
);
8265 if (PyErr_Occurred()) SWIG_fail
;
8267 Py_INCREF(Py_None
); resultobj
= Py_None
;
8282 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8283 PyObject
*resultobj
;
8284 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8288 PyObject
* obj0
= 0 ;
8289 PyObject
* obj1
= 0 ;
8290 PyObject
* obj2
= 0 ;
8292 (char *) "self",(char *) "from",(char *) "to", NULL
8295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8298 arg2
= (long) SWIG_AsLong(obj1
);
8299 if (PyErr_Occurred()) SWIG_fail
;
8300 arg3
= (long) SWIG_AsLong(obj2
);
8301 if (PyErr_Occurred()) SWIG_fail
;
8303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8304 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
8306 wxPyEndAllowThreads(__tstate
);
8307 if (PyErr_Occurred()) SWIG_fail
;
8311 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8313 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8322 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8323 PyObject
*resultobj
;
8324 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8327 PyObject
* obj0
= 0 ;
8328 PyObject
* obj1
= 0 ;
8330 (char *) "self",(char *) "lineNo", NULL
8333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8336 arg2
= (long) SWIG_AsLong(obj1
);
8337 if (PyErr_Occurred()) SWIG_fail
;
8339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8340 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
8342 wxPyEndAllowThreads(__tstate
);
8343 if (PyErr_Occurred()) SWIG_fail
;
8345 resultobj
= SWIG_FromInt((int)result
);
8352 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8353 PyObject
*resultobj
;
8354 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8357 PyObject
* obj0
= 0 ;
8358 PyObject
* obj1
= 0 ;
8360 (char *) "self",(char *) "lineNo", NULL
8363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
8364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8366 arg2
= (long) SWIG_AsLong(obj1
);
8367 if (PyErr_Occurred()) SWIG_fail
;
8369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8370 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
8372 wxPyEndAllowThreads(__tstate
);
8373 if (PyErr_Occurred()) SWIG_fail
;
8377 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8379 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8388 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8389 PyObject
*resultobj
;
8390 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8392 PyObject
* obj0
= 0 ;
8394 (char *) "self", NULL
8397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
8398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8402 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
8404 wxPyEndAllowThreads(__tstate
);
8405 if (PyErr_Occurred()) SWIG_fail
;
8407 resultobj
= SWIG_FromInt((int)result
);
8414 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8415 PyObject
*resultobj
;
8416 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8418 PyObject
* obj0
= 0 ;
8420 (char *) "self", NULL
8423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
8424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8428 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
8430 wxPyEndAllowThreads(__tstate
);
8431 if (PyErr_Occurred()) SWIG_fail
;
8434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8442 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8443 PyObject
*resultobj
;
8444 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8446 PyObject
* obj0
= 0 ;
8448 (char *) "self", NULL
8451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
8452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8456 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
8458 wxPyEndAllowThreads(__tstate
);
8459 if (PyErr_Occurred()) SWIG_fail
;
8462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8470 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8471 PyObject
*resultobj
;
8472 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8474 PyObject
* obj0
= 0 ;
8476 (char *) "self", NULL
8479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
8480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8484 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
8486 wxPyEndAllowThreads(__tstate
);
8487 if (PyErr_Occurred()) SWIG_fail
;
8490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8498 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8499 PyObject
*resultobj
;
8500 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8502 PyObject
* obj0
= 0 ;
8504 (char *) "self", NULL
8507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
8508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8512 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
8514 wxPyEndAllowThreads(__tstate
);
8515 if (PyErr_Occurred()) SWIG_fail
;
8518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8526 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8527 PyObject
*resultobj
;
8528 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8529 long *arg2
= (long *) 0 ;
8530 long *arg3
= (long *) 0 ;
8533 PyObject
* obj0
= 0 ;
8535 (char *) "self", NULL
8540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
8541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8545 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
8547 wxPyEndAllowThreads(__tstate
);
8548 if (PyErr_Occurred()) SWIG_fail
;
8550 Py_INCREF(Py_None
); resultobj
= Py_None
;
8552 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8553 resultobj
= t_output_helper(resultobj
,o
);
8556 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8557 resultobj
= t_output_helper(resultobj
,o
);
8565 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8566 PyObject
*resultobj
;
8567 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8569 PyObject
* obj0
= 0 ;
8571 (char *) "self", NULL
8574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
8575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8579 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
8581 wxPyEndAllowThreads(__tstate
);
8582 if (PyErr_Occurred()) SWIG_fail
;
8586 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8588 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8597 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8598 PyObject
*resultobj
;
8599 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8600 PyObject
* obj0
= 0 ;
8602 (char *) "self", NULL
8605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
8606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8612 wxPyEndAllowThreads(__tstate
);
8613 if (PyErr_Occurred()) SWIG_fail
;
8615 Py_INCREF(Py_None
); resultobj
= Py_None
;
8622 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8623 PyObject
*resultobj
;
8624 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8627 wxString
*arg4
= 0 ;
8628 bool temp4
= False
;
8629 PyObject
* obj0
= 0 ;
8630 PyObject
* obj1
= 0 ;
8631 PyObject
* obj2
= 0 ;
8632 PyObject
* obj3
= 0 ;
8634 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8640 arg2
= (long) SWIG_AsLong(obj1
);
8641 if (PyErr_Occurred()) SWIG_fail
;
8642 arg3
= (long) SWIG_AsLong(obj2
);
8643 if (PyErr_Occurred()) SWIG_fail
;
8645 arg4
= wxString_in_helper(obj3
);
8646 if (arg4
== NULL
) SWIG_fail
;
8650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8651 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
8653 wxPyEndAllowThreads(__tstate
);
8654 if (PyErr_Occurred()) SWIG_fail
;
8656 Py_INCREF(Py_None
); resultobj
= Py_None
;
8671 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8672 PyObject
*resultobj
;
8673 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8676 PyObject
* obj0
= 0 ;
8677 PyObject
* obj1
= 0 ;
8678 PyObject
* obj2
= 0 ;
8680 (char *) "self",(char *) "from",(char *) "to", NULL
8683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8686 arg2
= (long) SWIG_AsLong(obj1
);
8687 if (PyErr_Occurred()) SWIG_fail
;
8688 arg3
= (long) SWIG_AsLong(obj2
);
8689 if (PyErr_Occurred()) SWIG_fail
;
8691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8692 (arg1
)->Remove(arg2
,arg3
);
8694 wxPyEndAllowThreads(__tstate
);
8695 if (PyErr_Occurred()) SWIG_fail
;
8697 Py_INCREF(Py_None
); resultobj
= Py_None
;
8704 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8705 PyObject
*resultobj
;
8706 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8707 wxString
*arg2
= 0 ;
8709 bool temp2
= False
;
8710 PyObject
* obj0
= 0 ;
8711 PyObject
* obj1
= 0 ;
8713 (char *) "self",(char *) "file", NULL
8716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8720 arg2
= wxString_in_helper(obj1
);
8721 if (arg2
== NULL
) SWIG_fail
;
8725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8726 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
8728 wxPyEndAllowThreads(__tstate
);
8729 if (PyErr_Occurred()) SWIG_fail
;
8732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8748 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8749 PyObject
*resultobj
;
8750 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8751 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8752 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8754 bool temp2
= False
;
8755 PyObject
* obj0
= 0 ;
8756 PyObject
* obj1
= 0 ;
8758 (char *) "self",(char *) "file", NULL
8761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8766 arg2
= wxString_in_helper(obj1
);
8767 if (arg2
== NULL
) SWIG_fail
;
8772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8773 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8775 wxPyEndAllowThreads(__tstate
);
8776 if (PyErr_Occurred()) SWIG_fail
;
8779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8795 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8796 PyObject
*resultobj
;
8797 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8798 PyObject
* obj0
= 0 ;
8800 (char *) "self", NULL
8803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8808 (arg1
)->MarkDirty();
8810 wxPyEndAllowThreads(__tstate
);
8811 if (PyErr_Occurred()) SWIG_fail
;
8813 Py_INCREF(Py_None
); resultobj
= Py_None
;
8820 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8821 PyObject
*resultobj
;
8822 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8823 PyObject
* obj0
= 0 ;
8825 (char *) "self", NULL
8828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8833 (arg1
)->DiscardEdits();
8835 wxPyEndAllowThreads(__tstate
);
8836 if (PyErr_Occurred()) SWIG_fail
;
8838 Py_INCREF(Py_None
); resultobj
= Py_None
;
8845 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8846 PyObject
*resultobj
;
8847 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8848 unsigned long arg2
;
8849 PyObject
* obj0
= 0 ;
8850 PyObject
* obj1
= 0 ;
8852 (char *) "self",(char *) "len", NULL
8855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8858 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
8859 if (PyErr_Occurred()) SWIG_fail
;
8861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8862 (arg1
)->SetMaxLength(arg2
);
8864 wxPyEndAllowThreads(__tstate
);
8865 if (PyErr_Occurred()) SWIG_fail
;
8867 Py_INCREF(Py_None
); resultobj
= Py_None
;
8874 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8875 PyObject
*resultobj
;
8876 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8877 wxString
*arg2
= 0 ;
8878 bool temp2
= False
;
8879 PyObject
* obj0
= 0 ;
8880 PyObject
* obj1
= 0 ;
8882 (char *) "self",(char *) "text", NULL
8885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8889 arg2
= wxString_in_helper(obj1
);
8890 if (arg2
== NULL
) SWIG_fail
;
8894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8895 (arg1
)->WriteText((wxString
const &)*arg2
);
8897 wxPyEndAllowThreads(__tstate
);
8898 if (PyErr_Occurred()) SWIG_fail
;
8900 Py_INCREF(Py_None
); resultobj
= Py_None
;
8915 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8916 PyObject
*resultobj
;
8917 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8918 wxString
*arg2
= 0 ;
8919 bool temp2
= False
;
8920 PyObject
* obj0
= 0 ;
8921 PyObject
* obj1
= 0 ;
8923 (char *) "self",(char *) "text", NULL
8926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
8927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8930 arg2
= wxString_in_helper(obj1
);
8931 if (arg2
== NULL
) SWIG_fail
;
8935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8936 (arg1
)->AppendText((wxString
const &)*arg2
);
8938 wxPyEndAllowThreads(__tstate
);
8939 if (PyErr_Occurred()) SWIG_fail
;
8941 Py_INCREF(Py_None
); resultobj
= Py_None
;
8956 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8957 PyObject
*resultobj
;
8958 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8959 wxKeyEvent
*arg2
= 0 ;
8961 PyObject
* obj0
= 0 ;
8962 PyObject
* obj1
= 0 ;
8964 (char *) "self",(char *) "event", NULL
8967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
8968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8970 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
8971 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8974 PyErr_SetString(PyExc_TypeError
,"null reference");
8978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8979 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
8981 wxPyEndAllowThreads(__tstate
);
8982 if (PyErr_Occurred()) SWIG_fail
;
8985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8993 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8994 PyObject
*resultobj
;
8995 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8998 wxTextAttr
*arg4
= 0 ;
9000 PyObject
* obj0
= 0 ;
9001 PyObject
* obj1
= 0 ;
9002 PyObject
* obj2
= 0 ;
9003 PyObject
* obj3
= 0 ;
9005 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
9008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9011 arg2
= (long) SWIG_AsLong(obj1
);
9012 if (PyErr_Occurred()) SWIG_fail
;
9013 arg3
= (long) SWIG_AsLong(obj2
);
9014 if (PyErr_Occurred()) SWIG_fail
;
9015 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
,
9016 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9019 PyErr_SetString(PyExc_TypeError
,"null reference");
9023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9024 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
9026 wxPyEndAllowThreads(__tstate
);
9027 if (PyErr_Occurred()) SWIG_fail
;
9030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9038 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9039 PyObject
*resultobj
;
9040 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9042 wxTextAttr
*arg3
= 0 ;
9044 PyObject
* obj0
= 0 ;
9045 PyObject
* obj1
= 0 ;
9046 PyObject
* obj2
= 0 ;
9048 (char *) "self",(char *) "position",(char *) "style", NULL
9051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9054 arg2
= (long) SWIG_AsLong(obj1
);
9055 if (PyErr_Occurred()) SWIG_fail
;
9056 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
,
9057 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9060 PyErr_SetString(PyExc_TypeError
,"null reference");
9064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9065 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
9067 wxPyEndAllowThreads(__tstate
);
9068 if (PyErr_Occurred()) SWIG_fail
;
9071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9079 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9080 PyObject
*resultobj
;
9081 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9082 wxTextAttr
*arg2
= 0 ;
9084 PyObject
* obj0
= 0 ;
9085 PyObject
* obj1
= 0 ;
9087 (char *) "self",(char *) "style", NULL
9090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
9091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9093 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
9094 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9097 PyErr_SetString(PyExc_TypeError
,"null reference");
9101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9102 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
9104 wxPyEndAllowThreads(__tstate
);
9105 if (PyErr_Occurred()) SWIG_fail
;
9108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9116 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9117 PyObject
*resultobj
;
9118 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9120 PyObject
* obj0
= 0 ;
9122 (char *) "self", NULL
9125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
9126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9131 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
9132 result
= (wxTextAttr
*) &_result_ref
;
9135 wxPyEndAllowThreads(__tstate
);
9136 if (PyErr_Occurred()) SWIG_fail
;
9138 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
9145 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9146 PyObject
*resultobj
;
9147 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9151 PyObject
* obj0
= 0 ;
9152 PyObject
* obj1
= 0 ;
9153 PyObject
* obj2
= 0 ;
9155 (char *) "self",(char *) "x",(char *) "y", NULL
9158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9161 arg2
= (long) SWIG_AsLong(obj1
);
9162 if (PyErr_Occurred()) SWIG_fail
;
9163 arg3
= (long) SWIG_AsLong(obj2
);
9164 if (PyErr_Occurred()) SWIG_fail
;
9166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9167 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
9169 wxPyEndAllowThreads(__tstate
);
9170 if (PyErr_Occurred()) SWIG_fail
;
9172 resultobj
= SWIG_FromLong((long)result
);
9179 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9180 PyObject
*resultobj
;
9181 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9183 long *arg3
= (long *) 0 ;
9184 long *arg4
= (long *) 0 ;
9187 PyObject
* obj0
= 0 ;
9188 PyObject
* obj1
= 0 ;
9190 (char *) "self",(char *) "pos", NULL
9195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
9196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9198 arg2
= (long) SWIG_AsLong(obj1
);
9199 if (PyErr_Occurred()) SWIG_fail
;
9201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9202 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
9204 wxPyEndAllowThreads(__tstate
);
9205 if (PyErr_Occurred()) SWIG_fail
;
9207 Py_INCREF(Py_None
); resultobj
= Py_None
;
9209 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9210 resultobj
= t_output_helper(resultobj
,o
);
9213 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9214 resultobj
= t_output_helper(resultobj
,o
);
9222 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9223 PyObject
*resultobj
;
9224 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9226 PyObject
* obj0
= 0 ;
9227 PyObject
* obj1
= 0 ;
9229 (char *) "self",(char *) "pos", NULL
9232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9235 arg2
= (long) SWIG_AsLong(obj1
);
9236 if (PyErr_Occurred()) SWIG_fail
;
9238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9239 (arg1
)->ShowPosition(arg2
);
9241 wxPyEndAllowThreads(__tstate
);
9242 if (PyErr_Occurred()) SWIG_fail
;
9244 Py_INCREF(Py_None
); resultobj
= Py_None
;
9251 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9252 PyObject
*resultobj
;
9253 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9255 long *arg3
= (long *) 0 ;
9256 long *arg4
= (long *) 0 ;
9261 PyObject
* obj0
= 0 ;
9262 PyObject
* obj1
= 0 ;
9264 (char *) "self",(char *) "pt", NULL
9269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9274 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9278 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
9280 wxPyEndAllowThreads(__tstate
);
9281 if (PyErr_Occurred()) SWIG_fail
;
9283 resultobj
= SWIG_FromInt((int)result
);
9285 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9286 resultobj
= t_output_helper(resultobj
,o
);
9289 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9290 resultobj
= t_output_helper(resultobj
,o
);
9298 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9299 PyObject
*resultobj
;
9300 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9301 PyObject
* obj0
= 0 ;
9303 (char *) "self", NULL
9306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
9307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9313 wxPyEndAllowThreads(__tstate
);
9314 if (PyErr_Occurred()) SWIG_fail
;
9316 Py_INCREF(Py_None
); resultobj
= Py_None
;
9323 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9324 PyObject
*resultobj
;
9325 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9326 PyObject
* obj0
= 0 ;
9328 (char *) "self", NULL
9331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
9332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9338 wxPyEndAllowThreads(__tstate
);
9339 if (PyErr_Occurred()) SWIG_fail
;
9341 Py_INCREF(Py_None
); resultobj
= Py_None
;
9348 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9349 PyObject
*resultobj
;
9350 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9351 PyObject
* obj0
= 0 ;
9353 (char *) "self", NULL
9356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
9357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9363 wxPyEndAllowThreads(__tstate
);
9364 if (PyErr_Occurred()) SWIG_fail
;
9366 Py_INCREF(Py_None
); resultobj
= Py_None
;
9373 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9374 PyObject
*resultobj
;
9375 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9377 PyObject
* obj0
= 0 ;
9379 (char *) "self", NULL
9382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
9383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9387 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
9389 wxPyEndAllowThreads(__tstate
);
9390 if (PyErr_Occurred()) SWIG_fail
;
9393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9401 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9402 PyObject
*resultobj
;
9403 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9405 PyObject
* obj0
= 0 ;
9407 (char *) "self", NULL
9410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
9411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9415 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
9417 wxPyEndAllowThreads(__tstate
);
9418 if (PyErr_Occurred()) SWIG_fail
;
9421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9429 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9430 PyObject
*resultobj
;
9431 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9433 PyObject
* obj0
= 0 ;
9435 (char *) "self", NULL
9438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
9439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9443 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
9445 wxPyEndAllowThreads(__tstate
);
9446 if (PyErr_Occurred()) SWIG_fail
;
9449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9457 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9458 PyObject
*resultobj
;
9459 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9460 PyObject
* obj0
= 0 ;
9462 (char *) "self", NULL
9465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
9466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9472 wxPyEndAllowThreads(__tstate
);
9473 if (PyErr_Occurred()) SWIG_fail
;
9475 Py_INCREF(Py_None
); resultobj
= Py_None
;
9482 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9483 PyObject
*resultobj
;
9484 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9485 PyObject
* obj0
= 0 ;
9487 (char *) "self", NULL
9490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
9491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9497 wxPyEndAllowThreads(__tstate
);
9498 if (PyErr_Occurred()) SWIG_fail
;
9500 Py_INCREF(Py_None
); resultobj
= Py_None
;
9507 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9508 PyObject
*resultobj
;
9509 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9511 PyObject
* obj0
= 0 ;
9513 (char *) "self", NULL
9516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
9517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9521 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
9523 wxPyEndAllowThreads(__tstate
);
9524 if (PyErr_Occurred()) SWIG_fail
;
9527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9535 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9536 PyObject
*resultobj
;
9537 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9539 PyObject
* obj0
= 0 ;
9541 (char *) "self", NULL
9544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
9545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9549 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
9551 wxPyEndAllowThreads(__tstate
);
9552 if (PyErr_Occurred()) SWIG_fail
;
9555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9563 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9564 PyObject
*resultobj
;
9565 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9567 PyObject
* obj0
= 0 ;
9568 PyObject
* obj1
= 0 ;
9570 (char *) "self",(char *) "pos", NULL
9573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
9574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9576 arg2
= (long) SWIG_AsLong(obj1
);
9577 if (PyErr_Occurred()) SWIG_fail
;
9579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9580 (arg1
)->SetInsertionPoint(arg2
);
9582 wxPyEndAllowThreads(__tstate
);
9583 if (PyErr_Occurred()) SWIG_fail
;
9585 Py_INCREF(Py_None
); resultobj
= Py_None
;
9592 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9593 PyObject
*resultobj
;
9594 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9595 PyObject
* obj0
= 0 ;
9597 (char *) "self", NULL
9600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
9601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9605 (arg1
)->SetInsertionPointEnd();
9607 wxPyEndAllowThreads(__tstate
);
9608 if (PyErr_Occurred()) SWIG_fail
;
9610 Py_INCREF(Py_None
); resultobj
= Py_None
;
9617 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9618 PyObject
*resultobj
;
9619 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9621 PyObject
* obj0
= 0 ;
9623 (char *) "self", NULL
9626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
9627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9631 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
9633 wxPyEndAllowThreads(__tstate
);
9634 if (PyErr_Occurred()) SWIG_fail
;
9636 resultobj
= SWIG_FromLong((long)result
);
9643 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9644 PyObject
*resultobj
;
9645 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9647 PyObject
* obj0
= 0 ;
9649 (char *) "self", NULL
9652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
9653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9657 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
9659 wxPyEndAllowThreads(__tstate
);
9660 if (PyErr_Occurred()) SWIG_fail
;
9662 resultobj
= SWIG_FromLong((long)result
);
9669 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9670 PyObject
*resultobj
;
9671 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9674 PyObject
* obj0
= 0 ;
9675 PyObject
* obj1
= 0 ;
9676 PyObject
* obj2
= 0 ;
9678 (char *) "self",(char *) "from",(char *) "to", NULL
9681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9684 arg2
= (long) SWIG_AsLong(obj1
);
9685 if (PyErr_Occurred()) SWIG_fail
;
9686 arg3
= (long) SWIG_AsLong(obj2
);
9687 if (PyErr_Occurred()) SWIG_fail
;
9689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9690 (arg1
)->SetSelection(arg2
,arg3
);
9692 wxPyEndAllowThreads(__tstate
);
9693 if (PyErr_Occurred()) SWIG_fail
;
9695 Py_INCREF(Py_None
); resultobj
= Py_None
;
9702 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9703 PyObject
*resultobj
;
9704 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9705 PyObject
* obj0
= 0 ;
9707 (char *) "self", NULL
9710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
9711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9715 (arg1
)->SelectAll();
9717 wxPyEndAllowThreads(__tstate
);
9718 if (PyErr_Occurred()) SWIG_fail
;
9720 Py_INCREF(Py_None
); resultobj
= Py_None
;
9727 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9728 PyObject
*resultobj
;
9729 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9731 PyObject
* obj0
= 0 ;
9732 PyObject
* obj1
= 0 ;
9734 (char *) "self",(char *) "editable", NULL
9737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
9738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9740 arg2
= (bool) SWIG_AsBool(obj1
);
9741 if (PyErr_Occurred()) SWIG_fail
;
9743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9744 (arg1
)->SetEditable(arg2
);
9746 wxPyEndAllowThreads(__tstate
);
9747 if (PyErr_Occurred()) SWIG_fail
;
9749 Py_INCREF(Py_None
); resultobj
= Py_None
;
9756 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9757 PyObject
*resultobj
;
9758 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9759 wxString
*arg2
= 0 ;
9760 bool temp2
= False
;
9761 PyObject
* obj0
= 0 ;
9762 PyObject
* obj1
= 0 ;
9764 (char *) "self",(char *) "text", NULL
9767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9771 arg2
= wxString_in_helper(obj1
);
9772 if (arg2
== NULL
) SWIG_fail
;
9776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9777 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
9779 wxPyEndAllowThreads(__tstate
);
9780 if (PyErr_Occurred()) SWIG_fail
;
9782 Py_INCREF(Py_None
); resultobj
= Py_None
;
9797 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9798 PyObject
*resultobj
;
9799 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9803 PyObject
* obj0
= 0 ;
9804 PyObject
* obj1
= 0 ;
9805 PyObject
* obj2
= 0 ;
9807 (char *) "self",(char *) "from",(char *) "to", NULL
9810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9813 arg2
= (long) SWIG_AsLong(obj1
);
9814 if (PyErr_Occurred()) SWIG_fail
;
9815 arg3
= (long) SWIG_AsLong(obj2
);
9816 if (PyErr_Occurred()) SWIG_fail
;
9818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9819 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9821 wxPyEndAllowThreads(__tstate
);
9822 if (PyErr_Occurred()) SWIG_fail
;
9826 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9828 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9837 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9838 PyObject
*resultobj
;
9839 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
9840 wxVisualAttributes result
;
9841 PyObject
* obj0
= 0 ;
9843 (char *) "variant", NULL
9846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
9848 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
9849 if (PyErr_Occurred()) SWIG_fail
;
9852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9853 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
9855 wxPyEndAllowThreads(__tstate
);
9856 if (PyErr_Occurred()) SWIG_fail
;
9859 wxVisualAttributes
* resultptr
;
9860 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
9861 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
9869 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9871 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9872 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
9874 return Py_BuildValue((char *)"");
9876 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9877 PyObject
*resultobj
;
9879 wxMouseEvent
*arg2
= 0 ;
9882 wxTextUrlEvent
*result
;
9883 PyObject
* obj0
= 0 ;
9884 PyObject
* obj1
= 0 ;
9885 PyObject
* obj2
= 0 ;
9886 PyObject
* obj3
= 0 ;
9888 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9892 arg1
= (int) SWIG_AsInt(obj0
);
9893 if (PyErr_Occurred()) SWIG_fail
;
9894 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
9895 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9898 PyErr_SetString(PyExc_TypeError
,"null reference");
9901 arg3
= (long) SWIG_AsLong(obj2
);
9902 if (PyErr_Occurred()) SWIG_fail
;
9903 arg4
= (long) SWIG_AsLong(obj3
);
9904 if (PyErr_Occurred()) SWIG_fail
;
9906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9907 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
9909 wxPyEndAllowThreads(__tstate
);
9910 if (PyErr_Occurred()) SWIG_fail
;
9912 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
9919 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9920 PyObject
*resultobj
;
9921 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9922 wxMouseEvent
*result
;
9923 PyObject
* obj0
= 0 ;
9925 (char *) "self", NULL
9928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
9929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9934 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
9935 result
= (wxMouseEvent
*) &_result_ref
;
9938 wxPyEndAllowThreads(__tstate
);
9939 if (PyErr_Occurred()) SWIG_fail
;
9941 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
9948 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9949 PyObject
*resultobj
;
9950 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9952 PyObject
* obj0
= 0 ;
9954 (char *) "self", NULL
9957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
9958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9962 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
9964 wxPyEndAllowThreads(__tstate
);
9965 if (PyErr_Occurred()) SWIG_fail
;
9967 resultobj
= SWIG_FromLong((long)result
);
9974 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9975 PyObject
*resultobj
;
9976 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9978 PyObject
* obj0
= 0 ;
9980 (char *) "self", NULL
9983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
9984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9988 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
9990 wxPyEndAllowThreads(__tstate
);
9991 if (PyErr_Occurred()) SWIG_fail
;
9993 resultobj
= SWIG_FromLong((long)result
);
10000 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10002 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10003 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
10005 return Py_BuildValue((char *)"");
10007 static int _wrap_ScrollBarNameStr_set(PyObject
*_val
) {
10008 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
10013 static PyObject
*_wrap_ScrollBarNameStr_get() {
10018 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
10020 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
10027 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10028 PyObject
*resultobj
;
10029 wxWindow
*arg1
= (wxWindow
*) 0 ;
10030 int arg2
= (int) -1 ;
10031 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10032 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10033 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10034 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10035 long arg5
= (long) wxSB_HORIZONTAL
;
10036 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
10037 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
10038 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
10039 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10040 wxScrollBar
*result
;
10043 bool temp7
= False
;
10044 PyObject
* obj0
= 0 ;
10045 PyObject
* obj1
= 0 ;
10046 PyObject
* obj2
= 0 ;
10047 PyObject
* obj3
= 0 ;
10048 PyObject
* obj4
= 0 ;
10049 PyObject
* obj5
= 0 ;
10050 PyObject
* obj6
= 0 ;
10051 char *kwnames
[] = {
10052 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10059 arg2
= (int) SWIG_AsInt(obj1
);
10060 if (PyErr_Occurred()) SWIG_fail
;
10065 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10071 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10075 arg5
= (long) SWIG_AsLong(obj4
);
10076 if (PyErr_Occurred()) SWIG_fail
;
10079 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
10080 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10082 if (arg6
== NULL
) {
10083 PyErr_SetString(PyExc_TypeError
,"null reference");
10089 arg7
= wxString_in_helper(obj6
);
10090 if (arg7
== NULL
) SWIG_fail
;
10095 if (!wxPyCheckForApp()) SWIG_fail
;
10096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10097 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
10099 wxPyEndAllowThreads(__tstate
);
10100 if (PyErr_Occurred()) SWIG_fail
;
10102 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10117 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10118 PyObject
*resultobj
;
10119 wxScrollBar
*result
;
10120 char *kwnames
[] = {
10124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
10126 if (!wxPyCheckForApp()) SWIG_fail
;
10127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10128 result
= (wxScrollBar
*)new wxScrollBar();
10130 wxPyEndAllowThreads(__tstate
);
10131 if (PyErr_Occurred()) SWIG_fail
;
10133 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10140 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10141 PyObject
*resultobj
;
10142 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10143 wxWindow
*arg2
= (wxWindow
*) 0 ;
10144 int arg3
= (int) -1 ;
10145 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10146 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10147 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10148 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10149 long arg6
= (long) wxSB_HORIZONTAL
;
10150 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10151 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10152 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
10153 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10157 bool temp8
= False
;
10158 PyObject
* obj0
= 0 ;
10159 PyObject
* obj1
= 0 ;
10160 PyObject
* obj2
= 0 ;
10161 PyObject
* obj3
= 0 ;
10162 PyObject
* obj4
= 0 ;
10163 PyObject
* obj5
= 0 ;
10164 PyObject
* obj6
= 0 ;
10165 PyObject
* obj7
= 0 ;
10166 char *kwnames
[] = {
10167 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
10171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10173 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10176 arg3
= (int) SWIG_AsInt(obj2
);
10177 if (PyErr_Occurred()) SWIG_fail
;
10182 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10188 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10192 arg6
= (long) SWIG_AsLong(obj5
);
10193 if (PyErr_Occurred()) SWIG_fail
;
10196 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
10197 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10199 if (arg7
== NULL
) {
10200 PyErr_SetString(PyExc_TypeError
,"null reference");
10206 arg8
= wxString_in_helper(obj7
);
10207 if (arg8
== NULL
) SWIG_fail
;
10212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10213 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10215 wxPyEndAllowThreads(__tstate
);
10216 if (PyErr_Occurred()) SWIG_fail
;
10219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10235 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10236 PyObject
*resultobj
;
10237 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10239 PyObject
* obj0
= 0 ;
10240 char *kwnames
[] = {
10241 (char *) "self", NULL
10244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
10245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10249 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
10251 wxPyEndAllowThreads(__tstate
);
10252 if (PyErr_Occurred()) SWIG_fail
;
10254 resultobj
= SWIG_FromInt((int)result
);
10261 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10262 PyObject
*resultobj
;
10263 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10265 PyObject
* obj0
= 0 ;
10266 char *kwnames
[] = {
10267 (char *) "self", NULL
10270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
10271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10275 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
10277 wxPyEndAllowThreads(__tstate
);
10278 if (PyErr_Occurred()) SWIG_fail
;
10280 resultobj
= SWIG_FromInt((int)result
);
10287 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10288 PyObject
*resultobj
;
10289 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10291 PyObject
* obj0
= 0 ;
10292 char *kwnames
[] = {
10293 (char *) "self", NULL
10296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
10297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10301 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
10303 wxPyEndAllowThreads(__tstate
);
10304 if (PyErr_Occurred()) SWIG_fail
;
10306 resultobj
= SWIG_FromInt((int)result
);
10313 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10314 PyObject
*resultobj
;
10315 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10317 PyObject
* obj0
= 0 ;
10318 char *kwnames
[] = {
10319 (char *) "self", NULL
10322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
10323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10327 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
10329 wxPyEndAllowThreads(__tstate
);
10330 if (PyErr_Occurred()) SWIG_fail
;
10332 resultobj
= SWIG_FromInt((int)result
);
10339 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10340 PyObject
*resultobj
;
10341 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10343 PyObject
* obj0
= 0 ;
10344 char *kwnames
[] = {
10345 (char *) "self", NULL
10348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
10349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10353 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
10355 wxPyEndAllowThreads(__tstate
);
10356 if (PyErr_Occurred()) SWIG_fail
;
10359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10367 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10368 PyObject
*resultobj
;
10369 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10371 PyObject
* obj0
= 0 ;
10372 PyObject
* obj1
= 0 ;
10373 char *kwnames
[] = {
10374 (char *) "self",(char *) "viewStart", NULL
10377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10380 arg2
= (int) SWIG_AsInt(obj1
);
10381 if (PyErr_Occurred()) SWIG_fail
;
10383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10384 (arg1
)->SetThumbPosition(arg2
);
10386 wxPyEndAllowThreads(__tstate
);
10387 if (PyErr_Occurred()) SWIG_fail
;
10389 Py_INCREF(Py_None
); resultobj
= Py_None
;
10396 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10397 PyObject
*resultobj
;
10398 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10403 bool arg6
= (bool) True
;
10404 PyObject
* obj0
= 0 ;
10405 PyObject
* obj1
= 0 ;
10406 PyObject
* obj2
= 0 ;
10407 PyObject
* obj3
= 0 ;
10408 PyObject
* obj4
= 0 ;
10409 PyObject
* obj5
= 0 ;
10410 char *kwnames
[] = {
10411 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
10414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10417 arg2
= (int) SWIG_AsInt(obj1
);
10418 if (PyErr_Occurred()) SWIG_fail
;
10419 arg3
= (int) SWIG_AsInt(obj2
);
10420 if (PyErr_Occurred()) SWIG_fail
;
10421 arg4
= (int) SWIG_AsInt(obj3
);
10422 if (PyErr_Occurred()) SWIG_fail
;
10423 arg5
= (int) SWIG_AsInt(obj4
);
10424 if (PyErr_Occurred()) SWIG_fail
;
10426 arg6
= (bool) SWIG_AsBool(obj5
);
10427 if (PyErr_Occurred()) SWIG_fail
;
10430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10431 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
10433 wxPyEndAllowThreads(__tstate
);
10434 if (PyErr_Occurred()) SWIG_fail
;
10436 Py_INCREF(Py_None
); resultobj
= Py_None
;
10443 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10444 PyObject
*resultobj
;
10445 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10446 wxVisualAttributes result
;
10447 PyObject
* obj0
= 0 ;
10448 char *kwnames
[] = {
10449 (char *) "variant", NULL
10452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10454 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
10455 if (PyErr_Occurred()) SWIG_fail
;
10458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10459 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10461 wxPyEndAllowThreads(__tstate
);
10462 if (PyErr_Occurred()) SWIG_fail
;
10465 wxVisualAttributes
* resultptr
;
10466 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10467 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10475 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
10477 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10478 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
10480 return Py_BuildValue((char *)"");
10482 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*_val
) {
10483 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
10488 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
10493 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10495 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10502 static int _wrap_SpinCtrlNameStr_set(PyObject
*_val
) {
10503 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
10508 static PyObject
*_wrap_SpinCtrlNameStr_get() {
10513 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10515 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10522 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10523 PyObject
*resultobj
;
10524 wxWindow
*arg1
= (wxWindow
*) 0 ;
10525 int arg2
= (int) -1 ;
10526 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10527 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10528 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10529 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10530 long arg5
= (long) wxSP_HORIZONTAL
;
10531 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
10532 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10533 wxSpinButton
*result
;
10536 bool temp6
= False
;
10537 PyObject
* obj0
= 0 ;
10538 PyObject
* obj1
= 0 ;
10539 PyObject
* obj2
= 0 ;
10540 PyObject
* obj3
= 0 ;
10541 PyObject
* obj4
= 0 ;
10542 PyObject
* obj5
= 0 ;
10543 char *kwnames
[] = {
10544 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10551 arg2
= (int) SWIG_AsInt(obj1
);
10552 if (PyErr_Occurred()) SWIG_fail
;
10557 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10563 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10567 arg5
= (long) SWIG_AsLong(obj4
);
10568 if (PyErr_Occurred()) SWIG_fail
;
10572 arg6
= wxString_in_helper(obj5
);
10573 if (arg6
== NULL
) SWIG_fail
;
10578 if (!wxPyCheckForApp()) SWIG_fail
;
10579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10580 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10582 wxPyEndAllowThreads(__tstate
);
10583 if (PyErr_Occurred()) SWIG_fail
;
10585 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10600 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10601 PyObject
*resultobj
;
10602 wxSpinButton
*result
;
10603 char *kwnames
[] = {
10607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
10609 if (!wxPyCheckForApp()) SWIG_fail
;
10610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10611 result
= (wxSpinButton
*)new wxSpinButton();
10613 wxPyEndAllowThreads(__tstate
);
10614 if (PyErr_Occurred()) SWIG_fail
;
10616 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10623 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10624 PyObject
*resultobj
;
10625 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10626 wxWindow
*arg2
= (wxWindow
*) 0 ;
10627 int arg3
= (int) -1 ;
10628 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10629 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10630 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10631 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10632 long arg6
= (long) wxSP_HORIZONTAL
;
10633 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
10634 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10638 bool temp7
= False
;
10639 PyObject
* obj0
= 0 ;
10640 PyObject
* obj1
= 0 ;
10641 PyObject
* obj2
= 0 ;
10642 PyObject
* obj3
= 0 ;
10643 PyObject
* obj4
= 0 ;
10644 PyObject
* obj5
= 0 ;
10645 PyObject
* obj6
= 0 ;
10646 char *kwnames
[] = {
10647 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10653 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10656 arg3
= (int) SWIG_AsInt(obj2
);
10657 if (PyErr_Occurred()) SWIG_fail
;
10662 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10668 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10672 arg6
= (long) SWIG_AsLong(obj5
);
10673 if (PyErr_Occurred()) SWIG_fail
;
10677 arg7
= wxString_in_helper(obj6
);
10678 if (arg7
== NULL
) SWIG_fail
;
10683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10684 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10686 wxPyEndAllowThreads(__tstate
);
10687 if (PyErr_Occurred()) SWIG_fail
;
10690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10706 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10707 PyObject
*resultobj
;
10708 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10710 PyObject
* obj0
= 0 ;
10711 char *kwnames
[] = {
10712 (char *) "self", NULL
10715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
10716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10720 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
10722 wxPyEndAllowThreads(__tstate
);
10723 if (PyErr_Occurred()) SWIG_fail
;
10725 resultobj
= SWIG_FromInt((int)result
);
10732 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10733 PyObject
*resultobj
;
10734 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10736 PyObject
* obj0
= 0 ;
10737 char *kwnames
[] = {
10738 (char *) "self", NULL
10741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
10742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10746 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
10748 wxPyEndAllowThreads(__tstate
);
10749 if (PyErr_Occurred()) SWIG_fail
;
10751 resultobj
= SWIG_FromInt((int)result
);
10758 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10759 PyObject
*resultobj
;
10760 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10762 PyObject
* obj0
= 0 ;
10763 char *kwnames
[] = {
10764 (char *) "self", NULL
10767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
10768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10772 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
10774 wxPyEndAllowThreads(__tstate
);
10775 if (PyErr_Occurred()) SWIG_fail
;
10777 resultobj
= SWIG_FromInt((int)result
);
10784 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10785 PyObject
*resultobj
;
10786 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10788 PyObject
* obj0
= 0 ;
10789 PyObject
* obj1
= 0 ;
10790 char *kwnames
[] = {
10791 (char *) "self",(char *) "val", NULL
10794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10797 arg2
= (int) SWIG_AsInt(obj1
);
10798 if (PyErr_Occurred()) SWIG_fail
;
10800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10801 (arg1
)->SetValue(arg2
);
10803 wxPyEndAllowThreads(__tstate
);
10804 if (PyErr_Occurred()) SWIG_fail
;
10806 Py_INCREF(Py_None
); resultobj
= Py_None
;
10813 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10814 PyObject
*resultobj
;
10815 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10817 PyObject
* obj0
= 0 ;
10818 PyObject
* obj1
= 0 ;
10819 char *kwnames
[] = {
10820 (char *) "self",(char *) "minVal", NULL
10823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
10824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10826 arg2
= (int) SWIG_AsInt(obj1
);
10827 if (PyErr_Occurred()) SWIG_fail
;
10829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10830 (arg1
)->SetMin(arg2
);
10832 wxPyEndAllowThreads(__tstate
);
10833 if (PyErr_Occurred()) SWIG_fail
;
10835 Py_INCREF(Py_None
); resultobj
= Py_None
;
10842 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10843 PyObject
*resultobj
;
10844 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10846 PyObject
* obj0
= 0 ;
10847 PyObject
* obj1
= 0 ;
10848 char *kwnames
[] = {
10849 (char *) "self",(char *) "maxVal", NULL
10852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
10853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10855 arg2
= (int) SWIG_AsInt(obj1
);
10856 if (PyErr_Occurred()) SWIG_fail
;
10858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10859 (arg1
)->SetMax(arg2
);
10861 wxPyEndAllowThreads(__tstate
);
10862 if (PyErr_Occurred()) SWIG_fail
;
10864 Py_INCREF(Py_None
); resultobj
= Py_None
;
10871 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10872 PyObject
*resultobj
;
10873 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10876 PyObject
* obj0
= 0 ;
10877 PyObject
* obj1
= 0 ;
10878 PyObject
* obj2
= 0 ;
10879 char *kwnames
[] = {
10880 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10886 arg2
= (int) SWIG_AsInt(obj1
);
10887 if (PyErr_Occurred()) SWIG_fail
;
10888 arg3
= (int) SWIG_AsInt(obj2
);
10889 if (PyErr_Occurred()) SWIG_fail
;
10891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10892 (arg1
)->SetRange(arg2
,arg3
);
10894 wxPyEndAllowThreads(__tstate
);
10895 if (PyErr_Occurred()) SWIG_fail
;
10897 Py_INCREF(Py_None
); resultobj
= Py_None
;
10904 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10905 PyObject
*resultobj
;
10906 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10908 PyObject
* obj0
= 0 ;
10909 char *kwnames
[] = {
10910 (char *) "self", NULL
10913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
10914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10918 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
10920 wxPyEndAllowThreads(__tstate
);
10921 if (PyErr_Occurred()) SWIG_fail
;
10924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10932 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10933 PyObject
*resultobj
;
10934 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10935 wxVisualAttributes result
;
10936 PyObject
* obj0
= 0 ;
10937 char *kwnames
[] = {
10938 (char *) "variant", NULL
10941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10943 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
10944 if (PyErr_Occurred()) SWIG_fail
;
10947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10948 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10950 wxPyEndAllowThreads(__tstate
);
10951 if (PyErr_Occurred()) SWIG_fail
;
10954 wxVisualAttributes
* resultptr
;
10955 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10956 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10964 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
10966 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10967 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
10969 return Py_BuildValue((char *)"");
10971 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10972 PyObject
*resultobj
;
10973 wxWindow
*arg1
= (wxWindow
*) 0 ;
10974 int arg2
= (int) -1 ;
10975 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10976 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10977 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10978 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10979 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10980 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10981 long arg6
= (long) wxSP_ARROW_KEYS
;
10982 int arg7
= (int) 0 ;
10983 int arg8
= (int) 100 ;
10984 int arg9
= (int) 0 ;
10985 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
10986 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10987 wxSpinCtrl
*result
;
10988 bool temp3
= False
;
10991 bool temp10
= False
;
10992 PyObject
* obj0
= 0 ;
10993 PyObject
* obj1
= 0 ;
10994 PyObject
* obj2
= 0 ;
10995 PyObject
* obj3
= 0 ;
10996 PyObject
* obj4
= 0 ;
10997 PyObject
* obj5
= 0 ;
10998 PyObject
* obj6
= 0 ;
10999 PyObject
* obj7
= 0 ;
11000 PyObject
* obj8
= 0 ;
11001 PyObject
* obj9
= 0 ;
11002 char *kwnames
[] = {
11003 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11010 arg2
= (int) SWIG_AsInt(obj1
);
11011 if (PyErr_Occurred()) SWIG_fail
;
11015 arg3
= wxString_in_helper(obj2
);
11016 if (arg3
== NULL
) SWIG_fail
;
11023 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11029 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11033 arg6
= (long) SWIG_AsLong(obj5
);
11034 if (PyErr_Occurred()) SWIG_fail
;
11037 arg7
= (int) SWIG_AsInt(obj6
);
11038 if (PyErr_Occurred()) SWIG_fail
;
11041 arg8
= (int) SWIG_AsInt(obj7
);
11042 if (PyErr_Occurred()) SWIG_fail
;
11045 arg9
= (int) SWIG_AsInt(obj8
);
11046 if (PyErr_Occurred()) SWIG_fail
;
11050 arg10
= wxString_in_helper(obj9
);
11051 if (arg10
== NULL
) SWIG_fail
;
11056 if (!wxPyCheckForApp()) SWIG_fail
;
11057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11058 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
11060 wxPyEndAllowThreads(__tstate
);
11061 if (PyErr_Occurred()) SWIG_fail
;
11063 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11086 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11087 PyObject
*resultobj
;
11088 wxSpinCtrl
*result
;
11089 char *kwnames
[] = {
11093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
11095 if (!wxPyCheckForApp()) SWIG_fail
;
11096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11097 result
= (wxSpinCtrl
*)new wxSpinCtrl();
11099 wxPyEndAllowThreads(__tstate
);
11100 if (PyErr_Occurred()) SWIG_fail
;
11102 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11109 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11110 PyObject
*resultobj
;
11111 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11112 wxWindow
*arg2
= (wxWindow
*) 0 ;
11113 int arg3
= (int) -1 ;
11114 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11115 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11116 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11117 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11118 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11119 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11120 long arg7
= (long) wxSP_ARROW_KEYS
;
11121 int arg8
= (int) 0 ;
11122 int arg9
= (int) 100 ;
11123 int arg10
= (int) 0 ;
11124 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
11125 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11127 bool temp4
= False
;
11130 bool temp11
= False
;
11131 PyObject
* obj0
= 0 ;
11132 PyObject
* obj1
= 0 ;
11133 PyObject
* obj2
= 0 ;
11134 PyObject
* obj3
= 0 ;
11135 PyObject
* obj4
= 0 ;
11136 PyObject
* obj5
= 0 ;
11137 PyObject
* obj6
= 0 ;
11138 PyObject
* obj7
= 0 ;
11139 PyObject
* obj8
= 0 ;
11140 PyObject
* obj9
= 0 ;
11141 PyObject
* obj10
= 0 ;
11142 char *kwnames
[] = {
11143 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11149 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11152 arg3
= (int) SWIG_AsInt(obj2
);
11153 if (PyErr_Occurred()) SWIG_fail
;
11157 arg4
= wxString_in_helper(obj3
);
11158 if (arg4
== NULL
) SWIG_fail
;
11165 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11171 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11175 arg7
= (long) SWIG_AsLong(obj6
);
11176 if (PyErr_Occurred()) SWIG_fail
;
11179 arg8
= (int) SWIG_AsInt(obj7
);
11180 if (PyErr_Occurred()) SWIG_fail
;
11183 arg9
= (int) SWIG_AsInt(obj8
);
11184 if (PyErr_Occurred()) SWIG_fail
;
11187 arg10
= (int) SWIG_AsInt(obj9
);
11188 if (PyErr_Occurred()) SWIG_fail
;
11192 arg11
= wxString_in_helper(obj10
);
11193 if (arg11
== NULL
) SWIG_fail
;
11198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11199 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
11201 wxPyEndAllowThreads(__tstate
);
11202 if (PyErr_Occurred()) SWIG_fail
;
11205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11229 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11230 PyObject
*resultobj
;
11231 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11233 PyObject
* obj0
= 0 ;
11234 char *kwnames
[] = {
11235 (char *) "self", NULL
11238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
11239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11243 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
11245 wxPyEndAllowThreads(__tstate
);
11246 if (PyErr_Occurred()) SWIG_fail
;
11248 resultobj
= SWIG_FromInt((int)result
);
11255 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11256 PyObject
*resultobj
;
11257 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11259 PyObject
* obj0
= 0 ;
11260 PyObject
* obj1
= 0 ;
11261 char *kwnames
[] = {
11262 (char *) "self",(char *) "value", NULL
11265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11268 arg2
= (int) SWIG_AsInt(obj1
);
11269 if (PyErr_Occurred()) SWIG_fail
;
11271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11272 (arg1
)->SetValue(arg2
);
11274 wxPyEndAllowThreads(__tstate
);
11275 if (PyErr_Occurred()) SWIG_fail
;
11277 Py_INCREF(Py_None
); resultobj
= Py_None
;
11284 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11285 PyObject
*resultobj
;
11286 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11287 wxString
*arg2
= 0 ;
11288 bool temp2
= False
;
11289 PyObject
* obj0
= 0 ;
11290 PyObject
* obj1
= 0 ;
11291 char *kwnames
[] = {
11292 (char *) "self",(char *) "text", NULL
11295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
11296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11299 arg2
= wxString_in_helper(obj1
);
11300 if (arg2
== NULL
) SWIG_fail
;
11304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11305 (arg1
)->SetValue((wxString
const &)*arg2
);
11307 wxPyEndAllowThreads(__tstate
);
11308 if (PyErr_Occurred()) SWIG_fail
;
11310 Py_INCREF(Py_None
); resultobj
= Py_None
;
11325 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11326 PyObject
*resultobj
;
11327 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11330 PyObject
* obj0
= 0 ;
11331 PyObject
* obj1
= 0 ;
11332 PyObject
* obj2
= 0 ;
11333 char *kwnames
[] = {
11334 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11340 arg2
= (int) SWIG_AsInt(obj1
);
11341 if (PyErr_Occurred()) SWIG_fail
;
11342 arg3
= (int) SWIG_AsInt(obj2
);
11343 if (PyErr_Occurred()) SWIG_fail
;
11345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11346 (arg1
)->SetRange(arg2
,arg3
);
11348 wxPyEndAllowThreads(__tstate
);
11349 if (PyErr_Occurred()) SWIG_fail
;
11351 Py_INCREF(Py_None
); resultobj
= Py_None
;
11358 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11359 PyObject
*resultobj
;
11360 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11362 PyObject
* obj0
= 0 ;
11363 char *kwnames
[] = {
11364 (char *) "self", NULL
11367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
11368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11372 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
11374 wxPyEndAllowThreads(__tstate
);
11375 if (PyErr_Occurred()) SWIG_fail
;
11377 resultobj
= SWIG_FromInt((int)result
);
11384 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11385 PyObject
*resultobj
;
11386 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11388 PyObject
* obj0
= 0 ;
11389 char *kwnames
[] = {
11390 (char *) "self", NULL
11393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
11394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11398 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
11400 wxPyEndAllowThreads(__tstate
);
11401 if (PyErr_Occurred()) SWIG_fail
;
11403 resultobj
= SWIG_FromInt((int)result
);
11410 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11411 PyObject
*resultobj
;
11412 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11415 PyObject
* obj0
= 0 ;
11416 PyObject
* obj1
= 0 ;
11417 PyObject
* obj2
= 0 ;
11418 char *kwnames
[] = {
11419 (char *) "self",(char *) "from",(char *) "to", NULL
11422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11425 arg2
= (long) SWIG_AsLong(obj1
);
11426 if (PyErr_Occurred()) SWIG_fail
;
11427 arg3
= (long) SWIG_AsLong(obj2
);
11428 if (PyErr_Occurred()) SWIG_fail
;
11430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11431 (arg1
)->SetSelection(arg2
,arg3
);
11433 wxPyEndAllowThreads(__tstate
);
11434 if (PyErr_Occurred()) SWIG_fail
;
11436 Py_INCREF(Py_None
); resultobj
= Py_None
;
11443 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11444 PyObject
*resultobj
;
11445 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
11446 wxVisualAttributes result
;
11447 PyObject
* obj0
= 0 ;
11448 char *kwnames
[] = {
11449 (char *) "variant", NULL
11452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11454 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
11455 if (PyErr_Occurred()) SWIG_fail
;
11458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11459 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11461 wxPyEndAllowThreads(__tstate
);
11462 if (PyErr_Occurred()) SWIG_fail
;
11465 wxVisualAttributes
* resultptr
;
11466 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
11467 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11475 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
11477 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11478 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
11480 return Py_BuildValue((char *)"");
11482 static PyObject
*_wrap_new_SpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11483 PyObject
*resultobj
;
11484 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11485 int arg2
= (int) 0 ;
11486 wxSpinEvent
*result
;
11487 PyObject
* obj0
= 0 ;
11488 PyObject
* obj1
= 0 ;
11489 char *kwnames
[] = {
11490 (char *) "commandType",(char *) "winid", NULL
11493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11495 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
11496 if (PyErr_Occurred()) SWIG_fail
;
11499 arg2
= (int) SWIG_AsInt(obj1
);
11500 if (PyErr_Occurred()) SWIG_fail
;
11503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11504 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
11506 wxPyEndAllowThreads(__tstate
);
11507 if (PyErr_Occurred()) SWIG_fail
;
11509 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
11516 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11517 PyObject
*resultobj
;
11518 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11520 PyObject
* obj0
= 0 ;
11521 char *kwnames
[] = {
11522 (char *) "self", NULL
11525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11530 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
11532 wxPyEndAllowThreads(__tstate
);
11533 if (PyErr_Occurred()) SWIG_fail
;
11535 resultobj
= SWIG_FromInt((int)result
);
11542 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11543 PyObject
*resultobj
;
11544 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11546 PyObject
* obj0
= 0 ;
11547 PyObject
* obj1
= 0 ;
11548 char *kwnames
[] = {
11549 (char *) "self",(char *) "pos", NULL
11552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11555 arg2
= (int) SWIG_AsInt(obj1
);
11556 if (PyErr_Occurred()) SWIG_fail
;
11558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11559 (arg1
)->SetPosition(arg2
);
11561 wxPyEndAllowThreads(__tstate
);
11562 if (PyErr_Occurred()) SWIG_fail
;
11564 Py_INCREF(Py_None
); resultobj
= Py_None
;
11571 static PyObject
* SpinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11573 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11574 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
11576 return Py_BuildValue((char *)"");
11578 static int _wrap_RadioBoxNameStr_set(PyObject
*_val
) {
11579 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
11584 static PyObject
*_wrap_RadioBoxNameStr_get() {
11589 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11591 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11598 static int _wrap_RadioButtonNameStr_set(PyObject
*_val
) {
11599 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
11604 static PyObject
*_wrap_RadioButtonNameStr_get() {
11609 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11611 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11618 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11619 PyObject
*resultobj
;
11620 wxWindow
*arg1
= (wxWindow
*) 0 ;
11621 int arg2
= (int) -1 ;
11622 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11623 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11624 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11625 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11626 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11627 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11628 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
11629 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
11630 int arg7
= (int) 0 ;
11631 long arg8
= (long) wxRA_HORIZONTAL
;
11632 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11633 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11634 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
11635 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11636 wxRadioBox
*result
;
11637 bool temp3
= False
;
11640 bool temp6
= False
;
11641 bool temp10
= False
;
11642 PyObject
* obj0
= 0 ;
11643 PyObject
* obj1
= 0 ;
11644 PyObject
* obj2
= 0 ;
11645 PyObject
* obj3
= 0 ;
11646 PyObject
* obj4
= 0 ;
11647 PyObject
* obj5
= 0 ;
11648 PyObject
* obj6
= 0 ;
11649 PyObject
* obj7
= 0 ;
11650 PyObject
* obj8
= 0 ;
11651 PyObject
* obj9
= 0 ;
11652 char *kwnames
[] = {
11653 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11660 arg2
= (int) SWIG_AsInt(obj1
);
11661 if (PyErr_Occurred()) SWIG_fail
;
11665 arg3
= wxString_in_helper(obj2
);
11666 if (arg3
== NULL
) SWIG_fail
;
11673 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11679 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11684 if (! PySequence_Check(obj5
)) {
11685 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11688 arg6
= new wxArrayString
;
11690 int i
, len
=PySequence_Length(obj5
);
11691 for (i
=0; i
<len
; i
++) {
11692 PyObject
* item
= PySequence_GetItem(obj5
, i
);
11694 PyObject
* str
= PyObject_Unicode(item
);
11696 PyObject
* str
= PyObject_Str(item
);
11698 if (PyErr_Occurred()) SWIG_fail
;
11699 arg6
->Add(Py2wxString(str
));
11706 arg7
= (int) SWIG_AsInt(obj6
);
11707 if (PyErr_Occurred()) SWIG_fail
;
11710 arg8
= (long) SWIG_AsLong(obj7
);
11711 if (PyErr_Occurred()) SWIG_fail
;
11714 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
11715 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11717 if (arg9
== NULL
) {
11718 PyErr_SetString(PyExc_TypeError
,"null reference");
11724 arg10
= wxString_in_helper(obj9
);
11725 if (arg10
== NULL
) SWIG_fail
;
11730 if (!wxPyCheckForApp()) SWIG_fail
;
11731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11732 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
);
11734 wxPyEndAllowThreads(__tstate
);
11735 if (PyErr_Occurred()) SWIG_fail
;
11737 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11743 if (temp6
) delete arg6
;
11756 if (temp6
) delete arg6
;
11766 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11767 PyObject
*resultobj
;
11768 wxRadioBox
*result
;
11769 char *kwnames
[] = {
11773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
11775 if (!wxPyCheckForApp()) SWIG_fail
;
11776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11777 result
= (wxRadioBox
*)new wxRadioBox();
11779 wxPyEndAllowThreads(__tstate
);
11780 if (PyErr_Occurred()) SWIG_fail
;
11782 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11789 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11790 PyObject
*resultobj
;
11791 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11792 wxWindow
*arg2
= (wxWindow
*) 0 ;
11793 int arg3
= (int) -1 ;
11794 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11795 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11796 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11797 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11798 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11799 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11800 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
11801 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
11802 int arg8
= (int) 0 ;
11803 long arg9
= (long) wxRA_HORIZONTAL
;
11804 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11805 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11806 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
11807 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11809 bool temp4
= False
;
11812 bool temp7
= False
;
11813 bool temp11
= False
;
11814 PyObject
* obj0
= 0 ;
11815 PyObject
* obj1
= 0 ;
11816 PyObject
* obj2
= 0 ;
11817 PyObject
* obj3
= 0 ;
11818 PyObject
* obj4
= 0 ;
11819 PyObject
* obj5
= 0 ;
11820 PyObject
* obj6
= 0 ;
11821 PyObject
* obj7
= 0 ;
11822 PyObject
* obj8
= 0 ;
11823 PyObject
* obj9
= 0 ;
11824 PyObject
* obj10
= 0 ;
11825 char *kwnames
[] = {
11826 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11832 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11835 arg3
= (int) SWIG_AsInt(obj2
);
11836 if (PyErr_Occurred()) SWIG_fail
;
11840 arg4
= wxString_in_helper(obj3
);
11841 if (arg4
== NULL
) SWIG_fail
;
11848 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11854 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11859 if (! PySequence_Check(obj6
)) {
11860 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11863 arg7
= new wxArrayString
;
11865 int i
, len
=PySequence_Length(obj6
);
11866 for (i
=0; i
<len
; i
++) {
11867 PyObject
* item
= PySequence_GetItem(obj6
, i
);
11869 PyObject
* str
= PyObject_Unicode(item
);
11871 PyObject
* str
= PyObject_Str(item
);
11873 if (PyErr_Occurred()) SWIG_fail
;
11874 arg7
->Add(Py2wxString(str
));
11881 arg8
= (int) SWIG_AsInt(obj7
);
11882 if (PyErr_Occurred()) SWIG_fail
;
11885 arg9
= (long) SWIG_AsLong(obj8
);
11886 if (PyErr_Occurred()) SWIG_fail
;
11889 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
11890 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11892 if (arg10
== NULL
) {
11893 PyErr_SetString(PyExc_TypeError
,"null reference");
11899 arg11
= wxString_in_helper(obj10
);
11900 if (arg11
== NULL
) SWIG_fail
;
11905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11906 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
);
11908 wxPyEndAllowThreads(__tstate
);
11909 if (PyErr_Occurred()) SWIG_fail
;
11912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11919 if (temp7
) delete arg7
;
11932 if (temp7
) delete arg7
;
11942 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11943 PyObject
*resultobj
;
11944 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11946 PyObject
* obj0
= 0 ;
11947 PyObject
* obj1
= 0 ;
11948 char *kwnames
[] = {
11949 (char *) "self",(char *) "n", NULL
11952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11955 arg2
= (int) SWIG_AsInt(obj1
);
11956 if (PyErr_Occurred()) SWIG_fail
;
11958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11959 (arg1
)->SetSelection(arg2
);
11961 wxPyEndAllowThreads(__tstate
);
11962 if (PyErr_Occurred()) SWIG_fail
;
11964 Py_INCREF(Py_None
); resultobj
= Py_None
;
11971 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11972 PyObject
*resultobj
;
11973 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11975 PyObject
* obj0
= 0 ;
11976 char *kwnames
[] = {
11977 (char *) "self", NULL
11980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
11981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11985 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
11987 wxPyEndAllowThreads(__tstate
);
11988 if (PyErr_Occurred()) SWIG_fail
;
11990 resultobj
= SWIG_FromInt((int)result
);
11997 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11998 PyObject
*resultobj
;
11999 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12001 PyObject
* obj0
= 0 ;
12002 char *kwnames
[] = {
12003 (char *) "self", NULL
12006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12011 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
12013 wxPyEndAllowThreads(__tstate
);
12014 if (PyErr_Occurred()) SWIG_fail
;
12018 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12020 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12029 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12030 PyObject
*resultobj
;
12031 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12032 wxString
*arg2
= 0 ;
12034 bool temp2
= False
;
12035 PyObject
* obj0
= 0 ;
12036 PyObject
* obj1
= 0 ;
12037 char *kwnames
[] = {
12038 (char *) "self",(char *) "s", NULL
12041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12045 arg2
= wxString_in_helper(obj1
);
12046 if (arg2
== NULL
) SWIG_fail
;
12050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12051 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
12053 wxPyEndAllowThreads(__tstate
);
12054 if (PyErr_Occurred()) SWIG_fail
;
12057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12073 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12074 PyObject
*resultobj
;
12075 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12077 PyObject
* obj0
= 0 ;
12078 char *kwnames
[] = {
12079 (char *) "self", NULL
12082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
12083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12087 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
12089 wxPyEndAllowThreads(__tstate
);
12090 if (PyErr_Occurred()) SWIG_fail
;
12092 resultobj
= SWIG_FromInt((int)result
);
12099 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12100 PyObject
*resultobj
;
12101 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12102 wxString
*arg2
= 0 ;
12104 bool temp2
= False
;
12105 PyObject
* obj0
= 0 ;
12106 PyObject
* obj1
= 0 ;
12107 char *kwnames
[] = {
12108 (char *) "self",(char *) "s", NULL
12111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
12112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12115 arg2
= wxString_in_helper(obj1
);
12116 if (arg2
== NULL
) SWIG_fail
;
12120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12121 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
12123 wxPyEndAllowThreads(__tstate
);
12124 if (PyErr_Occurred()) SWIG_fail
;
12126 resultobj
= SWIG_FromInt((int)result
);
12141 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12142 PyObject
*resultobj
;
12143 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12146 PyObject
* obj0
= 0 ;
12147 PyObject
* obj1
= 0 ;
12148 char *kwnames
[] = {
12149 (char *) "self",(char *) "n", NULL
12152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12155 arg2
= (int) SWIG_AsInt(obj1
);
12156 if (PyErr_Occurred()) SWIG_fail
;
12158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12159 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
12161 wxPyEndAllowThreads(__tstate
);
12162 if (PyErr_Occurred()) SWIG_fail
;
12166 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12168 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12177 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12178 PyObject
*resultobj
;
12179 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12181 wxString
*arg3
= 0 ;
12182 bool temp3
= False
;
12183 PyObject
* obj0
= 0 ;
12184 PyObject
* obj1
= 0 ;
12185 PyObject
* obj2
= 0 ;
12186 char *kwnames
[] = {
12187 (char *) "self",(char *) "n",(char *) "label", NULL
12190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12193 arg2
= (int) SWIG_AsInt(obj1
);
12194 if (PyErr_Occurred()) SWIG_fail
;
12196 arg3
= wxString_in_helper(obj2
);
12197 if (arg3
== NULL
) SWIG_fail
;
12201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12202 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
12204 wxPyEndAllowThreads(__tstate
);
12205 if (PyErr_Occurred()) SWIG_fail
;
12207 Py_INCREF(Py_None
); resultobj
= Py_None
;
12222 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12223 PyObject
*resultobj
;
12224 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12226 bool arg3
= (bool) True
;
12227 PyObject
* obj0
= 0 ;
12228 PyObject
* obj1
= 0 ;
12229 PyObject
* obj2
= 0 ;
12230 char *kwnames
[] = {
12231 (char *) "self",(char *) "n",(char *) "enable", NULL
12234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12237 arg2
= (int) SWIG_AsInt(obj1
);
12238 if (PyErr_Occurred()) SWIG_fail
;
12240 arg3
= (bool) SWIG_AsBool(obj2
);
12241 if (PyErr_Occurred()) SWIG_fail
;
12244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12245 (arg1
)->Enable(arg2
,arg3
);
12247 wxPyEndAllowThreads(__tstate
);
12248 if (PyErr_Occurred()) SWIG_fail
;
12250 Py_INCREF(Py_None
); resultobj
= Py_None
;
12257 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12258 PyObject
*resultobj
;
12259 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12261 bool arg3
= (bool) True
;
12262 PyObject
* obj0
= 0 ;
12263 PyObject
* obj1
= 0 ;
12264 PyObject
* obj2
= 0 ;
12265 char *kwnames
[] = {
12266 (char *) "self",(char *) "n",(char *) "show", NULL
12269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12272 arg2
= (int) SWIG_AsInt(obj1
);
12273 if (PyErr_Occurred()) SWIG_fail
;
12275 arg3
= (bool) SWIG_AsBool(obj2
);
12276 if (PyErr_Occurred()) SWIG_fail
;
12279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12280 (arg1
)->Show(arg2
,arg3
);
12282 wxPyEndAllowThreads(__tstate
);
12283 if (PyErr_Occurred()) SWIG_fail
;
12285 Py_INCREF(Py_None
); resultobj
= Py_None
;
12292 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12293 PyObject
*resultobj
;
12294 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12296 PyObject
* obj0
= 0 ;
12297 char *kwnames
[] = {
12298 (char *) "self", NULL
12301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
12302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12306 result
= (int)wxRadioBox_GetColumnCount((wxRadioBox
const *)arg1
);
12308 wxPyEndAllowThreads(__tstate
);
12309 if (PyErr_Occurred()) SWIG_fail
;
12311 resultobj
= SWIG_FromInt((int)result
);
12318 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12319 PyObject
*resultobj
;
12320 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12322 PyObject
* obj0
= 0 ;
12323 char *kwnames
[] = {
12324 (char *) "self", NULL
12327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
12328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12332 result
= (int)wxRadioBox_GetRowCount((wxRadioBox
const *)arg1
);
12334 wxPyEndAllowThreads(__tstate
);
12335 if (PyErr_Occurred()) SWIG_fail
;
12337 resultobj
= SWIG_FromInt((int)result
);
12344 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12345 PyObject
*resultobj
;
12346 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12351 PyObject
* obj0
= 0 ;
12352 PyObject
* obj1
= 0 ;
12353 PyObject
* obj2
= 0 ;
12354 PyObject
* obj3
= 0 ;
12355 char *kwnames
[] = {
12356 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
12359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12362 arg2
= (int) SWIG_AsInt(obj1
);
12363 if (PyErr_Occurred()) SWIG_fail
;
12364 arg3
= (wxDirection
) SWIG_AsInt(obj2
);
12365 if (PyErr_Occurred()) SWIG_fail
;
12366 arg4
= (long) SWIG_AsLong(obj3
);
12367 if (PyErr_Occurred()) SWIG_fail
;
12369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12370 result
= (int)wxRadioBox_GetNextItem((wxRadioBox
const *)arg1
,arg2
,(wxDirection
)arg3
,arg4
);
12372 wxPyEndAllowThreads(__tstate
);
12373 if (PyErr_Occurred()) SWIG_fail
;
12375 resultobj
= SWIG_FromInt((int)result
);
12382 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12383 PyObject
*resultobj
;
12384 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12385 wxVisualAttributes result
;
12386 PyObject
* obj0
= 0 ;
12387 char *kwnames
[] = {
12388 (char *) "variant", NULL
12391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12393 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
12394 if (PyErr_Occurred()) SWIG_fail
;
12397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12398 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12400 wxPyEndAllowThreads(__tstate
);
12401 if (PyErr_Occurred()) SWIG_fail
;
12404 wxVisualAttributes
* resultptr
;
12405 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12406 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12414 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
12416 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12417 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
12419 return Py_BuildValue((char *)"");
12421 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12422 PyObject
*resultobj
;
12423 wxWindow
*arg1
= (wxWindow
*) 0 ;
12424 int arg2
= (int) -1 ;
12425 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12426 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12427 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12428 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12429 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12430 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12431 long arg6
= (long) 0 ;
12432 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12433 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12434 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
12435 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12436 wxRadioButton
*result
;
12437 bool temp3
= False
;
12440 bool temp8
= False
;
12441 PyObject
* obj0
= 0 ;
12442 PyObject
* obj1
= 0 ;
12443 PyObject
* obj2
= 0 ;
12444 PyObject
* obj3
= 0 ;
12445 PyObject
* obj4
= 0 ;
12446 PyObject
* obj5
= 0 ;
12447 PyObject
* obj6
= 0 ;
12448 PyObject
* obj7
= 0 ;
12449 char *kwnames
[] = {
12450 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12457 arg2
= (int) SWIG_AsInt(obj1
);
12458 if (PyErr_Occurred()) SWIG_fail
;
12462 arg3
= wxString_in_helper(obj2
);
12463 if (arg3
== NULL
) SWIG_fail
;
12470 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12476 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12480 arg6
= (long) SWIG_AsLong(obj5
);
12481 if (PyErr_Occurred()) SWIG_fail
;
12484 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
12485 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12487 if (arg7
== NULL
) {
12488 PyErr_SetString(PyExc_TypeError
,"null reference");
12494 arg8
= wxString_in_helper(obj7
);
12495 if (arg8
== NULL
) SWIG_fail
;
12500 if (!wxPyCheckForApp()) SWIG_fail
;
12501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12502 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12504 wxPyEndAllowThreads(__tstate
);
12505 if (PyErr_Occurred()) SWIG_fail
;
12507 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12530 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12531 PyObject
*resultobj
;
12532 wxRadioButton
*result
;
12533 char *kwnames
[] = {
12537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
12539 if (!wxPyCheckForApp()) SWIG_fail
;
12540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12541 result
= (wxRadioButton
*)new wxRadioButton();
12543 wxPyEndAllowThreads(__tstate
);
12544 if (PyErr_Occurred()) SWIG_fail
;
12546 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12553 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12554 PyObject
*resultobj
;
12555 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12556 wxWindow
*arg2
= (wxWindow
*) 0 ;
12557 int arg3
= (int) -1 ;
12558 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12559 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12560 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12561 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12562 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12563 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12564 long arg7
= (long) 0 ;
12565 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
12566 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
12567 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
12568 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
12570 bool temp4
= False
;
12573 bool temp9
= False
;
12574 PyObject
* obj0
= 0 ;
12575 PyObject
* obj1
= 0 ;
12576 PyObject
* obj2
= 0 ;
12577 PyObject
* obj3
= 0 ;
12578 PyObject
* obj4
= 0 ;
12579 PyObject
* obj5
= 0 ;
12580 PyObject
* obj6
= 0 ;
12581 PyObject
* obj7
= 0 ;
12582 PyObject
* obj8
= 0 ;
12583 char *kwnames
[] = {
12584 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
12588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12590 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12593 arg3
= (int) SWIG_AsInt(obj2
);
12594 if (PyErr_Occurred()) SWIG_fail
;
12598 arg4
= wxString_in_helper(obj3
);
12599 if (arg4
== NULL
) SWIG_fail
;
12606 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12612 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12616 arg7
= (long) SWIG_AsLong(obj6
);
12617 if (PyErr_Occurred()) SWIG_fail
;
12620 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
12621 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12623 if (arg8
== NULL
) {
12624 PyErr_SetString(PyExc_TypeError
,"null reference");
12630 arg9
= wxString_in_helper(obj8
);
12631 if (arg9
== NULL
) SWIG_fail
;
12636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12637 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
12639 wxPyEndAllowThreads(__tstate
);
12640 if (PyErr_Occurred()) SWIG_fail
;
12643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12667 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12668 PyObject
*resultobj
;
12669 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12671 PyObject
* obj0
= 0 ;
12672 char *kwnames
[] = {
12673 (char *) "self", NULL
12676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
12677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12681 result
= (bool)(arg1
)->GetValue();
12683 wxPyEndAllowThreads(__tstate
);
12684 if (PyErr_Occurred()) SWIG_fail
;
12687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12695 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12696 PyObject
*resultobj
;
12697 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12699 PyObject
* obj0
= 0 ;
12700 PyObject
* obj1
= 0 ;
12701 char *kwnames
[] = {
12702 (char *) "self",(char *) "value", NULL
12705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12708 arg2
= (bool) SWIG_AsBool(obj1
);
12709 if (PyErr_Occurred()) SWIG_fail
;
12711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12712 (arg1
)->SetValue(arg2
);
12714 wxPyEndAllowThreads(__tstate
);
12715 if (PyErr_Occurred()) SWIG_fail
;
12717 Py_INCREF(Py_None
); resultobj
= Py_None
;
12724 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12725 PyObject
*resultobj
;
12726 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12727 wxVisualAttributes result
;
12728 PyObject
* obj0
= 0 ;
12729 char *kwnames
[] = {
12730 (char *) "variant", NULL
12733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12735 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
12736 if (PyErr_Occurred()) SWIG_fail
;
12739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12740 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12742 wxPyEndAllowThreads(__tstate
);
12743 if (PyErr_Occurred()) SWIG_fail
;
12746 wxVisualAttributes
* resultptr
;
12747 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12748 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12756 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
12758 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12759 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
12761 return Py_BuildValue((char *)"");
12763 static int _wrap_SliderNameStr_set(PyObject
*_val
) {
12764 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
12769 static PyObject
*_wrap_SliderNameStr_get() {
12774 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12776 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12783 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12784 PyObject
*resultobj
;
12785 wxWindow
*arg1
= (wxWindow
*) 0 ;
12786 int arg2
= (int) -1 ;
12787 int arg3
= (int) 0 ;
12788 int arg4
= (int) 0 ;
12789 int arg5
= (int) 100 ;
12790 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12791 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12792 wxSize
const &arg7_defvalue
= wxDefaultSize
;
12793 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
12794 long arg8
= (long) wxSL_HORIZONTAL
;
12795 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
12796 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
12797 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
12798 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12802 bool temp10
= False
;
12803 PyObject
* obj0
= 0 ;
12804 PyObject
* obj1
= 0 ;
12805 PyObject
* obj2
= 0 ;
12806 PyObject
* obj3
= 0 ;
12807 PyObject
* obj4
= 0 ;
12808 PyObject
* obj5
= 0 ;
12809 PyObject
* obj6
= 0 ;
12810 PyObject
* obj7
= 0 ;
12811 PyObject
* obj8
= 0 ;
12812 PyObject
* obj9
= 0 ;
12813 char *kwnames
[] = {
12814 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12821 arg2
= (int) SWIG_AsInt(obj1
);
12822 if (PyErr_Occurred()) SWIG_fail
;
12825 arg3
= (int) SWIG_AsInt(obj2
);
12826 if (PyErr_Occurred()) SWIG_fail
;
12829 arg4
= (int) SWIG_AsInt(obj3
);
12830 if (PyErr_Occurred()) SWIG_fail
;
12833 arg5
= (int) SWIG_AsInt(obj4
);
12834 if (PyErr_Occurred()) SWIG_fail
;
12839 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12845 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
12849 arg8
= (long) SWIG_AsLong(obj7
);
12850 if (PyErr_Occurred()) SWIG_fail
;
12853 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
12854 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12856 if (arg9
== NULL
) {
12857 PyErr_SetString(PyExc_TypeError
,"null reference");
12863 arg10
= wxString_in_helper(obj9
);
12864 if (arg10
== NULL
) SWIG_fail
;
12869 if (!wxPyCheckForApp()) SWIG_fail
;
12870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12871 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
12873 wxPyEndAllowThreads(__tstate
);
12874 if (PyErr_Occurred()) SWIG_fail
;
12876 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12891 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12892 PyObject
*resultobj
;
12894 char *kwnames
[] = {
12898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
12900 if (!wxPyCheckForApp()) SWIG_fail
;
12901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12902 result
= (wxSlider
*)new wxSlider();
12904 wxPyEndAllowThreads(__tstate
);
12905 if (PyErr_Occurred()) SWIG_fail
;
12907 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12914 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12915 PyObject
*resultobj
;
12916 wxSlider
*arg1
= (wxSlider
*) 0 ;
12917 wxWindow
*arg2
= (wxWindow
*) 0 ;
12918 int arg3
= (int) -1 ;
12919 int arg4
= (int) 0 ;
12920 int arg5
= (int) 0 ;
12921 int arg6
= (int) 100 ;
12922 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12923 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12924 wxSize
const &arg8_defvalue
= wxDefaultSize
;
12925 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
12926 long arg9
= (long) wxSL_HORIZONTAL
;
12927 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
12928 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
12929 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
12930 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12934 bool temp11
= False
;
12935 PyObject
* obj0
= 0 ;
12936 PyObject
* obj1
= 0 ;
12937 PyObject
* obj2
= 0 ;
12938 PyObject
* obj3
= 0 ;
12939 PyObject
* obj4
= 0 ;
12940 PyObject
* obj5
= 0 ;
12941 PyObject
* obj6
= 0 ;
12942 PyObject
* obj7
= 0 ;
12943 PyObject
* obj8
= 0 ;
12944 PyObject
* obj9
= 0 ;
12945 PyObject
* obj10
= 0 ;
12946 char *kwnames
[] = {
12947 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12953 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12956 arg3
= (int) SWIG_AsInt(obj2
);
12957 if (PyErr_Occurred()) SWIG_fail
;
12960 arg4
= (int) SWIG_AsInt(obj3
);
12961 if (PyErr_Occurred()) SWIG_fail
;
12964 arg5
= (int) SWIG_AsInt(obj4
);
12965 if (PyErr_Occurred()) SWIG_fail
;
12968 arg6
= (int) SWIG_AsInt(obj5
);
12969 if (PyErr_Occurred()) SWIG_fail
;
12974 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12980 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
12984 arg9
= (long) SWIG_AsLong(obj8
);
12985 if (PyErr_Occurred()) SWIG_fail
;
12988 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
12989 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12991 if (arg10
== NULL
) {
12992 PyErr_SetString(PyExc_TypeError
,"null reference");
12998 arg11
= wxString_in_helper(obj10
);
12999 if (arg11
== NULL
) SWIG_fail
;
13004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13005 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
13007 wxPyEndAllowThreads(__tstate
);
13008 if (PyErr_Occurred()) SWIG_fail
;
13011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13027 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13028 PyObject
*resultobj
;
13029 wxSlider
*arg1
= (wxSlider
*) 0 ;
13031 PyObject
* obj0
= 0 ;
13032 char *kwnames
[] = {
13033 (char *) "self", NULL
13036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
13037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13041 result
= (int)((wxSlider
const *)arg1
)->GetValue();
13043 wxPyEndAllowThreads(__tstate
);
13044 if (PyErr_Occurred()) SWIG_fail
;
13046 resultobj
= SWIG_FromInt((int)result
);
13053 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13054 PyObject
*resultobj
;
13055 wxSlider
*arg1
= (wxSlider
*) 0 ;
13057 PyObject
* obj0
= 0 ;
13058 PyObject
* obj1
= 0 ;
13059 char *kwnames
[] = {
13060 (char *) "self",(char *) "value", NULL
13063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13066 arg2
= (int) SWIG_AsInt(obj1
);
13067 if (PyErr_Occurred()) SWIG_fail
;
13069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13070 (arg1
)->SetValue(arg2
);
13072 wxPyEndAllowThreads(__tstate
);
13073 if (PyErr_Occurred()) SWIG_fail
;
13075 Py_INCREF(Py_None
); resultobj
= Py_None
;
13082 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13083 PyObject
*resultobj
;
13084 wxSlider
*arg1
= (wxSlider
*) 0 ;
13087 PyObject
* obj0
= 0 ;
13088 PyObject
* obj1
= 0 ;
13089 PyObject
* obj2
= 0 ;
13090 char *kwnames
[] = {
13091 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
13094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13097 arg2
= (int) SWIG_AsInt(obj1
);
13098 if (PyErr_Occurred()) SWIG_fail
;
13099 arg3
= (int) SWIG_AsInt(obj2
);
13100 if (PyErr_Occurred()) SWIG_fail
;
13102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13103 (arg1
)->SetRange(arg2
,arg3
);
13105 wxPyEndAllowThreads(__tstate
);
13106 if (PyErr_Occurred()) SWIG_fail
;
13108 Py_INCREF(Py_None
); resultobj
= Py_None
;
13115 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13116 PyObject
*resultobj
;
13117 wxSlider
*arg1
= (wxSlider
*) 0 ;
13119 PyObject
* obj0
= 0 ;
13120 char *kwnames
[] = {
13121 (char *) "self", NULL
13124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
13125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13129 result
= (int)((wxSlider
const *)arg1
)->GetMin();
13131 wxPyEndAllowThreads(__tstate
);
13132 if (PyErr_Occurred()) SWIG_fail
;
13134 resultobj
= SWIG_FromInt((int)result
);
13141 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13142 PyObject
*resultobj
;
13143 wxSlider
*arg1
= (wxSlider
*) 0 ;
13145 PyObject
* obj0
= 0 ;
13146 char *kwnames
[] = {
13147 (char *) "self", NULL
13150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
13151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13155 result
= (int)((wxSlider
const *)arg1
)->GetMax();
13157 wxPyEndAllowThreads(__tstate
);
13158 if (PyErr_Occurred()) SWIG_fail
;
13160 resultobj
= SWIG_FromInt((int)result
);
13167 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13168 PyObject
*resultobj
;
13169 wxSlider
*arg1
= (wxSlider
*) 0 ;
13171 PyObject
* obj0
= 0 ;
13172 PyObject
* obj1
= 0 ;
13173 char *kwnames
[] = {
13174 (char *) "self",(char *) "minValue", NULL
13177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
13178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13180 arg2
= (int) SWIG_AsInt(obj1
);
13181 if (PyErr_Occurred()) SWIG_fail
;
13183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13184 (arg1
)->SetMin(arg2
);
13186 wxPyEndAllowThreads(__tstate
);
13187 if (PyErr_Occurred()) SWIG_fail
;
13189 Py_INCREF(Py_None
); resultobj
= Py_None
;
13196 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13197 PyObject
*resultobj
;
13198 wxSlider
*arg1
= (wxSlider
*) 0 ;
13200 PyObject
* obj0
= 0 ;
13201 PyObject
* obj1
= 0 ;
13202 char *kwnames
[] = {
13203 (char *) "self",(char *) "maxValue", NULL
13206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
13207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13209 arg2
= (int) SWIG_AsInt(obj1
);
13210 if (PyErr_Occurred()) SWIG_fail
;
13212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13213 (arg1
)->SetMax(arg2
);
13215 wxPyEndAllowThreads(__tstate
);
13216 if (PyErr_Occurred()) SWIG_fail
;
13218 Py_INCREF(Py_None
); resultobj
= Py_None
;
13225 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13226 PyObject
*resultobj
;
13227 wxSlider
*arg1
= (wxSlider
*) 0 ;
13229 PyObject
* obj0
= 0 ;
13230 PyObject
* obj1
= 0 ;
13231 char *kwnames
[] = {
13232 (char *) "self",(char *) "lineSize", NULL
13235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13238 arg2
= (int) SWIG_AsInt(obj1
);
13239 if (PyErr_Occurred()) SWIG_fail
;
13241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13242 (arg1
)->SetLineSize(arg2
);
13244 wxPyEndAllowThreads(__tstate
);
13245 if (PyErr_Occurred()) SWIG_fail
;
13247 Py_INCREF(Py_None
); resultobj
= Py_None
;
13254 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13255 PyObject
*resultobj
;
13256 wxSlider
*arg1
= (wxSlider
*) 0 ;
13258 PyObject
* obj0
= 0 ;
13259 PyObject
* obj1
= 0 ;
13260 char *kwnames
[] = {
13261 (char *) "self",(char *) "pageSize", NULL
13264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13267 arg2
= (int) SWIG_AsInt(obj1
);
13268 if (PyErr_Occurred()) SWIG_fail
;
13270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13271 (arg1
)->SetPageSize(arg2
);
13273 wxPyEndAllowThreads(__tstate
);
13274 if (PyErr_Occurred()) SWIG_fail
;
13276 Py_INCREF(Py_None
); resultobj
= Py_None
;
13283 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13284 PyObject
*resultobj
;
13285 wxSlider
*arg1
= (wxSlider
*) 0 ;
13287 PyObject
* obj0
= 0 ;
13288 char *kwnames
[] = {
13289 (char *) "self", NULL
13292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
13293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13297 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
13299 wxPyEndAllowThreads(__tstate
);
13300 if (PyErr_Occurred()) SWIG_fail
;
13302 resultobj
= SWIG_FromInt((int)result
);
13309 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13310 PyObject
*resultobj
;
13311 wxSlider
*arg1
= (wxSlider
*) 0 ;
13313 PyObject
* obj0
= 0 ;
13314 char *kwnames
[] = {
13315 (char *) "self", NULL
13318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
13319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13323 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
13325 wxPyEndAllowThreads(__tstate
);
13326 if (PyErr_Occurred()) SWIG_fail
;
13328 resultobj
= SWIG_FromInt((int)result
);
13335 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13336 PyObject
*resultobj
;
13337 wxSlider
*arg1
= (wxSlider
*) 0 ;
13339 PyObject
* obj0
= 0 ;
13340 PyObject
* obj1
= 0 ;
13341 char *kwnames
[] = {
13342 (char *) "self",(char *) "lenPixels", NULL
13345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
13346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13348 arg2
= (int) SWIG_AsInt(obj1
);
13349 if (PyErr_Occurred()) SWIG_fail
;
13351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13352 (arg1
)->SetThumbLength(arg2
);
13354 wxPyEndAllowThreads(__tstate
);
13355 if (PyErr_Occurred()) SWIG_fail
;
13357 Py_INCREF(Py_None
); resultobj
= Py_None
;
13364 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13365 PyObject
*resultobj
;
13366 wxSlider
*arg1
= (wxSlider
*) 0 ;
13368 PyObject
* obj0
= 0 ;
13369 char *kwnames
[] = {
13370 (char *) "self", NULL
13373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
13374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13378 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
13380 wxPyEndAllowThreads(__tstate
);
13381 if (PyErr_Occurred()) SWIG_fail
;
13383 resultobj
= SWIG_FromInt((int)result
);
13390 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13391 PyObject
*resultobj
;
13392 wxSlider
*arg1
= (wxSlider
*) 0 ;
13394 int arg3
= (int) 1 ;
13395 PyObject
* obj0
= 0 ;
13396 PyObject
* obj1
= 0 ;
13397 PyObject
* obj2
= 0 ;
13398 char *kwnames
[] = {
13399 (char *) "self",(char *) "n",(char *) "pos", NULL
13402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13405 arg2
= (int) SWIG_AsInt(obj1
);
13406 if (PyErr_Occurred()) SWIG_fail
;
13408 arg3
= (int) SWIG_AsInt(obj2
);
13409 if (PyErr_Occurred()) SWIG_fail
;
13412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13413 (arg1
)->SetTickFreq(arg2
,arg3
);
13415 wxPyEndAllowThreads(__tstate
);
13416 if (PyErr_Occurred()) SWIG_fail
;
13418 Py_INCREF(Py_None
); resultobj
= Py_None
;
13425 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13426 PyObject
*resultobj
;
13427 wxSlider
*arg1
= (wxSlider
*) 0 ;
13429 PyObject
* obj0
= 0 ;
13430 char *kwnames
[] = {
13431 (char *) "self", NULL
13434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
13435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13439 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
13441 wxPyEndAllowThreads(__tstate
);
13442 if (PyErr_Occurred()) SWIG_fail
;
13444 resultobj
= SWIG_FromInt((int)result
);
13451 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13452 PyObject
*resultobj
;
13453 wxSlider
*arg1
= (wxSlider
*) 0 ;
13454 PyObject
* obj0
= 0 ;
13455 char *kwnames
[] = {
13456 (char *) "self", NULL
13459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
13460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13464 (arg1
)->ClearTicks();
13466 wxPyEndAllowThreads(__tstate
);
13467 if (PyErr_Occurred()) SWIG_fail
;
13469 Py_INCREF(Py_None
); resultobj
= Py_None
;
13476 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13477 PyObject
*resultobj
;
13478 wxSlider
*arg1
= (wxSlider
*) 0 ;
13480 PyObject
* obj0
= 0 ;
13481 PyObject
* obj1
= 0 ;
13482 char *kwnames
[] = {
13483 (char *) "self",(char *) "tickPos", NULL
13486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
13487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13489 arg2
= (int) SWIG_AsInt(obj1
);
13490 if (PyErr_Occurred()) SWIG_fail
;
13492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13493 (arg1
)->SetTick(arg2
);
13495 wxPyEndAllowThreads(__tstate
);
13496 if (PyErr_Occurred()) SWIG_fail
;
13498 Py_INCREF(Py_None
); resultobj
= Py_None
;
13505 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13506 PyObject
*resultobj
;
13507 wxSlider
*arg1
= (wxSlider
*) 0 ;
13508 PyObject
* obj0
= 0 ;
13509 char *kwnames
[] = {
13510 (char *) "self", NULL
13513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
13514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13518 (arg1
)->ClearSel();
13520 wxPyEndAllowThreads(__tstate
);
13521 if (PyErr_Occurred()) SWIG_fail
;
13523 Py_INCREF(Py_None
); resultobj
= Py_None
;
13530 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13531 PyObject
*resultobj
;
13532 wxSlider
*arg1
= (wxSlider
*) 0 ;
13534 PyObject
* obj0
= 0 ;
13535 char *kwnames
[] = {
13536 (char *) "self", NULL
13539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
13540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13544 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
13546 wxPyEndAllowThreads(__tstate
);
13547 if (PyErr_Occurred()) SWIG_fail
;
13549 resultobj
= SWIG_FromInt((int)result
);
13556 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13557 PyObject
*resultobj
;
13558 wxSlider
*arg1
= (wxSlider
*) 0 ;
13560 PyObject
* obj0
= 0 ;
13561 char *kwnames
[] = {
13562 (char *) "self", NULL
13565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
13566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13570 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
13572 wxPyEndAllowThreads(__tstate
);
13573 if (PyErr_Occurred()) SWIG_fail
;
13575 resultobj
= SWIG_FromInt((int)result
);
13582 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13583 PyObject
*resultobj
;
13584 wxSlider
*arg1
= (wxSlider
*) 0 ;
13587 PyObject
* obj0
= 0 ;
13588 PyObject
* obj1
= 0 ;
13589 PyObject
* obj2
= 0 ;
13590 char *kwnames
[] = {
13591 (char *) "self",(char *) "min",(char *) "max", NULL
13594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13597 arg2
= (int) SWIG_AsInt(obj1
);
13598 if (PyErr_Occurred()) SWIG_fail
;
13599 arg3
= (int) SWIG_AsInt(obj2
);
13600 if (PyErr_Occurred()) SWIG_fail
;
13602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13603 (arg1
)->SetSelection(arg2
,arg3
);
13605 wxPyEndAllowThreads(__tstate
);
13606 if (PyErr_Occurred()) SWIG_fail
;
13608 Py_INCREF(Py_None
); resultobj
= Py_None
;
13615 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13616 PyObject
*resultobj
;
13617 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
13618 wxVisualAttributes result
;
13619 PyObject
* obj0
= 0 ;
13620 char *kwnames
[] = {
13621 (char *) "variant", NULL
13624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13626 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
13627 if (PyErr_Occurred()) SWIG_fail
;
13630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13631 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13633 wxPyEndAllowThreads(__tstate
);
13634 if (PyErr_Occurred()) SWIG_fail
;
13637 wxVisualAttributes
* resultptr
;
13638 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
13639 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13647 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
13649 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13650 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
13652 return Py_BuildValue((char *)"");
13654 static int _wrap_ToggleButtonNameStr_set(PyObject
*_val
) {
13655 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
13660 static PyObject
*_wrap_ToggleButtonNameStr_get() {
13665 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13667 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13674 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13675 PyObject
*resultobj
;
13676 wxWindow
*arg1
= (wxWindow
*) 0 ;
13677 int arg2
= (int) -1 ;
13678 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13679 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13680 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13681 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13682 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13683 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13684 long arg6
= (long) 0 ;
13685 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
13686 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
13687 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
13688 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13689 wxToggleButton
*result
;
13690 bool temp3
= False
;
13693 bool temp8
= False
;
13694 PyObject
* obj0
= 0 ;
13695 PyObject
* obj1
= 0 ;
13696 PyObject
* obj2
= 0 ;
13697 PyObject
* obj3
= 0 ;
13698 PyObject
* obj4
= 0 ;
13699 PyObject
* obj5
= 0 ;
13700 PyObject
* obj6
= 0 ;
13701 PyObject
* obj7
= 0 ;
13702 char *kwnames
[] = {
13703 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
13707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13710 arg2
= (int) SWIG_AsInt(obj1
);
13711 if (PyErr_Occurred()) SWIG_fail
;
13715 arg3
= wxString_in_helper(obj2
);
13716 if (arg3
== NULL
) SWIG_fail
;
13723 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13729 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13733 arg6
= (long) SWIG_AsLong(obj5
);
13734 if (PyErr_Occurred()) SWIG_fail
;
13737 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
13738 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13740 if (arg7
== NULL
) {
13741 PyErr_SetString(PyExc_TypeError
,"null reference");
13747 arg8
= wxString_in_helper(obj7
);
13748 if (arg8
== NULL
) SWIG_fail
;
13753 if (!wxPyCheckForApp()) SWIG_fail
;
13754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13755 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
13757 wxPyEndAllowThreads(__tstate
);
13758 if (PyErr_Occurred()) SWIG_fail
;
13760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13783 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13784 PyObject
*resultobj
;
13785 wxToggleButton
*result
;
13786 char *kwnames
[] = {
13790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
13792 if (!wxPyCheckForApp()) SWIG_fail
;
13793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13794 result
= (wxToggleButton
*)new wxToggleButton();
13796 wxPyEndAllowThreads(__tstate
);
13797 if (PyErr_Occurred()) SWIG_fail
;
13799 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13806 static PyObject
*_wrap_ToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13807 PyObject
*resultobj
;
13808 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13809 wxWindow
*arg2
= (wxWindow
*) 0 ;
13810 int arg3
= (int) -1 ;
13811 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13812 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13813 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13814 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13815 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13816 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13817 long arg7
= (long) 0 ;
13818 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
13819 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
13820 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
13821 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
13823 bool temp4
= False
;
13826 bool temp9
= False
;
13827 PyObject
* obj0
= 0 ;
13828 PyObject
* obj1
= 0 ;
13829 PyObject
* obj2
= 0 ;
13830 PyObject
* obj3
= 0 ;
13831 PyObject
* obj4
= 0 ;
13832 PyObject
* obj5
= 0 ;
13833 PyObject
* obj6
= 0 ;
13834 PyObject
* obj7
= 0 ;
13835 PyObject
* obj8
= 0 ;
13836 char *kwnames
[] = {
13837 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
13841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13843 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13846 arg3
= (int) SWIG_AsInt(obj2
);
13847 if (PyErr_Occurred()) SWIG_fail
;
13851 arg4
= wxString_in_helper(obj3
);
13852 if (arg4
== NULL
) SWIG_fail
;
13859 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13865 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13869 arg7
= (long) SWIG_AsLong(obj6
);
13870 if (PyErr_Occurred()) SWIG_fail
;
13873 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
13874 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13876 if (arg8
== NULL
) {
13877 PyErr_SetString(PyExc_TypeError
,"null reference");
13883 arg9
= wxString_in_helper(obj8
);
13884 if (arg9
== NULL
) SWIG_fail
;
13889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13890 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
13892 wxPyEndAllowThreads(__tstate
);
13893 if (PyErr_Occurred()) SWIG_fail
;
13896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13920 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13921 PyObject
*resultobj
;
13922 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13924 PyObject
* obj0
= 0 ;
13925 PyObject
* obj1
= 0 ;
13926 char *kwnames
[] = {
13927 (char *) "self",(char *) "value", NULL
13930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13933 arg2
= (bool) SWIG_AsBool(obj1
);
13934 if (PyErr_Occurred()) SWIG_fail
;
13936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13937 (arg1
)->SetValue(arg2
);
13939 wxPyEndAllowThreads(__tstate
);
13940 if (PyErr_Occurred()) SWIG_fail
;
13942 Py_INCREF(Py_None
); resultobj
= Py_None
;
13949 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13950 PyObject
*resultobj
;
13951 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13953 PyObject
* obj0
= 0 ;
13954 char *kwnames
[] = {
13955 (char *) "self", NULL
13958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
13959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13963 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
13965 wxPyEndAllowThreads(__tstate
);
13966 if (PyErr_Occurred()) SWIG_fail
;
13969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13977 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13978 PyObject
*resultobj
;
13979 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13980 wxString
*arg2
= 0 ;
13981 bool temp2
= False
;
13982 PyObject
* obj0
= 0 ;
13983 PyObject
* obj1
= 0 ;
13984 char *kwnames
[] = {
13985 (char *) "self",(char *) "label", NULL
13988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
13989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13992 arg2
= wxString_in_helper(obj1
);
13993 if (arg2
== NULL
) SWIG_fail
;
13997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13998 (arg1
)->SetLabel((wxString
const &)*arg2
);
14000 wxPyEndAllowThreads(__tstate
);
14001 if (PyErr_Occurred()) SWIG_fail
;
14003 Py_INCREF(Py_None
); resultobj
= Py_None
;
14018 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14019 PyObject
*resultobj
;
14020 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14021 wxVisualAttributes result
;
14022 PyObject
* obj0
= 0 ;
14023 char *kwnames
[] = {
14024 (char *) "variant", NULL
14027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14029 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
14030 if (PyErr_Occurred()) SWIG_fail
;
14033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14034 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14036 wxPyEndAllowThreads(__tstate
);
14037 if (PyErr_Occurred()) SWIG_fail
;
14040 wxVisualAttributes
* resultptr
;
14041 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14042 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14050 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
14052 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14053 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
14055 return Py_BuildValue((char *)"");
14057 static int _wrap_NOTEBOOK_NAME_set(PyObject
*_val
) {
14058 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
14063 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
14068 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
14070 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
14077 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14078 PyObject
*resultobj
;
14079 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14081 PyObject
* obj0
= 0 ;
14082 char *kwnames
[] = {
14083 (char *) "self", NULL
14086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
14087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14091 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
14093 wxPyEndAllowThreads(__tstate
);
14094 if (PyErr_Occurred()) SWIG_fail
;
14096 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14103 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14104 PyObject
*resultobj
;
14105 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14108 PyObject
* obj0
= 0 ;
14109 PyObject
* obj1
= 0 ;
14110 char *kwnames
[] = {
14111 (char *) "self",(char *) "n", NULL
14114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14117 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14118 if (PyErr_Occurred()) SWIG_fail
;
14120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14121 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
14123 wxPyEndAllowThreads(__tstate
);
14124 if (PyErr_Occurred()) SWIG_fail
;
14127 resultobj
= wxPyMake_wxObject(result
);
14135 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14136 PyObject
*resultobj
;
14137 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14139 PyObject
* obj0
= 0 ;
14140 char *kwnames
[] = {
14141 (char *) "self", NULL
14144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
14145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14149 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
14151 wxPyEndAllowThreads(__tstate
);
14152 if (PyErr_Occurred()) SWIG_fail
;
14154 resultobj
= SWIG_FromInt((int)result
);
14161 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14162 PyObject
*resultobj
;
14163 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14165 wxString
*arg3
= 0 ;
14167 bool temp3
= False
;
14168 PyObject
* obj0
= 0 ;
14169 PyObject
* obj1
= 0 ;
14170 PyObject
* obj2
= 0 ;
14171 char *kwnames
[] = {
14172 (char *) "self",(char *) "n",(char *) "strText", NULL
14175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14178 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14179 if (PyErr_Occurred()) SWIG_fail
;
14181 arg3
= wxString_in_helper(obj2
);
14182 if (arg3
== NULL
) SWIG_fail
;
14186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14187 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
14189 wxPyEndAllowThreads(__tstate
);
14190 if (PyErr_Occurred()) SWIG_fail
;
14193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14209 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14210 PyObject
*resultobj
;
14211 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14214 PyObject
* obj0
= 0 ;
14215 PyObject
* obj1
= 0 ;
14216 char *kwnames
[] = {
14217 (char *) "self",(char *) "n", NULL
14220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
14221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14223 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14224 if (PyErr_Occurred()) SWIG_fail
;
14226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14227 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
14229 wxPyEndAllowThreads(__tstate
);
14230 if (PyErr_Occurred()) SWIG_fail
;
14234 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14236 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14245 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14246 PyObject
*resultobj
;
14247 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14248 wxImageList
*arg2
= (wxImageList
*) 0 ;
14249 PyObject
* obj0
= 0 ;
14250 PyObject
* obj1
= 0 ;
14251 char *kwnames
[] = {
14252 (char *) "self",(char *) "imageList", NULL
14255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14258 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14262 (arg1
)->SetImageList(arg2
);
14264 wxPyEndAllowThreads(__tstate
);
14265 if (PyErr_Occurred()) SWIG_fail
;
14267 Py_INCREF(Py_None
); resultobj
= Py_None
;
14274 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14275 PyObject
*resultobj
;
14276 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14277 wxImageList
*arg2
= (wxImageList
*) 0 ;
14278 PyObject
* obj0
= 0 ;
14279 PyObject
* obj1
= 0 ;
14280 char *kwnames
[] = {
14281 (char *) "self",(char *) "imageList", NULL
14284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14287 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14288 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
14290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14291 (arg1
)->AssignImageList(arg2
);
14293 wxPyEndAllowThreads(__tstate
);
14294 if (PyErr_Occurred()) SWIG_fail
;
14296 Py_INCREF(Py_None
); resultobj
= Py_None
;
14303 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14304 PyObject
*resultobj
;
14305 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14306 wxImageList
*result
;
14307 PyObject
* obj0
= 0 ;
14308 char *kwnames
[] = {
14309 (char *) "self", NULL
14312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
14313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14317 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
14319 wxPyEndAllowThreads(__tstate
);
14320 if (PyErr_Occurred()) SWIG_fail
;
14323 resultobj
= wxPyMake_wxObject(result
);
14331 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14332 PyObject
*resultobj
;
14333 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14336 PyObject
* obj0
= 0 ;
14337 PyObject
* obj1
= 0 ;
14338 char *kwnames
[] = {
14339 (char *) "self",(char *) "n", NULL
14342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
14343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14345 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14346 if (PyErr_Occurred()) SWIG_fail
;
14348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14349 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
14351 wxPyEndAllowThreads(__tstate
);
14352 if (PyErr_Occurred()) SWIG_fail
;
14354 resultobj
= SWIG_FromInt((int)result
);
14361 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14362 PyObject
*resultobj
;
14363 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14367 PyObject
* obj0
= 0 ;
14368 PyObject
* obj1
= 0 ;
14369 PyObject
* obj2
= 0 ;
14370 char *kwnames
[] = {
14371 (char *) "self",(char *) "n",(char *) "imageId", NULL
14374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14377 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14378 if (PyErr_Occurred()) SWIG_fail
;
14379 arg3
= (int) SWIG_AsInt(obj2
);
14380 if (PyErr_Occurred()) SWIG_fail
;
14382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14383 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
14385 wxPyEndAllowThreads(__tstate
);
14386 if (PyErr_Occurred()) SWIG_fail
;
14389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14397 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14398 PyObject
*resultobj
;
14399 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14402 PyObject
* obj0
= 0 ;
14403 PyObject
* obj1
= 0 ;
14404 char *kwnames
[] = {
14405 (char *) "self",(char *) "size", NULL
14408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14413 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14417 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
14419 wxPyEndAllowThreads(__tstate
);
14420 if (PyErr_Occurred()) SWIG_fail
;
14422 Py_INCREF(Py_None
); resultobj
= Py_None
;
14429 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14430 PyObject
*resultobj
;
14431 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14435 PyObject
* obj0
= 0 ;
14436 PyObject
* obj1
= 0 ;
14437 char *kwnames
[] = {
14438 (char *) "self",(char *) "sizePage", NULL
14441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14446 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14450 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14452 wxPyEndAllowThreads(__tstate
);
14453 if (PyErr_Occurred()) SWIG_fail
;
14456 wxSize
* resultptr
;
14457 resultptr
= new wxSize((wxSize
&) result
);
14458 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14466 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14467 PyObject
*resultobj
;
14468 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14471 PyObject
* obj0
= 0 ;
14472 PyObject
* obj1
= 0 ;
14473 char *kwnames
[] = {
14474 (char *) "self",(char *) "n", NULL
14477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14480 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14481 if (PyErr_Occurred()) SWIG_fail
;
14483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14484 result
= (bool)(arg1
)->DeletePage(arg2
);
14486 wxPyEndAllowThreads(__tstate
);
14487 if (PyErr_Occurred()) SWIG_fail
;
14490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14498 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14499 PyObject
*resultobj
;
14500 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14503 PyObject
* obj0
= 0 ;
14504 PyObject
* obj1
= 0 ;
14505 char *kwnames
[] = {
14506 (char *) "self",(char *) "n", NULL
14509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14512 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14513 if (PyErr_Occurred()) SWIG_fail
;
14515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14516 result
= (bool)(arg1
)->RemovePage(arg2
);
14518 wxPyEndAllowThreads(__tstate
);
14519 if (PyErr_Occurred()) SWIG_fail
;
14522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14530 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14531 PyObject
*resultobj
;
14532 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14534 PyObject
* obj0
= 0 ;
14535 char *kwnames
[] = {
14536 (char *) "self", NULL
14539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
14540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14544 result
= (bool)(arg1
)->DeleteAllPages();
14546 wxPyEndAllowThreads(__tstate
);
14547 if (PyErr_Occurred()) SWIG_fail
;
14550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14558 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14559 PyObject
*resultobj
;
14560 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14561 wxWindow
*arg2
= (wxWindow
*) 0 ;
14562 wxString
*arg3
= 0 ;
14563 bool arg4
= (bool) False
;
14564 int arg5
= (int) -1 ;
14566 bool temp3
= False
;
14567 PyObject
* obj0
= 0 ;
14568 PyObject
* obj1
= 0 ;
14569 PyObject
* obj2
= 0 ;
14570 PyObject
* obj3
= 0 ;
14571 PyObject
* obj4
= 0 ;
14572 char *kwnames
[] = {
14573 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14579 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14582 arg3
= wxString_in_helper(obj2
);
14583 if (arg3
== NULL
) SWIG_fail
;
14587 arg4
= (bool) SWIG_AsBool(obj3
);
14588 if (PyErr_Occurred()) SWIG_fail
;
14591 arg5
= (int) SWIG_AsInt(obj4
);
14592 if (PyErr_Occurred()) SWIG_fail
;
14595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14596 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
14598 wxPyEndAllowThreads(__tstate
);
14599 if (PyErr_Occurred()) SWIG_fail
;
14602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14618 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14619 PyObject
*resultobj
;
14620 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14622 wxWindow
*arg3
= (wxWindow
*) 0 ;
14623 wxString
*arg4
= 0 ;
14624 bool arg5
= (bool) False
;
14625 int arg6
= (int) -1 ;
14627 bool temp4
= False
;
14628 PyObject
* obj0
= 0 ;
14629 PyObject
* obj1
= 0 ;
14630 PyObject
* obj2
= 0 ;
14631 PyObject
* obj3
= 0 ;
14632 PyObject
* obj4
= 0 ;
14633 PyObject
* obj5
= 0 ;
14634 char *kwnames
[] = {
14635 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14641 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14642 if (PyErr_Occurred()) SWIG_fail
;
14643 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
14644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14646 arg4
= wxString_in_helper(obj3
);
14647 if (arg4
== NULL
) SWIG_fail
;
14651 arg5
= (bool) SWIG_AsBool(obj4
);
14652 if (PyErr_Occurred()) SWIG_fail
;
14655 arg6
= (int) SWIG_AsInt(obj5
);
14656 if (PyErr_Occurred()) SWIG_fail
;
14659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14660 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
14662 wxPyEndAllowThreads(__tstate
);
14663 if (PyErr_Occurred()) SWIG_fail
;
14666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14682 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14683 PyObject
*resultobj
;
14684 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14687 PyObject
* obj0
= 0 ;
14688 PyObject
* obj1
= 0 ;
14689 char *kwnames
[] = {
14690 (char *) "self",(char *) "n", NULL
14693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14696 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14697 if (PyErr_Occurred()) SWIG_fail
;
14699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14700 result
= (int)(arg1
)->SetSelection(arg2
);
14702 wxPyEndAllowThreads(__tstate
);
14703 if (PyErr_Occurred()) SWIG_fail
;
14705 resultobj
= SWIG_FromInt((int)result
);
14712 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14713 PyObject
*resultobj
;
14714 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14715 bool arg2
= (bool) True
;
14716 PyObject
* obj0
= 0 ;
14717 PyObject
* obj1
= 0 ;
14718 char *kwnames
[] = {
14719 (char *) "self",(char *) "forward", NULL
14722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14726 arg2
= (bool) SWIG_AsBool(obj1
);
14727 if (PyErr_Occurred()) SWIG_fail
;
14730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14731 (arg1
)->AdvanceSelection(arg2
);
14733 wxPyEndAllowThreads(__tstate
);
14734 if (PyErr_Occurred()) SWIG_fail
;
14736 Py_INCREF(Py_None
); resultobj
= Py_None
;
14743 static PyObject
*_wrap_BookCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14744 PyObject
*resultobj
;
14745 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14746 wxVisualAttributes result
;
14747 PyObject
* obj0
= 0 ;
14748 char *kwnames
[] = {
14749 (char *) "variant", NULL
14752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14754 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
14755 if (PyErr_Occurred()) SWIG_fail
;
14758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14759 result
= wxBookCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14761 wxPyEndAllowThreads(__tstate
);
14762 if (PyErr_Occurred()) SWIG_fail
;
14765 wxVisualAttributes
* resultptr
;
14766 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14767 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14775 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
14777 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14778 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
14780 return Py_BuildValue((char *)"");
14782 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14783 PyObject
*resultobj
;
14784 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14785 int arg2
= (int) 0 ;
14786 int arg3
= (int) -1 ;
14787 int arg4
= (int) -1 ;
14788 wxBookCtrlEvent
*result
;
14789 PyObject
* obj0
= 0 ;
14790 PyObject
* obj1
= 0 ;
14791 PyObject
* obj2
= 0 ;
14792 PyObject
* obj3
= 0 ;
14793 char *kwnames
[] = {
14794 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14799 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14800 if (PyErr_Occurred()) SWIG_fail
;
14803 arg2
= (int) SWIG_AsInt(obj1
);
14804 if (PyErr_Occurred()) SWIG_fail
;
14807 arg3
= (int) SWIG_AsInt(obj2
);
14808 if (PyErr_Occurred()) SWIG_fail
;
14811 arg4
= (int) SWIG_AsInt(obj3
);
14812 if (PyErr_Occurred()) SWIG_fail
;
14815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14816 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
14818 wxPyEndAllowThreads(__tstate
);
14819 if (PyErr_Occurred()) SWIG_fail
;
14821 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlEvent
, 1);
14828 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14829 PyObject
*resultobj
;
14830 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14832 PyObject
* obj0
= 0 ;
14833 char *kwnames
[] = {
14834 (char *) "self", NULL
14837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
14838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14842 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
14844 wxPyEndAllowThreads(__tstate
);
14845 if (PyErr_Occurred()) SWIG_fail
;
14847 resultobj
= SWIG_FromInt((int)result
);
14854 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14855 PyObject
*resultobj
;
14856 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14858 PyObject
* obj0
= 0 ;
14859 PyObject
* obj1
= 0 ;
14860 char *kwnames
[] = {
14861 (char *) "self",(char *) "nSel", NULL
14864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14867 arg2
= (int) SWIG_AsInt(obj1
);
14868 if (PyErr_Occurred()) SWIG_fail
;
14870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14871 (arg1
)->SetSelection(arg2
);
14873 wxPyEndAllowThreads(__tstate
);
14874 if (PyErr_Occurred()) SWIG_fail
;
14876 Py_INCREF(Py_None
); resultobj
= Py_None
;
14883 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14884 PyObject
*resultobj
;
14885 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14887 PyObject
* obj0
= 0 ;
14888 char *kwnames
[] = {
14889 (char *) "self", NULL
14892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
14893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14897 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
14899 wxPyEndAllowThreads(__tstate
);
14900 if (PyErr_Occurred()) SWIG_fail
;
14902 resultobj
= SWIG_FromInt((int)result
);
14909 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14910 PyObject
*resultobj
;
14911 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14913 PyObject
* obj0
= 0 ;
14914 PyObject
* obj1
= 0 ;
14915 char *kwnames
[] = {
14916 (char *) "self",(char *) "nOldSel", NULL
14919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14922 arg2
= (int) SWIG_AsInt(obj1
);
14923 if (PyErr_Occurred()) SWIG_fail
;
14925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14926 (arg1
)->SetOldSelection(arg2
);
14928 wxPyEndAllowThreads(__tstate
);
14929 if (PyErr_Occurred()) SWIG_fail
;
14931 Py_INCREF(Py_None
); resultobj
= Py_None
;
14938 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14940 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14941 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
14943 return Py_BuildValue((char *)"");
14945 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14946 PyObject
*resultobj
;
14947 wxWindow
*arg1
= (wxWindow
*) 0 ;
14948 int arg2
= (int) -1 ;
14949 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14950 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14951 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14952 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14953 long arg5
= (long) 0 ;
14954 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
14955 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14956 wxNotebook
*result
;
14959 bool temp6
= False
;
14960 PyObject
* obj0
= 0 ;
14961 PyObject
* obj1
= 0 ;
14962 PyObject
* obj2
= 0 ;
14963 PyObject
* obj3
= 0 ;
14964 PyObject
* obj4
= 0 ;
14965 PyObject
* obj5
= 0 ;
14966 char *kwnames
[] = {
14967 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14974 arg2
= (int) SWIG_AsInt(obj1
);
14975 if (PyErr_Occurred()) SWIG_fail
;
14980 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14986 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14990 arg5
= (long) SWIG_AsLong(obj4
);
14991 if (PyErr_Occurred()) SWIG_fail
;
14995 arg6
= wxString_in_helper(obj5
);
14996 if (arg6
== NULL
) SWIG_fail
;
15001 if (!wxPyCheckForApp()) SWIG_fail
;
15002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15003 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15005 wxPyEndAllowThreads(__tstate
);
15006 if (PyErr_Occurred()) SWIG_fail
;
15009 resultobj
= wxPyMake_wxObject(result
);
15025 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15026 PyObject
*resultobj
;
15027 wxNotebook
*result
;
15028 char *kwnames
[] = {
15032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
15034 if (!wxPyCheckForApp()) SWIG_fail
;
15035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15036 result
= (wxNotebook
*)new wxNotebook();
15038 wxPyEndAllowThreads(__tstate
);
15039 if (PyErr_Occurred()) SWIG_fail
;
15042 resultobj
= wxPyMake_wxObject(result
);
15050 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15051 PyObject
*resultobj
;
15052 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15053 wxWindow
*arg2
= (wxWindow
*) 0 ;
15054 int arg3
= (int) -1 ;
15055 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15056 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15057 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15058 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15059 long arg6
= (long) 0 ;
15060 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
15061 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15065 bool temp7
= False
;
15066 PyObject
* obj0
= 0 ;
15067 PyObject
* obj1
= 0 ;
15068 PyObject
* obj2
= 0 ;
15069 PyObject
* obj3
= 0 ;
15070 PyObject
* obj4
= 0 ;
15071 PyObject
* obj5
= 0 ;
15072 PyObject
* obj6
= 0 ;
15073 char *kwnames
[] = {
15074 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15080 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15083 arg3
= (int) SWIG_AsInt(obj2
);
15084 if (PyErr_Occurred()) SWIG_fail
;
15089 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15095 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15099 arg6
= (long) SWIG_AsLong(obj5
);
15100 if (PyErr_Occurred()) SWIG_fail
;
15104 arg7
= wxString_in_helper(obj6
);
15105 if (arg7
== NULL
) SWIG_fail
;
15110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15111 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15113 wxPyEndAllowThreads(__tstate
);
15114 if (PyErr_Occurred()) SWIG_fail
;
15117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15133 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15134 PyObject
*resultobj
;
15135 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15137 PyObject
* obj0
= 0 ;
15138 char *kwnames
[] = {
15139 (char *) "self", NULL
15142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
15143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15147 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
15149 wxPyEndAllowThreads(__tstate
);
15150 if (PyErr_Occurred()) SWIG_fail
;
15152 resultobj
= SWIG_FromInt((int)result
);
15159 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15160 PyObject
*resultobj
;
15161 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15164 PyObject
* obj0
= 0 ;
15165 PyObject
* obj1
= 0 ;
15166 char *kwnames
[] = {
15167 (char *) "self",(char *) "padding", NULL
15170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
15171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15175 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15179 (arg1
)->SetPadding((wxSize
const &)*arg2
);
15181 wxPyEndAllowThreads(__tstate
);
15182 if (PyErr_Occurred()) SWIG_fail
;
15184 Py_INCREF(Py_None
); resultobj
= Py_None
;
15191 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15192 PyObject
*resultobj
;
15193 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15196 PyObject
* obj0
= 0 ;
15197 PyObject
* obj1
= 0 ;
15198 char *kwnames
[] = {
15199 (char *) "self",(char *) "sz", NULL
15202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15207 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15211 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
15213 wxPyEndAllowThreads(__tstate
);
15214 if (PyErr_Occurred()) SWIG_fail
;
15216 Py_INCREF(Py_None
); resultobj
= Py_None
;
15223 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15224 PyObject
*resultobj
;
15225 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15226 wxPoint
*arg2
= 0 ;
15227 long *arg3
= (long *) 0 ;
15231 PyObject
* obj0
= 0 ;
15232 PyObject
* obj1
= 0 ;
15233 char *kwnames
[] = {
15234 (char *) "self",(char *) "pt", NULL
15238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
15239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15243 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15247 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
15249 wxPyEndAllowThreads(__tstate
);
15250 if (PyErr_Occurred()) SWIG_fail
;
15252 resultobj
= SWIG_FromInt((int)result
);
15254 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15255 resultobj
= t_output_helper(resultobj
,o
);
15263 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15264 PyObject
*resultobj
;
15265 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15269 PyObject
* obj0
= 0 ;
15270 PyObject
* obj1
= 0 ;
15271 char *kwnames
[] = {
15272 (char *) "self",(char *) "sizePage", NULL
15275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
15276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15280 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15284 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
15286 wxPyEndAllowThreads(__tstate
);
15287 if (PyErr_Occurred()) SWIG_fail
;
15290 wxSize
* resultptr
;
15291 resultptr
= new wxSize((wxSize
&) result
);
15292 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15300 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15301 PyObject
*resultobj
;
15302 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
15303 wxVisualAttributes result
;
15304 PyObject
* obj0
= 0 ;
15305 char *kwnames
[] = {
15306 (char *) "variant", NULL
15309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15311 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
15312 if (PyErr_Occurred()) SWIG_fail
;
15315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15316 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15318 wxPyEndAllowThreads(__tstate
);
15319 if (PyErr_Occurred()) SWIG_fail
;
15322 wxVisualAttributes
* resultptr
;
15323 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
15324 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15332 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
15334 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15335 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
15337 return Py_BuildValue((char *)"");
15339 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15340 PyObject
*resultobj
;
15341 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15342 int arg2
= (int) 0 ;
15343 int arg3
= (int) -1 ;
15344 int arg4
= (int) -1 ;
15345 wxNotebookEvent
*result
;
15346 PyObject
* obj0
= 0 ;
15347 PyObject
* obj1
= 0 ;
15348 PyObject
* obj2
= 0 ;
15349 PyObject
* obj3
= 0 ;
15350 char *kwnames
[] = {
15351 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15356 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15357 if (PyErr_Occurred()) SWIG_fail
;
15360 arg2
= (int) SWIG_AsInt(obj1
);
15361 if (PyErr_Occurred()) SWIG_fail
;
15364 arg3
= (int) SWIG_AsInt(obj2
);
15365 if (PyErr_Occurred()) SWIG_fail
;
15368 arg4
= (int) SWIG_AsInt(obj3
);
15369 if (PyErr_Occurred()) SWIG_fail
;
15372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15373 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
15375 wxPyEndAllowThreads(__tstate
);
15376 if (PyErr_Occurred()) SWIG_fail
;
15378 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
15385 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15387 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15388 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
15390 return Py_BuildValue((char *)"");
15392 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15393 PyObject
*resultobj
;
15394 wxWindow
*arg1
= (wxWindow
*) 0 ;
15395 int arg2
= (int) -1 ;
15396 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15397 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15398 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15399 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15400 long arg5
= (long) 0 ;
15401 wxString
const &arg6_defvalue
= wxPyEmptyString
;
15402 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15403 wxListbook
*result
;
15406 bool temp6
= False
;
15407 PyObject
* obj0
= 0 ;
15408 PyObject
* obj1
= 0 ;
15409 PyObject
* obj2
= 0 ;
15410 PyObject
* obj3
= 0 ;
15411 PyObject
* obj4
= 0 ;
15412 PyObject
* obj5
= 0 ;
15413 char *kwnames
[] = {
15414 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15421 arg2
= (int) SWIG_AsInt(obj1
);
15422 if (PyErr_Occurred()) SWIG_fail
;
15427 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15433 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15437 arg5
= (long) SWIG_AsLong(obj4
);
15438 if (PyErr_Occurred()) SWIG_fail
;
15442 arg6
= wxString_in_helper(obj5
);
15443 if (arg6
== NULL
) SWIG_fail
;
15448 if (!wxPyCheckForApp()) SWIG_fail
;
15449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15450 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15452 wxPyEndAllowThreads(__tstate
);
15453 if (PyErr_Occurred()) SWIG_fail
;
15455 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15470 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15471 PyObject
*resultobj
;
15472 wxListbook
*result
;
15473 char *kwnames
[] = {
15477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
15479 if (!wxPyCheckForApp()) SWIG_fail
;
15480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15481 result
= (wxListbook
*)new wxListbook();
15483 wxPyEndAllowThreads(__tstate
);
15484 if (PyErr_Occurred()) SWIG_fail
;
15486 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15493 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15494 PyObject
*resultobj
;
15495 wxListbook
*arg1
= (wxListbook
*) 0 ;
15496 wxWindow
*arg2
= (wxWindow
*) 0 ;
15497 int arg3
= (int) -1 ;
15498 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15499 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15500 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15501 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15502 long arg6
= (long) 0 ;
15503 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15504 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15508 bool temp7
= False
;
15509 PyObject
* obj0
= 0 ;
15510 PyObject
* obj1
= 0 ;
15511 PyObject
* obj2
= 0 ;
15512 PyObject
* obj3
= 0 ;
15513 PyObject
* obj4
= 0 ;
15514 PyObject
* obj5
= 0 ;
15515 PyObject
* obj6
= 0 ;
15516 char *kwnames
[] = {
15517 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15523 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15526 arg3
= (int) SWIG_AsInt(obj2
);
15527 if (PyErr_Occurred()) SWIG_fail
;
15532 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15538 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15542 arg6
= (long) SWIG_AsLong(obj5
);
15543 if (PyErr_Occurred()) SWIG_fail
;
15547 arg7
= wxString_in_helper(obj6
);
15548 if (arg7
== NULL
) SWIG_fail
;
15553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15554 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15556 wxPyEndAllowThreads(__tstate
);
15557 if (PyErr_Occurred()) SWIG_fail
;
15560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15576 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15577 PyObject
*resultobj
;
15578 wxListbook
*arg1
= (wxListbook
*) 0 ;
15580 PyObject
* obj0
= 0 ;
15581 char *kwnames
[] = {
15582 (char *) "self", NULL
15585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
15586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15590 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
15592 wxPyEndAllowThreads(__tstate
);
15593 if (PyErr_Occurred()) SWIG_fail
;
15596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15604 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
15606 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15607 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
15609 return Py_BuildValue((char *)"");
15611 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15612 PyObject
*resultobj
;
15613 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15614 int arg2
= (int) 0 ;
15615 int arg3
= (int) -1 ;
15616 int arg4
= (int) -1 ;
15617 wxListbookEvent
*result
;
15618 PyObject
* obj0
= 0 ;
15619 PyObject
* obj1
= 0 ;
15620 PyObject
* obj2
= 0 ;
15621 PyObject
* obj3
= 0 ;
15622 char *kwnames
[] = {
15623 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15628 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15629 if (PyErr_Occurred()) SWIG_fail
;
15632 arg2
= (int) SWIG_AsInt(obj1
);
15633 if (PyErr_Occurred()) SWIG_fail
;
15636 arg3
= (int) SWIG_AsInt(obj2
);
15637 if (PyErr_Occurred()) SWIG_fail
;
15640 arg4
= (int) SWIG_AsInt(obj3
);
15641 if (PyErr_Occurred()) SWIG_fail
;
15644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15645 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
15647 wxPyEndAllowThreads(__tstate
);
15648 if (PyErr_Occurred()) SWIG_fail
;
15650 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
15657 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15659 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15660 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
15662 return Py_BuildValue((char *)"");
15664 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15665 PyObject
*resultobj
;
15666 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
15667 wxBookCtrlSizer
*result
;
15668 PyObject
* obj0
= 0 ;
15669 char *kwnames
[] = {
15670 (char *) "nb", NULL
15673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
15674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
15675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15678 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
15680 wxPyEndAllowThreads(__tstate
);
15681 if (PyErr_Occurred()) SWIG_fail
;
15683 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
15690 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15691 PyObject
*resultobj
;
15692 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15693 PyObject
* obj0
= 0 ;
15694 char *kwnames
[] = {
15695 (char *) "self", NULL
15698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15703 (arg1
)->RecalcSizes();
15705 wxPyEndAllowThreads(__tstate
);
15706 if (PyErr_Occurred()) SWIG_fail
;
15708 Py_INCREF(Py_None
); resultobj
= Py_None
;
15715 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15716 PyObject
*resultobj
;
15717 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15719 PyObject
* obj0
= 0 ;
15720 char *kwnames
[] = {
15721 (char *) "self", NULL
15724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
15725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15729 result
= (arg1
)->CalcMin();
15731 wxPyEndAllowThreads(__tstate
);
15732 if (PyErr_Occurred()) SWIG_fail
;
15735 wxSize
* resultptr
;
15736 resultptr
= new wxSize((wxSize
&) result
);
15737 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15745 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15746 PyObject
*resultobj
;
15747 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15748 wxBookCtrl
*result
;
15749 PyObject
* obj0
= 0 ;
15750 char *kwnames
[] = {
15751 (char *) "self", NULL
15754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
15755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15759 result
= (wxBookCtrl
*)(arg1
)->GetControl();
15761 wxPyEndAllowThreads(__tstate
);
15762 if (PyErr_Occurred()) SWIG_fail
;
15764 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrl
, 0);
15771 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
15773 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15774 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
15776 return Py_BuildValue((char *)"");
15778 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15779 PyObject
*resultobj
;
15780 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15781 wxNotebookSizer
*result
;
15782 PyObject
* obj0
= 0 ;
15783 char *kwnames
[] = {
15784 (char *) "nb", NULL
15787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
15788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15792 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
15794 wxPyEndAllowThreads(__tstate
);
15795 if (PyErr_Occurred()) SWIG_fail
;
15797 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
15804 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15805 PyObject
*resultobj
;
15806 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15807 PyObject
* obj0
= 0 ;
15808 char *kwnames
[] = {
15809 (char *) "self", NULL
15812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15817 (arg1
)->RecalcSizes();
15819 wxPyEndAllowThreads(__tstate
);
15820 if (PyErr_Occurred()) SWIG_fail
;
15822 Py_INCREF(Py_None
); resultobj
= Py_None
;
15829 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15830 PyObject
*resultobj
;
15831 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15833 PyObject
* obj0
= 0 ;
15834 char *kwnames
[] = {
15835 (char *) "self", NULL
15838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
15839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15843 result
= (arg1
)->CalcMin();
15845 wxPyEndAllowThreads(__tstate
);
15846 if (PyErr_Occurred()) SWIG_fail
;
15849 wxSize
* resultptr
;
15850 resultptr
= new wxSize((wxSize
&) result
);
15851 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15859 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15860 PyObject
*resultobj
;
15861 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15862 wxNotebook
*result
;
15863 PyObject
* obj0
= 0 ;
15864 char *kwnames
[] = {
15865 (char *) "self", NULL
15868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
15869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15873 result
= (wxNotebook
*)(arg1
)->GetNotebook();
15875 wxPyEndAllowThreads(__tstate
);
15876 if (PyErr_Occurred()) SWIG_fail
;
15879 resultobj
= wxPyMake_wxObject(result
);
15887 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
15889 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15890 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
15892 return Py_BuildValue((char *)"");
15894 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15895 PyObject
*resultobj
;
15896 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15898 PyObject
* obj0
= 0 ;
15899 char *kwnames
[] = {
15900 (char *) "self", NULL
15903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
15904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15908 result
= (int)(arg1
)->GetId();
15910 wxPyEndAllowThreads(__tstate
);
15911 if (PyErr_Occurred()) SWIG_fail
;
15913 resultobj
= SWIG_FromInt((int)result
);
15920 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15921 PyObject
*resultobj
;
15922 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15924 PyObject
* obj0
= 0 ;
15925 char *kwnames
[] = {
15926 (char *) "self", NULL
15929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
15930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15934 result
= (wxControl
*)(arg1
)->GetControl();
15936 wxPyEndAllowThreads(__tstate
);
15937 if (PyErr_Occurred()) SWIG_fail
;
15940 resultobj
= wxPyMake_wxObject(result
);
15948 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15949 PyObject
*resultobj
;
15950 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15951 wxToolBarBase
*result
;
15952 PyObject
* obj0
= 0 ;
15953 char *kwnames
[] = {
15954 (char *) "self", NULL
15957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
15958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15962 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
15964 wxPyEndAllowThreads(__tstate
);
15965 if (PyErr_Occurred()) SWIG_fail
;
15968 resultobj
= wxPyMake_wxObject(result
);
15976 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15977 PyObject
*resultobj
;
15978 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15980 PyObject
* obj0
= 0 ;
15981 char *kwnames
[] = {
15982 (char *) "self", NULL
15985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
15986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15990 result
= (int)(arg1
)->IsButton();
15992 wxPyEndAllowThreads(__tstate
);
15993 if (PyErr_Occurred()) SWIG_fail
;
15995 resultobj
= SWIG_FromInt((int)result
);
16002 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16003 PyObject
*resultobj
;
16004 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16006 PyObject
* obj0
= 0 ;
16007 char *kwnames
[] = {
16008 (char *) "self", NULL
16011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
16012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16016 result
= (int)(arg1
)->IsControl();
16018 wxPyEndAllowThreads(__tstate
);
16019 if (PyErr_Occurred()) SWIG_fail
;
16021 resultobj
= SWIG_FromInt((int)result
);
16028 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16029 PyObject
*resultobj
;
16030 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16032 PyObject
* obj0
= 0 ;
16033 char *kwnames
[] = {
16034 (char *) "self", NULL
16037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
16038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16042 result
= (int)(arg1
)->IsSeparator();
16044 wxPyEndAllowThreads(__tstate
);
16045 if (PyErr_Occurred()) SWIG_fail
;
16047 resultobj
= SWIG_FromInt((int)result
);
16054 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16055 PyObject
*resultobj
;
16056 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16058 PyObject
* obj0
= 0 ;
16059 char *kwnames
[] = {
16060 (char *) "self", NULL
16063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16068 result
= (int)(arg1
)->GetStyle();
16070 wxPyEndAllowThreads(__tstate
);
16071 if (PyErr_Occurred()) SWIG_fail
;
16073 resultobj
= SWIG_FromInt((int)result
);
16080 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16081 PyObject
*resultobj
;
16082 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16084 PyObject
* obj0
= 0 ;
16085 char *kwnames
[] = {
16086 (char *) "self", NULL
16089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
16090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16094 result
= (int)(arg1
)->GetKind();
16096 wxPyEndAllowThreads(__tstate
);
16097 if (PyErr_Occurred()) SWIG_fail
;
16099 resultobj
= SWIG_FromInt((int)result
);
16106 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16107 PyObject
*resultobj
;
16108 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16110 PyObject
* obj0
= 0 ;
16111 char *kwnames
[] = {
16112 (char *) "self", NULL
16115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
16116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16120 result
= (bool)(arg1
)->IsEnabled();
16122 wxPyEndAllowThreads(__tstate
);
16123 if (PyErr_Occurred()) SWIG_fail
;
16126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16134 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16135 PyObject
*resultobj
;
16136 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16138 PyObject
* obj0
= 0 ;
16139 char *kwnames
[] = {
16140 (char *) "self", NULL
16143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
16144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16148 result
= (bool)(arg1
)->IsToggled();
16150 wxPyEndAllowThreads(__tstate
);
16151 if (PyErr_Occurred()) SWIG_fail
;
16154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16162 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16163 PyObject
*resultobj
;
16164 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16166 PyObject
* obj0
= 0 ;
16167 char *kwnames
[] = {
16168 (char *) "self", NULL
16171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
16172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16176 result
= (bool)(arg1
)->CanBeToggled();
16178 wxPyEndAllowThreads(__tstate
);
16179 if (PyErr_Occurred()) SWIG_fail
;
16182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16190 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16191 PyObject
*resultobj
;
16192 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16194 PyObject
* obj0
= 0 ;
16195 char *kwnames
[] = {
16196 (char *) "self", NULL
16199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
16200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16205 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
16206 result
= (wxBitmap
*) &_result_ref
;
16209 wxPyEndAllowThreads(__tstate
);
16210 if (PyErr_Occurred()) SWIG_fail
;
16213 wxBitmap
* resultptr
= new wxBitmap(*result
);
16214 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16222 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16223 PyObject
*resultobj
;
16224 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16226 PyObject
* obj0
= 0 ;
16227 char *kwnames
[] = {
16228 (char *) "self", NULL
16231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
16232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16237 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
16238 result
= (wxBitmap
*) &_result_ref
;
16241 wxPyEndAllowThreads(__tstate
);
16242 if (PyErr_Occurred()) SWIG_fail
;
16245 wxBitmap
* resultptr
= new wxBitmap(*result
);
16246 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16254 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16255 PyObject
*resultobj
;
16256 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16258 PyObject
* obj0
= 0 ;
16259 char *kwnames
[] = {
16260 (char *) "self", NULL
16263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
16264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16268 result
= (arg1
)->GetBitmap();
16270 wxPyEndAllowThreads(__tstate
);
16271 if (PyErr_Occurred()) SWIG_fail
;
16274 wxBitmap
* resultptr
;
16275 resultptr
= new wxBitmap((wxBitmap
&) result
);
16276 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16284 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16285 PyObject
*resultobj
;
16286 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16288 PyObject
* obj0
= 0 ;
16289 char *kwnames
[] = {
16290 (char *) "self", NULL
16293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
16294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16298 result
= (arg1
)->GetLabel();
16300 wxPyEndAllowThreads(__tstate
);
16301 if (PyErr_Occurred()) SWIG_fail
;
16305 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16307 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16316 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16317 PyObject
*resultobj
;
16318 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16320 PyObject
* obj0
= 0 ;
16321 char *kwnames
[] = {
16322 (char *) "self", NULL
16325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
16326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16330 result
= (arg1
)->GetShortHelp();
16332 wxPyEndAllowThreads(__tstate
);
16333 if (PyErr_Occurred()) SWIG_fail
;
16337 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16339 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16348 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16349 PyObject
*resultobj
;
16350 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16352 PyObject
* obj0
= 0 ;
16353 char *kwnames
[] = {
16354 (char *) "self", NULL
16357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
16358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16362 result
= (arg1
)->GetLongHelp();
16364 wxPyEndAllowThreads(__tstate
);
16365 if (PyErr_Occurred()) SWIG_fail
;
16369 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16371 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16380 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16381 PyObject
*resultobj
;
16382 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16385 PyObject
* obj0
= 0 ;
16386 PyObject
* obj1
= 0 ;
16387 char *kwnames
[] = {
16388 (char *) "self",(char *) "enable", NULL
16391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
16392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16394 arg2
= (bool) SWIG_AsBool(obj1
);
16395 if (PyErr_Occurred()) SWIG_fail
;
16397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16398 result
= (bool)(arg1
)->Enable(arg2
);
16400 wxPyEndAllowThreads(__tstate
);
16401 if (PyErr_Occurred()) SWIG_fail
;
16404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16412 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16413 PyObject
*resultobj
;
16414 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16415 PyObject
* obj0
= 0 ;
16416 char *kwnames
[] = {
16417 (char *) "self", NULL
16420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
16421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16427 wxPyEndAllowThreads(__tstate
);
16428 if (PyErr_Occurred()) SWIG_fail
;
16430 Py_INCREF(Py_None
); resultobj
= Py_None
;
16437 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16438 PyObject
*resultobj
;
16439 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16442 PyObject
* obj0
= 0 ;
16443 PyObject
* obj1
= 0 ;
16444 char *kwnames
[] = {
16445 (char *) "self",(char *) "toggle", NULL
16448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
16449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16451 arg2
= (bool) SWIG_AsBool(obj1
);
16452 if (PyErr_Occurred()) SWIG_fail
;
16454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16455 result
= (bool)(arg1
)->SetToggle(arg2
);
16457 wxPyEndAllowThreads(__tstate
);
16458 if (PyErr_Occurred()) SWIG_fail
;
16461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16469 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16470 PyObject
*resultobj
;
16471 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16472 wxString
*arg2
= 0 ;
16474 bool temp2
= False
;
16475 PyObject
* obj0
= 0 ;
16476 PyObject
* obj1
= 0 ;
16477 char *kwnames
[] = {
16478 (char *) "self",(char *) "help", NULL
16481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16485 arg2
= wxString_in_helper(obj1
);
16486 if (arg2
== NULL
) SWIG_fail
;
16490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16491 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
16493 wxPyEndAllowThreads(__tstate
);
16494 if (PyErr_Occurred()) SWIG_fail
;
16497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16513 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16514 PyObject
*resultobj
;
16515 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16516 wxString
*arg2
= 0 ;
16518 bool temp2
= False
;
16519 PyObject
* obj0
= 0 ;
16520 PyObject
* obj1
= 0 ;
16521 char *kwnames
[] = {
16522 (char *) "self",(char *) "help", NULL
16525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16529 arg2
= wxString_in_helper(obj1
);
16530 if (arg2
== NULL
) SWIG_fail
;
16534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16535 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
16537 wxPyEndAllowThreads(__tstate
);
16538 if (PyErr_Occurred()) SWIG_fail
;
16541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16557 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16558 PyObject
*resultobj
;
16559 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16560 wxBitmap
*arg2
= 0 ;
16561 PyObject
* obj0
= 0 ;
16562 PyObject
* obj1
= 0 ;
16563 char *kwnames
[] = {
16564 (char *) "self",(char *) "bmp", NULL
16567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
16568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16570 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16571 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16573 if (arg2
== NULL
) {
16574 PyErr_SetString(PyExc_TypeError
,"null reference");
16578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16579 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
16581 wxPyEndAllowThreads(__tstate
);
16582 if (PyErr_Occurred()) SWIG_fail
;
16584 Py_INCREF(Py_None
); resultobj
= Py_None
;
16591 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16592 PyObject
*resultobj
;
16593 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16594 wxBitmap
*arg2
= 0 ;
16595 PyObject
* obj0
= 0 ;
16596 PyObject
* obj1
= 0 ;
16597 char *kwnames
[] = {
16598 (char *) "self",(char *) "bmp", NULL
16601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
16602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16604 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16605 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16607 if (arg2
== NULL
) {
16608 PyErr_SetString(PyExc_TypeError
,"null reference");
16612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16613 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
16615 wxPyEndAllowThreads(__tstate
);
16616 if (PyErr_Occurred()) SWIG_fail
;
16618 Py_INCREF(Py_None
); resultobj
= Py_None
;
16625 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16626 PyObject
*resultobj
;
16627 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16628 wxString
*arg2
= 0 ;
16629 bool temp2
= False
;
16630 PyObject
* obj0
= 0 ;
16631 PyObject
* obj1
= 0 ;
16632 char *kwnames
[] = {
16633 (char *) "self",(char *) "label", NULL
16636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
16637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16640 arg2
= wxString_in_helper(obj1
);
16641 if (arg2
== NULL
) SWIG_fail
;
16645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16646 (arg1
)->SetLabel((wxString
const &)*arg2
);
16648 wxPyEndAllowThreads(__tstate
);
16649 if (PyErr_Occurred()) SWIG_fail
;
16651 Py_INCREF(Py_None
); resultobj
= Py_None
;
16666 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16667 PyObject
*resultobj
;
16668 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16669 PyObject
* obj0
= 0 ;
16670 char *kwnames
[] = {
16671 (char *) "self", NULL
16674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
16675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16681 wxPyEndAllowThreads(__tstate
);
16682 if (PyErr_Occurred()) SWIG_fail
;
16684 Py_INCREF(Py_None
); resultobj
= Py_None
;
16691 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16692 PyObject
*resultobj
;
16693 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16694 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
16695 PyObject
* obj0
= 0 ;
16696 PyObject
* obj1
= 0 ;
16697 char *kwnames
[] = {
16698 (char *) "self",(char *) "tbar", NULL
16701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
16702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16704 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
16705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16708 (arg1
)->Attach(arg2
);
16710 wxPyEndAllowThreads(__tstate
);
16711 if (PyErr_Occurred()) SWIG_fail
;
16713 Py_INCREF(Py_None
); resultobj
= Py_None
;
16720 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16721 PyObject
*resultobj
;
16722 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16724 PyObject
* obj0
= 0 ;
16725 char *kwnames
[] = {
16726 (char *) "self", NULL
16729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
16730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16734 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
16736 wxPyEndAllowThreads(__tstate
);
16737 if (PyErr_Occurred()) SWIG_fail
;
16739 resultobj
= result
;
16746 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16747 PyObject
*resultobj
;
16748 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16749 PyObject
*arg2
= (PyObject
*) 0 ;
16750 PyObject
* obj0
= 0 ;
16751 PyObject
* obj1
= 0 ;
16752 char *kwnames
[] = {
16753 (char *) "self",(char *) "clientData", NULL
16756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16762 wxToolBarToolBase_SetClientData(arg1
,arg2
);
16764 wxPyEndAllowThreads(__tstate
);
16765 if (PyErr_Occurred()) SWIG_fail
;
16767 Py_INCREF(Py_None
); resultobj
= Py_None
;
16774 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
16776 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16777 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
16779 return Py_BuildValue((char *)"");
16781 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16782 PyObject
*resultobj
;
16783 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16785 wxString
*arg3
= 0 ;
16786 wxBitmap
*arg4
= 0 ;
16787 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
16788 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
16789 int arg6
= (int) wxITEM_NORMAL
;
16790 wxString
const &arg7_defvalue
= wxPyEmptyString
;
16791 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16792 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16793 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16794 PyObject
*arg9
= (PyObject
*) NULL
;
16795 wxToolBarToolBase
*result
;
16796 bool temp3
= False
;
16797 bool temp7
= False
;
16798 bool temp8
= False
;
16799 PyObject
* obj0
= 0 ;
16800 PyObject
* obj1
= 0 ;
16801 PyObject
* obj2
= 0 ;
16802 PyObject
* obj3
= 0 ;
16803 PyObject
* obj4
= 0 ;
16804 PyObject
* obj5
= 0 ;
16805 PyObject
* obj6
= 0 ;
16806 PyObject
* obj7
= 0 ;
16807 PyObject
* obj8
= 0 ;
16808 char *kwnames
[] = {
16809 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
16813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16815 arg2
= (int) SWIG_AsInt(obj1
);
16816 if (PyErr_Occurred()) SWIG_fail
;
16818 arg3
= wxString_in_helper(obj2
);
16819 if (arg3
== NULL
) SWIG_fail
;
16822 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
16823 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16825 if (arg4
== NULL
) {
16826 PyErr_SetString(PyExc_TypeError
,"null reference");
16830 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16831 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16833 if (arg5
== NULL
) {
16834 PyErr_SetString(PyExc_TypeError
,"null reference");
16839 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
16840 if (PyErr_Occurred()) SWIG_fail
;
16844 arg7
= wxString_in_helper(obj6
);
16845 if (arg7
== NULL
) SWIG_fail
;
16851 arg8
= wxString_in_helper(obj7
);
16852 if (arg8
== NULL
) SWIG_fail
;
16860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16861 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
16863 wxPyEndAllowThreads(__tstate
);
16864 if (PyErr_Occurred()) SWIG_fail
;
16867 resultobj
= wxPyMake_wxObject(result
);
16899 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16900 PyObject
*resultobj
;
16901 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16904 wxString
*arg4
= 0 ;
16905 wxBitmap
*arg5
= 0 ;
16906 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
16907 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
16908 int arg7
= (int) wxITEM_NORMAL
;
16909 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16910 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16911 wxString
const &arg9_defvalue
= wxPyEmptyString
;
16912 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
16913 PyObject
*arg10
= (PyObject
*) NULL
;
16914 wxToolBarToolBase
*result
;
16915 bool temp4
= False
;
16916 bool temp8
= False
;
16917 bool temp9
= False
;
16918 PyObject
* obj0
= 0 ;
16919 PyObject
* obj1
= 0 ;
16920 PyObject
* obj2
= 0 ;
16921 PyObject
* obj3
= 0 ;
16922 PyObject
* obj4
= 0 ;
16923 PyObject
* obj5
= 0 ;
16924 PyObject
* obj6
= 0 ;
16925 PyObject
* obj7
= 0 ;
16926 PyObject
* obj8
= 0 ;
16927 PyObject
* obj9
= 0 ;
16928 char *kwnames
[] = {
16929 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
16933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16935 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16936 if (PyErr_Occurred()) SWIG_fail
;
16937 arg3
= (int) SWIG_AsInt(obj2
);
16938 if (PyErr_Occurred()) SWIG_fail
;
16940 arg4
= wxString_in_helper(obj3
);
16941 if (arg4
== NULL
) SWIG_fail
;
16944 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16945 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16947 if (arg5
== NULL
) {
16948 PyErr_SetString(PyExc_TypeError
,"null reference");
16952 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
16953 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16955 if (arg6
== NULL
) {
16956 PyErr_SetString(PyExc_TypeError
,"null reference");
16961 arg7
= (wxItemKind
) SWIG_AsInt(obj6
);
16962 if (PyErr_Occurred()) SWIG_fail
;
16966 arg8
= wxString_in_helper(obj7
);
16967 if (arg8
== NULL
) SWIG_fail
;
16973 arg9
= wxString_in_helper(obj8
);
16974 if (arg9
== NULL
) SWIG_fail
;
16982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16983 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
);
16985 wxPyEndAllowThreads(__tstate
);
16986 if (PyErr_Occurred()) SWIG_fail
;
16989 resultobj
= wxPyMake_wxObject(result
);
17021 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17022 PyObject
*resultobj
;
17023 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17024 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
17025 wxToolBarToolBase
*result
;
17026 PyObject
* obj0
= 0 ;
17027 PyObject
* obj1
= 0 ;
17028 char *kwnames
[] = {
17029 (char *) "self",(char *) "tool", NULL
17032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
17033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17035 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
17036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17039 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
17041 wxPyEndAllowThreads(__tstate
);
17042 if (PyErr_Occurred()) SWIG_fail
;
17045 resultobj
= wxPyMake_wxObject(result
);
17053 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17054 PyObject
*resultobj
;
17055 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17057 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
17058 wxToolBarToolBase
*result
;
17059 PyObject
* obj0
= 0 ;
17060 PyObject
* obj1
= 0 ;
17061 PyObject
* obj2
= 0 ;
17062 char *kwnames
[] = {
17063 (char *) "self",(char *) "pos",(char *) "tool", NULL
17066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17069 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17070 if (PyErr_Occurred()) SWIG_fail
;
17071 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
17072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17075 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
17077 wxPyEndAllowThreads(__tstate
);
17078 if (PyErr_Occurred()) SWIG_fail
;
17081 resultobj
= wxPyMake_wxObject(result
);
17089 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17090 PyObject
*resultobj
;
17091 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17092 wxControl
*arg2
= (wxControl
*) 0 ;
17093 wxToolBarToolBase
*result
;
17094 PyObject
* obj0
= 0 ;
17095 PyObject
* obj1
= 0 ;
17096 char *kwnames
[] = {
17097 (char *) "self",(char *) "control", NULL
17100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17103 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
17104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17107 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
17109 wxPyEndAllowThreads(__tstate
);
17110 if (PyErr_Occurred()) SWIG_fail
;
17113 resultobj
= wxPyMake_wxObject(result
);
17121 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17122 PyObject
*resultobj
;
17123 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17125 wxControl
*arg3
= (wxControl
*) 0 ;
17126 wxToolBarToolBase
*result
;
17127 PyObject
* obj0
= 0 ;
17128 PyObject
* obj1
= 0 ;
17129 PyObject
* obj2
= 0 ;
17130 char *kwnames
[] = {
17131 (char *) "self",(char *) "pos",(char *) "control", NULL
17134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17137 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17138 if (PyErr_Occurred()) SWIG_fail
;
17139 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
17140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17143 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
17145 wxPyEndAllowThreads(__tstate
);
17146 if (PyErr_Occurred()) SWIG_fail
;
17149 resultobj
= wxPyMake_wxObject(result
);
17157 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17158 PyObject
*resultobj
;
17159 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17162 PyObject
* obj0
= 0 ;
17163 PyObject
* obj1
= 0 ;
17164 char *kwnames
[] = {
17165 (char *) "self",(char *) "id", NULL
17168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17171 arg2
= (int) SWIG_AsInt(obj1
);
17172 if (PyErr_Occurred()) SWIG_fail
;
17174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17175 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
17177 wxPyEndAllowThreads(__tstate
);
17178 if (PyErr_Occurred()) SWIG_fail
;
17181 resultobj
= wxPyMake_wxObject(result
);
17189 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17190 PyObject
*resultobj
;
17191 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17192 wxToolBarToolBase
*result
;
17193 PyObject
* obj0
= 0 ;
17194 char *kwnames
[] = {
17195 (char *) "self", NULL
17198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
17199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17203 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
17205 wxPyEndAllowThreads(__tstate
);
17206 if (PyErr_Occurred()) SWIG_fail
;
17209 resultobj
= wxPyMake_wxObject(result
);
17217 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17218 PyObject
*resultobj
;
17219 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17221 wxToolBarToolBase
*result
;
17222 PyObject
* obj0
= 0 ;
17223 PyObject
* obj1
= 0 ;
17224 char *kwnames
[] = {
17225 (char *) "self",(char *) "pos", NULL
17228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
17229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17231 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17232 if (PyErr_Occurred()) SWIG_fail
;
17234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17235 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
17237 wxPyEndAllowThreads(__tstate
);
17238 if (PyErr_Occurred()) SWIG_fail
;
17241 resultobj
= wxPyMake_wxObject(result
);
17249 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17250 PyObject
*resultobj
;
17251 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17253 wxToolBarToolBase
*result
;
17254 PyObject
* obj0
= 0 ;
17255 PyObject
* obj1
= 0 ;
17256 char *kwnames
[] = {
17257 (char *) "self",(char *) "id", NULL
17260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17263 arg2
= (int) SWIG_AsInt(obj1
);
17264 if (PyErr_Occurred()) SWIG_fail
;
17266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17267 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
17269 wxPyEndAllowThreads(__tstate
);
17270 if (PyErr_Occurred()) SWIG_fail
;
17273 resultobj
= wxPyMake_wxObject(result
);
17281 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17282 PyObject
*resultobj
;
17283 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17286 PyObject
* obj0
= 0 ;
17287 PyObject
* obj1
= 0 ;
17288 char *kwnames
[] = {
17289 (char *) "self",(char *) "pos", NULL
17292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17295 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17296 if (PyErr_Occurred()) SWIG_fail
;
17298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17299 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
17301 wxPyEndAllowThreads(__tstate
);
17302 if (PyErr_Occurred()) SWIG_fail
;
17305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17313 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17314 PyObject
*resultobj
;
17315 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17318 PyObject
* obj0
= 0 ;
17319 PyObject
* obj1
= 0 ;
17320 char *kwnames
[] = {
17321 (char *) "self",(char *) "id", NULL
17324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17327 arg2
= (int) SWIG_AsInt(obj1
);
17328 if (PyErr_Occurred()) SWIG_fail
;
17330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17331 result
= (bool)(arg1
)->DeleteTool(arg2
);
17333 wxPyEndAllowThreads(__tstate
);
17334 if (PyErr_Occurred()) SWIG_fail
;
17337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17345 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17346 PyObject
*resultobj
;
17347 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17348 PyObject
* obj0
= 0 ;
17349 char *kwnames
[] = {
17350 (char *) "self", NULL
17353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
17354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17358 (arg1
)->ClearTools();
17360 wxPyEndAllowThreads(__tstate
);
17361 if (PyErr_Occurred()) SWIG_fail
;
17363 Py_INCREF(Py_None
); resultobj
= Py_None
;
17370 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17371 PyObject
*resultobj
;
17372 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17374 PyObject
* obj0
= 0 ;
17375 char *kwnames
[] = {
17376 (char *) "self", NULL
17379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
17380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17384 result
= (bool)(arg1
)->Realize();
17386 wxPyEndAllowThreads(__tstate
);
17387 if (PyErr_Occurred()) SWIG_fail
;
17390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17398 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17399 PyObject
*resultobj
;
17400 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17403 PyObject
* obj0
= 0 ;
17404 PyObject
* obj1
= 0 ;
17405 PyObject
* obj2
= 0 ;
17406 char *kwnames
[] = {
17407 (char *) "self",(char *) "id",(char *) "enable", NULL
17410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17413 arg2
= (int) SWIG_AsInt(obj1
);
17414 if (PyErr_Occurred()) SWIG_fail
;
17415 arg3
= (bool) SWIG_AsBool(obj2
);
17416 if (PyErr_Occurred()) SWIG_fail
;
17418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17419 (arg1
)->EnableTool(arg2
,arg3
);
17421 wxPyEndAllowThreads(__tstate
);
17422 if (PyErr_Occurred()) SWIG_fail
;
17424 Py_INCREF(Py_None
); resultobj
= Py_None
;
17431 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17432 PyObject
*resultobj
;
17433 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17436 PyObject
* obj0
= 0 ;
17437 PyObject
* obj1
= 0 ;
17438 PyObject
* obj2
= 0 ;
17439 char *kwnames
[] = {
17440 (char *) "self",(char *) "id",(char *) "toggle", NULL
17443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17446 arg2
= (int) SWIG_AsInt(obj1
);
17447 if (PyErr_Occurred()) SWIG_fail
;
17448 arg3
= (bool) SWIG_AsBool(obj2
);
17449 if (PyErr_Occurred()) SWIG_fail
;
17451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17452 (arg1
)->ToggleTool(arg2
,arg3
);
17454 wxPyEndAllowThreads(__tstate
);
17455 if (PyErr_Occurred()) SWIG_fail
;
17457 Py_INCREF(Py_None
); resultobj
= Py_None
;
17464 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17465 PyObject
*resultobj
;
17466 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17469 PyObject
* obj0
= 0 ;
17470 PyObject
* obj1
= 0 ;
17471 PyObject
* obj2
= 0 ;
17472 char *kwnames
[] = {
17473 (char *) "self",(char *) "id",(char *) "toggle", NULL
17476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17479 arg2
= (int) SWIG_AsInt(obj1
);
17480 if (PyErr_Occurred()) SWIG_fail
;
17481 arg3
= (bool) SWIG_AsBool(obj2
);
17482 if (PyErr_Occurred()) SWIG_fail
;
17484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17485 (arg1
)->SetToggle(arg2
,arg3
);
17487 wxPyEndAllowThreads(__tstate
);
17488 if (PyErr_Occurred()) SWIG_fail
;
17490 Py_INCREF(Py_None
); resultobj
= Py_None
;
17497 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17498 PyObject
*resultobj
;
17499 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17502 PyObject
* obj0
= 0 ;
17503 PyObject
* obj1
= 0 ;
17504 char *kwnames
[] = {
17505 (char *) "self",(char *) "id", NULL
17508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
17509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17511 arg2
= (int) SWIG_AsInt(obj1
);
17512 if (PyErr_Occurred()) SWIG_fail
;
17514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17515 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
17517 wxPyEndAllowThreads(__tstate
);
17518 if (PyErr_Occurred()) SWIG_fail
;
17520 resultobj
= result
;
17527 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17528 PyObject
*resultobj
;
17529 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17531 PyObject
*arg3
= (PyObject
*) 0 ;
17532 PyObject
* obj0
= 0 ;
17533 PyObject
* obj1
= 0 ;
17534 PyObject
* obj2
= 0 ;
17535 char *kwnames
[] = {
17536 (char *) "self",(char *) "id",(char *) "clientData", NULL
17539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17542 arg2
= (int) SWIG_AsInt(obj1
);
17543 if (PyErr_Occurred()) SWIG_fail
;
17546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17547 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
17549 wxPyEndAllowThreads(__tstate
);
17550 if (PyErr_Occurred()) SWIG_fail
;
17552 Py_INCREF(Py_None
); resultobj
= Py_None
;
17559 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17560 PyObject
*resultobj
;
17561 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17564 PyObject
* obj0
= 0 ;
17565 PyObject
* obj1
= 0 ;
17566 char *kwnames
[] = {
17567 (char *) "self",(char *) "id", NULL
17570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17573 arg2
= (int) SWIG_AsInt(obj1
);
17574 if (PyErr_Occurred()) SWIG_fail
;
17576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17577 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
17579 wxPyEndAllowThreads(__tstate
);
17580 if (PyErr_Occurred()) SWIG_fail
;
17582 resultobj
= SWIG_FromInt((int)result
);
17589 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17590 PyObject
*resultobj
;
17591 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17594 PyObject
* obj0
= 0 ;
17595 PyObject
* obj1
= 0 ;
17596 char *kwnames
[] = {
17597 (char *) "self",(char *) "id", NULL
17600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
17601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17603 arg2
= (int) SWIG_AsInt(obj1
);
17604 if (PyErr_Occurred()) SWIG_fail
;
17606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17607 result
= (bool)(arg1
)->GetToolState(arg2
);
17609 wxPyEndAllowThreads(__tstate
);
17610 if (PyErr_Occurred()) SWIG_fail
;
17613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17621 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17622 PyObject
*resultobj
;
17623 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17626 PyObject
* obj0
= 0 ;
17627 PyObject
* obj1
= 0 ;
17628 char *kwnames
[] = {
17629 (char *) "self",(char *) "id", NULL
17632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
17633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17635 arg2
= (int) SWIG_AsInt(obj1
);
17636 if (PyErr_Occurred()) SWIG_fail
;
17638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17639 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
17641 wxPyEndAllowThreads(__tstate
);
17642 if (PyErr_Occurred()) SWIG_fail
;
17645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17653 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17654 PyObject
*resultobj
;
17655 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17657 wxString
*arg3
= 0 ;
17658 bool temp3
= False
;
17659 PyObject
* obj0
= 0 ;
17660 PyObject
* obj1
= 0 ;
17661 PyObject
* obj2
= 0 ;
17662 char *kwnames
[] = {
17663 (char *) "self",(char *) "id",(char *) "helpString", NULL
17666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17669 arg2
= (int) SWIG_AsInt(obj1
);
17670 if (PyErr_Occurred()) SWIG_fail
;
17672 arg3
= wxString_in_helper(obj2
);
17673 if (arg3
== NULL
) SWIG_fail
;
17677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17678 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
17680 wxPyEndAllowThreads(__tstate
);
17681 if (PyErr_Occurred()) SWIG_fail
;
17683 Py_INCREF(Py_None
); resultobj
= Py_None
;
17698 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17699 PyObject
*resultobj
;
17700 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17703 PyObject
* obj0
= 0 ;
17704 PyObject
* obj1
= 0 ;
17705 char *kwnames
[] = {
17706 (char *) "self",(char *) "id", NULL
17709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17712 arg2
= (int) SWIG_AsInt(obj1
);
17713 if (PyErr_Occurred()) SWIG_fail
;
17715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17716 result
= (arg1
)->GetToolShortHelp(arg2
);
17718 wxPyEndAllowThreads(__tstate
);
17719 if (PyErr_Occurred()) SWIG_fail
;
17723 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17725 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17734 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17735 PyObject
*resultobj
;
17736 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17738 wxString
*arg3
= 0 ;
17739 bool temp3
= False
;
17740 PyObject
* obj0
= 0 ;
17741 PyObject
* obj1
= 0 ;
17742 PyObject
* obj2
= 0 ;
17743 char *kwnames
[] = {
17744 (char *) "self",(char *) "id",(char *) "helpString", NULL
17747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17750 arg2
= (int) SWIG_AsInt(obj1
);
17751 if (PyErr_Occurred()) SWIG_fail
;
17753 arg3
= wxString_in_helper(obj2
);
17754 if (arg3
== NULL
) SWIG_fail
;
17758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17759 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
17761 wxPyEndAllowThreads(__tstate
);
17762 if (PyErr_Occurred()) SWIG_fail
;
17764 Py_INCREF(Py_None
); resultobj
= Py_None
;
17779 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17780 PyObject
*resultobj
;
17781 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17784 PyObject
* obj0
= 0 ;
17785 PyObject
* obj1
= 0 ;
17786 char *kwnames
[] = {
17787 (char *) "self",(char *) "id", NULL
17790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17793 arg2
= (int) SWIG_AsInt(obj1
);
17794 if (PyErr_Occurred()) SWIG_fail
;
17796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17797 result
= (arg1
)->GetToolLongHelp(arg2
);
17799 wxPyEndAllowThreads(__tstate
);
17800 if (PyErr_Occurred()) SWIG_fail
;
17804 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17806 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17815 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17816 PyObject
*resultobj
;
17817 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17820 PyObject
* obj0
= 0 ;
17821 PyObject
* obj1
= 0 ;
17822 PyObject
* obj2
= 0 ;
17823 char *kwnames
[] = {
17824 (char *) "self",(char *) "x",(char *) "y", NULL
17827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17830 arg2
= (int) SWIG_AsInt(obj1
);
17831 if (PyErr_Occurred()) SWIG_fail
;
17832 arg3
= (int) SWIG_AsInt(obj2
);
17833 if (PyErr_Occurred()) SWIG_fail
;
17835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17836 (arg1
)->SetMargins(arg2
,arg3
);
17838 wxPyEndAllowThreads(__tstate
);
17839 if (PyErr_Occurred()) SWIG_fail
;
17841 Py_INCREF(Py_None
); resultobj
= Py_None
;
17848 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17849 PyObject
*resultobj
;
17850 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17853 PyObject
* obj0
= 0 ;
17854 PyObject
* obj1
= 0 ;
17855 char *kwnames
[] = {
17856 (char *) "self",(char *) "size", NULL
17859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
17860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17864 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17868 (arg1
)->SetMargins((wxSize
const &)*arg2
);
17870 wxPyEndAllowThreads(__tstate
);
17871 if (PyErr_Occurred()) SWIG_fail
;
17873 Py_INCREF(Py_None
); resultobj
= Py_None
;
17880 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17881 PyObject
*resultobj
;
17882 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17884 PyObject
* obj0
= 0 ;
17885 PyObject
* obj1
= 0 ;
17886 char *kwnames
[] = {
17887 (char *) "self",(char *) "packing", NULL
17890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
17891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17893 arg2
= (int) SWIG_AsInt(obj1
);
17894 if (PyErr_Occurred()) SWIG_fail
;
17896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17897 (arg1
)->SetToolPacking(arg2
);
17899 wxPyEndAllowThreads(__tstate
);
17900 if (PyErr_Occurred()) SWIG_fail
;
17902 Py_INCREF(Py_None
); resultobj
= Py_None
;
17909 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17910 PyObject
*resultobj
;
17911 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17913 PyObject
* obj0
= 0 ;
17914 PyObject
* obj1
= 0 ;
17915 char *kwnames
[] = {
17916 (char *) "self",(char *) "separation", NULL
17919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
17920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17922 arg2
= (int) SWIG_AsInt(obj1
);
17923 if (PyErr_Occurred()) SWIG_fail
;
17925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17926 (arg1
)->SetToolSeparation(arg2
);
17928 wxPyEndAllowThreads(__tstate
);
17929 if (PyErr_Occurred()) SWIG_fail
;
17931 Py_INCREF(Py_None
); resultobj
= Py_None
;
17938 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17939 PyObject
*resultobj
;
17940 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17942 PyObject
* obj0
= 0 ;
17943 char *kwnames
[] = {
17944 (char *) "self", NULL
17947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
17948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17952 result
= (arg1
)->GetToolMargins();
17954 wxPyEndAllowThreads(__tstate
);
17955 if (PyErr_Occurred()) SWIG_fail
;
17958 wxSize
* resultptr
;
17959 resultptr
= new wxSize((wxSize
&) result
);
17960 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17968 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17969 PyObject
*resultobj
;
17970 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17972 PyObject
* obj0
= 0 ;
17973 char *kwnames
[] = {
17974 (char *) "self", NULL
17977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
17978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17982 result
= (arg1
)->GetMargins();
17984 wxPyEndAllowThreads(__tstate
);
17985 if (PyErr_Occurred()) SWIG_fail
;
17988 wxSize
* resultptr
;
17989 resultptr
= new wxSize((wxSize
&) result
);
17990 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17998 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17999 PyObject
*resultobj
;
18000 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18002 PyObject
* obj0
= 0 ;
18003 char *kwnames
[] = {
18004 (char *) "self", NULL
18007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
18008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18012 result
= (int)(arg1
)->GetToolPacking();
18014 wxPyEndAllowThreads(__tstate
);
18015 if (PyErr_Occurred()) SWIG_fail
;
18017 resultobj
= SWIG_FromInt((int)result
);
18024 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18025 PyObject
*resultobj
;
18026 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18028 PyObject
* obj0
= 0 ;
18029 char *kwnames
[] = {
18030 (char *) "self", NULL
18033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
18034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18038 result
= (int)(arg1
)->GetToolSeparation();
18040 wxPyEndAllowThreads(__tstate
);
18041 if (PyErr_Occurred()) SWIG_fail
;
18043 resultobj
= SWIG_FromInt((int)result
);
18050 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18051 PyObject
*resultobj
;
18052 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18054 PyObject
* obj0
= 0 ;
18055 PyObject
* obj1
= 0 ;
18056 char *kwnames
[] = {
18057 (char *) "self",(char *) "nRows", NULL
18060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
18061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18063 arg2
= (int) SWIG_AsInt(obj1
);
18064 if (PyErr_Occurred()) SWIG_fail
;
18066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18067 (arg1
)->SetRows(arg2
);
18069 wxPyEndAllowThreads(__tstate
);
18070 if (PyErr_Occurred()) SWIG_fail
;
18072 Py_INCREF(Py_None
); resultobj
= Py_None
;
18079 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18080 PyObject
*resultobj
;
18081 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18084 PyObject
* obj0
= 0 ;
18085 PyObject
* obj1
= 0 ;
18086 PyObject
* obj2
= 0 ;
18087 char *kwnames
[] = {
18088 (char *) "self",(char *) "rows",(char *) "cols", NULL
18091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18094 arg2
= (int) SWIG_AsInt(obj1
);
18095 if (PyErr_Occurred()) SWIG_fail
;
18096 arg3
= (int) SWIG_AsInt(obj2
);
18097 if (PyErr_Occurred()) SWIG_fail
;
18099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18100 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
18102 wxPyEndAllowThreads(__tstate
);
18103 if (PyErr_Occurred()) SWIG_fail
;
18105 Py_INCREF(Py_None
); resultobj
= Py_None
;
18112 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18113 PyObject
*resultobj
;
18114 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18116 PyObject
* obj0
= 0 ;
18117 char *kwnames
[] = {
18118 (char *) "self", NULL
18121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
18122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18126 result
= (int)(arg1
)->GetMaxRows();
18128 wxPyEndAllowThreads(__tstate
);
18129 if (PyErr_Occurred()) SWIG_fail
;
18131 resultobj
= SWIG_FromInt((int)result
);
18138 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18139 PyObject
*resultobj
;
18140 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18142 PyObject
* obj0
= 0 ;
18143 char *kwnames
[] = {
18144 (char *) "self", NULL
18147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
18148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18152 result
= (int)(arg1
)->GetMaxCols();
18154 wxPyEndAllowThreads(__tstate
);
18155 if (PyErr_Occurred()) SWIG_fail
;
18157 resultobj
= SWIG_FromInt((int)result
);
18164 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18165 PyObject
*resultobj
;
18166 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18169 PyObject
* obj0
= 0 ;
18170 PyObject
* obj1
= 0 ;
18171 char *kwnames
[] = {
18172 (char *) "self",(char *) "size", NULL
18175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18180 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18184 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
18186 wxPyEndAllowThreads(__tstate
);
18187 if (PyErr_Occurred()) SWIG_fail
;
18189 Py_INCREF(Py_None
); resultobj
= Py_None
;
18196 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18197 PyObject
*resultobj
;
18198 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18200 PyObject
* obj0
= 0 ;
18201 char *kwnames
[] = {
18202 (char *) "self", NULL
18205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
18206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18210 result
= (arg1
)->GetToolBitmapSize();
18212 wxPyEndAllowThreads(__tstate
);
18213 if (PyErr_Occurred()) SWIG_fail
;
18216 wxSize
* resultptr
;
18217 resultptr
= new wxSize((wxSize
&) result
);
18218 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18226 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18227 PyObject
*resultobj
;
18228 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18230 PyObject
* obj0
= 0 ;
18231 char *kwnames
[] = {
18232 (char *) "self", NULL
18235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
18236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18240 result
= (arg1
)->GetToolSize();
18242 wxPyEndAllowThreads(__tstate
);
18243 if (PyErr_Occurred()) SWIG_fail
;
18246 wxSize
* resultptr
;
18247 resultptr
= new wxSize((wxSize
&) result
);
18248 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18256 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18257 PyObject
*resultobj
;
18258 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18261 wxToolBarToolBase
*result
;
18262 PyObject
* obj0
= 0 ;
18263 PyObject
* obj1
= 0 ;
18264 PyObject
* obj2
= 0 ;
18265 char *kwnames
[] = {
18266 (char *) "self",(char *) "x",(char *) "y", NULL
18269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18272 arg2
= (int) SWIG_AsInt(obj1
);
18273 if (PyErr_Occurred()) SWIG_fail
;
18274 arg3
= (int) SWIG_AsInt(obj2
);
18275 if (PyErr_Occurred()) SWIG_fail
;
18277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18278 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18280 wxPyEndAllowThreads(__tstate
);
18281 if (PyErr_Occurred()) SWIG_fail
;
18284 resultobj
= wxPyMake_wxObject(result
);
18292 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18293 PyObject
*resultobj
;
18294 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18296 wxToolBarToolBase
*result
;
18297 PyObject
* obj0
= 0 ;
18298 PyObject
* obj1
= 0 ;
18299 char *kwnames
[] = {
18300 (char *) "self",(char *) "toolid", NULL
18303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
18304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18306 arg2
= (int) SWIG_AsInt(obj1
);
18307 if (PyErr_Occurred()) SWIG_fail
;
18309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18310 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
18312 wxPyEndAllowThreads(__tstate
);
18313 if (PyErr_Occurred()) SWIG_fail
;
18316 resultobj
= wxPyMake_wxObject(result
);
18324 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18325 PyObject
*resultobj
;
18326 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18328 PyObject
* obj0
= 0 ;
18329 char *kwnames
[] = {
18330 (char *) "self", NULL
18333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
18334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18338 result
= (bool)(arg1
)->IsVertical();
18340 wxPyEndAllowThreads(__tstate
);
18341 if (PyErr_Occurred()) SWIG_fail
;
18344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18352 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
18354 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18355 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
18357 return Py_BuildValue((char *)"");
18359 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18360 PyObject
*resultobj
;
18361 wxWindow
*arg1
= (wxWindow
*) 0 ;
18362 int arg2
= (int) -1 ;
18363 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18364 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18365 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18366 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18367 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18368 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
18369 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18373 bool temp6
= False
;
18374 PyObject
* obj0
= 0 ;
18375 PyObject
* obj1
= 0 ;
18376 PyObject
* obj2
= 0 ;
18377 PyObject
* obj3
= 0 ;
18378 PyObject
* obj4
= 0 ;
18379 PyObject
* obj5
= 0 ;
18380 char *kwnames
[] = {
18381 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18388 arg2
= (int) SWIG_AsInt(obj1
);
18389 if (PyErr_Occurred()) SWIG_fail
;
18394 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18400 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18404 arg5
= (long) SWIG_AsLong(obj4
);
18405 if (PyErr_Occurred()) SWIG_fail
;
18409 arg6
= wxString_in_helper(obj5
);
18410 if (arg6
== NULL
) SWIG_fail
;
18415 if (!wxPyCheckForApp()) SWIG_fail
;
18416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18417 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18419 wxPyEndAllowThreads(__tstate
);
18420 if (PyErr_Occurred()) SWIG_fail
;
18423 resultobj
= wxPyMake_wxObject(result
);
18439 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18440 PyObject
*resultobj
;
18442 char *kwnames
[] = {
18446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
18448 if (!wxPyCheckForApp()) SWIG_fail
;
18449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18450 result
= (wxToolBar
*)new wxToolBar();
18452 wxPyEndAllowThreads(__tstate
);
18453 if (PyErr_Occurred()) SWIG_fail
;
18456 resultobj
= wxPyMake_wxObject(result
);
18464 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18465 PyObject
*resultobj
;
18466 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18467 wxWindow
*arg2
= (wxWindow
*) 0 ;
18468 int arg3
= (int) -1 ;
18469 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18470 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18471 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18472 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18473 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18474 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
18475 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18479 bool temp7
= False
;
18480 PyObject
* obj0
= 0 ;
18481 PyObject
* obj1
= 0 ;
18482 PyObject
* obj2
= 0 ;
18483 PyObject
* obj3
= 0 ;
18484 PyObject
* obj4
= 0 ;
18485 PyObject
* obj5
= 0 ;
18486 PyObject
* obj6
= 0 ;
18487 char *kwnames
[] = {
18488 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18494 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18497 arg3
= (int) SWIG_AsInt(obj2
);
18498 if (PyErr_Occurred()) SWIG_fail
;
18503 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18509 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18513 arg6
= (long) SWIG_AsLong(obj5
);
18514 if (PyErr_Occurred()) SWIG_fail
;
18518 arg7
= wxString_in_helper(obj6
);
18519 if (arg7
== NULL
) SWIG_fail
;
18524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18525 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18527 wxPyEndAllowThreads(__tstate
);
18528 if (PyErr_Occurred()) SWIG_fail
;
18531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18547 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18548 PyObject
*resultobj
;
18549 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18552 wxToolBarToolBase
*result
;
18553 PyObject
* obj0
= 0 ;
18554 PyObject
* obj1
= 0 ;
18555 PyObject
* obj2
= 0 ;
18556 char *kwnames
[] = {
18557 (char *) "self",(char *) "x",(char *) "y", NULL
18560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18563 arg2
= (int) SWIG_AsInt(obj1
);
18564 if (PyErr_Occurred()) SWIG_fail
;
18565 arg3
= (int) SWIG_AsInt(obj2
);
18566 if (PyErr_Occurred()) SWIG_fail
;
18568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18569 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18571 wxPyEndAllowThreads(__tstate
);
18572 if (PyErr_Occurred()) SWIG_fail
;
18575 resultobj
= wxPyMake_wxObject(result
);
18583 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18584 PyObject
*resultobj
;
18585 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
18586 wxVisualAttributes result
;
18587 PyObject
* obj0
= 0 ;
18588 char *kwnames
[] = {
18589 (char *) "variant", NULL
18592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18594 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
18595 if (PyErr_Occurred()) SWIG_fail
;
18598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18599 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
18601 wxPyEndAllowThreads(__tstate
);
18602 if (PyErr_Occurred()) SWIG_fail
;
18605 wxVisualAttributes
* resultptr
;
18606 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
18607 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18615 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
18617 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18618 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
18620 return Py_BuildValue((char *)"");
18622 static int _wrap_ListCtrlNameStr_set(PyObject
*_val
) {
18623 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
18628 static PyObject
*_wrap_ListCtrlNameStr_get() {
18633 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
18635 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
18642 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18643 PyObject
*resultobj
;
18644 wxColour
const &arg1_defvalue
= wxNullColour
;
18645 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
18646 wxColour
const &arg2_defvalue
= wxNullColour
;
18647 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
18648 wxFont
const &arg3_defvalue
= wxNullFont
;
18649 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
18650 wxListItemAttr
*result
;
18653 PyObject
* obj0
= 0 ;
18654 PyObject
* obj1
= 0 ;
18655 PyObject
* obj2
= 0 ;
18656 char *kwnames
[] = {
18657 (char *) "colText",(char *) "colBack",(char *) "font", NULL
18660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18664 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
18670 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18674 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
18675 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18677 if (arg3
== NULL
) {
18678 PyErr_SetString(PyExc_TypeError
,"null reference");
18683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18684 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
18686 wxPyEndAllowThreads(__tstate
);
18687 if (PyErr_Occurred()) SWIG_fail
;
18689 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
18696 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18697 PyObject
*resultobj
;
18698 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18699 wxColour
*arg2
= 0 ;
18701 PyObject
* obj0
= 0 ;
18702 PyObject
* obj1
= 0 ;
18703 char *kwnames
[] = {
18704 (char *) "self",(char *) "colText", NULL
18707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18712 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18716 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18718 wxPyEndAllowThreads(__tstate
);
18719 if (PyErr_Occurred()) SWIG_fail
;
18721 Py_INCREF(Py_None
); resultobj
= Py_None
;
18728 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18729 PyObject
*resultobj
;
18730 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18731 wxColour
*arg2
= 0 ;
18733 PyObject
* obj0
= 0 ;
18734 PyObject
* obj1
= 0 ;
18735 char *kwnames
[] = {
18736 (char *) "self",(char *) "colBack", NULL
18739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18744 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18748 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18750 wxPyEndAllowThreads(__tstate
);
18751 if (PyErr_Occurred()) SWIG_fail
;
18753 Py_INCREF(Py_None
); resultobj
= Py_None
;
18760 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18761 PyObject
*resultobj
;
18762 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18764 PyObject
* obj0
= 0 ;
18765 PyObject
* obj1
= 0 ;
18766 char *kwnames
[] = {
18767 (char *) "self",(char *) "font", NULL
18770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18773 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18774 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18776 if (arg2
== NULL
) {
18777 PyErr_SetString(PyExc_TypeError
,"null reference");
18781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18782 (arg1
)->SetFont((wxFont
const &)*arg2
);
18784 wxPyEndAllowThreads(__tstate
);
18785 if (PyErr_Occurred()) SWIG_fail
;
18787 Py_INCREF(Py_None
); resultobj
= Py_None
;
18794 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18795 PyObject
*resultobj
;
18796 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18798 PyObject
* obj0
= 0 ;
18799 char *kwnames
[] = {
18800 (char *) "self", NULL
18803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
18804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18808 result
= (bool)(arg1
)->HasTextColour();
18810 wxPyEndAllowThreads(__tstate
);
18811 if (PyErr_Occurred()) SWIG_fail
;
18814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18822 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18823 PyObject
*resultobj
;
18824 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18826 PyObject
* obj0
= 0 ;
18827 char *kwnames
[] = {
18828 (char *) "self", NULL
18831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
18832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18836 result
= (bool)(arg1
)->HasBackgroundColour();
18838 wxPyEndAllowThreads(__tstate
);
18839 if (PyErr_Occurred()) SWIG_fail
;
18842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18850 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18851 PyObject
*resultobj
;
18852 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18854 PyObject
* obj0
= 0 ;
18855 char *kwnames
[] = {
18856 (char *) "self", NULL
18859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
18860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18864 result
= (bool)(arg1
)->HasFont();
18866 wxPyEndAllowThreads(__tstate
);
18867 if (PyErr_Occurred()) SWIG_fail
;
18870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18878 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18879 PyObject
*resultobj
;
18880 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18882 PyObject
* obj0
= 0 ;
18883 char *kwnames
[] = {
18884 (char *) "self", NULL
18887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
18888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18892 result
= (arg1
)->GetTextColour();
18894 wxPyEndAllowThreads(__tstate
);
18895 if (PyErr_Occurred()) SWIG_fail
;
18898 wxColour
* resultptr
;
18899 resultptr
= new wxColour((wxColour
&) result
);
18900 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18908 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18909 PyObject
*resultobj
;
18910 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18912 PyObject
* obj0
= 0 ;
18913 char *kwnames
[] = {
18914 (char *) "self", NULL
18917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
18918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18922 result
= (arg1
)->GetBackgroundColour();
18924 wxPyEndAllowThreads(__tstate
);
18925 if (PyErr_Occurred()) SWIG_fail
;
18928 wxColour
* resultptr
;
18929 resultptr
= new wxColour((wxColour
&) result
);
18930 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18938 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18939 PyObject
*resultobj
;
18940 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18942 PyObject
* obj0
= 0 ;
18943 char *kwnames
[] = {
18944 (char *) "self", NULL
18947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
18948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18952 result
= (arg1
)->GetFont();
18954 wxPyEndAllowThreads(__tstate
);
18955 if (PyErr_Occurred()) SWIG_fail
;
18958 wxFont
* resultptr
;
18959 resultptr
= new wxFont((wxFont
&) result
);
18960 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
18968 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18969 PyObject
*resultobj
;
18970 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18971 PyObject
* obj0
= 0 ;
18972 char *kwnames
[] = {
18973 (char *) "self", NULL
18976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
18977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18981 wxListItemAttr_Destroy(arg1
);
18983 wxPyEndAllowThreads(__tstate
);
18984 if (PyErr_Occurred()) SWIG_fail
;
18986 Py_INCREF(Py_None
); resultobj
= Py_None
;
18993 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
18995 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18996 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
18998 return Py_BuildValue((char *)"");
19000 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19001 PyObject
*resultobj
;
19002 wxListItem
*result
;
19003 char *kwnames
[] = {
19007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
19009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19010 result
= (wxListItem
*)new wxListItem();
19012 wxPyEndAllowThreads(__tstate
);
19013 if (PyErr_Occurred()) SWIG_fail
;
19016 resultobj
= wxPyMake_wxObject(result
);
19024 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19025 PyObject
*resultobj
;
19026 wxListItem
*arg1
= (wxListItem
*) 0 ;
19027 PyObject
* obj0
= 0 ;
19028 char *kwnames
[] = {
19029 (char *) "self", NULL
19032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
19033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19039 wxPyEndAllowThreads(__tstate
);
19040 if (PyErr_Occurred()) SWIG_fail
;
19042 Py_INCREF(Py_None
); resultobj
= Py_None
;
19049 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19050 PyObject
*resultobj
;
19051 wxListItem
*arg1
= (wxListItem
*) 0 ;
19052 PyObject
* obj0
= 0 ;
19053 char *kwnames
[] = {
19054 (char *) "self", NULL
19057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
19058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19064 wxPyEndAllowThreads(__tstate
);
19065 if (PyErr_Occurred()) SWIG_fail
;
19067 Py_INCREF(Py_None
); resultobj
= Py_None
;
19074 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19075 PyObject
*resultobj
;
19076 wxListItem
*arg1
= (wxListItem
*) 0 ;
19077 PyObject
* obj0
= 0 ;
19078 char *kwnames
[] = {
19079 (char *) "self", NULL
19082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
19083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19087 (arg1
)->ClearAttributes();
19089 wxPyEndAllowThreads(__tstate
);
19090 if (PyErr_Occurred()) SWIG_fail
;
19092 Py_INCREF(Py_None
); resultobj
= Py_None
;
19099 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19100 PyObject
*resultobj
;
19101 wxListItem
*arg1
= (wxListItem
*) 0 ;
19103 PyObject
* obj0
= 0 ;
19104 PyObject
* obj1
= 0 ;
19105 char *kwnames
[] = {
19106 (char *) "self",(char *) "mask", NULL
19109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19112 arg2
= (long) SWIG_AsLong(obj1
);
19113 if (PyErr_Occurred()) SWIG_fail
;
19115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19116 (arg1
)->SetMask(arg2
);
19118 wxPyEndAllowThreads(__tstate
);
19119 if (PyErr_Occurred()) SWIG_fail
;
19121 Py_INCREF(Py_None
); resultobj
= Py_None
;
19128 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19129 PyObject
*resultobj
;
19130 wxListItem
*arg1
= (wxListItem
*) 0 ;
19132 PyObject
* obj0
= 0 ;
19133 PyObject
* obj1
= 0 ;
19134 char *kwnames
[] = {
19135 (char *) "self",(char *) "id", NULL
19138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
19139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19141 arg2
= (long) SWIG_AsLong(obj1
);
19142 if (PyErr_Occurred()) SWIG_fail
;
19144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19145 (arg1
)->SetId(arg2
);
19147 wxPyEndAllowThreads(__tstate
);
19148 if (PyErr_Occurred()) SWIG_fail
;
19150 Py_INCREF(Py_None
); resultobj
= Py_None
;
19157 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19158 PyObject
*resultobj
;
19159 wxListItem
*arg1
= (wxListItem
*) 0 ;
19161 PyObject
* obj0
= 0 ;
19162 PyObject
* obj1
= 0 ;
19163 char *kwnames
[] = {
19164 (char *) "self",(char *) "col", NULL
19167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
19168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19170 arg2
= (int) SWIG_AsInt(obj1
);
19171 if (PyErr_Occurred()) SWIG_fail
;
19173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19174 (arg1
)->SetColumn(arg2
);
19176 wxPyEndAllowThreads(__tstate
);
19177 if (PyErr_Occurred()) SWIG_fail
;
19179 Py_INCREF(Py_None
); resultobj
= Py_None
;
19186 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19187 PyObject
*resultobj
;
19188 wxListItem
*arg1
= (wxListItem
*) 0 ;
19190 PyObject
* obj0
= 0 ;
19191 PyObject
* obj1
= 0 ;
19192 char *kwnames
[] = {
19193 (char *) "self",(char *) "state", NULL
19196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
19197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19199 arg2
= (long) SWIG_AsLong(obj1
);
19200 if (PyErr_Occurred()) SWIG_fail
;
19202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19203 (arg1
)->SetState(arg2
);
19205 wxPyEndAllowThreads(__tstate
);
19206 if (PyErr_Occurred()) SWIG_fail
;
19208 Py_INCREF(Py_None
); resultobj
= Py_None
;
19215 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19216 PyObject
*resultobj
;
19217 wxListItem
*arg1
= (wxListItem
*) 0 ;
19219 PyObject
* obj0
= 0 ;
19220 PyObject
* obj1
= 0 ;
19221 char *kwnames
[] = {
19222 (char *) "self",(char *) "stateMask", NULL
19225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19228 arg2
= (long) SWIG_AsLong(obj1
);
19229 if (PyErr_Occurred()) SWIG_fail
;
19231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19232 (arg1
)->SetStateMask(arg2
);
19234 wxPyEndAllowThreads(__tstate
);
19235 if (PyErr_Occurred()) SWIG_fail
;
19237 Py_INCREF(Py_None
); resultobj
= Py_None
;
19244 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19245 PyObject
*resultobj
;
19246 wxListItem
*arg1
= (wxListItem
*) 0 ;
19247 wxString
*arg2
= 0 ;
19248 bool temp2
= False
;
19249 PyObject
* obj0
= 0 ;
19250 PyObject
* obj1
= 0 ;
19251 char *kwnames
[] = {
19252 (char *) "self",(char *) "text", NULL
19255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
19256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19259 arg2
= wxString_in_helper(obj1
);
19260 if (arg2
== NULL
) SWIG_fail
;
19264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19265 (arg1
)->SetText((wxString
const &)*arg2
);
19267 wxPyEndAllowThreads(__tstate
);
19268 if (PyErr_Occurred()) SWIG_fail
;
19270 Py_INCREF(Py_None
); resultobj
= Py_None
;
19285 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19286 PyObject
*resultobj
;
19287 wxListItem
*arg1
= (wxListItem
*) 0 ;
19289 PyObject
* obj0
= 0 ;
19290 PyObject
* obj1
= 0 ;
19291 char *kwnames
[] = {
19292 (char *) "self",(char *) "image", NULL
19295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
19296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19298 arg2
= (int) SWIG_AsInt(obj1
);
19299 if (PyErr_Occurred()) SWIG_fail
;
19301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19302 (arg1
)->SetImage(arg2
);
19304 wxPyEndAllowThreads(__tstate
);
19305 if (PyErr_Occurred()) SWIG_fail
;
19307 Py_INCREF(Py_None
); resultobj
= Py_None
;
19314 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19315 PyObject
*resultobj
;
19316 wxListItem
*arg1
= (wxListItem
*) 0 ;
19318 PyObject
* obj0
= 0 ;
19319 PyObject
* obj1
= 0 ;
19320 char *kwnames
[] = {
19321 (char *) "self",(char *) "data", NULL
19324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
19325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19327 arg2
= (long) SWIG_AsLong(obj1
);
19328 if (PyErr_Occurred()) SWIG_fail
;
19330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19331 (arg1
)->SetData(arg2
);
19333 wxPyEndAllowThreads(__tstate
);
19334 if (PyErr_Occurred()) SWIG_fail
;
19336 Py_INCREF(Py_None
); resultobj
= Py_None
;
19343 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19344 PyObject
*resultobj
;
19345 wxListItem
*arg1
= (wxListItem
*) 0 ;
19347 PyObject
* obj0
= 0 ;
19348 PyObject
* obj1
= 0 ;
19349 char *kwnames
[] = {
19350 (char *) "self",(char *) "width", NULL
19353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
19354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19356 arg2
= (int) SWIG_AsInt(obj1
);
19357 if (PyErr_Occurred()) SWIG_fail
;
19359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19360 (arg1
)->SetWidth(arg2
);
19362 wxPyEndAllowThreads(__tstate
);
19363 if (PyErr_Occurred()) SWIG_fail
;
19365 Py_INCREF(Py_None
); resultobj
= Py_None
;
19372 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19373 PyObject
*resultobj
;
19374 wxListItem
*arg1
= (wxListItem
*) 0 ;
19376 PyObject
* obj0
= 0 ;
19377 PyObject
* obj1
= 0 ;
19378 char *kwnames
[] = {
19379 (char *) "self",(char *) "align", NULL
19382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
19383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19385 arg2
= (wxListColumnFormat
) SWIG_AsInt(obj1
);
19386 if (PyErr_Occurred()) SWIG_fail
;
19388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19389 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
19391 wxPyEndAllowThreads(__tstate
);
19392 if (PyErr_Occurred()) SWIG_fail
;
19394 Py_INCREF(Py_None
); resultobj
= Py_None
;
19401 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19402 PyObject
*resultobj
;
19403 wxListItem
*arg1
= (wxListItem
*) 0 ;
19404 wxColour
*arg2
= 0 ;
19406 PyObject
* obj0
= 0 ;
19407 PyObject
* obj1
= 0 ;
19408 char *kwnames
[] = {
19409 (char *) "self",(char *) "colText", NULL
19412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19417 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19421 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
19423 wxPyEndAllowThreads(__tstate
);
19424 if (PyErr_Occurred()) SWIG_fail
;
19426 Py_INCREF(Py_None
); resultobj
= Py_None
;
19433 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19434 PyObject
*resultobj
;
19435 wxListItem
*arg1
= (wxListItem
*) 0 ;
19436 wxColour
*arg2
= 0 ;
19438 PyObject
* obj0
= 0 ;
19439 PyObject
* obj1
= 0 ;
19440 char *kwnames
[] = {
19441 (char *) "self",(char *) "colBack", NULL
19444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19449 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19453 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
19455 wxPyEndAllowThreads(__tstate
);
19456 if (PyErr_Occurred()) SWIG_fail
;
19458 Py_INCREF(Py_None
); resultobj
= Py_None
;
19465 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19466 PyObject
*resultobj
;
19467 wxListItem
*arg1
= (wxListItem
*) 0 ;
19469 PyObject
* obj0
= 0 ;
19470 PyObject
* obj1
= 0 ;
19471 char *kwnames
[] = {
19472 (char *) "self",(char *) "font", NULL
19475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
19476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19478 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
19479 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19481 if (arg2
== NULL
) {
19482 PyErr_SetString(PyExc_TypeError
,"null reference");
19486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19487 (arg1
)->SetFont((wxFont
const &)*arg2
);
19489 wxPyEndAllowThreads(__tstate
);
19490 if (PyErr_Occurred()) SWIG_fail
;
19492 Py_INCREF(Py_None
); resultobj
= Py_None
;
19499 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19500 PyObject
*resultobj
;
19501 wxListItem
*arg1
= (wxListItem
*) 0 ;
19503 PyObject
* obj0
= 0 ;
19504 char *kwnames
[] = {
19505 (char *) "self", NULL
19508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
19509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19513 result
= (long)(arg1
)->GetMask();
19515 wxPyEndAllowThreads(__tstate
);
19516 if (PyErr_Occurred()) SWIG_fail
;
19518 resultobj
= SWIG_FromLong((long)result
);
19525 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19526 PyObject
*resultobj
;
19527 wxListItem
*arg1
= (wxListItem
*) 0 ;
19529 PyObject
* obj0
= 0 ;
19530 char *kwnames
[] = {
19531 (char *) "self", NULL
19534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
19535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19539 result
= (long)(arg1
)->GetId();
19541 wxPyEndAllowThreads(__tstate
);
19542 if (PyErr_Occurred()) SWIG_fail
;
19544 resultobj
= SWIG_FromLong((long)result
);
19551 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19552 PyObject
*resultobj
;
19553 wxListItem
*arg1
= (wxListItem
*) 0 ;
19555 PyObject
* obj0
= 0 ;
19556 char *kwnames
[] = {
19557 (char *) "self", NULL
19560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
19561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19565 result
= (int)(arg1
)->GetColumn();
19567 wxPyEndAllowThreads(__tstate
);
19568 if (PyErr_Occurred()) SWIG_fail
;
19570 resultobj
= SWIG_FromInt((int)result
);
19577 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19578 PyObject
*resultobj
;
19579 wxListItem
*arg1
= (wxListItem
*) 0 ;
19581 PyObject
* obj0
= 0 ;
19582 char *kwnames
[] = {
19583 (char *) "self", NULL
19586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
19587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19591 result
= (long)(arg1
)->GetState();
19593 wxPyEndAllowThreads(__tstate
);
19594 if (PyErr_Occurred()) SWIG_fail
;
19596 resultobj
= SWIG_FromLong((long)result
);
19603 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19604 PyObject
*resultobj
;
19605 wxListItem
*arg1
= (wxListItem
*) 0 ;
19607 PyObject
* obj0
= 0 ;
19608 char *kwnames
[] = {
19609 (char *) "self", NULL
19612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
19613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19618 wxString
const &_result_ref
= (arg1
)->GetText();
19619 result
= (wxString
*) &_result_ref
;
19622 wxPyEndAllowThreads(__tstate
);
19623 if (PyErr_Occurred()) SWIG_fail
;
19627 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19629 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19638 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19639 PyObject
*resultobj
;
19640 wxListItem
*arg1
= (wxListItem
*) 0 ;
19642 PyObject
* obj0
= 0 ;
19643 char *kwnames
[] = {
19644 (char *) "self", NULL
19647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
19648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19652 result
= (int)(arg1
)->GetImage();
19654 wxPyEndAllowThreads(__tstate
);
19655 if (PyErr_Occurred()) SWIG_fail
;
19657 resultobj
= SWIG_FromInt((int)result
);
19664 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19665 PyObject
*resultobj
;
19666 wxListItem
*arg1
= (wxListItem
*) 0 ;
19668 PyObject
* obj0
= 0 ;
19669 char *kwnames
[] = {
19670 (char *) "self", NULL
19673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
19674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19678 result
= (long)(arg1
)->GetData();
19680 wxPyEndAllowThreads(__tstate
);
19681 if (PyErr_Occurred()) SWIG_fail
;
19683 resultobj
= SWIG_FromLong((long)result
);
19690 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19691 PyObject
*resultobj
;
19692 wxListItem
*arg1
= (wxListItem
*) 0 ;
19694 PyObject
* obj0
= 0 ;
19695 char *kwnames
[] = {
19696 (char *) "self", NULL
19699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
19700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19704 result
= (int)(arg1
)->GetWidth();
19706 wxPyEndAllowThreads(__tstate
);
19707 if (PyErr_Occurred()) SWIG_fail
;
19709 resultobj
= SWIG_FromInt((int)result
);
19716 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19717 PyObject
*resultobj
;
19718 wxListItem
*arg1
= (wxListItem
*) 0 ;
19720 PyObject
* obj0
= 0 ;
19721 char *kwnames
[] = {
19722 (char *) "self", NULL
19725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
19726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19730 result
= (int)(arg1
)->GetAlign();
19732 wxPyEndAllowThreads(__tstate
);
19733 if (PyErr_Occurred()) SWIG_fail
;
19735 resultobj
= SWIG_FromInt((int)result
);
19742 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19743 PyObject
*resultobj
;
19744 wxListItem
*arg1
= (wxListItem
*) 0 ;
19745 wxListItemAttr
*result
;
19746 PyObject
* obj0
= 0 ;
19747 char *kwnames
[] = {
19748 (char *) "self", NULL
19751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
19752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19756 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
19758 wxPyEndAllowThreads(__tstate
);
19759 if (PyErr_Occurred()) SWIG_fail
;
19761 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
19768 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19769 PyObject
*resultobj
;
19770 wxListItem
*arg1
= (wxListItem
*) 0 ;
19772 PyObject
* obj0
= 0 ;
19773 char *kwnames
[] = {
19774 (char *) "self", NULL
19777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
19778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19782 result
= (bool)(arg1
)->HasAttributes();
19784 wxPyEndAllowThreads(__tstate
);
19785 if (PyErr_Occurred()) SWIG_fail
;
19788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19796 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19797 PyObject
*resultobj
;
19798 wxListItem
*arg1
= (wxListItem
*) 0 ;
19800 PyObject
* obj0
= 0 ;
19801 char *kwnames
[] = {
19802 (char *) "self", NULL
19805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
19806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19810 result
= ((wxListItem
const *)arg1
)->GetTextColour();
19812 wxPyEndAllowThreads(__tstate
);
19813 if (PyErr_Occurred()) SWIG_fail
;
19816 wxColour
* resultptr
;
19817 resultptr
= new wxColour((wxColour
&) result
);
19818 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19826 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19827 PyObject
*resultobj
;
19828 wxListItem
*arg1
= (wxListItem
*) 0 ;
19830 PyObject
* obj0
= 0 ;
19831 char *kwnames
[] = {
19832 (char *) "self", NULL
19835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
19836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19840 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
19842 wxPyEndAllowThreads(__tstate
);
19843 if (PyErr_Occurred()) SWIG_fail
;
19846 wxColour
* resultptr
;
19847 resultptr
= new wxColour((wxColour
&) result
);
19848 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19856 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19857 PyObject
*resultobj
;
19858 wxListItem
*arg1
= (wxListItem
*) 0 ;
19860 PyObject
* obj0
= 0 ;
19861 char *kwnames
[] = {
19862 (char *) "self", NULL
19865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
19866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19870 result
= ((wxListItem
const *)arg1
)->GetFont();
19872 wxPyEndAllowThreads(__tstate
);
19873 if (PyErr_Occurred()) SWIG_fail
;
19876 wxFont
* resultptr
;
19877 resultptr
= new wxFont((wxFont
&) result
);
19878 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
19886 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19887 PyObject
*resultobj
;
19888 wxListItem
*arg1
= (wxListItem
*) 0 ;
19890 PyObject
* obj0
= 0 ;
19891 PyObject
* obj1
= 0 ;
19892 char *kwnames
[] = {
19893 (char *) "self",(char *) "m_mask", NULL
19896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19899 arg2
= (long) SWIG_AsLong(obj1
);
19900 if (PyErr_Occurred()) SWIG_fail
;
19901 if (arg1
) (arg1
)->m_mask
= arg2
;
19903 Py_INCREF(Py_None
); resultobj
= Py_None
;
19910 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19911 PyObject
*resultobj
;
19912 wxListItem
*arg1
= (wxListItem
*) 0 ;
19914 PyObject
* obj0
= 0 ;
19915 char *kwnames
[] = {
19916 (char *) "self", NULL
19919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
19920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19922 result
= (long) ((arg1
)->m_mask
);
19924 resultobj
= SWIG_FromLong((long)result
);
19931 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19932 PyObject
*resultobj
;
19933 wxListItem
*arg1
= (wxListItem
*) 0 ;
19935 PyObject
* obj0
= 0 ;
19936 PyObject
* obj1
= 0 ;
19937 char *kwnames
[] = {
19938 (char *) "self",(char *) "m_itemId", NULL
19941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19944 arg2
= (long) SWIG_AsLong(obj1
);
19945 if (PyErr_Occurred()) SWIG_fail
;
19946 if (arg1
) (arg1
)->m_itemId
= arg2
;
19948 Py_INCREF(Py_None
); resultobj
= Py_None
;
19955 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19956 PyObject
*resultobj
;
19957 wxListItem
*arg1
= (wxListItem
*) 0 ;
19959 PyObject
* obj0
= 0 ;
19960 char *kwnames
[] = {
19961 (char *) "self", NULL
19964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
19965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19967 result
= (long) ((arg1
)->m_itemId
);
19969 resultobj
= SWIG_FromLong((long)result
);
19976 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19977 PyObject
*resultobj
;
19978 wxListItem
*arg1
= (wxListItem
*) 0 ;
19980 PyObject
* obj0
= 0 ;
19981 PyObject
* obj1
= 0 ;
19982 char *kwnames
[] = {
19983 (char *) "self",(char *) "m_col", NULL
19986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19989 arg2
= (int) SWIG_AsInt(obj1
);
19990 if (PyErr_Occurred()) SWIG_fail
;
19991 if (arg1
) (arg1
)->m_col
= arg2
;
19993 Py_INCREF(Py_None
); resultobj
= Py_None
;
20000 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20001 PyObject
*resultobj
;
20002 wxListItem
*arg1
= (wxListItem
*) 0 ;
20004 PyObject
* obj0
= 0 ;
20005 char *kwnames
[] = {
20006 (char *) "self", NULL
20009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
20010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20012 result
= (int) ((arg1
)->m_col
);
20014 resultobj
= SWIG_FromInt((int)result
);
20021 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20022 PyObject
*resultobj
;
20023 wxListItem
*arg1
= (wxListItem
*) 0 ;
20025 PyObject
* obj0
= 0 ;
20026 PyObject
* obj1
= 0 ;
20027 char *kwnames
[] = {
20028 (char *) "self",(char *) "m_state", NULL
20031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20034 arg2
= (long) SWIG_AsLong(obj1
);
20035 if (PyErr_Occurred()) SWIG_fail
;
20036 if (arg1
) (arg1
)->m_state
= arg2
;
20038 Py_INCREF(Py_None
); resultobj
= Py_None
;
20045 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20046 PyObject
*resultobj
;
20047 wxListItem
*arg1
= (wxListItem
*) 0 ;
20049 PyObject
* obj0
= 0 ;
20050 char *kwnames
[] = {
20051 (char *) "self", NULL
20054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
20055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20057 result
= (long) ((arg1
)->m_state
);
20059 resultobj
= SWIG_FromLong((long)result
);
20066 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20067 PyObject
*resultobj
;
20068 wxListItem
*arg1
= (wxListItem
*) 0 ;
20070 PyObject
* obj0
= 0 ;
20071 PyObject
* obj1
= 0 ;
20072 char *kwnames
[] = {
20073 (char *) "self",(char *) "m_stateMask", NULL
20076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20079 arg2
= (long) SWIG_AsLong(obj1
);
20080 if (PyErr_Occurred()) SWIG_fail
;
20081 if (arg1
) (arg1
)->m_stateMask
= arg2
;
20083 Py_INCREF(Py_None
); resultobj
= Py_None
;
20090 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20091 PyObject
*resultobj
;
20092 wxListItem
*arg1
= (wxListItem
*) 0 ;
20094 PyObject
* obj0
= 0 ;
20095 char *kwnames
[] = {
20096 (char *) "self", NULL
20099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
20100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20102 result
= (long) ((arg1
)->m_stateMask
);
20104 resultobj
= SWIG_FromLong((long)result
);
20111 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20112 PyObject
*resultobj
;
20113 wxListItem
*arg1
= (wxListItem
*) 0 ;
20114 wxString
*arg2
= (wxString
*) 0 ;
20115 bool temp2
= False
;
20116 PyObject
* obj0
= 0 ;
20117 PyObject
* obj1
= 0 ;
20118 char *kwnames
[] = {
20119 (char *) "self",(char *) "m_text", NULL
20122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20126 arg2
= wxString_in_helper(obj1
);
20127 if (arg2
== NULL
) SWIG_fail
;
20130 if (arg1
) (arg1
)->m_text
= *arg2
;
20132 Py_INCREF(Py_None
); resultobj
= Py_None
;
20147 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20148 PyObject
*resultobj
;
20149 wxListItem
*arg1
= (wxListItem
*) 0 ;
20151 PyObject
* obj0
= 0 ;
20152 char *kwnames
[] = {
20153 (char *) "self", NULL
20156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
20157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20159 result
= (wxString
*)& ((arg1
)->m_text
);
20163 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20165 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20174 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20175 PyObject
*resultobj
;
20176 wxListItem
*arg1
= (wxListItem
*) 0 ;
20178 PyObject
* obj0
= 0 ;
20179 PyObject
* obj1
= 0 ;
20180 char *kwnames
[] = {
20181 (char *) "self",(char *) "m_image", NULL
20184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20187 arg2
= (int) SWIG_AsInt(obj1
);
20188 if (PyErr_Occurred()) SWIG_fail
;
20189 if (arg1
) (arg1
)->m_image
= arg2
;
20191 Py_INCREF(Py_None
); resultobj
= Py_None
;
20198 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20199 PyObject
*resultobj
;
20200 wxListItem
*arg1
= (wxListItem
*) 0 ;
20202 PyObject
* obj0
= 0 ;
20203 char *kwnames
[] = {
20204 (char *) "self", NULL
20207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
20208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20210 result
= (int) ((arg1
)->m_image
);
20212 resultobj
= SWIG_FromInt((int)result
);
20219 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20220 PyObject
*resultobj
;
20221 wxListItem
*arg1
= (wxListItem
*) 0 ;
20223 PyObject
* obj0
= 0 ;
20224 PyObject
* obj1
= 0 ;
20225 char *kwnames
[] = {
20226 (char *) "self",(char *) "m_data", NULL
20229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20232 arg2
= (long) SWIG_AsLong(obj1
);
20233 if (PyErr_Occurred()) SWIG_fail
;
20234 if (arg1
) (arg1
)->m_data
= arg2
;
20236 Py_INCREF(Py_None
); resultobj
= Py_None
;
20243 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20244 PyObject
*resultobj
;
20245 wxListItem
*arg1
= (wxListItem
*) 0 ;
20247 PyObject
* obj0
= 0 ;
20248 char *kwnames
[] = {
20249 (char *) "self", NULL
20252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
20253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20255 result
= (long) ((arg1
)->m_data
);
20257 resultobj
= SWIG_FromLong((long)result
);
20264 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20265 PyObject
*resultobj
;
20266 wxListItem
*arg1
= (wxListItem
*) 0 ;
20268 PyObject
* obj0
= 0 ;
20269 PyObject
* obj1
= 0 ;
20270 char *kwnames
[] = {
20271 (char *) "self",(char *) "m_format", NULL
20274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20277 arg2
= (int) SWIG_AsInt(obj1
);
20278 if (PyErr_Occurred()) SWIG_fail
;
20279 if (arg1
) (arg1
)->m_format
= arg2
;
20281 Py_INCREF(Py_None
); resultobj
= Py_None
;
20288 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20289 PyObject
*resultobj
;
20290 wxListItem
*arg1
= (wxListItem
*) 0 ;
20292 PyObject
* obj0
= 0 ;
20293 char *kwnames
[] = {
20294 (char *) "self", NULL
20297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
20298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20300 result
= (int) ((arg1
)->m_format
);
20302 resultobj
= SWIG_FromInt((int)result
);
20309 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20310 PyObject
*resultobj
;
20311 wxListItem
*arg1
= (wxListItem
*) 0 ;
20313 PyObject
* obj0
= 0 ;
20314 PyObject
* obj1
= 0 ;
20315 char *kwnames
[] = {
20316 (char *) "self",(char *) "m_width", NULL
20319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20322 arg2
= (int) SWIG_AsInt(obj1
);
20323 if (PyErr_Occurred()) SWIG_fail
;
20324 if (arg1
) (arg1
)->m_width
= arg2
;
20326 Py_INCREF(Py_None
); resultobj
= Py_None
;
20333 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20334 PyObject
*resultobj
;
20335 wxListItem
*arg1
= (wxListItem
*) 0 ;
20337 PyObject
* obj0
= 0 ;
20338 char *kwnames
[] = {
20339 (char *) "self", NULL
20342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
20343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20345 result
= (int) ((arg1
)->m_width
);
20347 resultobj
= SWIG_FromInt((int)result
);
20354 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
20356 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20357 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
20359 return Py_BuildValue((char *)"");
20361 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20362 PyObject
*resultobj
;
20363 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20364 int arg2
= (int) 0 ;
20365 wxListEvent
*result
;
20366 PyObject
* obj0
= 0 ;
20367 PyObject
* obj1
= 0 ;
20368 char *kwnames
[] = {
20369 (char *) "commandType",(char *) "id", NULL
20372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20374 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
20375 if (PyErr_Occurred()) SWIG_fail
;
20378 arg2
= (int) SWIG_AsInt(obj1
);
20379 if (PyErr_Occurred()) SWIG_fail
;
20382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20383 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
20385 wxPyEndAllowThreads(__tstate
);
20386 if (PyErr_Occurred()) SWIG_fail
;
20388 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
20395 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20396 PyObject
*resultobj
;
20397 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20399 PyObject
* obj0
= 0 ;
20400 PyObject
* obj1
= 0 ;
20401 char *kwnames
[] = {
20402 (char *) "self",(char *) "m_code", NULL
20405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20408 arg2
= (int) SWIG_AsInt(obj1
);
20409 if (PyErr_Occurred()) SWIG_fail
;
20410 if (arg1
) (arg1
)->m_code
= arg2
;
20412 Py_INCREF(Py_None
); resultobj
= Py_None
;
20419 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20420 PyObject
*resultobj
;
20421 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20423 PyObject
* obj0
= 0 ;
20424 char *kwnames
[] = {
20425 (char *) "self", NULL
20428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
20429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20431 result
= (int) ((arg1
)->m_code
);
20433 resultobj
= SWIG_FromInt((int)result
);
20440 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20441 PyObject
*resultobj
;
20442 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20444 PyObject
* obj0
= 0 ;
20445 PyObject
* obj1
= 0 ;
20446 char *kwnames
[] = {
20447 (char *) "self",(char *) "m_oldItemIndex", NULL
20450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20453 arg2
= (long) SWIG_AsLong(obj1
);
20454 if (PyErr_Occurred()) SWIG_fail
;
20455 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
20457 Py_INCREF(Py_None
); resultobj
= Py_None
;
20464 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20465 PyObject
*resultobj
;
20466 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20468 PyObject
* obj0
= 0 ;
20469 char *kwnames
[] = {
20470 (char *) "self", NULL
20473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
20474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20476 result
= (long) ((arg1
)->m_oldItemIndex
);
20478 resultobj
= SWIG_FromLong((long)result
);
20485 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20486 PyObject
*resultobj
;
20487 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20489 PyObject
* obj0
= 0 ;
20490 PyObject
* obj1
= 0 ;
20491 char *kwnames
[] = {
20492 (char *) "self",(char *) "m_itemIndex", NULL
20495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20498 arg2
= (long) SWIG_AsLong(obj1
);
20499 if (PyErr_Occurred()) SWIG_fail
;
20500 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
20502 Py_INCREF(Py_None
); resultobj
= Py_None
;
20509 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20510 PyObject
*resultobj
;
20511 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20513 PyObject
* obj0
= 0 ;
20514 char *kwnames
[] = {
20515 (char *) "self", NULL
20518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
20519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20521 result
= (long) ((arg1
)->m_itemIndex
);
20523 resultobj
= SWIG_FromLong((long)result
);
20530 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20531 PyObject
*resultobj
;
20532 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20534 PyObject
* obj0
= 0 ;
20535 PyObject
* obj1
= 0 ;
20536 char *kwnames
[] = {
20537 (char *) "self",(char *) "m_col", NULL
20540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20543 arg2
= (int) SWIG_AsInt(obj1
);
20544 if (PyErr_Occurred()) SWIG_fail
;
20545 if (arg1
) (arg1
)->m_col
= arg2
;
20547 Py_INCREF(Py_None
); resultobj
= Py_None
;
20554 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20555 PyObject
*resultobj
;
20556 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20558 PyObject
* obj0
= 0 ;
20559 char *kwnames
[] = {
20560 (char *) "self", NULL
20563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
20564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20566 result
= (int) ((arg1
)->m_col
);
20568 resultobj
= SWIG_FromInt((int)result
);
20575 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20576 PyObject
*resultobj
;
20577 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20578 wxPoint
*arg2
= (wxPoint
*) 0 ;
20579 PyObject
* obj0
= 0 ;
20580 PyObject
* obj1
= 0 ;
20581 char *kwnames
[] = {
20582 (char *) "self",(char *) "m_pointDrag", NULL
20585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20588 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
20589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20590 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
20592 Py_INCREF(Py_None
); resultobj
= Py_None
;
20599 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20600 PyObject
*resultobj
;
20601 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20603 PyObject
* obj0
= 0 ;
20604 char *kwnames
[] = {
20605 (char *) "self", NULL
20608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
20609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20611 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
20613 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
20620 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20621 PyObject
*resultobj
;
20622 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20623 wxListItem
*result
;
20624 PyObject
* obj0
= 0 ;
20625 char *kwnames
[] = {
20626 (char *) "self", NULL
20629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
20630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20632 result
= (wxListItem
*)& ((arg1
)->m_item
);
20635 resultobj
= wxPyMake_wxObject(result
);
20643 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20644 PyObject
*resultobj
;
20645 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20647 PyObject
* obj0
= 0 ;
20648 char *kwnames
[] = {
20649 (char *) "self", NULL
20652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20657 result
= (int)(arg1
)->GetKeyCode();
20659 wxPyEndAllowThreads(__tstate
);
20660 if (PyErr_Occurred()) SWIG_fail
;
20662 resultobj
= SWIG_FromInt((int)result
);
20669 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20670 PyObject
*resultobj
;
20671 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20673 PyObject
* obj0
= 0 ;
20674 char *kwnames
[] = {
20675 (char *) "self", NULL
20678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
20679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20683 result
= (long)(arg1
)->GetIndex();
20685 wxPyEndAllowThreads(__tstate
);
20686 if (PyErr_Occurred()) SWIG_fail
;
20688 resultobj
= SWIG_FromLong((long)result
);
20695 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20696 PyObject
*resultobj
;
20697 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20699 PyObject
* obj0
= 0 ;
20700 char *kwnames
[] = {
20701 (char *) "self", NULL
20704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
20705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20709 result
= (int)(arg1
)->GetColumn();
20711 wxPyEndAllowThreads(__tstate
);
20712 if (PyErr_Occurred()) SWIG_fail
;
20714 resultobj
= SWIG_FromInt((int)result
);
20721 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20722 PyObject
*resultobj
;
20723 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20725 PyObject
* obj0
= 0 ;
20726 char *kwnames
[] = {
20727 (char *) "self", NULL
20730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
20731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20735 result
= (arg1
)->GetPoint();
20737 wxPyEndAllowThreads(__tstate
);
20738 if (PyErr_Occurred()) SWIG_fail
;
20741 wxPoint
* resultptr
;
20742 resultptr
= new wxPoint((wxPoint
&) result
);
20743 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20751 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20752 PyObject
*resultobj
;
20753 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20755 PyObject
* obj0
= 0 ;
20756 char *kwnames
[] = {
20757 (char *) "self", NULL
20760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
20761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20766 wxString
const &_result_ref
= (arg1
)->GetLabel();
20767 result
= (wxString
*) &_result_ref
;
20770 wxPyEndAllowThreads(__tstate
);
20771 if (PyErr_Occurred()) SWIG_fail
;
20775 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20777 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20786 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20787 PyObject
*resultobj
;
20788 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20790 PyObject
* obj0
= 0 ;
20791 char *kwnames
[] = {
20792 (char *) "self", NULL
20795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
20796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20801 wxString
const &_result_ref
= (arg1
)->GetText();
20802 result
= (wxString
*) &_result_ref
;
20805 wxPyEndAllowThreads(__tstate
);
20806 if (PyErr_Occurred()) SWIG_fail
;
20810 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20812 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20821 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20822 PyObject
*resultobj
;
20823 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20825 PyObject
* obj0
= 0 ;
20826 char *kwnames
[] = {
20827 (char *) "self", NULL
20830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
20831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20835 result
= (int)(arg1
)->GetImage();
20837 wxPyEndAllowThreads(__tstate
);
20838 if (PyErr_Occurred()) SWIG_fail
;
20840 resultobj
= SWIG_FromInt((int)result
);
20847 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20848 PyObject
*resultobj
;
20849 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20851 PyObject
* obj0
= 0 ;
20852 char *kwnames
[] = {
20853 (char *) "self", NULL
20856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
20857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20861 result
= (long)(arg1
)->GetData();
20863 wxPyEndAllowThreads(__tstate
);
20864 if (PyErr_Occurred()) SWIG_fail
;
20866 resultobj
= SWIG_FromLong((long)result
);
20873 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20874 PyObject
*resultobj
;
20875 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20877 PyObject
* obj0
= 0 ;
20878 char *kwnames
[] = {
20879 (char *) "self", NULL
20882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
20883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20887 result
= (long)(arg1
)->GetMask();
20889 wxPyEndAllowThreads(__tstate
);
20890 if (PyErr_Occurred()) SWIG_fail
;
20892 resultobj
= SWIG_FromLong((long)result
);
20899 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20900 PyObject
*resultobj
;
20901 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20902 wxListItem
*result
;
20903 PyObject
* obj0
= 0 ;
20904 char *kwnames
[] = {
20905 (char *) "self", NULL
20908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
20909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20914 wxListItem
const &_result_ref
= (arg1
)->GetItem();
20915 result
= (wxListItem
*) &_result_ref
;
20918 wxPyEndAllowThreads(__tstate
);
20919 if (PyErr_Occurred()) SWIG_fail
;
20921 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
20928 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20929 PyObject
*resultobj
;
20930 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20932 PyObject
* obj0
= 0 ;
20933 char *kwnames
[] = {
20934 (char *) "self", NULL
20937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
20938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20942 result
= (long)(arg1
)->GetCacheFrom();
20944 wxPyEndAllowThreads(__tstate
);
20945 if (PyErr_Occurred()) SWIG_fail
;
20947 resultobj
= SWIG_FromLong((long)result
);
20954 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20955 PyObject
*resultobj
;
20956 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20958 PyObject
* obj0
= 0 ;
20959 char *kwnames
[] = {
20960 (char *) "self", NULL
20963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
20964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20968 result
= (long)(arg1
)->GetCacheTo();
20970 wxPyEndAllowThreads(__tstate
);
20971 if (PyErr_Occurred()) SWIG_fail
;
20973 resultobj
= SWIG_FromLong((long)result
);
20980 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20981 PyObject
*resultobj
;
20982 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20984 PyObject
* obj0
= 0 ;
20985 char *kwnames
[] = {
20986 (char *) "self", NULL
20989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
20990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20994 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
20996 wxPyEndAllowThreads(__tstate
);
20997 if (PyErr_Occurred()) SWIG_fail
;
21000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21008 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21009 PyObject
*resultobj
;
21010 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21012 PyObject
* obj0
= 0 ;
21013 PyObject
* obj1
= 0 ;
21014 char *kwnames
[] = {
21015 (char *) "self",(char *) "editCancelled", NULL
21018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
21019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21021 arg2
= (bool) SWIG_AsBool(obj1
);
21022 if (PyErr_Occurred()) SWIG_fail
;
21024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21025 (arg1
)->SetEditCanceled(arg2
);
21027 wxPyEndAllowThreads(__tstate
);
21028 if (PyErr_Occurred()) SWIG_fail
;
21030 Py_INCREF(Py_None
); resultobj
= Py_None
;
21037 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
21039 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21040 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
21042 return Py_BuildValue((char *)"");
21044 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21045 PyObject
*resultobj
;
21046 wxWindow
*arg1
= (wxWindow
*) 0 ;
21047 int arg2
= (int) -1 ;
21048 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21049 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21050 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21051 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21052 long arg5
= (long) wxLC_ICON
;
21053 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
21054 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
21055 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
21056 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21057 wxPyListCtrl
*result
;
21060 bool temp7
= False
;
21061 PyObject
* obj0
= 0 ;
21062 PyObject
* obj1
= 0 ;
21063 PyObject
* obj2
= 0 ;
21064 PyObject
* obj3
= 0 ;
21065 PyObject
* obj4
= 0 ;
21066 PyObject
* obj5
= 0 ;
21067 PyObject
* obj6
= 0 ;
21068 char *kwnames
[] = {
21069 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21076 arg2
= (int) SWIG_AsInt(obj1
);
21077 if (PyErr_Occurred()) SWIG_fail
;
21082 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21088 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21092 arg5
= (long) SWIG_AsLong(obj4
);
21093 if (PyErr_Occurred()) SWIG_fail
;
21096 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
21097 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21099 if (arg6
== NULL
) {
21100 PyErr_SetString(PyExc_TypeError
,"null reference");
21106 arg7
= wxString_in_helper(obj6
);
21107 if (arg7
== NULL
) SWIG_fail
;
21112 if (!wxPyCheckForApp()) SWIG_fail
;
21113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21114 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
21116 wxPyEndAllowThreads(__tstate
);
21117 if (PyErr_Occurred()) SWIG_fail
;
21119 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21134 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21135 PyObject
*resultobj
;
21136 wxPyListCtrl
*result
;
21137 char *kwnames
[] = {
21141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
21143 if (!wxPyCheckForApp()) SWIG_fail
;
21144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21145 result
= (wxPyListCtrl
*)new wxPyListCtrl();
21147 wxPyEndAllowThreads(__tstate
);
21148 if (PyErr_Occurred()) SWIG_fail
;
21150 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21157 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21158 PyObject
*resultobj
;
21159 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21160 wxWindow
*arg2
= (wxWindow
*) 0 ;
21161 int arg3
= (int) -1 ;
21162 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21163 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21164 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21165 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21166 long arg6
= (long) wxLC_ICON
;
21167 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
21168 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
21169 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
21170 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21174 bool temp8
= False
;
21175 PyObject
* obj0
= 0 ;
21176 PyObject
* obj1
= 0 ;
21177 PyObject
* obj2
= 0 ;
21178 PyObject
* obj3
= 0 ;
21179 PyObject
* obj4
= 0 ;
21180 PyObject
* obj5
= 0 ;
21181 PyObject
* obj6
= 0 ;
21182 PyObject
* obj7
= 0 ;
21183 char *kwnames
[] = {
21184 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
21188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21190 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21193 arg3
= (int) SWIG_AsInt(obj2
);
21194 if (PyErr_Occurred()) SWIG_fail
;
21199 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21205 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21209 arg6
= (long) SWIG_AsLong(obj5
);
21210 if (PyErr_Occurred()) SWIG_fail
;
21213 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
21214 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21216 if (arg7
== NULL
) {
21217 PyErr_SetString(PyExc_TypeError
,"null reference");
21223 arg8
= wxString_in_helper(obj7
);
21224 if (arg8
== NULL
) SWIG_fail
;
21229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21230 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
21232 wxPyEndAllowThreads(__tstate
);
21233 if (PyErr_Occurred()) SWIG_fail
;
21236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21252 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21253 PyObject
*resultobj
;
21254 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21255 PyObject
*arg2
= (PyObject
*) 0 ;
21256 PyObject
*arg3
= (PyObject
*) 0 ;
21257 PyObject
* obj0
= 0 ;
21258 PyObject
* obj1
= 0 ;
21259 PyObject
* obj2
= 0 ;
21260 char *kwnames
[] = {
21261 (char *) "self",(char *) "self",(char *) "_class", NULL
21264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21271 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21273 wxPyEndAllowThreads(__tstate
);
21274 if (PyErr_Occurred()) SWIG_fail
;
21276 Py_INCREF(Py_None
); resultobj
= Py_None
;
21283 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21284 PyObject
*resultobj
;
21285 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21286 wxColour
*arg2
= 0 ;
21289 PyObject
* obj0
= 0 ;
21290 PyObject
* obj1
= 0 ;
21291 char *kwnames
[] = {
21292 (char *) "self",(char *) "col", NULL
21295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21300 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21304 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
21306 wxPyEndAllowThreads(__tstate
);
21307 if (PyErr_Occurred()) SWIG_fail
;
21310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21318 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21319 PyObject
*resultobj
;
21320 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21321 wxColour
*arg2
= 0 ;
21324 PyObject
* obj0
= 0 ;
21325 PyObject
* obj1
= 0 ;
21326 char *kwnames
[] = {
21327 (char *) "self",(char *) "col", NULL
21330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21335 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21339 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21341 wxPyEndAllowThreads(__tstate
);
21342 if (PyErr_Occurred()) SWIG_fail
;
21345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21353 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21354 PyObject
*resultobj
;
21355 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21357 wxListItem
*result
;
21358 PyObject
* obj0
= 0 ;
21359 PyObject
* obj1
= 0 ;
21360 char *kwnames
[] = {
21361 (char *) "self",(char *) "col", NULL
21364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21367 arg2
= (int) SWIG_AsInt(obj1
);
21368 if (PyErr_Occurred()) SWIG_fail
;
21370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21371 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
21373 wxPyEndAllowThreads(__tstate
);
21374 if (PyErr_Occurred()) SWIG_fail
;
21377 resultobj
= wxPyMake_wxObject(result
);
21385 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21386 PyObject
*resultobj
;
21387 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21389 wxListItem
*arg3
= 0 ;
21391 PyObject
* obj0
= 0 ;
21392 PyObject
* obj1
= 0 ;
21393 PyObject
* obj2
= 0 ;
21394 char *kwnames
[] = {
21395 (char *) "self",(char *) "col",(char *) "item", NULL
21398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21401 arg2
= (int) SWIG_AsInt(obj1
);
21402 if (PyErr_Occurred()) SWIG_fail
;
21403 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
21404 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21406 if (arg3
== NULL
) {
21407 PyErr_SetString(PyExc_TypeError
,"null reference");
21411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21412 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
21414 wxPyEndAllowThreads(__tstate
);
21415 if (PyErr_Occurred()) SWIG_fail
;
21418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21426 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21427 PyObject
*resultobj
;
21428 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21431 PyObject
* obj0
= 0 ;
21432 PyObject
* obj1
= 0 ;
21433 char *kwnames
[] = {
21434 (char *) "self",(char *) "col", NULL
21437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
21438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21440 arg2
= (int) SWIG_AsInt(obj1
);
21441 if (PyErr_Occurred()) SWIG_fail
;
21443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21444 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
21446 wxPyEndAllowThreads(__tstate
);
21447 if (PyErr_Occurred()) SWIG_fail
;
21449 resultobj
= SWIG_FromInt((int)result
);
21456 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21457 PyObject
*resultobj
;
21458 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21462 PyObject
* obj0
= 0 ;
21463 PyObject
* obj1
= 0 ;
21464 PyObject
* obj2
= 0 ;
21465 char *kwnames
[] = {
21466 (char *) "self",(char *) "col",(char *) "width", NULL
21469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21472 arg2
= (int) SWIG_AsInt(obj1
);
21473 if (PyErr_Occurred()) SWIG_fail
;
21474 arg3
= (int) SWIG_AsInt(obj2
);
21475 if (PyErr_Occurred()) SWIG_fail
;
21477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21478 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
21480 wxPyEndAllowThreads(__tstate
);
21481 if (PyErr_Occurred()) SWIG_fail
;
21484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21492 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21493 PyObject
*resultobj
;
21494 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21496 PyObject
* obj0
= 0 ;
21497 char *kwnames
[] = {
21498 (char *) "self", NULL
21501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
21502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21506 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
21508 wxPyEndAllowThreads(__tstate
);
21509 if (PyErr_Occurred()) SWIG_fail
;
21511 resultobj
= SWIG_FromInt((int)result
);
21518 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21519 PyObject
*resultobj
;
21520 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21522 PyObject
* obj0
= 0 ;
21523 char *kwnames
[] = {
21524 (char *) "self", NULL
21527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
21528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21532 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
21534 wxPyEndAllowThreads(__tstate
);
21535 if (PyErr_Occurred()) SWIG_fail
;
21538 wxRect
* resultptr
;
21539 resultptr
= new wxRect((wxRect
&) result
);
21540 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
21548 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21549 PyObject
*resultobj
;
21550 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21552 int arg3
= (int) 0 ;
21553 wxListItem
*result
;
21554 PyObject
* obj0
= 0 ;
21555 PyObject
* obj1
= 0 ;
21556 PyObject
* obj2
= 0 ;
21557 char *kwnames
[] = {
21558 (char *) "self",(char *) "itemId",(char *) "col", NULL
21561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21564 arg2
= (long) SWIG_AsLong(obj1
);
21565 if (PyErr_Occurred()) SWIG_fail
;
21567 arg3
= (int) SWIG_AsInt(obj2
);
21568 if (PyErr_Occurred()) SWIG_fail
;
21571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21572 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
21574 wxPyEndAllowThreads(__tstate
);
21575 if (PyErr_Occurred()) SWIG_fail
;
21578 resultobj
= wxPyMake_wxObject(result
);
21586 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21587 PyObject
*resultobj
;
21588 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21589 wxListItem
*arg2
= 0 ;
21591 PyObject
* obj0
= 0 ;
21592 PyObject
* obj1
= 0 ;
21593 char *kwnames
[] = {
21594 (char *) "self",(char *) "info", NULL
21597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21600 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
21601 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21603 if (arg2
== NULL
) {
21604 PyErr_SetString(PyExc_TypeError
,"null reference");
21608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21609 result
= (bool)(arg1
)->SetItem(*arg2
);
21611 wxPyEndAllowThreads(__tstate
);
21612 if (PyErr_Occurred()) SWIG_fail
;
21615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21623 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21624 PyObject
*resultobj
;
21625 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21628 wxString
*arg4
= 0 ;
21629 int arg5
= (int) -1 ;
21631 bool temp4
= False
;
21632 PyObject
* obj0
= 0 ;
21633 PyObject
* obj1
= 0 ;
21634 PyObject
* obj2
= 0 ;
21635 PyObject
* obj3
= 0 ;
21636 PyObject
* obj4
= 0 ;
21637 char *kwnames
[] = {
21638 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
21641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21644 arg2
= (long) SWIG_AsLong(obj1
);
21645 if (PyErr_Occurred()) SWIG_fail
;
21646 arg3
= (int) SWIG_AsInt(obj2
);
21647 if (PyErr_Occurred()) SWIG_fail
;
21649 arg4
= wxString_in_helper(obj3
);
21650 if (arg4
== NULL
) SWIG_fail
;
21654 arg5
= (int) SWIG_AsInt(obj4
);
21655 if (PyErr_Occurred()) SWIG_fail
;
21658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21659 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
21661 wxPyEndAllowThreads(__tstate
);
21662 if (PyErr_Occurred()) SWIG_fail
;
21664 resultobj
= SWIG_FromLong((long)result
);
21679 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21680 PyObject
*resultobj
;
21681 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21685 PyObject
* obj0
= 0 ;
21686 PyObject
* obj1
= 0 ;
21687 PyObject
* obj2
= 0 ;
21688 char *kwnames
[] = {
21689 (char *) "self",(char *) "item",(char *) "stateMask", NULL
21692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21695 arg2
= (long) SWIG_AsLong(obj1
);
21696 if (PyErr_Occurred()) SWIG_fail
;
21697 arg3
= (long) SWIG_AsLong(obj2
);
21698 if (PyErr_Occurred()) SWIG_fail
;
21700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21701 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
21703 wxPyEndAllowThreads(__tstate
);
21704 if (PyErr_Occurred()) SWIG_fail
;
21706 resultobj
= SWIG_FromInt((int)result
);
21713 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21714 PyObject
*resultobj
;
21715 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21720 PyObject
* obj0
= 0 ;
21721 PyObject
* obj1
= 0 ;
21722 PyObject
* obj2
= 0 ;
21723 PyObject
* obj3
= 0 ;
21724 char *kwnames
[] = {
21725 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
21728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21731 arg2
= (long) SWIG_AsLong(obj1
);
21732 if (PyErr_Occurred()) SWIG_fail
;
21733 arg3
= (long) SWIG_AsLong(obj2
);
21734 if (PyErr_Occurred()) SWIG_fail
;
21735 arg4
= (long) SWIG_AsLong(obj3
);
21736 if (PyErr_Occurred()) SWIG_fail
;
21738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21739 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
21741 wxPyEndAllowThreads(__tstate
);
21742 if (PyErr_Occurred()) SWIG_fail
;
21745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21753 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21754 PyObject
*resultobj
;
21755 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21760 PyObject
* obj0
= 0 ;
21761 PyObject
* obj1
= 0 ;
21762 PyObject
* obj2
= 0 ;
21763 PyObject
* obj3
= 0 ;
21764 char *kwnames
[] = {
21765 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
21768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21771 arg2
= (long) SWIG_AsLong(obj1
);
21772 if (PyErr_Occurred()) SWIG_fail
;
21773 arg3
= (int) SWIG_AsInt(obj2
);
21774 if (PyErr_Occurred()) SWIG_fail
;
21775 arg4
= (int) SWIG_AsInt(obj3
);
21776 if (PyErr_Occurred()) SWIG_fail
;
21778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21779 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
21781 wxPyEndAllowThreads(__tstate
);
21782 if (PyErr_Occurred()) SWIG_fail
;
21785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21793 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21794 PyObject
*resultobj
;
21795 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21798 PyObject
* obj0
= 0 ;
21799 PyObject
* obj1
= 0 ;
21800 char *kwnames
[] = {
21801 (char *) "self",(char *) "item", NULL
21804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
21805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21807 arg2
= (long) SWIG_AsLong(obj1
);
21808 if (PyErr_Occurred()) SWIG_fail
;
21810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21811 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
21813 wxPyEndAllowThreads(__tstate
);
21814 if (PyErr_Occurred()) SWIG_fail
;
21818 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21820 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21829 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21830 PyObject
*resultobj
;
21831 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21833 wxString
*arg3
= 0 ;
21834 bool temp3
= False
;
21835 PyObject
* obj0
= 0 ;
21836 PyObject
* obj1
= 0 ;
21837 PyObject
* obj2
= 0 ;
21838 char *kwnames
[] = {
21839 (char *) "self",(char *) "item",(char *) "str", NULL
21842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21845 arg2
= (long) SWIG_AsLong(obj1
);
21846 if (PyErr_Occurred()) SWIG_fail
;
21848 arg3
= wxString_in_helper(obj2
);
21849 if (arg3
== NULL
) SWIG_fail
;
21853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21854 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
21856 wxPyEndAllowThreads(__tstate
);
21857 if (PyErr_Occurred()) SWIG_fail
;
21859 Py_INCREF(Py_None
); resultobj
= Py_None
;
21874 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21875 PyObject
*resultobj
;
21876 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21879 PyObject
* obj0
= 0 ;
21880 PyObject
* obj1
= 0 ;
21881 char *kwnames
[] = {
21882 (char *) "self",(char *) "item", NULL
21885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
21886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21888 arg2
= (long) SWIG_AsLong(obj1
);
21889 if (PyErr_Occurred()) SWIG_fail
;
21891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21892 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
21894 wxPyEndAllowThreads(__tstate
);
21895 if (PyErr_Occurred()) SWIG_fail
;
21897 resultobj
= SWIG_FromLong((long)result
);
21904 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21905 PyObject
*resultobj
;
21906 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21910 PyObject
* obj0
= 0 ;
21911 PyObject
* obj1
= 0 ;
21912 PyObject
* obj2
= 0 ;
21913 char *kwnames
[] = {
21914 (char *) "self",(char *) "item",(char *) "data", NULL
21917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21920 arg2
= (long) SWIG_AsLong(obj1
);
21921 if (PyErr_Occurred()) SWIG_fail
;
21922 arg3
= (long) SWIG_AsLong(obj2
);
21923 if (PyErr_Occurred()) SWIG_fail
;
21925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21926 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
21928 wxPyEndAllowThreads(__tstate
);
21929 if (PyErr_Occurred()) SWIG_fail
;
21932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21940 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21941 PyObject
*resultobj
;
21942 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21945 PyObject
* obj0
= 0 ;
21946 PyObject
* obj1
= 0 ;
21947 char *kwnames
[] = {
21948 (char *) "self",(char *) "item", NULL
21951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
21952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21954 arg2
= (long) SWIG_AsLong(obj1
);
21955 if (PyErr_Occurred()) SWIG_fail
;
21957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21958 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
21960 wxPyEndAllowThreads(__tstate
);
21961 if (PyErr_Occurred()) SWIG_fail
;
21964 wxPoint
* resultptr
;
21965 resultptr
= new wxPoint((wxPoint
&) result
);
21966 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
21974 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21975 PyObject
*resultobj
;
21976 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21978 int arg3
= (int) wxLIST_RECT_BOUNDS
;
21980 PyObject
* obj0
= 0 ;
21981 PyObject
* obj1
= 0 ;
21982 PyObject
* obj2
= 0 ;
21983 char *kwnames
[] = {
21984 (char *) "self",(char *) "item",(char *) "code", NULL
21987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21990 arg2
= (long) SWIG_AsLong(obj1
);
21991 if (PyErr_Occurred()) SWIG_fail
;
21993 arg3
= (int) SWIG_AsInt(obj2
);
21994 if (PyErr_Occurred()) SWIG_fail
;
21997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21998 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
22000 wxPyEndAllowThreads(__tstate
);
22001 if (PyErr_Occurred()) SWIG_fail
;
22004 wxRect
* resultptr
;
22005 resultptr
= new wxRect((wxRect
&) result
);
22006 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22014 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22015 PyObject
*resultobj
;
22016 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22018 wxPoint
*arg3
= 0 ;
22021 PyObject
* obj0
= 0 ;
22022 PyObject
* obj1
= 0 ;
22023 PyObject
* obj2
= 0 ;
22024 char *kwnames
[] = {
22025 (char *) "self",(char *) "item",(char *) "pos", NULL
22028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22031 arg2
= (long) SWIG_AsLong(obj1
);
22032 if (PyErr_Occurred()) SWIG_fail
;
22035 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22039 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
22041 wxPyEndAllowThreads(__tstate
);
22042 if (PyErr_Occurred()) SWIG_fail
;
22045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22053 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22054 PyObject
*resultobj
;
22055 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22057 PyObject
* obj0
= 0 ;
22058 char *kwnames
[] = {
22059 (char *) "self", NULL
22062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
22063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22067 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
22069 wxPyEndAllowThreads(__tstate
);
22070 if (PyErr_Occurred()) SWIG_fail
;
22072 resultobj
= SWIG_FromInt((int)result
);
22079 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22080 PyObject
*resultobj
;
22081 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22083 PyObject
* obj0
= 0 ;
22084 char *kwnames
[] = {
22085 (char *) "self", NULL
22088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
22089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22093 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
22095 wxPyEndAllowThreads(__tstate
);
22096 if (PyErr_Occurred()) SWIG_fail
;
22098 resultobj
= SWIG_FromInt((int)result
);
22105 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22106 PyObject
*resultobj
;
22107 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22109 PyObject
* obj0
= 0 ;
22110 char *kwnames
[] = {
22111 (char *) "self", NULL
22114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
22115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22119 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
22121 wxPyEndAllowThreads(__tstate
);
22122 if (PyErr_Occurred()) SWIG_fail
;
22125 wxSize
* resultptr
;
22126 resultptr
= new wxSize((wxSize
&) result
);
22127 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22135 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22136 PyObject
*resultobj
;
22137 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22139 bool arg3
= (bool) False
;
22140 PyObject
* obj0
= 0 ;
22141 PyObject
* obj1
= 0 ;
22142 PyObject
* obj2
= 0 ;
22143 char *kwnames
[] = {
22144 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
22147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22150 arg2
= (int) SWIG_AsInt(obj1
);
22151 if (PyErr_Occurred()) SWIG_fail
;
22153 arg3
= (bool) SWIG_AsBool(obj2
);
22154 if (PyErr_Occurred()) SWIG_fail
;
22157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22158 (arg1
)->SetItemSpacing(arg2
,arg3
);
22160 wxPyEndAllowThreads(__tstate
);
22161 if (PyErr_Occurred()) SWIG_fail
;
22163 Py_INCREF(Py_None
); resultobj
= Py_None
;
22170 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22171 PyObject
*resultobj
;
22172 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22174 PyObject
* obj0
= 0 ;
22175 char *kwnames
[] = {
22176 (char *) "self", NULL
22179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
22180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22184 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
22186 wxPyEndAllowThreads(__tstate
);
22187 if (PyErr_Occurred()) SWIG_fail
;
22189 resultobj
= SWIG_FromInt((int)result
);
22196 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22197 PyObject
*resultobj
;
22198 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22200 PyObject
* obj0
= 0 ;
22201 char *kwnames
[] = {
22202 (char *) "self", NULL
22205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
22206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22210 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
22212 wxPyEndAllowThreads(__tstate
);
22213 if (PyErr_Occurred()) SWIG_fail
;
22216 wxColour
* resultptr
;
22217 resultptr
= new wxColour((wxColour
&) result
);
22218 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22226 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22227 PyObject
*resultobj
;
22228 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22229 wxColour
*arg2
= 0 ;
22231 PyObject
* obj0
= 0 ;
22232 PyObject
* obj1
= 0 ;
22233 char *kwnames
[] = {
22234 (char *) "self",(char *) "col", NULL
22237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22242 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22246 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22248 wxPyEndAllowThreads(__tstate
);
22249 if (PyErr_Occurred()) SWIG_fail
;
22251 Py_INCREF(Py_None
); resultobj
= Py_None
;
22258 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22259 PyObject
*resultobj
;
22260 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22262 PyObject
* obj0
= 0 ;
22263 char *kwnames
[] = {
22264 (char *) "self", NULL
22267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
22268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22272 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
22274 wxPyEndAllowThreads(__tstate
);
22275 if (PyErr_Occurred()) SWIG_fail
;
22277 resultobj
= SWIG_FromLong((long)result
);
22284 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22285 PyObject
*resultobj
;
22286 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22288 bool arg3
= (bool) True
;
22289 PyObject
* obj0
= 0 ;
22290 PyObject
* obj1
= 0 ;
22291 PyObject
* obj2
= 0 ;
22292 char *kwnames
[] = {
22293 (char *) "self",(char *) "style",(char *) "add", NULL
22296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22299 arg2
= (long) SWIG_AsLong(obj1
);
22300 if (PyErr_Occurred()) SWIG_fail
;
22302 arg3
= (bool) SWIG_AsBool(obj2
);
22303 if (PyErr_Occurred()) SWIG_fail
;
22306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22307 (arg1
)->SetSingleStyle(arg2
,arg3
);
22309 wxPyEndAllowThreads(__tstate
);
22310 if (PyErr_Occurred()) SWIG_fail
;
22312 Py_INCREF(Py_None
); resultobj
= Py_None
;
22319 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22320 PyObject
*resultobj
;
22321 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22323 PyObject
* obj0
= 0 ;
22324 PyObject
* obj1
= 0 ;
22325 char *kwnames
[] = {
22326 (char *) "self",(char *) "style", NULL
22329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22336 (arg1
)->SetWindowStyleFlag(arg2
);
22338 wxPyEndAllowThreads(__tstate
);
22339 if (PyErr_Occurred()) SWIG_fail
;
22341 Py_INCREF(Py_None
); resultobj
= Py_None
;
22348 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22349 PyObject
*resultobj
;
22350 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22352 int arg3
= (int) wxLIST_NEXT_ALL
;
22353 int arg4
= (int) wxLIST_STATE_DONTCARE
;
22355 PyObject
* obj0
= 0 ;
22356 PyObject
* obj1
= 0 ;
22357 PyObject
* obj2
= 0 ;
22358 PyObject
* obj3
= 0 ;
22359 char *kwnames
[] = {
22360 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
22363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22366 arg2
= (long) SWIG_AsLong(obj1
);
22367 if (PyErr_Occurred()) SWIG_fail
;
22369 arg3
= (int) SWIG_AsInt(obj2
);
22370 if (PyErr_Occurred()) SWIG_fail
;
22373 arg4
= (int) SWIG_AsInt(obj3
);
22374 if (PyErr_Occurred()) SWIG_fail
;
22377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22378 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
22380 wxPyEndAllowThreads(__tstate
);
22381 if (PyErr_Occurred()) SWIG_fail
;
22383 resultobj
= SWIG_FromLong((long)result
);
22390 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22391 PyObject
*resultobj
;
22392 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22394 wxImageList
*result
;
22395 PyObject
* obj0
= 0 ;
22396 PyObject
* obj1
= 0 ;
22397 char *kwnames
[] = {
22398 (char *) "self",(char *) "which", NULL
22401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
22402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22404 arg2
= (int) SWIG_AsInt(obj1
);
22405 if (PyErr_Occurred()) SWIG_fail
;
22407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22408 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
22410 wxPyEndAllowThreads(__tstate
);
22411 if (PyErr_Occurred()) SWIG_fail
;
22414 resultobj
= wxPyMake_wxObject(result
);
22422 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22423 PyObject
*resultobj
;
22424 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22425 wxImageList
*arg2
= (wxImageList
*) 0 ;
22427 PyObject
* obj0
= 0 ;
22428 PyObject
* obj1
= 0 ;
22429 PyObject
* obj2
= 0 ;
22430 char *kwnames
[] = {
22431 (char *) "self",(char *) "imageList",(char *) "which", NULL
22434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22437 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22439 arg3
= (int) SWIG_AsInt(obj2
);
22440 if (PyErr_Occurred()) SWIG_fail
;
22442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22443 (arg1
)->SetImageList(arg2
,arg3
);
22445 wxPyEndAllowThreads(__tstate
);
22446 if (PyErr_Occurred()) SWIG_fail
;
22448 Py_INCREF(Py_None
); resultobj
= Py_None
;
22455 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22456 PyObject
*resultobj
;
22457 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22458 wxImageList
*arg2
= (wxImageList
*) 0 ;
22460 PyObject
* obj0
= 0 ;
22461 PyObject
* obj1
= 0 ;
22462 PyObject
* obj2
= 0 ;
22463 char *kwnames
[] = {
22464 (char *) "self",(char *) "imageList",(char *) "which", NULL
22467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22470 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22471 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22472 arg3
= (int) SWIG_AsInt(obj2
);
22473 if (PyErr_Occurred()) SWIG_fail
;
22475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22476 (arg1
)->AssignImageList(arg2
,arg3
);
22478 wxPyEndAllowThreads(__tstate
);
22479 if (PyErr_Occurred()) SWIG_fail
;
22481 Py_INCREF(Py_None
); resultobj
= Py_None
;
22488 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22489 PyObject
*resultobj
;
22490 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22492 PyObject
* obj0
= 0 ;
22493 char *kwnames
[] = {
22494 (char *) "self", NULL
22497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
22498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22502 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
22504 wxPyEndAllowThreads(__tstate
);
22505 if (PyErr_Occurred()) SWIG_fail
;
22508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22516 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22517 PyObject
*resultobj
;
22518 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22520 PyObject
* obj0
= 0 ;
22521 char *kwnames
[] = {
22522 (char *) "self", NULL
22525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
22526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22530 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
22532 wxPyEndAllowThreads(__tstate
);
22533 if (PyErr_Occurred()) SWIG_fail
;
22536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22544 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22545 PyObject
*resultobj
;
22546 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22548 PyObject
* obj0
= 0 ;
22549 PyObject
* obj1
= 0 ;
22550 char *kwnames
[] = {
22551 (char *) "self",(char *) "item", NULL
22554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22557 arg2
= (long) SWIG_AsLong(obj1
);
22558 if (PyErr_Occurred()) SWIG_fail
;
22560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22561 (arg1
)->RefreshItem(arg2
);
22563 wxPyEndAllowThreads(__tstate
);
22564 if (PyErr_Occurred()) SWIG_fail
;
22566 Py_INCREF(Py_None
); resultobj
= Py_None
;
22573 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22574 PyObject
*resultobj
;
22575 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22578 PyObject
* obj0
= 0 ;
22579 PyObject
* obj1
= 0 ;
22580 PyObject
* obj2
= 0 ;
22581 char *kwnames
[] = {
22582 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
22585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22588 arg2
= (long) SWIG_AsLong(obj1
);
22589 if (PyErr_Occurred()) SWIG_fail
;
22590 arg3
= (long) SWIG_AsLong(obj2
);
22591 if (PyErr_Occurred()) SWIG_fail
;
22593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22594 (arg1
)->RefreshItems(arg2
,arg3
);
22596 wxPyEndAllowThreads(__tstate
);
22597 if (PyErr_Occurred()) SWIG_fail
;
22599 Py_INCREF(Py_None
); resultobj
= Py_None
;
22606 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22607 PyObject
*resultobj
;
22608 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22609 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
22611 PyObject
* obj0
= 0 ;
22612 PyObject
* obj1
= 0 ;
22613 char *kwnames
[] = {
22614 (char *) "self",(char *) "flag", NULL
22617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
22618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22621 arg2
= (int) SWIG_AsInt(obj1
);
22622 if (PyErr_Occurred()) SWIG_fail
;
22625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22626 result
= (bool)(arg1
)->Arrange(arg2
);
22628 wxPyEndAllowThreads(__tstate
);
22629 if (PyErr_Occurred()) SWIG_fail
;
22632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22640 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22641 PyObject
*resultobj
;
22642 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22645 PyObject
* obj0
= 0 ;
22646 PyObject
* obj1
= 0 ;
22647 char *kwnames
[] = {
22648 (char *) "self",(char *) "item", NULL
22651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22654 arg2
= (long) SWIG_AsLong(obj1
);
22655 if (PyErr_Occurred()) SWIG_fail
;
22657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22658 result
= (bool)(arg1
)->DeleteItem(arg2
);
22660 wxPyEndAllowThreads(__tstate
);
22661 if (PyErr_Occurred()) SWIG_fail
;
22664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22672 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22673 PyObject
*resultobj
;
22674 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22676 PyObject
* obj0
= 0 ;
22677 char *kwnames
[] = {
22678 (char *) "self", NULL
22681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
22682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22686 result
= (bool)(arg1
)->DeleteAllItems();
22688 wxPyEndAllowThreads(__tstate
);
22689 if (PyErr_Occurred()) SWIG_fail
;
22692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22700 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22701 PyObject
*resultobj
;
22702 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22705 PyObject
* obj0
= 0 ;
22706 PyObject
* obj1
= 0 ;
22707 char *kwnames
[] = {
22708 (char *) "self",(char *) "col", NULL
22711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
22712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22714 arg2
= (int) SWIG_AsInt(obj1
);
22715 if (PyErr_Occurred()) SWIG_fail
;
22717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22718 result
= (bool)(arg1
)->DeleteColumn(arg2
);
22720 wxPyEndAllowThreads(__tstate
);
22721 if (PyErr_Occurred()) SWIG_fail
;
22724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22732 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22733 PyObject
*resultobj
;
22734 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22736 PyObject
* obj0
= 0 ;
22737 char *kwnames
[] = {
22738 (char *) "self", NULL
22741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
22742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22746 result
= (bool)(arg1
)->DeleteAllColumns();
22748 wxPyEndAllowThreads(__tstate
);
22749 if (PyErr_Occurred()) SWIG_fail
;
22752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22760 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22761 PyObject
*resultobj
;
22762 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22763 PyObject
* obj0
= 0 ;
22764 char *kwnames
[] = {
22765 (char *) "self", NULL
22768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
22769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22773 (arg1
)->ClearAll();
22775 wxPyEndAllowThreads(__tstate
);
22776 if (PyErr_Occurred()) SWIG_fail
;
22778 Py_INCREF(Py_None
); resultobj
= Py_None
;
22785 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22786 PyObject
*resultobj
;
22787 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22789 PyObject
* obj0
= 0 ;
22790 PyObject
* obj1
= 0 ;
22791 char *kwnames
[] = {
22792 (char *) "self",(char *) "item", NULL
22795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22798 arg2
= (long) SWIG_AsLong(obj1
);
22799 if (PyErr_Occurred()) SWIG_fail
;
22801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22802 (arg1
)->EditLabel(arg2
);
22804 wxPyEndAllowThreads(__tstate
);
22805 if (PyErr_Occurred()) SWIG_fail
;
22807 Py_INCREF(Py_None
); resultobj
= Py_None
;
22814 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22815 PyObject
*resultobj
;
22816 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22819 PyObject
* obj0
= 0 ;
22820 PyObject
* obj1
= 0 ;
22821 char *kwnames
[] = {
22822 (char *) "self",(char *) "item", NULL
22825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22828 arg2
= (long) SWIG_AsLong(obj1
);
22829 if (PyErr_Occurred()) SWIG_fail
;
22831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22832 result
= (bool)(arg1
)->EnsureVisible(arg2
);
22834 wxPyEndAllowThreads(__tstate
);
22835 if (PyErr_Occurred()) SWIG_fail
;
22838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22846 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22847 PyObject
*resultobj
;
22848 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22850 wxString
*arg3
= 0 ;
22851 bool arg4
= (bool) False
;
22853 bool temp3
= False
;
22854 PyObject
* obj0
= 0 ;
22855 PyObject
* obj1
= 0 ;
22856 PyObject
* obj2
= 0 ;
22857 PyObject
* obj3
= 0 ;
22858 char *kwnames
[] = {
22859 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
22862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22865 arg2
= (long) SWIG_AsLong(obj1
);
22866 if (PyErr_Occurred()) SWIG_fail
;
22868 arg3
= wxString_in_helper(obj2
);
22869 if (arg3
== NULL
) SWIG_fail
;
22873 arg4
= (bool) SWIG_AsBool(obj3
);
22874 if (PyErr_Occurred()) SWIG_fail
;
22877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22878 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
22880 wxPyEndAllowThreads(__tstate
);
22881 if (PyErr_Occurred()) SWIG_fail
;
22883 resultobj
= SWIG_FromLong((long)result
);
22898 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22899 PyObject
*resultobj
;
22900 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22904 PyObject
* obj0
= 0 ;
22905 PyObject
* obj1
= 0 ;
22906 PyObject
* obj2
= 0 ;
22907 char *kwnames
[] = {
22908 (char *) "self",(char *) "start",(char *) "data", NULL
22911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22914 arg2
= (long) SWIG_AsLong(obj1
);
22915 if (PyErr_Occurred()) SWIG_fail
;
22916 arg3
= (long) SWIG_AsLong(obj2
);
22917 if (PyErr_Occurred()) SWIG_fail
;
22919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22920 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
22922 wxPyEndAllowThreads(__tstate
);
22923 if (PyErr_Occurred()) SWIG_fail
;
22925 resultobj
= SWIG_FromLong((long)result
);
22932 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22933 PyObject
*resultobj
;
22934 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22936 wxPoint
*arg3
= 0 ;
22940 PyObject
* obj0
= 0 ;
22941 PyObject
* obj1
= 0 ;
22942 PyObject
* obj2
= 0 ;
22943 PyObject
* obj3
= 0 ;
22944 char *kwnames
[] = {
22945 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
22948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22951 arg2
= (long) SWIG_AsLong(obj1
);
22952 if (PyErr_Occurred()) SWIG_fail
;
22955 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22957 arg4
= (int) SWIG_AsInt(obj3
);
22958 if (PyErr_Occurred()) SWIG_fail
;
22960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22961 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
22963 wxPyEndAllowThreads(__tstate
);
22964 if (PyErr_Occurred()) SWIG_fail
;
22966 resultobj
= SWIG_FromLong((long)result
);
22973 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22974 PyObject
*resultobj
;
22975 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22976 wxPoint
*arg2
= 0 ;
22981 PyObject
* obj0
= 0 ;
22982 PyObject
* obj1
= 0 ;
22983 char *kwnames
[] = {
22984 (char *) "self",(char *) "point", NULL
22988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
22989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22993 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22997 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
22999 wxPyEndAllowThreads(__tstate
);
23000 if (PyErr_Occurred()) SWIG_fail
;
23002 resultobj
= SWIG_FromLong((long)result
);
23004 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23005 resultobj
= t_output_helper(resultobj
,o
);
23013 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23014 PyObject
*resultobj
;
23015 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23016 wxListItem
*arg2
= 0 ;
23018 PyObject
* obj0
= 0 ;
23019 PyObject
* obj1
= 0 ;
23020 char *kwnames
[] = {
23021 (char *) "self",(char *) "info", NULL
23024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23027 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
23028 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23030 if (arg2
== NULL
) {
23031 PyErr_SetString(PyExc_TypeError
,"null reference");
23035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23036 result
= (long)(arg1
)->InsertItem(*arg2
);
23038 wxPyEndAllowThreads(__tstate
);
23039 if (PyErr_Occurred()) SWIG_fail
;
23041 resultobj
= SWIG_FromLong((long)result
);
23048 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23049 PyObject
*resultobj
;
23050 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23052 wxString
*arg3
= 0 ;
23054 bool temp3
= False
;
23055 PyObject
* obj0
= 0 ;
23056 PyObject
* obj1
= 0 ;
23057 PyObject
* obj2
= 0 ;
23058 char *kwnames
[] = {
23059 (char *) "self",(char *) "index",(char *) "label", NULL
23062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23065 arg2
= (long) SWIG_AsLong(obj1
);
23066 if (PyErr_Occurred()) SWIG_fail
;
23068 arg3
= wxString_in_helper(obj2
);
23069 if (arg3
== NULL
) SWIG_fail
;
23073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23074 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
23076 wxPyEndAllowThreads(__tstate
);
23077 if (PyErr_Occurred()) SWIG_fail
;
23079 resultobj
= SWIG_FromLong((long)result
);
23094 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23095 PyObject
*resultobj
;
23096 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23100 PyObject
* obj0
= 0 ;
23101 PyObject
* obj1
= 0 ;
23102 PyObject
* obj2
= 0 ;
23103 char *kwnames
[] = {
23104 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
23107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23110 arg2
= (long) SWIG_AsLong(obj1
);
23111 if (PyErr_Occurred()) SWIG_fail
;
23112 arg3
= (int) SWIG_AsInt(obj2
);
23113 if (PyErr_Occurred()) SWIG_fail
;
23115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23116 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
23118 wxPyEndAllowThreads(__tstate
);
23119 if (PyErr_Occurred()) SWIG_fail
;
23121 resultobj
= SWIG_FromLong((long)result
);
23128 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23129 PyObject
*resultobj
;
23130 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23132 wxString
*arg3
= 0 ;
23135 bool temp3
= False
;
23136 PyObject
* obj0
= 0 ;
23137 PyObject
* obj1
= 0 ;
23138 PyObject
* obj2
= 0 ;
23139 PyObject
* obj3
= 0 ;
23140 char *kwnames
[] = {
23141 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
23144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23147 arg2
= (long) SWIG_AsLong(obj1
);
23148 if (PyErr_Occurred()) SWIG_fail
;
23150 arg3
= wxString_in_helper(obj2
);
23151 if (arg3
== NULL
) SWIG_fail
;
23154 arg4
= (int) SWIG_AsInt(obj3
);
23155 if (PyErr_Occurred()) SWIG_fail
;
23157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23158 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
23160 wxPyEndAllowThreads(__tstate
);
23161 if (PyErr_Occurred()) SWIG_fail
;
23163 resultobj
= SWIG_FromLong((long)result
);
23178 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23179 PyObject
*resultobj
;
23180 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23182 wxListItem
*arg3
= 0 ;
23184 PyObject
* obj0
= 0 ;
23185 PyObject
* obj1
= 0 ;
23186 PyObject
* obj2
= 0 ;
23187 char *kwnames
[] = {
23188 (char *) "self",(char *) "col",(char *) "info", NULL
23191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23194 arg2
= (long) SWIG_AsLong(obj1
);
23195 if (PyErr_Occurred()) SWIG_fail
;
23196 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
23197 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23199 if (arg3
== NULL
) {
23200 PyErr_SetString(PyExc_TypeError
,"null reference");
23204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23205 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
23207 wxPyEndAllowThreads(__tstate
);
23208 if (PyErr_Occurred()) SWIG_fail
;
23210 resultobj
= SWIG_FromLong((long)result
);
23217 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23218 PyObject
*resultobj
;
23219 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23221 wxString
*arg3
= 0 ;
23222 int arg4
= (int) wxLIST_FORMAT_LEFT
;
23223 int arg5
= (int) -1 ;
23225 bool temp3
= False
;
23226 PyObject
* obj0
= 0 ;
23227 PyObject
* obj1
= 0 ;
23228 PyObject
* obj2
= 0 ;
23229 PyObject
* obj3
= 0 ;
23230 PyObject
* obj4
= 0 ;
23231 char *kwnames
[] = {
23232 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
23235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23238 arg2
= (long) SWIG_AsLong(obj1
);
23239 if (PyErr_Occurred()) SWIG_fail
;
23241 arg3
= wxString_in_helper(obj2
);
23242 if (arg3
== NULL
) SWIG_fail
;
23246 arg4
= (int) SWIG_AsInt(obj3
);
23247 if (PyErr_Occurred()) SWIG_fail
;
23250 arg5
= (int) SWIG_AsInt(obj4
);
23251 if (PyErr_Occurred()) SWIG_fail
;
23254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23255 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
23257 wxPyEndAllowThreads(__tstate
);
23258 if (PyErr_Occurred()) SWIG_fail
;
23260 resultobj
= SWIG_FromLong((long)result
);
23275 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23276 PyObject
*resultobj
;
23277 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23279 PyObject
* obj0
= 0 ;
23280 PyObject
* obj1
= 0 ;
23281 char *kwnames
[] = {
23282 (char *) "self",(char *) "count", NULL
23285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
23286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23288 arg2
= (long) SWIG_AsLong(obj1
);
23289 if (PyErr_Occurred()) SWIG_fail
;
23291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23292 (arg1
)->SetItemCount(arg2
);
23294 wxPyEndAllowThreads(__tstate
);
23295 if (PyErr_Occurred()) SWIG_fail
;
23297 Py_INCREF(Py_None
); resultobj
= Py_None
;
23304 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23305 PyObject
*resultobj
;
23306 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23310 PyObject
* obj0
= 0 ;
23311 PyObject
* obj1
= 0 ;
23312 PyObject
* obj2
= 0 ;
23313 char *kwnames
[] = {
23314 (char *) "self",(char *) "dx",(char *) "dy", NULL
23317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23320 arg2
= (int) SWIG_AsInt(obj1
);
23321 if (PyErr_Occurred()) SWIG_fail
;
23322 arg3
= (int) SWIG_AsInt(obj2
);
23323 if (PyErr_Occurred()) SWIG_fail
;
23325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23326 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
23328 wxPyEndAllowThreads(__tstate
);
23329 if (PyErr_Occurred()) SWIG_fail
;
23332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23340 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23341 PyObject
*resultobj
;
23342 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23344 wxColour
*arg3
= 0 ;
23346 PyObject
* obj0
= 0 ;
23347 PyObject
* obj1
= 0 ;
23348 PyObject
* obj2
= 0 ;
23349 char *kwnames
[] = {
23350 (char *) "self",(char *) "item",(char *) "col", NULL
23353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23356 arg2
= (long) SWIG_AsLong(obj1
);
23357 if (PyErr_Occurred()) SWIG_fail
;
23360 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23364 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
23366 wxPyEndAllowThreads(__tstate
);
23367 if (PyErr_Occurred()) SWIG_fail
;
23369 Py_INCREF(Py_None
); resultobj
= Py_None
;
23376 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23377 PyObject
*resultobj
;
23378 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23381 PyObject
* obj0
= 0 ;
23382 PyObject
* obj1
= 0 ;
23383 char *kwnames
[] = {
23384 (char *) "self",(char *) "item", NULL
23387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23390 arg2
= (long) SWIG_AsLong(obj1
);
23391 if (PyErr_Occurred()) SWIG_fail
;
23393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23394 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
23396 wxPyEndAllowThreads(__tstate
);
23397 if (PyErr_Occurred()) SWIG_fail
;
23400 wxColour
* resultptr
;
23401 resultptr
= new wxColour((wxColour
&) result
);
23402 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23410 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23411 PyObject
*resultobj
;
23412 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23414 wxColour
*arg3
= 0 ;
23416 PyObject
* obj0
= 0 ;
23417 PyObject
* obj1
= 0 ;
23418 PyObject
* obj2
= 0 ;
23419 char *kwnames
[] = {
23420 (char *) "self",(char *) "item",(char *) "col", NULL
23423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23426 arg2
= (long) SWIG_AsLong(obj1
);
23427 if (PyErr_Occurred()) SWIG_fail
;
23430 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23434 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
23436 wxPyEndAllowThreads(__tstate
);
23437 if (PyErr_Occurred()) SWIG_fail
;
23439 Py_INCREF(Py_None
); resultobj
= Py_None
;
23446 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23447 PyObject
*resultobj
;
23448 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23451 PyObject
* obj0
= 0 ;
23452 PyObject
* obj1
= 0 ;
23453 char *kwnames
[] = {
23454 (char *) "self",(char *) "item", NULL
23457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23460 arg2
= (long) SWIG_AsLong(obj1
);
23461 if (PyErr_Occurred()) SWIG_fail
;
23463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23464 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
23466 wxPyEndAllowThreads(__tstate
);
23467 if (PyErr_Occurred()) SWIG_fail
;
23470 wxColour
* resultptr
;
23471 resultptr
= new wxColour((wxColour
&) result
);
23472 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23480 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23481 PyObject
*resultobj
;
23482 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23483 PyObject
*arg2
= (PyObject
*) 0 ;
23485 PyObject
* obj0
= 0 ;
23486 PyObject
* obj1
= 0 ;
23487 char *kwnames
[] = {
23488 (char *) "self",(char *) "func", NULL
23491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
23492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23497 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
23499 wxPyEndAllowThreads(__tstate
);
23500 if (PyErr_Occurred()) SWIG_fail
;
23503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23511 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23512 PyObject
*resultobj
;
23513 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23515 PyObject
* obj0
= 0 ;
23516 char *kwnames
[] = {
23517 (char *) "self", NULL
23520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
23521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23525 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
23527 wxPyEndAllowThreads(__tstate
);
23528 if (PyErr_Occurred()) SWIG_fail
;
23531 resultobj
= wxPyMake_wxObject(result
);
23539 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23540 PyObject
*resultobj
;
23541 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
23542 wxVisualAttributes result
;
23543 PyObject
* obj0
= 0 ;
23544 char *kwnames
[] = {
23545 (char *) "variant", NULL
23548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
23550 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
23551 if (PyErr_Occurred()) SWIG_fail
;
23554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23555 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
23557 wxPyEndAllowThreads(__tstate
);
23558 if (PyErr_Occurred()) SWIG_fail
;
23561 wxVisualAttributes
* resultptr
;
23562 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
23563 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
23571 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
23573 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23574 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
23576 return Py_BuildValue((char *)"");
23578 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23579 PyObject
*resultobj
;
23580 wxWindow
*arg1
= (wxWindow
*) 0 ;
23581 int arg2
= (int) -1 ;
23582 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23583 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23584 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23585 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23586 long arg5
= (long) wxLC_REPORT
;
23587 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23588 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23589 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
23590 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23591 wxListView
*result
;
23594 bool temp7
= False
;
23595 PyObject
* obj0
= 0 ;
23596 PyObject
* obj1
= 0 ;
23597 PyObject
* obj2
= 0 ;
23598 PyObject
* obj3
= 0 ;
23599 PyObject
* obj4
= 0 ;
23600 PyObject
* obj5
= 0 ;
23601 PyObject
* obj6
= 0 ;
23602 char *kwnames
[] = {
23603 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23610 arg2
= (int) SWIG_AsInt(obj1
);
23611 if (PyErr_Occurred()) SWIG_fail
;
23616 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23622 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23626 arg5
= (long) SWIG_AsLong(obj4
);
23627 if (PyErr_Occurred()) SWIG_fail
;
23630 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
23631 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23633 if (arg6
== NULL
) {
23634 PyErr_SetString(PyExc_TypeError
,"null reference");
23640 arg7
= wxString_in_helper(obj6
);
23641 if (arg7
== NULL
) SWIG_fail
;
23646 if (!wxPyCheckForApp()) SWIG_fail
;
23647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23648 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23650 wxPyEndAllowThreads(__tstate
);
23651 if (PyErr_Occurred()) SWIG_fail
;
23653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
23668 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23669 PyObject
*resultobj
;
23670 wxListView
*result
;
23671 char *kwnames
[] = {
23675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
23677 if (!wxPyCheckForApp()) SWIG_fail
;
23678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23679 result
= (wxListView
*)new wxListView();
23681 wxPyEndAllowThreads(__tstate
);
23682 if (PyErr_Occurred()) SWIG_fail
;
23684 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
23691 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23692 PyObject
*resultobj
;
23693 wxListView
*arg1
= (wxListView
*) 0 ;
23694 wxWindow
*arg2
= (wxWindow
*) 0 ;
23695 int arg3
= (int) -1 ;
23696 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23697 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23698 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23699 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23700 long arg6
= (long) wxLC_REPORT
;
23701 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23702 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23703 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
23704 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23708 bool temp8
= False
;
23709 PyObject
* obj0
= 0 ;
23710 PyObject
* obj1
= 0 ;
23711 PyObject
* obj2
= 0 ;
23712 PyObject
* obj3
= 0 ;
23713 PyObject
* obj4
= 0 ;
23714 PyObject
* obj5
= 0 ;
23715 PyObject
* obj6
= 0 ;
23716 PyObject
* obj7
= 0 ;
23717 char *kwnames
[] = {
23718 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23724 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23727 arg3
= (int) SWIG_AsInt(obj2
);
23728 if (PyErr_Occurred()) SWIG_fail
;
23733 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23739 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23743 arg6
= (long) SWIG_AsLong(obj5
);
23744 if (PyErr_Occurred()) SWIG_fail
;
23747 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
23748 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23750 if (arg7
== NULL
) {
23751 PyErr_SetString(PyExc_TypeError
,"null reference");
23757 arg8
= wxString_in_helper(obj7
);
23758 if (arg8
== NULL
) SWIG_fail
;
23763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23764 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23766 wxPyEndAllowThreads(__tstate
);
23767 if (PyErr_Occurred()) SWIG_fail
;
23770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23786 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23787 PyObject
*resultobj
;
23788 wxListView
*arg1
= (wxListView
*) 0 ;
23790 bool arg3
= (bool) True
;
23791 PyObject
* obj0
= 0 ;
23792 PyObject
* obj1
= 0 ;
23793 PyObject
* obj2
= 0 ;
23794 char *kwnames
[] = {
23795 (char *) "self",(char *) "n",(char *) "on", NULL
23798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23801 arg2
= (long) SWIG_AsLong(obj1
);
23802 if (PyErr_Occurred()) SWIG_fail
;
23804 arg3
= (bool) SWIG_AsBool(obj2
);
23805 if (PyErr_Occurred()) SWIG_fail
;
23808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23809 (arg1
)->Select(arg2
,arg3
);
23811 wxPyEndAllowThreads(__tstate
);
23812 if (PyErr_Occurred()) SWIG_fail
;
23814 Py_INCREF(Py_None
); resultobj
= Py_None
;
23821 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23822 PyObject
*resultobj
;
23823 wxListView
*arg1
= (wxListView
*) 0 ;
23825 PyObject
* obj0
= 0 ;
23826 PyObject
* obj1
= 0 ;
23827 char *kwnames
[] = {
23828 (char *) "self",(char *) "index", NULL
23831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
23832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23834 arg2
= (long) SWIG_AsLong(obj1
);
23835 if (PyErr_Occurred()) SWIG_fail
;
23837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23838 (arg1
)->Focus(arg2
);
23840 wxPyEndAllowThreads(__tstate
);
23841 if (PyErr_Occurred()) SWIG_fail
;
23843 Py_INCREF(Py_None
); resultobj
= Py_None
;
23850 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23851 PyObject
*resultobj
;
23852 wxListView
*arg1
= (wxListView
*) 0 ;
23854 PyObject
* obj0
= 0 ;
23855 char *kwnames
[] = {
23856 (char *) "self", NULL
23859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
23860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23864 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
23866 wxPyEndAllowThreads(__tstate
);
23867 if (PyErr_Occurred()) SWIG_fail
;
23869 resultobj
= SWIG_FromLong((long)result
);
23876 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23877 PyObject
*resultobj
;
23878 wxListView
*arg1
= (wxListView
*) 0 ;
23881 PyObject
* obj0
= 0 ;
23882 PyObject
* obj1
= 0 ;
23883 char *kwnames
[] = {
23884 (char *) "self",(char *) "item", NULL
23887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
23888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23890 arg2
= (long) SWIG_AsLong(obj1
);
23891 if (PyErr_Occurred()) SWIG_fail
;
23893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23894 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
23896 wxPyEndAllowThreads(__tstate
);
23897 if (PyErr_Occurred()) SWIG_fail
;
23899 resultobj
= SWIG_FromLong((long)result
);
23906 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23907 PyObject
*resultobj
;
23908 wxListView
*arg1
= (wxListView
*) 0 ;
23910 PyObject
* obj0
= 0 ;
23911 char *kwnames
[] = {
23912 (char *) "self", NULL
23915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
23916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23920 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
23922 wxPyEndAllowThreads(__tstate
);
23923 if (PyErr_Occurred()) SWIG_fail
;
23925 resultobj
= SWIG_FromLong((long)result
);
23932 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23933 PyObject
*resultobj
;
23934 wxListView
*arg1
= (wxListView
*) 0 ;
23937 PyObject
* obj0
= 0 ;
23938 PyObject
* obj1
= 0 ;
23939 char *kwnames
[] = {
23940 (char *) "self",(char *) "index", NULL
23943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
23944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23946 arg2
= (long) SWIG_AsLong(obj1
);
23947 if (PyErr_Occurred()) SWIG_fail
;
23949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23950 result
= (bool)(arg1
)->IsSelected(arg2
);
23952 wxPyEndAllowThreads(__tstate
);
23953 if (PyErr_Occurred()) SWIG_fail
;
23956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23964 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23965 PyObject
*resultobj
;
23966 wxListView
*arg1
= (wxListView
*) 0 ;
23969 PyObject
* obj0
= 0 ;
23970 PyObject
* obj1
= 0 ;
23971 PyObject
* obj2
= 0 ;
23972 char *kwnames
[] = {
23973 (char *) "self",(char *) "col",(char *) "image", NULL
23976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23979 arg2
= (int) SWIG_AsInt(obj1
);
23980 if (PyErr_Occurred()) SWIG_fail
;
23981 arg3
= (int) SWIG_AsInt(obj2
);
23982 if (PyErr_Occurred()) SWIG_fail
;
23984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23985 (arg1
)->SetColumnImage(arg2
,arg3
);
23987 wxPyEndAllowThreads(__tstate
);
23988 if (PyErr_Occurred()) SWIG_fail
;
23990 Py_INCREF(Py_None
); resultobj
= Py_None
;
23997 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23998 PyObject
*resultobj
;
23999 wxListView
*arg1
= (wxListView
*) 0 ;
24001 PyObject
* obj0
= 0 ;
24002 PyObject
* obj1
= 0 ;
24003 char *kwnames
[] = {
24004 (char *) "self",(char *) "col", NULL
24007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
24008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24010 arg2
= (int) SWIG_AsInt(obj1
);
24011 if (PyErr_Occurred()) SWIG_fail
;
24013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24014 (arg1
)->ClearColumnImage(arg2
);
24016 wxPyEndAllowThreads(__tstate
);
24017 if (PyErr_Occurred()) SWIG_fail
;
24019 Py_INCREF(Py_None
); resultobj
= Py_None
;
24026 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
24028 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24029 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
24031 return Py_BuildValue((char *)"");
24033 static int _wrap_TreeCtrlNameStr_set(PyObject
*_val
) {
24034 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
24039 static PyObject
*_wrap_TreeCtrlNameStr_get() {
24044 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24046 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24053 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24054 PyObject
*resultobj
;
24055 wxTreeItemId
*result
;
24056 char *kwnames
[] = {
24060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
24062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24063 result
= (wxTreeItemId
*)new wxTreeItemId();
24065 wxPyEndAllowThreads(__tstate
);
24066 if (PyErr_Occurred()) SWIG_fail
;
24068 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
24075 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24076 PyObject
*resultobj
;
24077 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24078 PyObject
* obj0
= 0 ;
24079 char *kwnames
[] = {
24080 (char *) "self", NULL
24083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
24084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24090 wxPyEndAllowThreads(__tstate
);
24091 if (PyErr_Occurred()) SWIG_fail
;
24093 Py_INCREF(Py_None
); resultobj
= Py_None
;
24100 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24101 PyObject
*resultobj
;
24102 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24104 PyObject
* obj0
= 0 ;
24105 char *kwnames
[] = {
24106 (char *) "self", NULL
24109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
24110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24114 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
24116 wxPyEndAllowThreads(__tstate
);
24117 if (PyErr_Occurred()) SWIG_fail
;
24120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24128 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24129 PyObject
*resultobj
;
24130 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24131 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24133 PyObject
* obj0
= 0 ;
24134 PyObject
* obj1
= 0 ;
24135 char *kwnames
[] = {
24136 (char *) "self",(char *) "other", NULL
24139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24142 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24146 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
24148 wxPyEndAllowThreads(__tstate
);
24149 if (PyErr_Occurred()) SWIG_fail
;
24152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24160 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24161 PyObject
*resultobj
;
24162 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24163 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24165 PyObject
* obj0
= 0 ;
24166 PyObject
* obj1
= 0 ;
24167 char *kwnames
[] = {
24168 (char *) "self",(char *) "other", NULL
24171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24174 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24178 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
24180 wxPyEndAllowThreads(__tstate
);
24181 if (PyErr_Occurred()) SWIG_fail
;
24184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24192 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24193 PyObject
*resultobj
;
24194 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24195 void *arg2
= (void *) 0 ;
24196 PyObject
* obj0
= 0 ;
24197 PyObject
* obj1
= 0 ;
24198 char *kwnames
[] = {
24199 (char *) "self",(char *) "m_pItem", NULL
24202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24205 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24206 if (arg1
) (arg1
)->m_pItem
= arg2
;
24208 Py_INCREF(Py_None
); resultobj
= Py_None
;
24215 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24216 PyObject
*resultobj
;
24217 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24219 PyObject
* obj0
= 0 ;
24220 char *kwnames
[] = {
24221 (char *) "self", NULL
24224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
24225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24227 result
= (void *) ((arg1
)->m_pItem
);
24229 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
24236 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
24238 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24239 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
24241 return Py_BuildValue((char *)"");
24243 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24244 PyObject
*resultobj
;
24245 PyObject
*arg1
= (PyObject
*) NULL
;
24246 wxPyTreeItemData
*result
;
24247 PyObject
* obj0
= 0 ;
24248 char *kwnames
[] = {
24249 (char *) "obj", NULL
24252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
24257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24258 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
24260 wxPyEndAllowThreads(__tstate
);
24261 if (PyErr_Occurred()) SWIG_fail
;
24263 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
24270 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24271 PyObject
*resultobj
;
24272 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24274 PyObject
* obj0
= 0 ;
24275 char *kwnames
[] = {
24276 (char *) "self", NULL
24279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
24280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24284 result
= (PyObject
*)(arg1
)->GetData();
24286 wxPyEndAllowThreads(__tstate
);
24287 if (PyErr_Occurred()) SWIG_fail
;
24289 resultobj
= result
;
24296 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24297 PyObject
*resultobj
;
24298 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24299 PyObject
*arg2
= (PyObject
*) 0 ;
24300 PyObject
* obj0
= 0 ;
24301 PyObject
* obj1
= 0 ;
24302 char *kwnames
[] = {
24303 (char *) "self",(char *) "obj", NULL
24306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24312 (arg1
)->SetData(arg2
);
24314 wxPyEndAllowThreads(__tstate
);
24315 if (PyErr_Occurred()) SWIG_fail
;
24317 Py_INCREF(Py_None
); resultobj
= Py_None
;
24324 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24325 PyObject
*resultobj
;
24326 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24327 wxTreeItemId
*result
;
24328 PyObject
* obj0
= 0 ;
24329 char *kwnames
[] = {
24330 (char *) "self", NULL
24333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
24334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24339 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
24340 result
= (wxTreeItemId
*) &_result_ref
;
24343 wxPyEndAllowThreads(__tstate
);
24344 if (PyErr_Occurred()) SWIG_fail
;
24346 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
24353 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24354 PyObject
*resultobj
;
24355 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24356 wxTreeItemId
*arg2
= 0 ;
24357 PyObject
* obj0
= 0 ;
24358 PyObject
* obj1
= 0 ;
24359 char *kwnames
[] = {
24360 (char *) "self",(char *) "id", NULL
24363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24366 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24367 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24369 if (arg2
== NULL
) {
24370 PyErr_SetString(PyExc_TypeError
,"null reference");
24374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24375 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
24377 wxPyEndAllowThreads(__tstate
);
24378 if (PyErr_Occurred()) SWIG_fail
;
24380 Py_INCREF(Py_None
); resultobj
= Py_None
;
24387 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24388 PyObject
*resultobj
;
24389 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24390 PyObject
* obj0
= 0 ;
24391 char *kwnames
[] = {
24392 (char *) "self", NULL
24395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
24396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24400 wxPyTreeItemData_Destroy(arg1
);
24402 wxPyEndAllowThreads(__tstate
);
24403 if (PyErr_Occurred()) SWIG_fail
;
24405 Py_INCREF(Py_None
); resultobj
= Py_None
;
24412 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
24414 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24415 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
24417 return Py_BuildValue((char *)"");
24419 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24420 PyObject
*resultobj
;
24421 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
24422 int arg2
= (int) 0 ;
24423 wxTreeEvent
*result
;
24424 PyObject
* obj0
= 0 ;
24425 PyObject
* obj1
= 0 ;
24426 char *kwnames
[] = {
24427 (char *) "commandType",(char *) "id", NULL
24430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24432 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
24433 if (PyErr_Occurred()) SWIG_fail
;
24436 arg2
= (int) SWIG_AsInt(obj1
);
24437 if (PyErr_Occurred()) SWIG_fail
;
24440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24441 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
24443 wxPyEndAllowThreads(__tstate
);
24444 if (PyErr_Occurred()) SWIG_fail
;
24446 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
24453 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24454 PyObject
*resultobj
;
24455 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24456 wxTreeItemId result
;
24457 PyObject
* obj0
= 0 ;
24458 char *kwnames
[] = {
24459 (char *) "self", NULL
24462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
24463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24467 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
24469 wxPyEndAllowThreads(__tstate
);
24470 if (PyErr_Occurred()) SWIG_fail
;
24473 wxTreeItemId
* resultptr
;
24474 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24475 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24483 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24484 PyObject
*resultobj
;
24485 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24486 wxTreeItemId
*arg2
= 0 ;
24487 PyObject
* obj0
= 0 ;
24488 PyObject
* obj1
= 0 ;
24489 char *kwnames
[] = {
24490 (char *) "self",(char *) "item", NULL
24493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24496 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24497 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24499 if (arg2
== NULL
) {
24500 PyErr_SetString(PyExc_TypeError
,"null reference");
24504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24505 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
24507 wxPyEndAllowThreads(__tstate
);
24508 if (PyErr_Occurred()) SWIG_fail
;
24510 Py_INCREF(Py_None
); resultobj
= Py_None
;
24517 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24518 PyObject
*resultobj
;
24519 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24520 wxTreeItemId result
;
24521 PyObject
* obj0
= 0 ;
24522 char *kwnames
[] = {
24523 (char *) "self", NULL
24526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
24527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24531 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
24533 wxPyEndAllowThreads(__tstate
);
24534 if (PyErr_Occurred()) SWIG_fail
;
24537 wxTreeItemId
* resultptr
;
24538 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24539 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24547 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24548 PyObject
*resultobj
;
24549 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24550 wxTreeItemId
*arg2
= 0 ;
24551 PyObject
* obj0
= 0 ;
24552 PyObject
* obj1
= 0 ;
24553 char *kwnames
[] = {
24554 (char *) "self",(char *) "item", NULL
24557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24560 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24561 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24563 if (arg2
== NULL
) {
24564 PyErr_SetString(PyExc_TypeError
,"null reference");
24568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24569 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
24571 wxPyEndAllowThreads(__tstate
);
24572 if (PyErr_Occurred()) SWIG_fail
;
24574 Py_INCREF(Py_None
); resultobj
= Py_None
;
24581 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24582 PyObject
*resultobj
;
24583 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24585 PyObject
* obj0
= 0 ;
24586 char *kwnames
[] = {
24587 (char *) "self", NULL
24590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
24591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24595 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
24597 wxPyEndAllowThreads(__tstate
);
24598 if (PyErr_Occurred()) SWIG_fail
;
24601 wxPoint
* resultptr
;
24602 resultptr
= new wxPoint((wxPoint
&) result
);
24603 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24611 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24612 PyObject
*resultobj
;
24613 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24614 wxPoint
*arg2
= 0 ;
24616 PyObject
* obj0
= 0 ;
24617 PyObject
* obj1
= 0 ;
24618 char *kwnames
[] = {
24619 (char *) "self",(char *) "pt", NULL
24622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
24623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24627 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24631 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
24633 wxPyEndAllowThreads(__tstate
);
24634 if (PyErr_Occurred()) SWIG_fail
;
24636 Py_INCREF(Py_None
); resultobj
= Py_None
;
24643 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24644 PyObject
*resultobj
;
24645 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24646 wxKeyEvent
*result
;
24647 PyObject
* obj0
= 0 ;
24648 char *kwnames
[] = {
24649 (char *) "self", NULL
24652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
24653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24658 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
24659 result
= (wxKeyEvent
*) &_result_ref
;
24662 wxPyEndAllowThreads(__tstate
);
24663 if (PyErr_Occurred()) SWIG_fail
;
24665 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
24672 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24673 PyObject
*resultobj
;
24674 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24676 PyObject
* obj0
= 0 ;
24677 char *kwnames
[] = {
24678 (char *) "self", NULL
24681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24686 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
24688 wxPyEndAllowThreads(__tstate
);
24689 if (PyErr_Occurred()) SWIG_fail
;
24691 resultobj
= SWIG_FromInt((int)result
);
24698 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24699 PyObject
*resultobj
;
24700 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24701 wxKeyEvent
*arg2
= 0 ;
24702 PyObject
* obj0
= 0 ;
24703 PyObject
* obj1
= 0 ;
24704 char *kwnames
[] = {
24705 (char *) "self",(char *) "evt", NULL
24708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24711 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
24712 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24714 if (arg2
== NULL
) {
24715 PyErr_SetString(PyExc_TypeError
,"null reference");
24719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24720 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
24722 wxPyEndAllowThreads(__tstate
);
24723 if (PyErr_Occurred()) SWIG_fail
;
24725 Py_INCREF(Py_None
); resultobj
= Py_None
;
24732 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24733 PyObject
*resultobj
;
24734 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24736 PyObject
* obj0
= 0 ;
24737 char *kwnames
[] = {
24738 (char *) "self", NULL
24741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
24742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24747 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
24748 result
= (wxString
*) &_result_ref
;
24751 wxPyEndAllowThreads(__tstate
);
24752 if (PyErr_Occurred()) SWIG_fail
;
24756 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24758 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24767 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24768 PyObject
*resultobj
;
24769 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24770 wxString
*arg2
= 0 ;
24771 bool temp2
= False
;
24772 PyObject
* obj0
= 0 ;
24773 PyObject
* obj1
= 0 ;
24774 char *kwnames
[] = {
24775 (char *) "self",(char *) "label", NULL
24778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
24779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24782 arg2
= wxString_in_helper(obj1
);
24783 if (arg2
== NULL
) SWIG_fail
;
24787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24788 (arg1
)->SetLabel((wxString
const &)*arg2
);
24790 wxPyEndAllowThreads(__tstate
);
24791 if (PyErr_Occurred()) SWIG_fail
;
24793 Py_INCREF(Py_None
); resultobj
= Py_None
;
24808 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24809 PyObject
*resultobj
;
24810 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24812 PyObject
* obj0
= 0 ;
24813 char *kwnames
[] = {
24814 (char *) "self", NULL
24817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
24818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24822 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
24824 wxPyEndAllowThreads(__tstate
);
24825 if (PyErr_Occurred()) SWIG_fail
;
24828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24836 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24837 PyObject
*resultobj
;
24838 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24840 PyObject
* obj0
= 0 ;
24841 PyObject
* obj1
= 0 ;
24842 char *kwnames
[] = {
24843 (char *) "self",(char *) "editCancelled", NULL
24846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
24847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24849 arg2
= (bool) SWIG_AsBool(obj1
);
24850 if (PyErr_Occurred()) SWIG_fail
;
24852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24853 (arg1
)->SetEditCanceled(arg2
);
24855 wxPyEndAllowThreads(__tstate
);
24856 if (PyErr_Occurred()) SWIG_fail
;
24858 Py_INCREF(Py_None
); resultobj
= Py_None
;
24865 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24866 PyObject
*resultobj
;
24867 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24868 wxString
*arg2
= 0 ;
24869 bool temp2
= False
;
24870 PyObject
* obj0
= 0 ;
24871 PyObject
* obj1
= 0 ;
24872 char *kwnames
[] = {
24873 (char *) "self",(char *) "toolTip", NULL
24876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
24877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24880 arg2
= wxString_in_helper(obj1
);
24881 if (arg2
== NULL
) SWIG_fail
;
24885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24886 (arg1
)->SetToolTip((wxString
const &)*arg2
);
24888 wxPyEndAllowThreads(__tstate
);
24889 if (PyErr_Occurred()) SWIG_fail
;
24891 Py_INCREF(Py_None
); resultobj
= Py_None
;
24906 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
24908 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24909 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
24911 return Py_BuildValue((char *)"");
24913 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24914 PyObject
*resultobj
;
24915 wxWindow
*arg1
= (wxWindow
*) 0 ;
24916 int arg2
= (int) -1 ;
24917 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24918 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24919 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24920 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24921 long arg5
= (long) wxTR_DEFAULT_STYLE
;
24922 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
24923 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
24924 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
24925 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24926 wxPyTreeCtrl
*result
;
24929 bool temp7
= False
;
24930 PyObject
* obj0
= 0 ;
24931 PyObject
* obj1
= 0 ;
24932 PyObject
* obj2
= 0 ;
24933 PyObject
* obj3
= 0 ;
24934 PyObject
* obj4
= 0 ;
24935 PyObject
* obj5
= 0 ;
24936 PyObject
* obj6
= 0 ;
24937 char *kwnames
[] = {
24938 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24945 arg2
= (int) SWIG_AsInt(obj1
);
24946 if (PyErr_Occurred()) SWIG_fail
;
24951 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24957 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24961 arg5
= (long) SWIG_AsLong(obj4
);
24962 if (PyErr_Occurred()) SWIG_fail
;
24965 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
24966 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24968 if (arg6
== NULL
) {
24969 PyErr_SetString(PyExc_TypeError
,"null reference");
24975 arg7
= wxString_in_helper(obj6
);
24976 if (arg7
== NULL
) SWIG_fail
;
24981 if (!wxPyCheckForApp()) SWIG_fail
;
24982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24983 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
24985 wxPyEndAllowThreads(__tstate
);
24986 if (PyErr_Occurred()) SWIG_fail
;
24989 resultobj
= wxPyMake_wxObject(result
);
25005 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25006 PyObject
*resultobj
;
25007 wxPyTreeCtrl
*result
;
25008 char *kwnames
[] = {
25012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
25014 if (!wxPyCheckForApp()) SWIG_fail
;
25015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25016 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
25018 wxPyEndAllowThreads(__tstate
);
25019 if (PyErr_Occurred()) SWIG_fail
;
25022 resultobj
= wxPyMake_wxObject(result
);
25030 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25031 PyObject
*resultobj
;
25032 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25033 wxWindow
*arg2
= (wxWindow
*) 0 ;
25034 int arg3
= (int) -1 ;
25035 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25036 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25037 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25038 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25039 long arg6
= (long) wxTR_DEFAULT_STYLE
;
25040 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
25041 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
25042 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
25043 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
25047 bool temp8
= False
;
25048 PyObject
* obj0
= 0 ;
25049 PyObject
* obj1
= 0 ;
25050 PyObject
* obj2
= 0 ;
25051 PyObject
* obj3
= 0 ;
25052 PyObject
* obj4
= 0 ;
25053 PyObject
* obj5
= 0 ;
25054 PyObject
* obj6
= 0 ;
25055 PyObject
* obj7
= 0 ;
25056 char *kwnames
[] = {
25057 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
25061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25063 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25066 arg3
= (int) SWIG_AsInt(obj2
);
25067 if (PyErr_Occurred()) SWIG_fail
;
25072 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25078 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25082 arg6
= (long) SWIG_AsLong(obj5
);
25083 if (PyErr_Occurred()) SWIG_fail
;
25086 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
25087 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25089 if (arg7
== NULL
) {
25090 PyErr_SetString(PyExc_TypeError
,"null reference");
25096 arg8
= wxString_in_helper(obj7
);
25097 if (arg8
== NULL
) SWIG_fail
;
25102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25103 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
25105 wxPyEndAllowThreads(__tstate
);
25106 if (PyErr_Occurred()) SWIG_fail
;
25109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25125 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25126 PyObject
*resultobj
;
25127 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25128 PyObject
*arg2
= (PyObject
*) 0 ;
25129 PyObject
*arg3
= (PyObject
*) 0 ;
25130 PyObject
* obj0
= 0 ;
25131 PyObject
* obj1
= 0 ;
25132 PyObject
* obj2
= 0 ;
25133 char *kwnames
[] = {
25134 (char *) "self",(char *) "self",(char *) "_class", NULL
25137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25144 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25146 wxPyEndAllowThreads(__tstate
);
25147 if (PyErr_Occurred()) SWIG_fail
;
25149 Py_INCREF(Py_None
); resultobj
= Py_None
;
25156 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25157 PyObject
*resultobj
;
25158 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25160 PyObject
* obj0
= 0 ;
25161 char *kwnames
[] = {
25162 (char *) "self", NULL
25165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
25166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25170 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
25172 wxPyEndAllowThreads(__tstate
);
25173 if (PyErr_Occurred()) SWIG_fail
;
25175 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25182 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25183 PyObject
*resultobj
;
25184 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25185 unsigned int result
;
25186 PyObject
* obj0
= 0 ;
25187 char *kwnames
[] = {
25188 (char *) "self", NULL
25191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
25192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25196 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
25198 wxPyEndAllowThreads(__tstate
);
25199 if (PyErr_Occurred()) SWIG_fail
;
25201 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
25208 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25209 PyObject
*resultobj
;
25210 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25211 unsigned int arg2
;
25212 PyObject
* obj0
= 0 ;
25213 PyObject
* obj1
= 0 ;
25214 char *kwnames
[] = {
25215 (char *) "self",(char *) "indent", NULL
25218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
25219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25221 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
25222 if (PyErr_Occurred()) SWIG_fail
;
25224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25225 (arg1
)->SetIndent(arg2
);
25227 wxPyEndAllowThreads(__tstate
);
25228 if (PyErr_Occurred()) SWIG_fail
;
25230 Py_INCREF(Py_None
); resultobj
= Py_None
;
25237 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25238 PyObject
*resultobj
;
25239 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25240 unsigned int result
;
25241 PyObject
* obj0
= 0 ;
25242 char *kwnames
[] = {
25243 (char *) "self", NULL
25246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
25247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25251 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
25253 wxPyEndAllowThreads(__tstate
);
25254 if (PyErr_Occurred()) SWIG_fail
;
25256 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
25263 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25264 PyObject
*resultobj
;
25265 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25266 unsigned int arg2
;
25267 PyObject
* obj0
= 0 ;
25268 PyObject
* obj1
= 0 ;
25269 char *kwnames
[] = {
25270 (char *) "self",(char *) "spacing", NULL
25273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
25274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25276 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
25277 if (PyErr_Occurred()) SWIG_fail
;
25279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25280 (arg1
)->SetSpacing(arg2
);
25282 wxPyEndAllowThreads(__tstate
);
25283 if (PyErr_Occurred()) SWIG_fail
;
25285 Py_INCREF(Py_None
); resultobj
= Py_None
;
25292 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25293 PyObject
*resultobj
;
25294 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25295 wxImageList
*result
;
25296 PyObject
* obj0
= 0 ;
25297 char *kwnames
[] = {
25298 (char *) "self", NULL
25301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
25302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25306 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
25308 wxPyEndAllowThreads(__tstate
);
25309 if (PyErr_Occurred()) SWIG_fail
;
25312 resultobj
= wxPyMake_wxObject(result
);
25320 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25321 PyObject
*resultobj
;
25322 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25323 wxImageList
*result
;
25324 PyObject
* obj0
= 0 ;
25325 char *kwnames
[] = {
25326 (char *) "self", NULL
25329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
25330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25334 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
25336 wxPyEndAllowThreads(__tstate
);
25337 if (PyErr_Occurred()) SWIG_fail
;
25340 resultobj
= wxPyMake_wxObject(result
);
25348 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25349 PyObject
*resultobj
;
25350 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25351 wxImageList
*arg2
= (wxImageList
*) 0 ;
25352 PyObject
* obj0
= 0 ;
25353 PyObject
* obj1
= 0 ;
25354 char *kwnames
[] = {
25355 (char *) "self",(char *) "imageList", NULL
25358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25361 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25365 (arg1
)->SetImageList(arg2
);
25367 wxPyEndAllowThreads(__tstate
);
25368 if (PyErr_Occurred()) SWIG_fail
;
25370 Py_INCREF(Py_None
); resultobj
= Py_None
;
25377 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25378 PyObject
*resultobj
;
25379 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25380 wxImageList
*arg2
= (wxImageList
*) 0 ;
25381 PyObject
* obj0
= 0 ;
25382 PyObject
* obj1
= 0 ;
25383 char *kwnames
[] = {
25384 (char *) "self",(char *) "imageList", NULL
25387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25390 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25394 (arg1
)->SetStateImageList(arg2
);
25396 wxPyEndAllowThreads(__tstate
);
25397 if (PyErr_Occurred()) SWIG_fail
;
25399 Py_INCREF(Py_None
); resultobj
= Py_None
;
25406 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25407 PyObject
*resultobj
;
25408 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25409 wxImageList
*arg2
= (wxImageList
*) 0 ;
25410 PyObject
* obj0
= 0 ;
25411 PyObject
* obj1
= 0 ;
25412 char *kwnames
[] = {
25413 (char *) "self",(char *) "imageList", NULL
25416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25419 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25420 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25423 (arg1
)->AssignImageList(arg2
);
25425 wxPyEndAllowThreads(__tstate
);
25426 if (PyErr_Occurred()) SWIG_fail
;
25428 Py_INCREF(Py_None
); resultobj
= Py_None
;
25435 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25436 PyObject
*resultobj
;
25437 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25438 wxImageList
*arg2
= (wxImageList
*) 0 ;
25439 PyObject
* obj0
= 0 ;
25440 PyObject
* obj1
= 0 ;
25441 char *kwnames
[] = {
25442 (char *) "self",(char *) "imageList", NULL
25445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25448 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25449 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25452 (arg1
)->AssignStateImageList(arg2
);
25454 wxPyEndAllowThreads(__tstate
);
25455 if (PyErr_Occurred()) SWIG_fail
;
25457 Py_INCREF(Py_None
); resultobj
= Py_None
;
25464 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25465 PyObject
*resultobj
;
25466 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25467 wxTreeItemId
*arg2
= 0 ;
25469 PyObject
* obj0
= 0 ;
25470 PyObject
* obj1
= 0 ;
25471 char *kwnames
[] = {
25472 (char *) "self",(char *) "item", NULL
25475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
25476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25478 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25479 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25481 if (arg2
== NULL
) {
25482 PyErr_SetString(PyExc_TypeError
,"null reference");
25486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25487 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
25489 wxPyEndAllowThreads(__tstate
);
25490 if (PyErr_Occurred()) SWIG_fail
;
25494 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25496 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25505 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25506 PyObject
*resultobj
;
25507 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25508 wxTreeItemId
*arg2
= 0 ;
25509 int arg3
= (int) wxTreeItemIcon_Normal
;
25511 PyObject
* obj0
= 0 ;
25512 PyObject
* obj1
= 0 ;
25513 PyObject
* obj2
= 0 ;
25514 char *kwnames
[] = {
25515 (char *) "self",(char *) "item",(char *) "which", NULL
25518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25521 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25522 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25524 if (arg2
== NULL
) {
25525 PyErr_SetString(PyExc_TypeError
,"null reference");
25529 arg3
= (wxTreeItemIcon
) SWIG_AsInt(obj2
);
25530 if (PyErr_Occurred()) SWIG_fail
;
25533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25534 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
25536 wxPyEndAllowThreads(__tstate
);
25537 if (PyErr_Occurred()) SWIG_fail
;
25539 resultobj
= SWIG_FromInt((int)result
);
25546 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25547 PyObject
*resultobj
;
25548 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25549 wxTreeItemId
*arg2
= 0 ;
25550 wxPyTreeItemData
*result
;
25551 PyObject
* obj0
= 0 ;
25552 PyObject
* obj1
= 0 ;
25553 char *kwnames
[] = {
25554 (char *) "self",(char *) "item", NULL
25557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
25558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25560 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25561 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25563 if (arg2
== NULL
) {
25564 PyErr_SetString(PyExc_TypeError
,"null reference");
25568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25569 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
25571 wxPyEndAllowThreads(__tstate
);
25572 if (PyErr_Occurred()) SWIG_fail
;
25574 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
25581 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25582 PyObject
*resultobj
;
25583 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25584 wxTreeItemId
*arg2
= 0 ;
25586 PyObject
* obj0
= 0 ;
25587 PyObject
* obj1
= 0 ;
25588 char *kwnames
[] = {
25589 (char *) "self",(char *) "item", NULL
25592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
25593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25595 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25596 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25598 if (arg2
== NULL
) {
25599 PyErr_SetString(PyExc_TypeError
,"null reference");
25603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25604 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
25606 wxPyEndAllowThreads(__tstate
);
25607 if (PyErr_Occurred()) SWIG_fail
;
25609 resultobj
= result
;
25616 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25617 PyObject
*resultobj
;
25618 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25619 wxTreeItemId
*arg2
= 0 ;
25621 PyObject
* obj0
= 0 ;
25622 PyObject
* obj1
= 0 ;
25623 char *kwnames
[] = {
25624 (char *) "self",(char *) "item", NULL
25627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25630 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25631 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25633 if (arg2
== NULL
) {
25634 PyErr_SetString(PyExc_TypeError
,"null reference");
25638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25639 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
25641 wxPyEndAllowThreads(__tstate
);
25642 if (PyErr_Occurred()) SWIG_fail
;
25645 wxColour
* resultptr
;
25646 resultptr
= new wxColour((wxColour
&) result
);
25647 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25655 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25656 PyObject
*resultobj
;
25657 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25658 wxTreeItemId
*arg2
= 0 ;
25660 PyObject
* obj0
= 0 ;
25661 PyObject
* obj1
= 0 ;
25662 char *kwnames
[] = {
25663 (char *) "self",(char *) "item", NULL
25666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25669 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25670 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25672 if (arg2
== NULL
) {
25673 PyErr_SetString(PyExc_TypeError
,"null reference");
25677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25678 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
25680 wxPyEndAllowThreads(__tstate
);
25681 if (PyErr_Occurred()) SWIG_fail
;
25684 wxColour
* resultptr
;
25685 resultptr
= new wxColour((wxColour
&) result
);
25686 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25694 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25695 PyObject
*resultobj
;
25696 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25697 wxTreeItemId
*arg2
= 0 ;
25699 PyObject
* obj0
= 0 ;
25700 PyObject
* obj1
= 0 ;
25701 char *kwnames
[] = {
25702 (char *) "self",(char *) "item", NULL
25705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
25706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25708 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25709 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25711 if (arg2
== NULL
) {
25712 PyErr_SetString(PyExc_TypeError
,"null reference");
25716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25717 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
25719 wxPyEndAllowThreads(__tstate
);
25720 if (PyErr_Occurred()) SWIG_fail
;
25723 wxFont
* resultptr
;
25724 resultptr
= new wxFont((wxFont
&) result
);
25725 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
25733 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25734 PyObject
*resultobj
;
25735 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25736 wxTreeItemId
*arg2
= 0 ;
25737 wxString
*arg3
= 0 ;
25738 bool temp3
= False
;
25739 PyObject
* obj0
= 0 ;
25740 PyObject
* obj1
= 0 ;
25741 PyObject
* obj2
= 0 ;
25742 char *kwnames
[] = {
25743 (char *) "self",(char *) "item",(char *) "text", NULL
25746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25749 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25750 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25752 if (arg2
== NULL
) {
25753 PyErr_SetString(PyExc_TypeError
,"null reference");
25757 arg3
= wxString_in_helper(obj2
);
25758 if (arg3
== NULL
) SWIG_fail
;
25762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25763 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
25765 wxPyEndAllowThreads(__tstate
);
25766 if (PyErr_Occurred()) SWIG_fail
;
25768 Py_INCREF(Py_None
); resultobj
= Py_None
;
25783 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25784 PyObject
*resultobj
;
25785 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25786 wxTreeItemId
*arg2
= 0 ;
25788 int arg4
= (int) wxTreeItemIcon_Normal
;
25789 PyObject
* obj0
= 0 ;
25790 PyObject
* obj1
= 0 ;
25791 PyObject
* obj2
= 0 ;
25792 PyObject
* obj3
= 0 ;
25793 char *kwnames
[] = {
25794 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
25797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25800 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25801 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25803 if (arg2
== NULL
) {
25804 PyErr_SetString(PyExc_TypeError
,"null reference");
25807 arg3
= (int) SWIG_AsInt(obj2
);
25808 if (PyErr_Occurred()) SWIG_fail
;
25810 arg4
= (wxTreeItemIcon
) SWIG_AsInt(obj3
);
25811 if (PyErr_Occurred()) SWIG_fail
;
25814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25815 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
25817 wxPyEndAllowThreads(__tstate
);
25818 if (PyErr_Occurred()) SWIG_fail
;
25820 Py_INCREF(Py_None
); resultobj
= Py_None
;
25827 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25828 PyObject
*resultobj
;
25829 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25830 wxTreeItemId
*arg2
= 0 ;
25831 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
25832 PyObject
* obj0
= 0 ;
25833 PyObject
* obj1
= 0 ;
25834 PyObject
* obj2
= 0 ;
25835 char *kwnames
[] = {
25836 (char *) "self",(char *) "item",(char *) "data", NULL
25839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25842 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25843 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25845 if (arg2
== NULL
) {
25846 PyErr_SetString(PyExc_TypeError
,"null reference");
25849 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
25850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25853 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25855 wxPyEndAllowThreads(__tstate
);
25856 if (PyErr_Occurred()) SWIG_fail
;
25858 Py_INCREF(Py_None
); resultobj
= Py_None
;
25865 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25866 PyObject
*resultobj
;
25867 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25868 wxTreeItemId
*arg2
= 0 ;
25869 PyObject
*arg3
= (PyObject
*) 0 ;
25870 PyObject
* obj0
= 0 ;
25871 PyObject
* obj1
= 0 ;
25872 PyObject
* obj2
= 0 ;
25873 char *kwnames
[] = {
25874 (char *) "self",(char *) "item",(char *) "obj", NULL
25877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25880 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25881 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25883 if (arg2
== NULL
) {
25884 PyErr_SetString(PyExc_TypeError
,"null reference");
25889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25890 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25892 wxPyEndAllowThreads(__tstate
);
25893 if (PyErr_Occurred()) SWIG_fail
;
25895 Py_INCREF(Py_None
); resultobj
= Py_None
;
25902 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25903 PyObject
*resultobj
;
25904 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25905 wxTreeItemId
*arg2
= 0 ;
25906 bool arg3
= (bool) True
;
25907 PyObject
* obj0
= 0 ;
25908 PyObject
* obj1
= 0 ;
25909 PyObject
* obj2
= 0 ;
25910 char *kwnames
[] = {
25911 (char *) "self",(char *) "item",(char *) "has", NULL
25914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25917 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25918 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25920 if (arg2
== NULL
) {
25921 PyErr_SetString(PyExc_TypeError
,"null reference");
25925 arg3
= (bool) SWIG_AsBool(obj2
);
25926 if (PyErr_Occurred()) SWIG_fail
;
25929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25930 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
25932 wxPyEndAllowThreads(__tstate
);
25933 if (PyErr_Occurred()) SWIG_fail
;
25935 Py_INCREF(Py_None
); resultobj
= Py_None
;
25942 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25943 PyObject
*resultobj
;
25944 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25945 wxTreeItemId
*arg2
= 0 ;
25946 bool arg3
= (bool) True
;
25947 PyObject
* obj0
= 0 ;
25948 PyObject
* obj1
= 0 ;
25949 PyObject
* obj2
= 0 ;
25950 char *kwnames
[] = {
25951 (char *) "self",(char *) "item",(char *) "bold", NULL
25954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25957 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25958 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25960 if (arg2
== NULL
) {
25961 PyErr_SetString(PyExc_TypeError
,"null reference");
25965 arg3
= (bool) SWIG_AsBool(obj2
);
25966 if (PyErr_Occurred()) SWIG_fail
;
25969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25970 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
25972 wxPyEndAllowThreads(__tstate
);
25973 if (PyErr_Occurred()) SWIG_fail
;
25975 Py_INCREF(Py_None
); resultobj
= Py_None
;
25982 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25983 PyObject
*resultobj
;
25984 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25985 wxTreeItemId
*arg2
= 0 ;
25986 wxColour
*arg3
= 0 ;
25988 PyObject
* obj0
= 0 ;
25989 PyObject
* obj1
= 0 ;
25990 PyObject
* obj2
= 0 ;
25991 char *kwnames
[] = {
25992 (char *) "self",(char *) "item",(char *) "col", NULL
25995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25998 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25999 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26001 if (arg2
== NULL
) {
26002 PyErr_SetString(PyExc_TypeError
,"null reference");
26007 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26011 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
26013 wxPyEndAllowThreads(__tstate
);
26014 if (PyErr_Occurred()) SWIG_fail
;
26016 Py_INCREF(Py_None
); resultobj
= Py_None
;
26023 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26024 PyObject
*resultobj
;
26025 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26026 wxTreeItemId
*arg2
= 0 ;
26027 wxColour
*arg3
= 0 ;
26029 PyObject
* obj0
= 0 ;
26030 PyObject
* obj1
= 0 ;
26031 PyObject
* obj2
= 0 ;
26032 char *kwnames
[] = {
26033 (char *) "self",(char *) "item",(char *) "col", NULL
26036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26039 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26040 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26042 if (arg2
== NULL
) {
26043 PyErr_SetString(PyExc_TypeError
,"null reference");
26048 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26052 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
26054 wxPyEndAllowThreads(__tstate
);
26055 if (PyErr_Occurred()) SWIG_fail
;
26057 Py_INCREF(Py_None
); resultobj
= Py_None
;
26064 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26065 PyObject
*resultobj
;
26066 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26067 wxTreeItemId
*arg2
= 0 ;
26069 PyObject
* obj0
= 0 ;
26070 PyObject
* obj1
= 0 ;
26071 PyObject
* obj2
= 0 ;
26072 char *kwnames
[] = {
26073 (char *) "self",(char *) "item",(char *) "font", NULL
26076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26079 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26080 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26082 if (arg2
== NULL
) {
26083 PyErr_SetString(PyExc_TypeError
,"null reference");
26086 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
26087 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26089 if (arg3
== NULL
) {
26090 PyErr_SetString(PyExc_TypeError
,"null reference");
26094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26095 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
26097 wxPyEndAllowThreads(__tstate
);
26098 if (PyErr_Occurred()) SWIG_fail
;
26100 Py_INCREF(Py_None
); resultobj
= Py_None
;
26107 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26108 PyObject
*resultobj
;
26109 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26110 wxTreeItemId
*arg2
= 0 ;
26112 PyObject
* obj0
= 0 ;
26113 PyObject
* obj1
= 0 ;
26114 char *kwnames
[] = {
26115 (char *) "self",(char *) "item", NULL
26118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26121 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26122 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26124 if (arg2
== NULL
) {
26125 PyErr_SetString(PyExc_TypeError
,"null reference");
26129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26130 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
26132 wxPyEndAllowThreads(__tstate
);
26133 if (PyErr_Occurred()) SWIG_fail
;
26136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26144 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26145 PyObject
*resultobj
;
26146 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26147 wxTreeItemId
*arg2
= 0 ;
26149 PyObject
* obj0
= 0 ;
26150 PyObject
* obj1
= 0 ;
26151 char *kwnames
[] = {
26152 (char *) "self",(char *) "item", NULL
26155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26158 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26159 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26161 if (arg2
== NULL
) {
26162 PyErr_SetString(PyExc_TypeError
,"null reference");
26166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26167 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
26169 wxPyEndAllowThreads(__tstate
);
26170 if (PyErr_Occurred()) SWIG_fail
;
26173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26181 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26182 PyObject
*resultobj
;
26183 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26184 wxTreeItemId
*arg2
= 0 ;
26186 PyObject
* obj0
= 0 ;
26187 PyObject
* obj1
= 0 ;
26188 char *kwnames
[] = {
26189 (char *) "self",(char *) "item", NULL
26192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
26193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26195 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26196 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26198 if (arg2
== NULL
) {
26199 PyErr_SetString(PyExc_TypeError
,"null reference");
26203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26204 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
26206 wxPyEndAllowThreads(__tstate
);
26207 if (PyErr_Occurred()) SWIG_fail
;
26210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26218 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26219 PyObject
*resultobj
;
26220 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26221 wxTreeItemId
*arg2
= 0 ;
26223 PyObject
* obj0
= 0 ;
26224 PyObject
* obj1
= 0 ;
26225 char *kwnames
[] = {
26226 (char *) "self",(char *) "item", NULL
26229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26232 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26233 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26235 if (arg2
== NULL
) {
26236 PyErr_SetString(PyExc_TypeError
,"null reference");
26240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26241 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
26243 wxPyEndAllowThreads(__tstate
);
26244 if (PyErr_Occurred()) SWIG_fail
;
26247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26255 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26256 PyObject
*resultobj
;
26257 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26258 wxTreeItemId
*arg2
= 0 ;
26260 PyObject
* obj0
= 0 ;
26261 PyObject
* obj1
= 0 ;
26262 char *kwnames
[] = {
26263 (char *) "self",(char *) "item", NULL
26266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
26267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26269 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26270 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26272 if (arg2
== NULL
) {
26273 PyErr_SetString(PyExc_TypeError
,"null reference");
26277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26278 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
26280 wxPyEndAllowThreads(__tstate
);
26281 if (PyErr_Occurred()) SWIG_fail
;
26284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26292 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26293 PyObject
*resultobj
;
26294 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26295 wxTreeItemId
*arg2
= 0 ;
26296 bool arg3
= (bool) True
;
26298 PyObject
* obj0
= 0 ;
26299 PyObject
* obj1
= 0 ;
26300 PyObject
* obj2
= 0 ;
26301 char *kwnames
[] = {
26302 (char *) "self",(char *) "item",(char *) "recursively", NULL
26305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26308 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26309 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26311 if (arg2
== NULL
) {
26312 PyErr_SetString(PyExc_TypeError
,"null reference");
26316 arg3
= (bool) SWIG_AsBool(obj2
);
26317 if (PyErr_Occurred()) SWIG_fail
;
26320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26321 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
26323 wxPyEndAllowThreads(__tstate
);
26324 if (PyErr_Occurred()) SWIG_fail
;
26326 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
26333 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26334 PyObject
*resultobj
;
26335 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26336 wxTreeItemId result
;
26337 PyObject
* obj0
= 0 ;
26338 char *kwnames
[] = {
26339 (char *) "self", NULL
26342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
26343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26347 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
26349 wxPyEndAllowThreads(__tstate
);
26350 if (PyErr_Occurred()) SWIG_fail
;
26353 wxTreeItemId
* resultptr
;
26354 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26355 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26363 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26364 PyObject
*resultobj
;
26365 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26366 wxTreeItemId result
;
26367 PyObject
* obj0
= 0 ;
26368 char *kwnames
[] = {
26369 (char *) "self", NULL
26372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
26373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26377 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
26379 wxPyEndAllowThreads(__tstate
);
26380 if (PyErr_Occurred()) SWIG_fail
;
26383 wxTreeItemId
* resultptr
;
26384 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26385 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26393 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26394 PyObject
*resultobj
;
26395 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26397 PyObject
* obj0
= 0 ;
26398 char *kwnames
[] = {
26399 (char *) "self", NULL
26402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
26403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26407 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
26409 wxPyEndAllowThreads(__tstate
);
26410 if (PyErr_Occurred()) SWIG_fail
;
26412 resultobj
= result
;
26419 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26420 PyObject
*resultobj
;
26421 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26422 wxTreeItemId
*arg2
= 0 ;
26423 wxTreeItemId result
;
26424 PyObject
* obj0
= 0 ;
26425 PyObject
* obj1
= 0 ;
26426 char *kwnames
[] = {
26427 (char *) "self",(char *) "item", NULL
26430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26433 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26434 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26436 if (arg2
== NULL
) {
26437 PyErr_SetString(PyExc_TypeError
,"null reference");
26441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26442 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
26444 wxPyEndAllowThreads(__tstate
);
26445 if (PyErr_Occurred()) SWIG_fail
;
26448 wxTreeItemId
* resultptr
;
26449 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26450 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26458 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26459 PyObject
*resultobj
;
26460 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26461 wxTreeItemId
*arg2
= 0 ;
26463 PyObject
* obj0
= 0 ;
26464 PyObject
* obj1
= 0 ;
26465 char *kwnames
[] = {
26466 (char *) "self",(char *) "item", NULL
26469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26472 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26473 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26475 if (arg2
== NULL
) {
26476 PyErr_SetString(PyExc_TypeError
,"null reference");
26480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26481 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
26483 wxPyEndAllowThreads(__tstate
);
26484 if (PyErr_Occurred()) SWIG_fail
;
26486 resultobj
= result
;
26493 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26494 PyObject
*resultobj
;
26495 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26496 wxTreeItemId
*arg2
= 0 ;
26497 void *arg3
= (void *) 0 ;
26499 PyObject
* obj0
= 0 ;
26500 PyObject
* obj1
= 0 ;
26501 PyObject
* obj2
= 0 ;
26502 char *kwnames
[] = {
26503 (char *) "self",(char *) "item",(char *) "cookie", NULL
26506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26509 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26510 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26512 if (arg2
== NULL
) {
26513 PyErr_SetString(PyExc_TypeError
,"null reference");
26516 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26519 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26521 wxPyEndAllowThreads(__tstate
);
26522 if (PyErr_Occurred()) SWIG_fail
;
26524 resultobj
= result
;
26531 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26532 PyObject
*resultobj
;
26533 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26534 wxTreeItemId
*arg2
= 0 ;
26535 wxTreeItemId result
;
26536 PyObject
* obj0
= 0 ;
26537 PyObject
* obj1
= 0 ;
26538 char *kwnames
[] = {
26539 (char *) "self",(char *) "item", NULL
26542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26545 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26546 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26548 if (arg2
== NULL
) {
26549 PyErr_SetString(PyExc_TypeError
,"null reference");
26553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26554 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
26556 wxPyEndAllowThreads(__tstate
);
26557 if (PyErr_Occurred()) SWIG_fail
;
26560 wxTreeItemId
* resultptr
;
26561 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26562 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26570 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26571 PyObject
*resultobj
;
26572 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26573 wxTreeItemId
*arg2
= 0 ;
26574 wxTreeItemId result
;
26575 PyObject
* obj0
= 0 ;
26576 PyObject
* obj1
= 0 ;
26577 char *kwnames
[] = {
26578 (char *) "self",(char *) "item", NULL
26581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
26582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26584 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26585 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26587 if (arg2
== NULL
) {
26588 PyErr_SetString(PyExc_TypeError
,"null reference");
26592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26593 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
26595 wxPyEndAllowThreads(__tstate
);
26596 if (PyErr_Occurred()) SWIG_fail
;
26599 wxTreeItemId
* resultptr
;
26600 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26601 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26609 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26610 PyObject
*resultobj
;
26611 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26612 wxTreeItemId
*arg2
= 0 ;
26613 wxTreeItemId result
;
26614 PyObject
* obj0
= 0 ;
26615 PyObject
* obj1
= 0 ;
26616 char *kwnames
[] = {
26617 (char *) "self",(char *) "item", NULL
26620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
26621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26623 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26624 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26626 if (arg2
== NULL
) {
26627 PyErr_SetString(PyExc_TypeError
,"null reference");
26631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26632 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
26634 wxPyEndAllowThreads(__tstate
);
26635 if (PyErr_Occurred()) SWIG_fail
;
26638 wxTreeItemId
* resultptr
;
26639 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26640 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26648 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26649 PyObject
*resultobj
;
26650 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26651 wxTreeItemId result
;
26652 PyObject
* obj0
= 0 ;
26653 char *kwnames
[] = {
26654 (char *) "self", NULL
26657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
26658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26662 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
26664 wxPyEndAllowThreads(__tstate
);
26665 if (PyErr_Occurred()) SWIG_fail
;
26668 wxTreeItemId
* resultptr
;
26669 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26670 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26678 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26679 PyObject
*resultobj
;
26680 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26681 wxTreeItemId
*arg2
= 0 ;
26682 wxTreeItemId result
;
26683 PyObject
* obj0
= 0 ;
26684 PyObject
* obj1
= 0 ;
26685 char *kwnames
[] = {
26686 (char *) "self",(char *) "item", NULL
26689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26692 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26693 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26695 if (arg2
== NULL
) {
26696 PyErr_SetString(PyExc_TypeError
,"null reference");
26700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26701 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
26703 wxPyEndAllowThreads(__tstate
);
26704 if (PyErr_Occurred()) SWIG_fail
;
26707 wxTreeItemId
* resultptr
;
26708 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26709 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26717 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26718 PyObject
*resultobj
;
26719 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26720 wxTreeItemId
*arg2
= 0 ;
26721 wxTreeItemId result
;
26722 PyObject
* obj0
= 0 ;
26723 PyObject
* obj1
= 0 ;
26724 char *kwnames
[] = {
26725 (char *) "self",(char *) "item", NULL
26728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26731 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26732 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26734 if (arg2
== NULL
) {
26735 PyErr_SetString(PyExc_TypeError
,"null reference");
26739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26740 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
26742 wxPyEndAllowThreads(__tstate
);
26743 if (PyErr_Occurred()) SWIG_fail
;
26746 wxTreeItemId
* resultptr
;
26747 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26748 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26756 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26757 PyObject
*resultobj
;
26758 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26759 wxString
*arg2
= 0 ;
26760 int arg3
= (int) -1 ;
26761 int arg4
= (int) -1 ;
26762 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
26763 wxTreeItemId result
;
26764 bool temp2
= False
;
26765 PyObject
* obj0
= 0 ;
26766 PyObject
* obj1
= 0 ;
26767 PyObject
* obj2
= 0 ;
26768 PyObject
* obj3
= 0 ;
26769 PyObject
* obj4
= 0 ;
26770 char *kwnames
[] = {
26771 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26778 arg2
= wxString_in_helper(obj1
);
26779 if (arg2
== NULL
) SWIG_fail
;
26783 arg3
= (int) SWIG_AsInt(obj2
);
26784 if (PyErr_Occurred()) SWIG_fail
;
26787 arg4
= (int) SWIG_AsInt(obj3
);
26788 if (PyErr_Occurred()) SWIG_fail
;
26791 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
26792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26796 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
26798 wxPyEndAllowThreads(__tstate
);
26799 if (PyErr_Occurred()) SWIG_fail
;
26802 wxTreeItemId
* resultptr
;
26803 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26804 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26820 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26821 PyObject
*resultobj
;
26822 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26823 wxTreeItemId
*arg2
= 0 ;
26824 wxString
*arg3
= 0 ;
26825 int arg4
= (int) -1 ;
26826 int arg5
= (int) -1 ;
26827 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
26828 wxTreeItemId result
;
26829 bool temp3
= False
;
26830 PyObject
* obj0
= 0 ;
26831 PyObject
* obj1
= 0 ;
26832 PyObject
* obj2
= 0 ;
26833 PyObject
* obj3
= 0 ;
26834 PyObject
* obj4
= 0 ;
26835 PyObject
* obj5
= 0 ;
26836 char *kwnames
[] = {
26837 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26843 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26844 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26846 if (arg2
== NULL
) {
26847 PyErr_SetString(PyExc_TypeError
,"null reference");
26851 arg3
= wxString_in_helper(obj2
);
26852 if (arg3
== NULL
) SWIG_fail
;
26856 arg4
= (int) SWIG_AsInt(obj3
);
26857 if (PyErr_Occurred()) SWIG_fail
;
26860 arg5
= (int) SWIG_AsInt(obj4
);
26861 if (PyErr_Occurred()) SWIG_fail
;
26864 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
26865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26869 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
26871 wxPyEndAllowThreads(__tstate
);
26872 if (PyErr_Occurred()) SWIG_fail
;
26875 wxTreeItemId
* resultptr
;
26876 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26877 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26893 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26894 PyObject
*resultobj
;
26895 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26896 wxTreeItemId
*arg2
= 0 ;
26897 wxTreeItemId
*arg3
= 0 ;
26898 wxString
*arg4
= 0 ;
26899 int arg5
= (int) -1 ;
26900 int arg6
= (int) -1 ;
26901 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
26902 wxTreeItemId result
;
26903 bool temp4
= False
;
26904 PyObject
* obj0
= 0 ;
26905 PyObject
* obj1
= 0 ;
26906 PyObject
* obj2
= 0 ;
26907 PyObject
* obj3
= 0 ;
26908 PyObject
* obj4
= 0 ;
26909 PyObject
* obj5
= 0 ;
26910 PyObject
* obj6
= 0 ;
26911 char *kwnames
[] = {
26912 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26918 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26919 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26921 if (arg2
== NULL
) {
26922 PyErr_SetString(PyExc_TypeError
,"null reference");
26925 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
26926 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26928 if (arg3
== NULL
) {
26929 PyErr_SetString(PyExc_TypeError
,"null reference");
26933 arg4
= wxString_in_helper(obj3
);
26934 if (arg4
== NULL
) SWIG_fail
;
26938 arg5
= (int) SWIG_AsInt(obj4
);
26939 if (PyErr_Occurred()) SWIG_fail
;
26942 arg6
= (int) SWIG_AsInt(obj5
);
26943 if (PyErr_Occurred()) SWIG_fail
;
26946 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
26947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26951 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
26953 wxPyEndAllowThreads(__tstate
);
26954 if (PyErr_Occurred()) SWIG_fail
;
26957 wxTreeItemId
* resultptr
;
26958 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26959 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26975 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26976 PyObject
*resultobj
;
26977 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26978 wxTreeItemId
*arg2
= 0 ;
26980 wxString
*arg4
= 0 ;
26981 int arg5
= (int) -1 ;
26982 int arg6
= (int) -1 ;
26983 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
26984 wxTreeItemId result
;
26985 bool temp4
= False
;
26986 PyObject
* obj0
= 0 ;
26987 PyObject
* obj1
= 0 ;
26988 PyObject
* obj2
= 0 ;
26989 PyObject
* obj3
= 0 ;
26990 PyObject
* obj4
= 0 ;
26991 PyObject
* obj5
= 0 ;
26992 PyObject
* obj6
= 0 ;
26993 char *kwnames
[] = {
26994 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27000 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27001 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27003 if (arg2
== NULL
) {
27004 PyErr_SetString(PyExc_TypeError
,"null reference");
27007 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
27008 if (PyErr_Occurred()) SWIG_fail
;
27010 arg4
= wxString_in_helper(obj3
);
27011 if (arg4
== NULL
) SWIG_fail
;
27015 arg5
= (int) SWIG_AsInt(obj4
);
27016 if (PyErr_Occurred()) SWIG_fail
;
27019 arg6
= (int) SWIG_AsInt(obj5
);
27020 if (PyErr_Occurred()) SWIG_fail
;
27023 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
27024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27028 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
27030 wxPyEndAllowThreads(__tstate
);
27031 if (PyErr_Occurred()) SWIG_fail
;
27034 wxTreeItemId
* resultptr
;
27035 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27036 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27052 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27053 PyObject
*resultobj
;
27054 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27055 wxTreeItemId
*arg2
= 0 ;
27056 wxString
*arg3
= 0 ;
27057 int arg4
= (int) -1 ;
27058 int arg5
= (int) -1 ;
27059 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
27060 wxTreeItemId result
;
27061 bool temp3
= False
;
27062 PyObject
* obj0
= 0 ;
27063 PyObject
* obj1
= 0 ;
27064 PyObject
* obj2
= 0 ;
27065 PyObject
* obj3
= 0 ;
27066 PyObject
* obj4
= 0 ;
27067 PyObject
* obj5
= 0 ;
27068 char *kwnames
[] = {
27069 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27075 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27076 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27078 if (arg2
== NULL
) {
27079 PyErr_SetString(PyExc_TypeError
,"null reference");
27083 arg3
= wxString_in_helper(obj2
);
27084 if (arg3
== NULL
) SWIG_fail
;
27088 arg4
= (int) SWIG_AsInt(obj3
);
27089 if (PyErr_Occurred()) SWIG_fail
;
27092 arg5
= (int) SWIG_AsInt(obj4
);
27093 if (PyErr_Occurred()) SWIG_fail
;
27096 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
27097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27101 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
27103 wxPyEndAllowThreads(__tstate
);
27104 if (PyErr_Occurred()) SWIG_fail
;
27107 wxTreeItemId
* resultptr
;
27108 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27109 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27125 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27126 PyObject
*resultobj
;
27127 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27128 wxTreeItemId
*arg2
= 0 ;
27129 PyObject
* obj0
= 0 ;
27130 PyObject
* obj1
= 0 ;
27131 char *kwnames
[] = {
27132 (char *) "self",(char *) "item", NULL
27135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
27136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27138 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27139 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27141 if (arg2
== NULL
) {
27142 PyErr_SetString(PyExc_TypeError
,"null reference");
27146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27147 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
27149 wxPyEndAllowThreads(__tstate
);
27150 if (PyErr_Occurred()) SWIG_fail
;
27152 Py_INCREF(Py_None
); resultobj
= Py_None
;
27159 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27160 PyObject
*resultobj
;
27161 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27162 wxTreeItemId
*arg2
= 0 ;
27163 PyObject
* obj0
= 0 ;
27164 PyObject
* obj1
= 0 ;
27165 char *kwnames
[] = {
27166 (char *) "self",(char *) "item", NULL
27169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27172 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27173 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27175 if (arg2
== NULL
) {
27176 PyErr_SetString(PyExc_TypeError
,"null reference");
27180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27181 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
27183 wxPyEndAllowThreads(__tstate
);
27184 if (PyErr_Occurred()) SWIG_fail
;
27186 Py_INCREF(Py_None
); resultobj
= Py_None
;
27193 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27194 PyObject
*resultobj
;
27195 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27196 PyObject
* obj0
= 0 ;
27197 char *kwnames
[] = {
27198 (char *) "self", NULL
27201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
27202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27206 (arg1
)->DeleteAllItems();
27208 wxPyEndAllowThreads(__tstate
);
27209 if (PyErr_Occurred()) SWIG_fail
;
27211 Py_INCREF(Py_None
); resultobj
= Py_None
;
27218 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27219 PyObject
*resultobj
;
27220 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27221 wxTreeItemId
*arg2
= 0 ;
27222 PyObject
* obj0
= 0 ;
27223 PyObject
* obj1
= 0 ;
27224 char *kwnames
[] = {
27225 (char *) "self",(char *) "item", NULL
27228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
27229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27231 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27232 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27234 if (arg2
== NULL
) {
27235 PyErr_SetString(PyExc_TypeError
,"null reference");
27239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27240 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
27242 wxPyEndAllowThreads(__tstate
);
27243 if (PyErr_Occurred()) SWIG_fail
;
27245 Py_INCREF(Py_None
); resultobj
= Py_None
;
27252 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27253 PyObject
*resultobj
;
27254 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27255 wxTreeItemId
*arg2
= 0 ;
27256 PyObject
* obj0
= 0 ;
27257 PyObject
* obj1
= 0 ;
27258 char *kwnames
[] = {
27259 (char *) "self",(char *) "item", NULL
27262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
27263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27265 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27266 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27268 if (arg2
== NULL
) {
27269 PyErr_SetString(PyExc_TypeError
,"null reference");
27273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27274 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
27276 wxPyEndAllowThreads(__tstate
);
27277 if (PyErr_Occurred()) SWIG_fail
;
27279 Py_INCREF(Py_None
); resultobj
= Py_None
;
27286 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27287 PyObject
*resultobj
;
27288 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27289 wxTreeItemId
*arg2
= 0 ;
27290 PyObject
* obj0
= 0 ;
27291 PyObject
* obj1
= 0 ;
27292 char *kwnames
[] = {
27293 (char *) "self",(char *) "item", NULL
27296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
27297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27299 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27300 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27302 if (arg2
== NULL
) {
27303 PyErr_SetString(PyExc_TypeError
,"null reference");
27307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27308 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
27310 wxPyEndAllowThreads(__tstate
);
27311 if (PyErr_Occurred()) SWIG_fail
;
27313 Py_INCREF(Py_None
); resultobj
= Py_None
;
27320 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27321 PyObject
*resultobj
;
27322 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27323 wxTreeItemId
*arg2
= 0 ;
27324 PyObject
* obj0
= 0 ;
27325 PyObject
* obj1
= 0 ;
27326 char *kwnames
[] = {
27327 (char *) "self",(char *) "item", NULL
27330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
27331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27333 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27334 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27336 if (arg2
== NULL
) {
27337 PyErr_SetString(PyExc_TypeError
,"null reference");
27341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27342 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
27344 wxPyEndAllowThreads(__tstate
);
27345 if (PyErr_Occurred()) SWIG_fail
;
27347 Py_INCREF(Py_None
); resultobj
= Py_None
;
27354 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27355 PyObject
*resultobj
;
27356 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27357 PyObject
* obj0
= 0 ;
27358 char *kwnames
[] = {
27359 (char *) "self", NULL
27362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
27363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27367 (arg1
)->Unselect();
27369 wxPyEndAllowThreads(__tstate
);
27370 if (PyErr_Occurred()) SWIG_fail
;
27372 Py_INCREF(Py_None
); resultobj
= Py_None
;
27379 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27380 PyObject
*resultobj
;
27381 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27382 wxTreeItemId
*arg2
= 0 ;
27383 PyObject
* obj0
= 0 ;
27384 PyObject
* obj1
= 0 ;
27385 char *kwnames
[] = {
27386 (char *) "self",(char *) "item", NULL
27389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27392 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27393 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27395 if (arg2
== NULL
) {
27396 PyErr_SetString(PyExc_TypeError
,"null reference");
27400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27401 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
27403 wxPyEndAllowThreads(__tstate
);
27404 if (PyErr_Occurred()) SWIG_fail
;
27406 Py_INCREF(Py_None
); resultobj
= Py_None
;
27413 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27414 PyObject
*resultobj
;
27415 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27416 PyObject
* obj0
= 0 ;
27417 char *kwnames
[] = {
27418 (char *) "self", NULL
27421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
27422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27426 (arg1
)->UnselectAll();
27428 wxPyEndAllowThreads(__tstate
);
27429 if (PyErr_Occurred()) SWIG_fail
;
27431 Py_INCREF(Py_None
); resultobj
= Py_None
;
27438 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27439 PyObject
*resultobj
;
27440 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27441 wxTreeItemId
*arg2
= 0 ;
27442 bool arg3
= (bool) True
;
27443 PyObject
* obj0
= 0 ;
27444 PyObject
* obj1
= 0 ;
27445 PyObject
* obj2
= 0 ;
27446 char *kwnames
[] = {
27447 (char *) "self",(char *) "item",(char *) "select", NULL
27450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27453 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27454 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27456 if (arg2
== NULL
) {
27457 PyErr_SetString(PyExc_TypeError
,"null reference");
27461 arg3
= (bool) SWIG_AsBool(obj2
);
27462 if (PyErr_Occurred()) SWIG_fail
;
27465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27466 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
27468 wxPyEndAllowThreads(__tstate
);
27469 if (PyErr_Occurred()) SWIG_fail
;
27471 Py_INCREF(Py_None
); resultobj
= Py_None
;
27478 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27479 PyObject
*resultobj
;
27480 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27481 wxTreeItemId
*arg2
= 0 ;
27482 PyObject
* obj0
= 0 ;
27483 PyObject
* obj1
= 0 ;
27484 char *kwnames
[] = {
27485 (char *) "self",(char *) "item", NULL
27488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27491 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27492 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27494 if (arg2
== NULL
) {
27495 PyErr_SetString(PyExc_TypeError
,"null reference");
27499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27500 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
27502 wxPyEndAllowThreads(__tstate
);
27503 if (PyErr_Occurred()) SWIG_fail
;
27505 Py_INCREF(Py_None
); resultobj
= Py_None
;
27512 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27513 PyObject
*resultobj
;
27514 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27515 wxTreeItemId
*arg2
= 0 ;
27516 PyObject
* obj0
= 0 ;
27517 PyObject
* obj1
= 0 ;
27518 char *kwnames
[] = {
27519 (char *) "self",(char *) "item", NULL
27522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
27523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27525 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27526 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27528 if (arg2
== NULL
) {
27529 PyErr_SetString(PyExc_TypeError
,"null reference");
27533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27534 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
27536 wxPyEndAllowThreads(__tstate
);
27537 if (PyErr_Occurred()) SWIG_fail
;
27539 Py_INCREF(Py_None
); resultobj
= Py_None
;
27546 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27547 PyObject
*resultobj
;
27548 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27549 wxTreeItemId
*arg2
= 0 ;
27550 PyObject
* obj0
= 0 ;
27551 PyObject
* obj1
= 0 ;
27552 char *kwnames
[] = {
27553 (char *) "self",(char *) "item", NULL
27556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
27557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27559 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27560 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27562 if (arg2
== NULL
) {
27563 PyErr_SetString(PyExc_TypeError
,"null reference");
27567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27568 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
27570 wxPyEndAllowThreads(__tstate
);
27571 if (PyErr_Occurred()) SWIG_fail
;
27573 Py_INCREF(Py_None
); resultobj
= Py_None
;
27580 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27581 PyObject
*resultobj
;
27582 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27583 wxTreeItemId
*arg2
= 0 ;
27584 PyObject
* obj0
= 0 ;
27585 PyObject
* obj1
= 0 ;
27586 char *kwnames
[] = {
27587 (char *) "self",(char *) "item", NULL
27590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27593 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27594 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27596 if (arg2
== NULL
) {
27597 PyErr_SetString(PyExc_TypeError
,"null reference");
27601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27602 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
27604 wxPyEndAllowThreads(__tstate
);
27605 if (PyErr_Occurred()) SWIG_fail
;
27607 Py_INCREF(Py_None
); resultobj
= Py_None
;
27614 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27615 PyObject
*resultobj
;
27616 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27617 wxTextCtrl
*result
;
27618 PyObject
* obj0
= 0 ;
27619 char *kwnames
[] = {
27620 (char *) "self", NULL
27623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
27624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27628 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
27630 wxPyEndAllowThreads(__tstate
);
27631 if (PyErr_Occurred()) SWIG_fail
;
27634 resultobj
= wxPyMake_wxObject(result
);
27642 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27643 PyObject
*resultobj
;
27644 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27645 wxTreeItemId
*arg2
= 0 ;
27646 PyObject
* obj0
= 0 ;
27647 PyObject
* obj1
= 0 ;
27648 char *kwnames
[] = {
27649 (char *) "self",(char *) "item", NULL
27652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27655 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27656 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27658 if (arg2
== NULL
) {
27659 PyErr_SetString(PyExc_TypeError
,"null reference");
27663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27664 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
27666 wxPyEndAllowThreads(__tstate
);
27667 if (PyErr_Occurred()) SWIG_fail
;
27669 Py_INCREF(Py_None
); resultobj
= Py_None
;
27676 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27677 PyObject
*resultobj
;
27678 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27679 wxPoint
*arg2
= 0 ;
27681 wxTreeItemId result
;
27684 PyObject
* obj0
= 0 ;
27685 PyObject
* obj1
= 0 ;
27686 char *kwnames
[] = {
27687 (char *) "self",(char *) "point", NULL
27691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
27692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27696 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27700 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
27702 wxPyEndAllowThreads(__tstate
);
27703 if (PyErr_Occurred()) SWIG_fail
;
27706 wxTreeItemId
* resultptr
;
27707 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27708 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27711 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27712 resultobj
= t_output_helper(resultobj
,o
);
27720 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27721 PyObject
*resultobj
;
27722 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27723 wxTreeItemId
*arg2
= 0 ;
27724 bool arg3
= (bool) False
;
27726 PyObject
* obj0
= 0 ;
27727 PyObject
* obj1
= 0 ;
27728 PyObject
* obj2
= 0 ;
27729 char *kwnames
[] = {
27730 (char *) "self",(char *) "item",(char *) "textOnly", NULL
27733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27736 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27737 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27739 if (arg2
== NULL
) {
27740 PyErr_SetString(PyExc_TypeError
,"null reference");
27744 arg3
= (bool) SWIG_AsBool(obj2
);
27745 if (PyErr_Occurred()) SWIG_fail
;
27748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27749 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
27751 wxPyEndAllowThreads(__tstate
);
27752 if (PyErr_Occurred()) SWIG_fail
;
27754 resultobj
= result
;
27761 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27762 PyObject
*resultobj
;
27763 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
27764 wxVisualAttributes result
;
27765 PyObject
* obj0
= 0 ;
27766 char *kwnames
[] = {
27767 (char *) "variant", NULL
27770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
27772 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
27773 if (PyErr_Occurred()) SWIG_fail
;
27776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27777 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
27779 wxPyEndAllowThreads(__tstate
);
27780 if (PyErr_Occurred()) SWIG_fail
;
27783 wxVisualAttributes
* resultptr
;
27784 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
27785 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
27793 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27795 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27796 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
27798 return Py_BuildValue((char *)"");
27800 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*_val
) {
27801 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
27806 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
27811 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
27813 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
27820 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27821 PyObject
*resultobj
;
27822 wxWindow
*arg1
= (wxWindow
*) 0 ;
27823 int arg2
= (int) (int)-1 ;
27824 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
27825 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
27826 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27827 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27828 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27829 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27830 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
27831 wxString
const &arg7_defvalue
= wxPyEmptyString
;
27832 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27833 int arg8
= (int) 0 ;
27834 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
27835 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
27836 wxGenericDirCtrl
*result
;
27837 bool temp3
= False
;
27840 bool temp7
= False
;
27841 bool temp9
= False
;
27842 PyObject
* obj0
= 0 ;
27843 PyObject
* obj1
= 0 ;
27844 PyObject
* obj2
= 0 ;
27845 PyObject
* obj3
= 0 ;
27846 PyObject
* obj4
= 0 ;
27847 PyObject
* obj5
= 0 ;
27848 PyObject
* obj6
= 0 ;
27849 PyObject
* obj7
= 0 ;
27850 PyObject
* obj8
= 0 ;
27851 char *kwnames
[] = {
27852 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
27856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27859 arg2
= (int const) SWIG_AsInt(obj1
);
27860 if (PyErr_Occurred()) SWIG_fail
;
27864 arg3
= wxString_in_helper(obj2
);
27865 if (arg3
== NULL
) SWIG_fail
;
27872 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27878 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27882 arg6
= (long) SWIG_AsLong(obj5
);
27883 if (PyErr_Occurred()) SWIG_fail
;
27887 arg7
= wxString_in_helper(obj6
);
27888 if (arg7
== NULL
) SWIG_fail
;
27893 arg8
= (int) SWIG_AsInt(obj7
);
27894 if (PyErr_Occurred()) SWIG_fail
;
27898 arg9
= wxString_in_helper(obj8
);
27899 if (arg9
== NULL
) SWIG_fail
;
27904 if (!wxPyCheckForApp()) SWIG_fail
;
27905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27906 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
27908 wxPyEndAllowThreads(__tstate
);
27909 if (PyErr_Occurred()) SWIG_fail
;
27911 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
27942 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27943 PyObject
*resultobj
;
27944 wxGenericDirCtrl
*result
;
27945 char *kwnames
[] = {
27949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
27951 if (!wxPyCheckForApp()) SWIG_fail
;
27952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27953 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
27955 wxPyEndAllowThreads(__tstate
);
27956 if (PyErr_Occurred()) SWIG_fail
;
27958 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
27965 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27966 PyObject
*resultobj
;
27967 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27968 wxWindow
*arg2
= (wxWindow
*) 0 ;
27969 int arg3
= (int) (int)-1 ;
27970 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
27971 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27972 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
27973 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
27974 wxSize
const &arg6_defvalue
= wxDefaultSize
;
27975 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
27976 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
27977 wxString
const &arg8_defvalue
= wxPyEmptyString
;
27978 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
27979 int arg9
= (int) 0 ;
27980 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
27981 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
27983 bool temp4
= False
;
27986 bool temp8
= False
;
27987 bool temp10
= False
;
27988 PyObject
* obj0
= 0 ;
27989 PyObject
* obj1
= 0 ;
27990 PyObject
* obj2
= 0 ;
27991 PyObject
* obj3
= 0 ;
27992 PyObject
* obj4
= 0 ;
27993 PyObject
* obj5
= 0 ;
27994 PyObject
* obj6
= 0 ;
27995 PyObject
* obj7
= 0 ;
27996 PyObject
* obj8
= 0 ;
27997 PyObject
* obj9
= 0 ;
27998 char *kwnames
[] = {
27999 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
28003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28005 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28008 arg3
= (int const) SWIG_AsInt(obj2
);
28009 if (PyErr_Occurred()) SWIG_fail
;
28013 arg4
= wxString_in_helper(obj3
);
28014 if (arg4
== NULL
) SWIG_fail
;
28021 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
28027 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
28031 arg7
= (long) SWIG_AsLong(obj6
);
28032 if (PyErr_Occurred()) SWIG_fail
;
28036 arg8
= wxString_in_helper(obj7
);
28037 if (arg8
== NULL
) SWIG_fail
;
28042 arg9
= (int) SWIG_AsInt(obj8
);
28043 if (PyErr_Occurred()) SWIG_fail
;
28047 arg10
= wxString_in_helper(obj9
);
28048 if (arg10
== NULL
) SWIG_fail
;
28053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28054 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
28056 wxPyEndAllowThreads(__tstate
);
28057 if (PyErr_Occurred()) SWIG_fail
;
28060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28092 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28093 PyObject
*resultobj
;
28094 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28095 wxString
*arg2
= 0 ;
28097 bool temp2
= False
;
28098 PyObject
* obj0
= 0 ;
28099 PyObject
* obj1
= 0 ;
28100 char *kwnames
[] = {
28101 (char *) "self",(char *) "path", NULL
28104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28108 arg2
= wxString_in_helper(obj1
);
28109 if (arg2
== NULL
) SWIG_fail
;
28113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28114 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
28116 wxPyEndAllowThreads(__tstate
);
28117 if (PyErr_Occurred()) SWIG_fail
;
28120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28136 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28137 PyObject
*resultobj
;
28138 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28140 PyObject
* obj0
= 0 ;
28141 char *kwnames
[] = {
28142 (char *) "self", NULL
28145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
28146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28150 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
28152 wxPyEndAllowThreads(__tstate
);
28153 if (PyErr_Occurred()) SWIG_fail
;
28157 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28159 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28168 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28169 PyObject
*resultobj
;
28170 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28171 wxString
*arg2
= 0 ;
28172 bool temp2
= False
;
28173 PyObject
* obj0
= 0 ;
28174 PyObject
* obj1
= 0 ;
28175 char *kwnames
[] = {
28176 (char *) "self",(char *) "path", NULL
28179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28183 arg2
= wxString_in_helper(obj1
);
28184 if (arg2
== NULL
) SWIG_fail
;
28188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28189 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
28191 wxPyEndAllowThreads(__tstate
);
28192 if (PyErr_Occurred()) SWIG_fail
;
28194 Py_INCREF(Py_None
); resultobj
= Py_None
;
28209 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28210 PyObject
*resultobj
;
28211 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28213 PyObject
* obj0
= 0 ;
28214 char *kwnames
[] = {
28215 (char *) "self", NULL
28218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
28219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28223 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
28225 wxPyEndAllowThreads(__tstate
);
28226 if (PyErr_Occurred()) SWIG_fail
;
28230 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28232 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28241 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28242 PyObject
*resultobj
;
28243 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28245 PyObject
* obj0
= 0 ;
28246 char *kwnames
[] = {
28247 (char *) "self", NULL
28250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
28251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28255 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
28257 wxPyEndAllowThreads(__tstate
);
28258 if (PyErr_Occurred()) SWIG_fail
;
28262 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28264 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28273 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28274 PyObject
*resultobj
;
28275 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28276 wxString
*arg2
= 0 ;
28277 bool temp2
= False
;
28278 PyObject
* obj0
= 0 ;
28279 PyObject
* obj1
= 0 ;
28280 char *kwnames
[] = {
28281 (char *) "self",(char *) "path", NULL
28284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28288 arg2
= wxString_in_helper(obj1
);
28289 if (arg2
== NULL
) SWIG_fail
;
28293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28294 (arg1
)->SetPath((wxString
const &)*arg2
);
28296 wxPyEndAllowThreads(__tstate
);
28297 if (PyErr_Occurred()) SWIG_fail
;
28299 Py_INCREF(Py_None
); resultobj
= Py_None
;
28314 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28315 PyObject
*resultobj
;
28316 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28318 PyObject
* obj0
= 0 ;
28319 PyObject
* obj1
= 0 ;
28320 char *kwnames
[] = {
28321 (char *) "self",(char *) "show", NULL
28324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
28325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28327 arg2
= (bool) SWIG_AsBool(obj1
);
28328 if (PyErr_Occurred()) SWIG_fail
;
28330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28331 (arg1
)->ShowHidden(arg2
);
28333 wxPyEndAllowThreads(__tstate
);
28334 if (PyErr_Occurred()) SWIG_fail
;
28336 Py_INCREF(Py_None
); resultobj
= Py_None
;
28343 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28344 PyObject
*resultobj
;
28345 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28347 PyObject
* obj0
= 0 ;
28348 char *kwnames
[] = {
28349 (char *) "self", NULL
28352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
28353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28357 result
= (bool)(arg1
)->GetShowHidden();
28359 wxPyEndAllowThreads(__tstate
);
28360 if (PyErr_Occurred()) SWIG_fail
;
28363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28371 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28372 PyObject
*resultobj
;
28373 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28375 PyObject
* obj0
= 0 ;
28376 char *kwnames
[] = {
28377 (char *) "self", NULL
28380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
28381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28385 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
28387 wxPyEndAllowThreads(__tstate
);
28388 if (PyErr_Occurred()) SWIG_fail
;
28392 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28394 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28403 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28404 PyObject
*resultobj
;
28405 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28406 wxString
*arg2
= 0 ;
28407 bool temp2
= False
;
28408 PyObject
* obj0
= 0 ;
28409 PyObject
* obj1
= 0 ;
28410 char *kwnames
[] = {
28411 (char *) "self",(char *) "filter", NULL
28414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
28415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28418 arg2
= wxString_in_helper(obj1
);
28419 if (arg2
== NULL
) SWIG_fail
;
28423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28424 (arg1
)->SetFilter((wxString
const &)*arg2
);
28426 wxPyEndAllowThreads(__tstate
);
28427 if (PyErr_Occurred()) SWIG_fail
;
28429 Py_INCREF(Py_None
); resultobj
= Py_None
;
28444 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28445 PyObject
*resultobj
;
28446 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28448 PyObject
* obj0
= 0 ;
28449 char *kwnames
[] = {
28450 (char *) "self", NULL
28453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
28454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28458 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
28460 wxPyEndAllowThreads(__tstate
);
28461 if (PyErr_Occurred()) SWIG_fail
;
28463 resultobj
= SWIG_FromInt((int)result
);
28470 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28471 PyObject
*resultobj
;
28472 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28474 PyObject
* obj0
= 0 ;
28475 PyObject
* obj1
= 0 ;
28476 char *kwnames
[] = {
28477 (char *) "self",(char *) "n", NULL
28480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
28481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28483 arg2
= (int) SWIG_AsInt(obj1
);
28484 if (PyErr_Occurred()) SWIG_fail
;
28486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28487 (arg1
)->SetFilterIndex(arg2
);
28489 wxPyEndAllowThreads(__tstate
);
28490 if (PyErr_Occurred()) SWIG_fail
;
28492 Py_INCREF(Py_None
); resultobj
= Py_None
;
28499 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28500 PyObject
*resultobj
;
28501 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28502 wxTreeItemId result
;
28503 PyObject
* obj0
= 0 ;
28504 char *kwnames
[] = {
28505 (char *) "self", NULL
28508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
28509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28513 result
= (arg1
)->GetRootId();
28515 wxPyEndAllowThreads(__tstate
);
28516 if (PyErr_Occurred()) SWIG_fail
;
28519 wxTreeItemId
* resultptr
;
28520 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28521 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28529 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28530 PyObject
*resultobj
;
28531 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28532 wxPyTreeCtrl
*result
;
28533 PyObject
* obj0
= 0 ;
28534 char *kwnames
[] = {
28535 (char *) "self", NULL
28538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
28539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28543 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
28545 wxPyEndAllowThreads(__tstate
);
28546 if (PyErr_Occurred()) SWIG_fail
;
28549 resultobj
= wxPyMake_wxObject(result
);
28557 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28558 PyObject
*resultobj
;
28559 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28560 wxDirFilterListCtrl
*result
;
28561 PyObject
* obj0
= 0 ;
28562 char *kwnames
[] = {
28563 (char *) "self", NULL
28566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
28567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28571 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
28573 wxPyEndAllowThreads(__tstate
);
28574 if (PyErr_Occurred()) SWIG_fail
;
28576 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
28583 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28584 PyObject
*resultobj
;
28585 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28586 wxTreeItemId arg2
;
28587 wxString
*arg3
= 0 ;
28589 wxTreeItemId result
;
28590 wxTreeItemId
*argp2
;
28591 bool temp3
= False
;
28593 PyObject
* obj0
= 0 ;
28594 PyObject
* obj1
= 0 ;
28595 PyObject
* obj2
= 0 ;
28596 char *kwnames
[] = {
28597 (char *) "self",(char *) "parentId",(char *) "path", NULL
28601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28604 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
28605 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
28608 arg3
= wxString_in_helper(obj2
);
28609 if (arg3
== NULL
) SWIG_fail
;
28613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28614 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
28616 wxPyEndAllowThreads(__tstate
);
28617 if (PyErr_Occurred()) SWIG_fail
;
28620 wxTreeItemId
* resultptr
;
28621 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28622 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28625 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
28626 resultobj
= t_output_helper(resultobj
,o
);
28642 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28643 PyObject
*resultobj
;
28644 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28645 PyObject
* obj0
= 0 ;
28646 char *kwnames
[] = {
28647 (char *) "self", NULL
28650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
28651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28655 (arg1
)->DoResize();
28657 wxPyEndAllowThreads(__tstate
);
28658 if (PyErr_Occurred()) SWIG_fail
;
28660 Py_INCREF(Py_None
); resultobj
= Py_None
;
28667 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28668 PyObject
*resultobj
;
28669 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28670 PyObject
* obj0
= 0 ;
28671 char *kwnames
[] = {
28672 (char *) "self", NULL
28675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
28676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28680 (arg1
)->ReCreateTree();
28682 wxPyEndAllowThreads(__tstate
);
28683 if (PyErr_Occurred()) SWIG_fail
;
28685 Py_INCREF(Py_None
); resultobj
= Py_None
;
28692 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
28694 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28695 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
28697 return Py_BuildValue((char *)"");
28699 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28700 PyObject
*resultobj
;
28701 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28702 int arg2
= (int) (int)-1 ;
28703 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28704 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28705 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28706 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28707 long arg5
= (long) 0 ;
28708 wxDirFilterListCtrl
*result
;
28711 PyObject
* obj0
= 0 ;
28712 PyObject
* obj1
= 0 ;
28713 PyObject
* obj2
= 0 ;
28714 PyObject
* obj3
= 0 ;
28715 PyObject
* obj4
= 0 ;
28716 char *kwnames
[] = {
28717 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28724 arg2
= (int const) SWIG_AsInt(obj1
);
28725 if (PyErr_Occurred()) SWIG_fail
;
28730 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28736 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28740 arg5
= (long) SWIG_AsLong(obj4
);
28741 if (PyErr_Occurred()) SWIG_fail
;
28744 if (!wxPyCheckForApp()) SWIG_fail
;
28745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28746 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
28748 wxPyEndAllowThreads(__tstate
);
28749 if (PyErr_Occurred()) SWIG_fail
;
28751 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
28758 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28759 PyObject
*resultobj
;
28760 wxDirFilterListCtrl
*result
;
28761 char *kwnames
[] = {
28765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
28767 if (!wxPyCheckForApp()) SWIG_fail
;
28768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28769 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
28771 wxPyEndAllowThreads(__tstate
);
28772 if (PyErr_Occurred()) SWIG_fail
;
28774 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
28781 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28782 PyObject
*resultobj
;
28783 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
28784 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
28785 int arg3
= (int) (int)-1 ;
28786 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28787 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28788 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28789 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28790 long arg6
= (long) 0 ;
28794 PyObject
* obj0
= 0 ;
28795 PyObject
* obj1
= 0 ;
28796 PyObject
* obj2
= 0 ;
28797 PyObject
* obj3
= 0 ;
28798 PyObject
* obj4
= 0 ;
28799 PyObject
* obj5
= 0 ;
28800 char *kwnames
[] = {
28801 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
28806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28807 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
28808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28810 arg3
= (int const) SWIG_AsInt(obj2
);
28811 if (PyErr_Occurred()) SWIG_fail
;
28816 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28822 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28826 arg6
= (long) SWIG_AsLong(obj5
);
28827 if (PyErr_Occurred()) SWIG_fail
;
28830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28831 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
28833 wxPyEndAllowThreads(__tstate
);
28834 if (PyErr_Occurred()) SWIG_fail
;
28837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28845 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28846 PyObject
*resultobj
;
28847 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
28848 wxString
*arg2
= 0 ;
28850 bool temp2
= False
;
28851 PyObject
* obj0
= 0 ;
28852 PyObject
* obj1
= 0 ;
28853 PyObject
* obj2
= 0 ;
28854 char *kwnames
[] = {
28855 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
28858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
28860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28862 arg2
= wxString_in_helper(obj1
);
28863 if (arg2
== NULL
) SWIG_fail
;
28866 arg3
= (int) SWIG_AsInt(obj2
);
28867 if (PyErr_Occurred()) SWIG_fail
;
28869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28870 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
28872 wxPyEndAllowThreads(__tstate
);
28873 if (PyErr_Occurred()) SWIG_fail
;
28875 Py_INCREF(Py_None
); resultobj
= Py_None
;
28890 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
28892 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28893 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
28895 return Py_BuildValue((char *)"");
28897 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28898 PyObject
*resultobj
;
28899 wxWindow
*arg1
= (wxWindow
*) 0 ;
28900 int arg2
= (int) (int)-1 ;
28901 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28902 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28903 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28904 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28905 long arg5
= (long) 0 ;
28906 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28907 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28908 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
28909 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28910 wxPyControl
*result
;
28913 bool temp7
= False
;
28914 PyObject
* obj0
= 0 ;
28915 PyObject
* obj1
= 0 ;
28916 PyObject
* obj2
= 0 ;
28917 PyObject
* obj3
= 0 ;
28918 PyObject
* obj4
= 0 ;
28919 PyObject
* obj5
= 0 ;
28920 PyObject
* obj6
= 0 ;
28921 char *kwnames
[] = {
28922 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
28926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28929 arg2
= (int const) SWIG_AsInt(obj1
);
28930 if (PyErr_Occurred()) SWIG_fail
;
28935 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28941 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28945 arg5
= (long) SWIG_AsLong(obj4
);
28946 if (PyErr_Occurred()) SWIG_fail
;
28949 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
28950 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28952 if (arg6
== NULL
) {
28953 PyErr_SetString(PyExc_TypeError
,"null reference");
28959 arg7
= wxString_in_helper(obj6
);
28960 if (arg7
== NULL
) SWIG_fail
;
28965 if (!wxPyCheckForApp()) SWIG_fail
;
28966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28967 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28969 wxPyEndAllowThreads(__tstate
);
28970 if (PyErr_Occurred()) SWIG_fail
;
28972 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
28987 static PyObject
*_wrap_new_PrePyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28988 PyObject
*resultobj
;
28989 wxPyControl
*result
;
28990 char *kwnames
[] = {
28994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
28996 if (!wxPyCheckForApp()) SWIG_fail
;
28997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28998 result
= (wxPyControl
*)new wxPyControl();
29000 wxPyEndAllowThreads(__tstate
);
29001 if (PyErr_Occurred()) SWIG_fail
;
29003 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
29010 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29011 PyObject
*resultobj
;
29012 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29013 PyObject
*arg2
= (PyObject
*) 0 ;
29014 PyObject
*arg3
= (PyObject
*) 0 ;
29015 PyObject
* obj0
= 0 ;
29016 PyObject
* obj1
= 0 ;
29017 PyObject
* obj2
= 0 ;
29018 char *kwnames
[] = {
29019 (char *) "self",(char *) "self",(char *) "_class", NULL
29022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29029 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29031 wxPyEndAllowThreads(__tstate
);
29032 if (PyErr_Occurred()) SWIG_fail
;
29034 Py_INCREF(Py_None
); resultobj
= Py_None
;
29041 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29042 PyObject
*resultobj
;
29043 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29046 PyObject
* obj0
= 0 ;
29047 PyObject
* obj1
= 0 ;
29048 char *kwnames
[] = {
29049 (char *) "self",(char *) "size", NULL
29052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
29053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29057 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29061 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
29063 wxPyEndAllowThreads(__tstate
);
29064 if (PyErr_Occurred()) SWIG_fail
;
29066 Py_INCREF(Py_None
); resultobj
= Py_None
;
29073 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29074 PyObject
*resultobj
;
29075 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29080 PyObject
* obj0
= 0 ;
29081 PyObject
* obj1
= 0 ;
29082 PyObject
* obj2
= 0 ;
29083 PyObject
* obj3
= 0 ;
29084 PyObject
* obj4
= 0 ;
29085 char *kwnames
[] = {
29086 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29092 arg2
= (int) SWIG_AsInt(obj1
);
29093 if (PyErr_Occurred()) SWIG_fail
;
29094 arg3
= (int) SWIG_AsInt(obj2
);
29095 if (PyErr_Occurred()) SWIG_fail
;
29096 arg4
= (int) SWIG_AsInt(obj3
);
29097 if (PyErr_Occurred()) SWIG_fail
;
29098 arg5
= (int) SWIG_AsInt(obj4
);
29099 if (PyErr_Occurred()) SWIG_fail
;
29101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29102 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
29104 wxPyEndAllowThreads(__tstate
);
29105 if (PyErr_Occurred()) SWIG_fail
;
29107 Py_INCREF(Py_None
); resultobj
= Py_None
;
29114 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29115 PyObject
*resultobj
;
29116 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29121 int arg6
= (int) wxSIZE_AUTO
;
29122 PyObject
* obj0
= 0 ;
29123 PyObject
* obj1
= 0 ;
29124 PyObject
* obj2
= 0 ;
29125 PyObject
* obj3
= 0 ;
29126 PyObject
* obj4
= 0 ;
29127 PyObject
* obj5
= 0 ;
29128 char *kwnames
[] = {
29129 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
29132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29135 arg2
= (int) SWIG_AsInt(obj1
);
29136 if (PyErr_Occurred()) SWIG_fail
;
29137 arg3
= (int) SWIG_AsInt(obj2
);
29138 if (PyErr_Occurred()) SWIG_fail
;
29139 arg4
= (int) SWIG_AsInt(obj3
);
29140 if (PyErr_Occurred()) SWIG_fail
;
29141 arg5
= (int) SWIG_AsInt(obj4
);
29142 if (PyErr_Occurred()) SWIG_fail
;
29144 arg6
= (int) SWIG_AsInt(obj5
);
29145 if (PyErr_Occurred()) SWIG_fail
;
29148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29149 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
29151 wxPyEndAllowThreads(__tstate
);
29152 if (PyErr_Occurred()) SWIG_fail
;
29154 Py_INCREF(Py_None
); resultobj
= Py_None
;
29161 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29162 PyObject
*resultobj
;
29163 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29166 PyObject
* obj0
= 0 ;
29167 PyObject
* obj1
= 0 ;
29168 PyObject
* obj2
= 0 ;
29169 char *kwnames
[] = {
29170 (char *) "self",(char *) "width",(char *) "height", NULL
29173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29176 arg2
= (int) SWIG_AsInt(obj1
);
29177 if (PyErr_Occurred()) SWIG_fail
;
29178 arg3
= (int) SWIG_AsInt(obj2
);
29179 if (PyErr_Occurred()) SWIG_fail
;
29181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29182 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
29184 wxPyEndAllowThreads(__tstate
);
29185 if (PyErr_Occurred()) SWIG_fail
;
29187 Py_INCREF(Py_None
); resultobj
= Py_None
;
29194 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29195 PyObject
*resultobj
;
29196 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29199 PyObject
* obj0
= 0 ;
29200 PyObject
* obj1
= 0 ;
29201 PyObject
* obj2
= 0 ;
29202 char *kwnames
[] = {
29203 (char *) "self",(char *) "x",(char *) "y", NULL
29206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29209 arg2
= (int) SWIG_AsInt(obj1
);
29210 if (PyErr_Occurred()) SWIG_fail
;
29211 arg3
= (int) SWIG_AsInt(obj2
);
29212 if (PyErr_Occurred()) SWIG_fail
;
29214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29215 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
29217 wxPyEndAllowThreads(__tstate
);
29218 if (PyErr_Occurred()) SWIG_fail
;
29220 Py_INCREF(Py_None
); resultobj
= Py_None
;
29227 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29228 PyObject
*resultobj
;
29229 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29230 int *arg2
= (int *) 0 ;
29231 int *arg3
= (int *) 0 ;
29234 PyObject
* obj0
= 0 ;
29235 char *kwnames
[] = {
29236 (char *) "self", NULL
29241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
29242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29246 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
29248 wxPyEndAllowThreads(__tstate
);
29249 if (PyErr_Occurred()) SWIG_fail
;
29251 Py_INCREF(Py_None
); resultobj
= Py_None
;
29253 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29254 resultobj
= t_output_helper(resultobj
,o
);
29257 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29258 resultobj
= t_output_helper(resultobj
,o
);
29266 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29267 PyObject
*resultobj
;
29268 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29269 int *arg2
= (int *) 0 ;
29270 int *arg3
= (int *) 0 ;
29273 PyObject
* obj0
= 0 ;
29274 char *kwnames
[] = {
29275 (char *) "self", NULL
29280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
29281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29285 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
29287 wxPyEndAllowThreads(__tstate
);
29288 if (PyErr_Occurred()) SWIG_fail
;
29290 Py_INCREF(Py_None
); resultobj
= Py_None
;
29292 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29293 resultobj
= t_output_helper(resultobj
,o
);
29296 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29297 resultobj
= t_output_helper(resultobj
,o
);
29305 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29306 PyObject
*resultobj
;
29307 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29308 int *arg2
= (int *) 0 ;
29309 int *arg3
= (int *) 0 ;
29312 PyObject
* obj0
= 0 ;
29313 char *kwnames
[] = {
29314 (char *) "self", NULL
29319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
29320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29324 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
29326 wxPyEndAllowThreads(__tstate
);
29327 if (PyErr_Occurred()) SWIG_fail
;
29329 Py_INCREF(Py_None
); resultobj
= Py_None
;
29331 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29332 resultobj
= t_output_helper(resultobj
,o
);
29335 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29336 resultobj
= t_output_helper(resultobj
,o
);
29344 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29345 PyObject
*resultobj
;
29346 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29348 PyObject
* obj0
= 0 ;
29349 char *kwnames
[] = {
29350 (char *) "self", NULL
29353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
29354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29358 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
29360 wxPyEndAllowThreads(__tstate
);
29361 if (PyErr_Occurred()) SWIG_fail
;
29364 wxSize
* resultptr
;
29365 resultptr
= new wxSize((wxSize
&) result
);
29366 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29374 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29375 PyObject
*resultobj
;
29376 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29378 PyObject
* obj0
= 0 ;
29379 char *kwnames
[] = {
29380 (char *) "self", NULL
29383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
29384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29388 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
29390 wxPyEndAllowThreads(__tstate
);
29391 if (PyErr_Occurred()) SWIG_fail
;
29394 wxSize
* resultptr
;
29395 resultptr
= new wxSize((wxSize
&) result
);
29396 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29404 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29405 PyObject
*resultobj
;
29406 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29407 PyObject
* obj0
= 0 ;
29408 char *kwnames
[] = {
29409 (char *) "self", NULL
29412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
29413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29417 (arg1
)->base_InitDialog();
29419 wxPyEndAllowThreads(__tstate
);
29420 if (PyErr_Occurred()) SWIG_fail
;
29422 Py_INCREF(Py_None
); resultobj
= Py_None
;
29429 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29430 PyObject
*resultobj
;
29431 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29433 PyObject
* obj0
= 0 ;
29434 char *kwnames
[] = {
29435 (char *) "self", NULL
29438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
29439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29443 result
= (bool)(arg1
)->base_TransferDataToWindow();
29445 wxPyEndAllowThreads(__tstate
);
29446 if (PyErr_Occurred()) SWIG_fail
;
29449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29457 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29458 PyObject
*resultobj
;
29459 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29461 PyObject
* obj0
= 0 ;
29462 char *kwnames
[] = {
29463 (char *) "self", NULL
29466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
29467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29471 result
= (bool)(arg1
)->base_TransferDataFromWindow();
29473 wxPyEndAllowThreads(__tstate
);
29474 if (PyErr_Occurred()) SWIG_fail
;
29477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29485 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29486 PyObject
*resultobj
;
29487 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29489 PyObject
* obj0
= 0 ;
29490 char *kwnames
[] = {
29491 (char *) "self", NULL
29494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
29495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29499 result
= (bool)(arg1
)->base_Validate();
29501 wxPyEndAllowThreads(__tstate
);
29502 if (PyErr_Occurred()) SWIG_fail
;
29505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29513 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29514 PyObject
*resultobj
;
29515 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29517 PyObject
* obj0
= 0 ;
29518 char *kwnames
[] = {
29519 (char *) "self", NULL
29522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
29523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29527 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
29529 wxPyEndAllowThreads(__tstate
);
29530 if (PyErr_Occurred()) SWIG_fail
;
29533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29541 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29542 PyObject
*resultobj
;
29543 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29545 PyObject
* obj0
= 0 ;
29546 char *kwnames
[] = {
29547 (char *) "self", NULL
29550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
29551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29555 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
29557 wxPyEndAllowThreads(__tstate
);
29558 if (PyErr_Occurred()) SWIG_fail
;
29561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29569 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29570 PyObject
*resultobj
;
29571 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29573 PyObject
* obj0
= 0 ;
29574 char *kwnames
[] = {
29575 (char *) "self", NULL
29578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
29579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29583 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
29585 wxPyEndAllowThreads(__tstate
);
29586 if (PyErr_Occurred()) SWIG_fail
;
29589 wxSize
* resultptr
;
29590 resultptr
= new wxSize((wxSize
&) result
);
29591 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29599 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29600 PyObject
*resultobj
;
29601 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29602 wxWindow
*arg2
= (wxWindow
*) 0 ;
29603 PyObject
* obj0
= 0 ;
29604 PyObject
* obj1
= 0 ;
29605 char *kwnames
[] = {
29606 (char *) "self",(char *) "child", NULL
29609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29612 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29616 (arg1
)->base_AddChild(arg2
);
29618 wxPyEndAllowThreads(__tstate
);
29619 if (PyErr_Occurred()) SWIG_fail
;
29621 Py_INCREF(Py_None
); resultobj
= Py_None
;
29628 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29629 PyObject
*resultobj
;
29630 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29631 wxWindow
*arg2
= (wxWindow
*) 0 ;
29632 PyObject
* obj0
= 0 ;
29633 PyObject
* obj1
= 0 ;
29634 char *kwnames
[] = {
29635 (char *) "self",(char *) "child", NULL
29638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29641 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29645 (arg1
)->base_RemoveChild(arg2
);
29647 wxPyEndAllowThreads(__tstate
);
29648 if (PyErr_Occurred()) SWIG_fail
;
29650 Py_INCREF(Py_None
); resultobj
= Py_None
;
29657 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29658 PyObject
*resultobj
;
29659 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29661 PyObject
* obj0
= 0 ;
29662 char *kwnames
[] = {
29663 (char *) "self", NULL
29666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
29667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29671 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
29673 wxPyEndAllowThreads(__tstate
);
29674 if (PyErr_Occurred()) SWIG_fail
;
29677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29685 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29686 PyObject
*resultobj
;
29687 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29688 wxColour
*arg2
= 0 ;
29690 PyObject
* obj0
= 0 ;
29691 PyObject
* obj1
= 0 ;
29692 char *kwnames
[] = {
29693 (char *) "self",(char *) "c", NULL
29696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
29697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29701 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29705 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
29707 wxPyEndAllowThreads(__tstate
);
29708 if (PyErr_Occurred()) SWIG_fail
;
29710 Py_INCREF(Py_None
); resultobj
= Py_None
;
29717 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29718 PyObject
*resultobj
;
29719 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29720 wxVisualAttributes result
;
29721 PyObject
* obj0
= 0 ;
29722 char *kwnames
[] = {
29723 (char *) "self", NULL
29726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29731 result
= (arg1
)->base_GetDefaultAttributes();
29733 wxPyEndAllowThreads(__tstate
);
29734 if (PyErr_Occurred()) SWIG_fail
;
29737 wxVisualAttributes
* resultptr
;
29738 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
29739 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29747 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
29749 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29750 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
29752 return Py_BuildValue((char *)"");
29754 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29755 PyObject
*resultobj
;
29756 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
29757 int arg2
= (int) 0 ;
29758 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29759 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29760 wxHelpEvent
*result
;
29762 PyObject
* obj0
= 0 ;
29763 PyObject
* obj1
= 0 ;
29764 PyObject
* obj2
= 0 ;
29765 char *kwnames
[] = {
29766 (char *) "type",(char *) "winid",(char *) "pt", NULL
29769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29771 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
29772 if (PyErr_Occurred()) SWIG_fail
;
29775 arg2
= (int) SWIG_AsInt(obj1
);
29776 if (PyErr_Occurred()) SWIG_fail
;
29781 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29786 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
29788 wxPyEndAllowThreads(__tstate
);
29789 if (PyErr_Occurred()) SWIG_fail
;
29791 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
29798 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29799 PyObject
*resultobj
;
29800 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29802 PyObject
* obj0
= 0 ;
29803 char *kwnames
[] = {
29804 (char *) "self", NULL
29807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
29808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29812 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
29814 wxPyEndAllowThreads(__tstate
);
29815 if (PyErr_Occurred()) SWIG_fail
;
29818 wxPoint
* resultptr
;
29819 resultptr
= new wxPoint((wxPoint
&) result
);
29820 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29828 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29829 PyObject
*resultobj
;
29830 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29831 wxPoint
*arg2
= 0 ;
29833 PyObject
* obj0
= 0 ;
29834 PyObject
* obj1
= 0 ;
29835 char *kwnames
[] = {
29836 (char *) "self",(char *) "pos", NULL
29839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
29840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29844 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29848 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
29850 wxPyEndAllowThreads(__tstate
);
29851 if (PyErr_Occurred()) SWIG_fail
;
29853 Py_INCREF(Py_None
); resultobj
= Py_None
;
29860 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29861 PyObject
*resultobj
;
29862 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29864 PyObject
* obj0
= 0 ;
29865 char *kwnames
[] = {
29866 (char *) "self", NULL
29869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
29870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29875 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
29876 result
= (wxString
*) &_result_ref
;
29879 wxPyEndAllowThreads(__tstate
);
29880 if (PyErr_Occurred()) SWIG_fail
;
29884 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29886 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29895 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29896 PyObject
*resultobj
;
29897 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29898 wxString
*arg2
= 0 ;
29899 bool temp2
= False
;
29900 PyObject
* obj0
= 0 ;
29901 PyObject
* obj1
= 0 ;
29902 char *kwnames
[] = {
29903 (char *) "self",(char *) "link", NULL
29906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
29907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29910 arg2
= wxString_in_helper(obj1
);
29911 if (arg2
== NULL
) SWIG_fail
;
29915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29916 (arg1
)->SetLink((wxString
const &)*arg2
);
29918 wxPyEndAllowThreads(__tstate
);
29919 if (PyErr_Occurred()) SWIG_fail
;
29921 Py_INCREF(Py_None
); resultobj
= Py_None
;
29936 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29937 PyObject
*resultobj
;
29938 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29940 PyObject
* obj0
= 0 ;
29941 char *kwnames
[] = {
29942 (char *) "self", NULL
29945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
29946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29951 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
29952 result
= (wxString
*) &_result_ref
;
29955 wxPyEndAllowThreads(__tstate
);
29956 if (PyErr_Occurred()) SWIG_fail
;
29960 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29962 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29971 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29972 PyObject
*resultobj
;
29973 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29974 wxString
*arg2
= 0 ;
29975 bool temp2
= False
;
29976 PyObject
* obj0
= 0 ;
29977 PyObject
* obj1
= 0 ;
29978 char *kwnames
[] = {
29979 (char *) "self",(char *) "target", NULL
29982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
29983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29986 arg2
= wxString_in_helper(obj1
);
29987 if (arg2
== NULL
) SWIG_fail
;
29991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29992 (arg1
)->SetTarget((wxString
const &)*arg2
);
29994 wxPyEndAllowThreads(__tstate
);
29995 if (PyErr_Occurred()) SWIG_fail
;
29997 Py_INCREF(Py_None
); resultobj
= Py_None
;
30012 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
30014 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30015 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
30017 return Py_BuildValue((char *)"");
30019 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30020 PyObject
*resultobj
;
30021 wxWindow
*arg1
= (wxWindow
*) NULL
;
30022 bool arg2
= (bool) True
;
30023 wxContextHelp
*result
;
30024 PyObject
* obj0
= 0 ;
30025 PyObject
* obj1
= 0 ;
30026 char *kwnames
[] = {
30027 (char *) "window",(char *) "doNow", NULL
30030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30036 arg2
= (bool) SWIG_AsBool(obj1
);
30037 if (PyErr_Occurred()) SWIG_fail
;
30040 if (!wxPyCheckForApp()) SWIG_fail
;
30041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30042 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
30044 wxPyEndAllowThreads(__tstate
);
30045 if (PyErr_Occurred()) SWIG_fail
;
30047 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
30054 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30055 PyObject
*resultobj
;
30056 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30057 PyObject
* obj0
= 0 ;
30058 char *kwnames
[] = {
30059 (char *) "self", NULL
30062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
30063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30069 wxPyEndAllowThreads(__tstate
);
30070 if (PyErr_Occurred()) SWIG_fail
;
30072 Py_INCREF(Py_None
); resultobj
= Py_None
;
30079 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30080 PyObject
*resultobj
;
30081 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30082 wxWindow
*arg2
= (wxWindow
*) NULL
;
30084 PyObject
* obj0
= 0 ;
30085 PyObject
* obj1
= 0 ;
30086 char *kwnames
[] = {
30087 (char *) "self",(char *) "window", NULL
30090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30094 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30099 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
30101 wxPyEndAllowThreads(__tstate
);
30102 if (PyErr_Occurred()) SWIG_fail
;
30105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30113 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30114 PyObject
*resultobj
;
30115 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30117 PyObject
* obj0
= 0 ;
30118 char *kwnames
[] = {
30119 (char *) "self", NULL
30122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
30123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30127 result
= (bool)(arg1
)->EndContextHelp();
30129 wxPyEndAllowThreads(__tstate
);
30130 if (PyErr_Occurred()) SWIG_fail
;
30133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30141 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
30143 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30144 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
30146 return Py_BuildValue((char *)"");
30148 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30149 PyObject
*resultobj
;
30150 wxWindow
*arg1
= (wxWindow
*) 0 ;
30151 int arg2
= (int) wxID_CONTEXT_HELP
;
30152 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30153 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30154 wxSize
const &arg4_defvalue
= wxDefaultSize
;
30155 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
30156 long arg5
= (long) wxBU_AUTODRAW
;
30157 wxContextHelpButton
*result
;
30160 PyObject
* obj0
= 0 ;
30161 PyObject
* obj1
= 0 ;
30162 PyObject
* obj2
= 0 ;
30163 PyObject
* obj3
= 0 ;
30164 PyObject
* obj4
= 0 ;
30165 char *kwnames
[] = {
30166 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
30169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30173 arg2
= (int) SWIG_AsInt(obj1
);
30174 if (PyErr_Occurred()) SWIG_fail
;
30179 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30185 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
30189 arg5
= (long) SWIG_AsLong(obj4
);
30190 if (PyErr_Occurred()) SWIG_fail
;
30193 if (!wxPyCheckForApp()) SWIG_fail
;
30194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30195 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
30197 wxPyEndAllowThreads(__tstate
);
30198 if (PyErr_Occurred()) SWIG_fail
;
30200 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
30207 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
30209 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30210 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
30212 return Py_BuildValue((char *)"");
30214 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30215 PyObject
*resultobj
;
30216 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30217 wxHelpProvider
*result
;
30218 PyObject
* obj0
= 0 ;
30219 char *kwnames
[] = {
30220 (char *) "helpProvider", NULL
30223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
30224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30228 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
30230 wxPyEndAllowThreads(__tstate
);
30231 if (PyErr_Occurred()) SWIG_fail
;
30233 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30240 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30241 PyObject
*resultobj
;
30242 wxHelpProvider
*result
;
30243 char *kwnames
[] = {
30247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
30249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30250 result
= (wxHelpProvider
*)wxHelpProvider::Get();
30252 wxPyEndAllowThreads(__tstate
);
30253 if (PyErr_Occurred()) SWIG_fail
;
30255 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30262 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30263 PyObject
*resultobj
;
30264 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30265 wxWindow
*arg2
= (wxWindow
*) 0 ;
30267 PyObject
* obj0
= 0 ;
30268 PyObject
* obj1
= 0 ;
30269 char *kwnames
[] = {
30270 (char *) "self",(char *) "window", NULL
30273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30276 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30280 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
30282 wxPyEndAllowThreads(__tstate
);
30283 if (PyErr_Occurred()) SWIG_fail
;
30287 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30289 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30298 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30299 PyObject
*resultobj
;
30300 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30301 wxWindow
*arg2
= (wxWindow
*) 0 ;
30303 PyObject
* obj0
= 0 ;
30304 PyObject
* obj1
= 0 ;
30305 char *kwnames
[] = {
30306 (char *) "self",(char *) "window", NULL
30309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30312 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30316 result
= (bool)(arg1
)->ShowHelp(arg2
);
30318 wxPyEndAllowThreads(__tstate
);
30319 if (PyErr_Occurred()) SWIG_fail
;
30322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30330 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30331 PyObject
*resultobj
;
30332 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30333 wxWindow
*arg2
= (wxWindow
*) 0 ;
30334 wxString
*arg3
= 0 ;
30335 bool temp3
= False
;
30336 PyObject
* obj0
= 0 ;
30337 PyObject
* obj1
= 0 ;
30338 PyObject
* obj2
= 0 ;
30339 char *kwnames
[] = {
30340 (char *) "self",(char *) "window",(char *) "text", NULL
30343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30346 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30349 arg3
= wxString_in_helper(obj2
);
30350 if (arg3
== NULL
) SWIG_fail
;
30354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30355 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30357 wxPyEndAllowThreads(__tstate
);
30358 if (PyErr_Occurred()) SWIG_fail
;
30360 Py_INCREF(Py_None
); resultobj
= Py_None
;
30375 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30376 PyObject
*resultobj
;
30377 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30379 wxString
*arg3
= 0 ;
30380 bool temp3
= False
;
30381 PyObject
* obj0
= 0 ;
30382 PyObject
* obj1
= 0 ;
30383 PyObject
* obj2
= 0 ;
30384 char *kwnames
[] = {
30385 (char *) "self",(char *) "id",(char *) "text", NULL
30388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30391 arg2
= (int) SWIG_AsInt(obj1
);
30392 if (PyErr_Occurred()) SWIG_fail
;
30394 arg3
= wxString_in_helper(obj2
);
30395 if (arg3
== NULL
) SWIG_fail
;
30399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30400 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30402 wxPyEndAllowThreads(__tstate
);
30403 if (PyErr_Occurred()) SWIG_fail
;
30405 Py_INCREF(Py_None
); resultobj
= Py_None
;
30420 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30421 PyObject
*resultobj
;
30422 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30423 wxWindow
*arg2
= (wxWindow
*) 0 ;
30424 PyObject
* obj0
= 0 ;
30425 PyObject
* obj1
= 0 ;
30426 char *kwnames
[] = {
30427 (char *) "self",(char *) "window", NULL
30430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30433 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30437 (arg1
)->RemoveHelp(arg2
);
30439 wxPyEndAllowThreads(__tstate
);
30440 if (PyErr_Occurred()) SWIG_fail
;
30442 Py_INCREF(Py_None
); resultobj
= Py_None
;
30449 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30450 PyObject
*resultobj
;
30451 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30452 PyObject
* obj0
= 0 ;
30453 char *kwnames
[] = {
30454 (char *) "self", NULL
30457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
30458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30462 wxHelpProvider_Destroy(arg1
);
30464 wxPyEndAllowThreads(__tstate
);
30465 if (PyErr_Occurred()) SWIG_fail
;
30467 Py_INCREF(Py_None
); resultobj
= Py_None
;
30474 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
30476 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30477 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
30479 return Py_BuildValue((char *)"");
30481 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30482 PyObject
*resultobj
;
30483 wxSimpleHelpProvider
*result
;
30484 char *kwnames
[] = {
30488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
30490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30491 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
30493 wxPyEndAllowThreads(__tstate
);
30494 if (PyErr_Occurred()) SWIG_fail
;
30496 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
30503 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
30505 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30506 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
30508 return Py_BuildValue((char *)"");
30510 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30511 PyObject
*resultobj
;
30512 wxBitmap
*arg1
= 0 ;
30513 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30514 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30515 wxGenericDragImage
*result
;
30516 PyObject
* obj0
= 0 ;
30517 PyObject
* obj1
= 0 ;
30518 char *kwnames
[] = {
30519 (char *) "image",(char *) "cursor", NULL
30522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
30523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
30524 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30526 if (arg1
== NULL
) {
30527 PyErr_SetString(PyExc_TypeError
,"null reference");
30531 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30532 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30534 if (arg2
== NULL
) {
30535 PyErr_SetString(PyExc_TypeError
,"null reference");
30540 if (!wxPyCheckForApp()) SWIG_fail
;
30541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30542 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
30544 wxPyEndAllowThreads(__tstate
);
30545 if (PyErr_Occurred()) SWIG_fail
;
30547 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30554 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30555 PyObject
*resultobj
;
30557 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30558 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30559 wxGenericDragImage
*result
;
30560 PyObject
* obj0
= 0 ;
30561 PyObject
* obj1
= 0 ;
30562 char *kwnames
[] = {
30563 (char *) "image",(char *) "cursor", NULL
30566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
30567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
30568 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30570 if (arg1
== NULL
) {
30571 PyErr_SetString(PyExc_TypeError
,"null reference");
30575 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30576 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30578 if (arg2
== NULL
) {
30579 PyErr_SetString(PyExc_TypeError
,"null reference");
30584 if (!wxPyCheckForApp()) SWIG_fail
;
30585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30586 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
30588 wxPyEndAllowThreads(__tstate
);
30589 if (PyErr_Occurred()) SWIG_fail
;
30591 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30598 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30599 PyObject
*resultobj
;
30600 wxString
*arg1
= 0 ;
30601 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30602 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30603 wxGenericDragImage
*result
;
30604 bool temp1
= False
;
30605 PyObject
* obj0
= 0 ;
30606 PyObject
* obj1
= 0 ;
30607 char *kwnames
[] = {
30608 (char *) "str",(char *) "cursor", NULL
30611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
30613 arg1
= wxString_in_helper(obj0
);
30614 if (arg1
== NULL
) SWIG_fail
;
30618 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30619 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30621 if (arg2
== NULL
) {
30622 PyErr_SetString(PyExc_TypeError
,"null reference");
30627 if (!wxPyCheckForApp()) SWIG_fail
;
30628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30629 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
30631 wxPyEndAllowThreads(__tstate
);
30632 if (PyErr_Occurred()) SWIG_fail
;
30634 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30649 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30650 PyObject
*resultobj
;
30651 wxPyTreeCtrl
*arg1
= 0 ;
30652 wxTreeItemId
*arg2
= 0 ;
30653 wxGenericDragImage
*result
;
30654 PyObject
* obj0
= 0 ;
30655 PyObject
* obj1
= 0 ;
30656 char *kwnames
[] = {
30657 (char *) "treeCtrl",(char *) "id", NULL
30660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
30662 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30664 if (arg1
== NULL
) {
30665 PyErr_SetString(PyExc_TypeError
,"null reference");
30668 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
30669 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30671 if (arg2
== NULL
) {
30672 PyErr_SetString(PyExc_TypeError
,"null reference");
30676 if (!wxPyCheckForApp()) SWIG_fail
;
30677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30678 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
30680 wxPyEndAllowThreads(__tstate
);
30681 if (PyErr_Occurred()) SWIG_fail
;
30683 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30690 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30691 PyObject
*resultobj
;
30692 wxPyListCtrl
*arg1
= 0 ;
30694 wxGenericDragImage
*result
;
30695 PyObject
* obj0
= 0 ;
30696 PyObject
* obj1
= 0 ;
30697 char *kwnames
[] = {
30698 (char *) "listCtrl",(char *) "id", NULL
30701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
30703 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30705 if (arg1
== NULL
) {
30706 PyErr_SetString(PyExc_TypeError
,"null reference");
30709 arg2
= (long) SWIG_AsLong(obj1
);
30710 if (PyErr_Occurred()) SWIG_fail
;
30712 if (!wxPyCheckForApp()) SWIG_fail
;
30713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30714 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
30716 wxPyEndAllowThreads(__tstate
);
30717 if (PyErr_Occurred()) SWIG_fail
;
30719 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30726 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30727 PyObject
*resultobj
;
30728 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30729 PyObject
* obj0
= 0 ;
30730 char *kwnames
[] = {
30731 (char *) "self", NULL
30734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
30735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30741 wxPyEndAllowThreads(__tstate
);
30742 if (PyErr_Occurred()) SWIG_fail
;
30744 Py_INCREF(Py_None
); resultobj
= Py_None
;
30751 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30752 PyObject
*resultobj
;
30753 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30754 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
30755 PyObject
* obj0
= 0 ;
30756 PyObject
* obj1
= 0 ;
30757 char *kwnames
[] = {
30758 (char *) "self",(char *) "bitmap", NULL
30761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
30762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30764 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
30765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30768 (arg1
)->SetBackingBitmap(arg2
);
30770 wxPyEndAllowThreads(__tstate
);
30771 if (PyErr_Occurred()) SWIG_fail
;
30773 Py_INCREF(Py_None
); resultobj
= Py_None
;
30780 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30781 PyObject
*resultobj
;
30782 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30783 wxPoint
*arg2
= 0 ;
30784 wxWindow
*arg3
= (wxWindow
*) 0 ;
30785 bool arg4
= (bool) False
;
30786 wxRect
*arg5
= (wxRect
*) NULL
;
30789 PyObject
* obj0
= 0 ;
30790 PyObject
* obj1
= 0 ;
30791 PyObject
* obj2
= 0 ;
30792 PyObject
* obj3
= 0 ;
30793 PyObject
* obj4
= 0 ;
30794 char *kwnames
[] = {
30795 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
30798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30803 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30805 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
30806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30808 arg4
= (bool) SWIG_AsBool(obj3
);
30809 if (PyErr_Occurred()) SWIG_fail
;
30812 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
30813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30817 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
30819 wxPyEndAllowThreads(__tstate
);
30820 if (PyErr_Occurred()) SWIG_fail
;
30823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30831 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30832 PyObject
*resultobj
;
30833 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30834 wxPoint
*arg2
= 0 ;
30835 wxWindow
*arg3
= (wxWindow
*) 0 ;
30836 wxWindow
*arg4
= (wxWindow
*) 0 ;
30839 PyObject
* obj0
= 0 ;
30840 PyObject
* obj1
= 0 ;
30841 PyObject
* obj2
= 0 ;
30842 PyObject
* obj3
= 0 ;
30843 char *kwnames
[] = {
30844 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
30847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30852 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30854 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
30855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30856 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
30857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30860 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
30862 wxPyEndAllowThreads(__tstate
);
30863 if (PyErr_Occurred()) SWIG_fail
;
30866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30874 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30875 PyObject
*resultobj
;
30876 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30878 PyObject
* obj0
= 0 ;
30879 char *kwnames
[] = {
30880 (char *) "self", NULL
30883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
30884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30888 result
= (bool)(arg1
)->EndDrag();
30890 wxPyEndAllowThreads(__tstate
);
30891 if (PyErr_Occurred()) SWIG_fail
;
30894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30902 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30903 PyObject
*resultobj
;
30904 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30905 wxPoint
*arg2
= 0 ;
30908 PyObject
* obj0
= 0 ;
30909 PyObject
* obj1
= 0 ;
30910 char *kwnames
[] = {
30911 (char *) "self",(char *) "pt", NULL
30914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
30915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30919 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30923 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
30925 wxPyEndAllowThreads(__tstate
);
30926 if (PyErr_Occurred()) SWIG_fail
;
30929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30937 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30938 PyObject
*resultobj
;
30939 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30941 PyObject
* obj0
= 0 ;
30942 char *kwnames
[] = {
30943 (char *) "self", NULL
30946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
30947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30951 result
= (bool)(arg1
)->Show();
30953 wxPyEndAllowThreads(__tstate
);
30954 if (PyErr_Occurred()) SWIG_fail
;
30957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30965 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30966 PyObject
*resultobj
;
30967 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30969 PyObject
* obj0
= 0 ;
30970 char *kwnames
[] = {
30971 (char *) "self", NULL
30974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
30975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30979 result
= (bool)(arg1
)->Hide();
30981 wxPyEndAllowThreads(__tstate
);
30982 if (PyErr_Occurred()) SWIG_fail
;
30985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30993 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30994 PyObject
*resultobj
;
30995 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30996 wxPoint
*arg2
= 0 ;
30999 PyObject
* obj0
= 0 ;
31000 PyObject
* obj1
= 0 ;
31001 char *kwnames
[] = {
31002 (char *) "self",(char *) "pos", NULL
31005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
31006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31010 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31014 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
31016 wxPyEndAllowThreads(__tstate
);
31017 if (PyErr_Occurred()) SWIG_fail
;
31020 wxRect
* resultptr
;
31021 resultptr
= new wxRect((wxRect
&) result
);
31022 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
31030 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31031 PyObject
*resultobj
;
31032 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31034 wxPoint
*arg3
= 0 ;
31037 PyObject
* obj0
= 0 ;
31038 PyObject
* obj1
= 0 ;
31039 PyObject
* obj2
= 0 ;
31040 char *kwnames
[] = {
31041 (char *) "self",(char *) "dc",(char *) "pos", NULL
31044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31047 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31048 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31050 if (arg2
== NULL
) {
31051 PyErr_SetString(PyExc_TypeError
,"null reference");
31056 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31060 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
31062 wxPyEndAllowThreads(__tstate
);
31063 if (PyErr_Occurred()) SWIG_fail
;
31066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31074 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31075 PyObject
*resultobj
;
31076 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31078 wxMemoryDC
*arg3
= 0 ;
31084 PyObject
* obj0
= 0 ;
31085 PyObject
* obj1
= 0 ;
31086 PyObject
* obj2
= 0 ;
31087 PyObject
* obj3
= 0 ;
31088 PyObject
* obj4
= 0 ;
31089 char *kwnames
[] = {
31090 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
31093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31096 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31097 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31099 if (arg2
== NULL
) {
31100 PyErr_SetString(PyExc_TypeError
,"null reference");
31103 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
31104 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31106 if (arg3
== NULL
) {
31107 PyErr_SetString(PyExc_TypeError
,"null reference");
31112 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31116 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
31119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31120 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
31122 wxPyEndAllowThreads(__tstate
);
31123 if (PyErr_Occurred()) SWIG_fail
;
31126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31134 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31135 PyObject
*resultobj
;
31136 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31137 wxPoint
*arg2
= 0 ;
31138 wxPoint
*arg3
= 0 ;
31144 PyObject
* obj0
= 0 ;
31145 PyObject
* obj1
= 0 ;
31146 PyObject
* obj2
= 0 ;
31147 PyObject
* obj3
= 0 ;
31148 PyObject
* obj4
= 0 ;
31149 char *kwnames
[] = {
31150 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
31153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31158 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31162 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31164 arg4
= (bool) SWIG_AsBool(obj3
);
31165 if (PyErr_Occurred()) SWIG_fail
;
31166 arg5
= (bool) SWIG_AsBool(obj4
);
31167 if (PyErr_Occurred()) SWIG_fail
;
31169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31170 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
31172 wxPyEndAllowThreads(__tstate
);
31173 if (PyErr_Occurred()) SWIG_fail
;
31176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31184 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
31186 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31187 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
31189 return Py_BuildValue((char *)"");
31191 static PyMethodDef SwigMethods
[] = {
31192 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
31193 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
31194 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
31195 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
31196 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
31197 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31198 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
31199 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
31200 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
31201 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31202 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
31203 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
31204 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
31205 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
31206 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
31207 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
31208 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
31209 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
31210 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31211 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
31212 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
31213 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
31214 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
31215 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
31216 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31217 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31218 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
31219 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31220 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
31221 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
31222 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
31223 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
31224 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31225 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
31226 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
31227 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
31228 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
31229 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31230 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31231 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31232 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31233 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
31234 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
31235 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
31236 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31237 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31238 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31239 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
31240 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
31241 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
31242 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31243 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31244 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
31245 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
31246 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31247 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
31248 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31249 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31250 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
31251 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
31252 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
31253 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31254 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
31255 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
31256 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
31257 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
31258 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31259 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31260 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31261 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31262 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31263 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
31264 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
31265 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
31266 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
31267 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31268 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
31269 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
31270 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
31271 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31272 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31273 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
31274 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
31275 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
31276 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
31277 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31278 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
31279 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31280 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
31281 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
31282 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
31283 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
31284 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31285 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
31286 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31287 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31288 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
31289 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31290 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31291 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
31292 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31293 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
31294 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
31295 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
31296 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31297 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
31298 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
31299 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
31300 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31301 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31302 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
31303 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
31304 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
31305 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31306 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
31307 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
31308 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
31309 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31310 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31311 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
31312 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31313 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31314 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31315 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31316 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
31317 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
31318 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
31319 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31320 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
31321 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
31322 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
31323 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31324 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
31325 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
31326 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
31327 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
31328 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
31329 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31330 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31331 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31332 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31333 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
31334 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31335 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31336 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
31337 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31338 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31339 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
31340 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31341 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
31342 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31343 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31344 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
31345 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31346 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31347 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31348 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31349 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
31350 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31351 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
},
31352 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31353 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
31354 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
31355 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
31356 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
31357 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31358 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31359 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31360 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31361 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31362 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31363 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
31364 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
31365 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
31366 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
31367 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
31368 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
31369 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
31370 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31371 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31372 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
31373 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
31374 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
31375 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
31376 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
31377 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
31378 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
31379 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
31380 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
31381 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
31382 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
31383 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31384 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31385 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
31386 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
31387 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
31388 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
31389 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
31390 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31391 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
31392 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
31393 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
31394 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
31395 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
31396 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
31397 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
31398 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
31399 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
31400 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
31401 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31402 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
31403 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31404 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
31405 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31406 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
31407 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
31408 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
31409 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
31410 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31411 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
31412 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
31413 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
31414 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
31415 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
31416 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
31417 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
31418 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
31419 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
31420 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
31421 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
31422 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31423 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31424 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31425 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
31426 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
31427 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31428 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
31429 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
31430 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
31431 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31432 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31433 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31434 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31435 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31436 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
31437 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
31438 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31439 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31440 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31441 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
31442 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31443 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31444 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31445 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31446 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31447 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
31448 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31449 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31450 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31451 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31452 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31453 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
31454 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
31455 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31456 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31457 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
},
31458 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
31459 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
31460 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31461 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31462 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31463 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31464 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31465 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
31466 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
31467 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
31468 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31469 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
31470 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
31471 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
31472 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
31473 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
31474 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31475 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
31476 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
31477 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
31478 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31479 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31480 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31481 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31482 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
31483 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
31484 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
31485 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
31486 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31487 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31488 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31489 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31490 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31491 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
31492 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
31493 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
31494 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31495 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
31496 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31497 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
31498 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
31499 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
31500 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
31501 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
31502 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
31503 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
31504 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
31505 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
31506 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31507 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31508 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
31509 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
31510 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
31511 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31512 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31513 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31514 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31515 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31516 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
31517 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
31518 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
31519 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31520 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
31521 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
31522 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31523 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31524 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31525 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
31526 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
31527 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31528 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
31529 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
31530 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
31531 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
31532 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
31533 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
31534 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31535 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
31536 { (char *)"BookCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31537 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
31538 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
31539 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31540 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31541 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
31542 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
31543 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
31544 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
31545 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
31546 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
31547 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
31548 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
31549 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
31550 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31551 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
31552 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31553 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
31554 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
31555 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
31556 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
31557 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
31558 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
31559 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31560 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
31561 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
31562 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
31563 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
31564 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
31565 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
31566 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
31567 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
31568 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
31569 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
31570 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
31571 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
31572 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
31573 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31574 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
31575 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31576 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
31577 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
31578 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31579 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31580 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
31581 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
31582 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
31583 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
31584 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31585 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31586 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31587 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31588 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31589 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31590 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
31591 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
31592 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
31593 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31594 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31595 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31596 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31597 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31598 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
31599 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
31600 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
31601 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
31602 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
31603 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
31604 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
31605 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
31606 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
31607 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
31608 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
31609 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
31610 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31611 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31612 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
31613 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
31614 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
31615 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
31616 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
31617 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
31618 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
31619 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
31620 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
31621 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
31622 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
31623 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
31624 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
31625 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31626 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31627 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31628 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31629 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
31630 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31631 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
31632 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
31633 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
31634 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31635 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
31636 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
31637 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
31638 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
31639 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
31640 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
31641 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
31642 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
31643 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
31644 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
31645 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
31646 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31647 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
31648 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31649 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31650 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
31651 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
31652 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31653 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
31654 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
31655 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31656 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31657 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31658 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31659 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31660 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
31661 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31662 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31663 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31664 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31665 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
31666 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
31667 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
31668 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
31669 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31670 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
31671 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
31672 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31673 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
31674 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
31675 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
31676 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
31677 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
31678 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
31679 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
31680 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31681 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31682 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31683 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
31684 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31685 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31686 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
31687 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
31688 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
31689 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31690 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
31691 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
31692 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31693 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31694 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31695 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31696 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31697 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
31698 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
31699 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
31700 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
31701 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
31702 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
31703 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
31704 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
31705 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
31706 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
31707 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
31708 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
31709 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
31710 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
31711 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
31712 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
31713 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
31714 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
31715 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
31716 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
31717 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
31718 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
31719 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
31720 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
31721 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
31722 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
31723 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
31724 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
31725 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
31726 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
31727 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
31728 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
31729 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
31730 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
31731 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
31732 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31733 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31734 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31735 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
31736 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
31737 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31738 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
31739 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31740 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
31741 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
31742 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
31743 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
31744 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
31745 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31746 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31747 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31748 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31749 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31750 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31751 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31752 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31753 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
31754 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
31755 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
31756 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
31757 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31758 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
31759 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31760 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
31761 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
31762 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31763 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31764 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31765 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31766 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31767 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
31768 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
31769 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
31770 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31771 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
31772 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31773 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31774 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31775 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31776 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31777 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
31778 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
31779 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
31780 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
31781 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31782 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31783 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31784 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
},
31785 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
31786 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
31787 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
31788 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
31789 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
31790 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
31791 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
31792 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
31793 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
31794 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
31795 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31796 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
31797 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
31798 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
31799 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31800 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
31801 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31802 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
31803 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31804 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
31805 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
31806 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31807 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
31808 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31809 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31810 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31811 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31812 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
31813 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
31814 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31815 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
31816 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
31817 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
31818 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
31819 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
31820 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
31821 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
31822 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
31823 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
31824 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31825 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
31826 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
31827 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
31828 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
31829 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
31830 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
31831 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
31832 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
31833 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
31834 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
31835 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
31836 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
31837 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31838 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
31839 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31840 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
31841 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31842 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
31843 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
31844 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31845 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
31846 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
31847 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
31848 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31849 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31850 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
31851 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
31852 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
31853 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31854 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31855 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
31856 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
31857 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
31858 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
31859 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31860 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31861 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31862 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31863 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
31864 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
31865 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
31866 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31867 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31868 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31869 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31870 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31871 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31872 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31873 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31874 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31875 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31876 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31877 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
31878 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31879 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31880 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31881 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31882 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31883 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31884 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
31885 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
31886 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
31887 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31888 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31889 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31890 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
31891 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
31892 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
31893 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31894 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
31895 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
31896 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
31897 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31898 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
31899 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
31900 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
31901 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
31902 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
31903 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
31904 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
31905 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
31906 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
31907 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
31908 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
31909 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
31910 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
31911 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
31912 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
31913 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
31914 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
31915 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
31916 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
31917 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
31918 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
31919 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
31920 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
31921 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
},
31922 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
31923 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
31924 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
},
31925 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31926 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
31927 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
31928 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
31929 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
31930 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31931 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
31932 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31933 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
31934 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31935 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31936 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31937 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
31938 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
31939 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
31940 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
31941 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
31942 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
31943 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
31944 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
31945 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
31946 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
31947 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
31948 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
31949 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
31950 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31951 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31952 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
31953 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
31954 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
31955 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
31956 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31957 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31958 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31959 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
31960 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
31961 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
31962 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
},
31963 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31964 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
31965 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
31966 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
31967 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
31968 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
31969 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
31970 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
31971 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31972 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
31973 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
31974 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
31975 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
31976 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
31977 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
31978 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
31979 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
31980 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
31981 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
31982 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
31983 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
31984 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
31985 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31986 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
31987 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
31988 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31989 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31990 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
31991 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
31992 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
31993 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
31994 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
31995 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31996 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31997 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31998 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31999 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
32000 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
32001 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
32002 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
32003 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
32004 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
32005 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
32006 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
32007 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
32008 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
},
32009 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
32010 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
32011 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
32012 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
32013 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
32014 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
32015 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
32016 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
32017 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
32018 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
32019 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
32020 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
32021 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
32022 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
32023 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
32024 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
32025 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
32026 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
32027 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
32028 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
32029 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
32030 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
32035 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32037 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
32038 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32040 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
32041 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32043 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
32044 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
32046 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
32047 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32049 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
32050 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32052 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
32053 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
32055 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
32056 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32058 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
32059 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
32061 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
32062 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
32064 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
32065 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
32067 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32068 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32070 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32071 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32073 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32074 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32076 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32077 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32079 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32080 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32082 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
32083 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32085 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32086 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32088 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32089 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32091 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32092 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32094 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
32095 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32097 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
32098 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32100 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32101 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32103 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32104 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32106 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
32107 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
32109 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
32110 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32112 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
32113 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32115 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
32116 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
32118 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32119 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32121 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32122 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32124 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32125 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32127 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32128 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32130 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32131 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32133 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32134 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32136 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32137 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32139 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32140 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32142 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32143 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32145 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32146 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32148 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32149 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32151 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32152 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32154 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32155 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32157 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32158 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32160 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32161 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32163 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32164 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32166 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32167 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32169 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32170 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32172 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32173 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32175 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32176 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32178 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32179 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32181 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32182 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32184 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32185 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32187 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32188 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32190 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32191 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32193 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
32194 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32196 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
32197 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
32199 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
32200 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32202 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
32203 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32205 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
32206 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
32208 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
32209 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32211 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
32212 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32214 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
32215 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
32217 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
32218 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32220 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
32221 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32223 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
32224 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32226 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
32227 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
32229 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
32230 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
32232 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
32233 return (void *)((wxControl
*) ((wxComboBox
*) x
));
32235 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
32236 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
32238 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
32239 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
32241 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
32242 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
32244 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
32245 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
32247 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
32248 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32250 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
32251 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
32253 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
32254 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
32256 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
32257 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
32259 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
32260 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
32262 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
32263 return (void *)((wxControl
*) ((wxGauge
*) x
));
32265 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
32266 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
32268 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
32269 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
32271 static void *_p_wxButtonTo_p_wxControl(void *x
) {
32272 return (void *)((wxControl
*) ((wxButton
*) x
));
32274 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
32275 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
32277 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
32278 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32280 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
32281 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
32283 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
32284 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
32286 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
32287 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
32289 static void *_p_wxListbookTo_p_wxControl(void *x
) {
32290 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
32292 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
32293 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
32295 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
32296 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
32298 static void *_p_wxListViewTo_p_wxControl(void *x
) {
32299 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
32301 static void *_p_wxSliderTo_p_wxControl(void *x
) {
32302 return (void *)((wxControl
*) ((wxSlider
*) x
));
32304 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
32305 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
32307 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
32308 return (void *)((wxControl
*) ((wxPyControl
*) x
));
32310 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
32311 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
32313 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
32314 return (void *)((wxControl
*) ((wxStaticText
*) x
));
32316 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
32317 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
32319 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
32320 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32322 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
32323 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32325 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
32326 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32328 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
32329 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
32331 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
32332 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32334 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
32335 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32337 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
32338 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32340 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
32341 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
32343 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32344 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32346 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32347 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32349 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32350 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32352 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
32353 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32355 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32356 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32358 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
32359 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
32361 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
32362 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
32364 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32365 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32367 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32368 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32370 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
32371 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
32373 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
32374 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32376 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
32377 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
32379 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
32380 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32382 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
32383 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
32385 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32386 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32388 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
32389 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32391 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
32392 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
32394 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32395 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32397 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
32398 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
32400 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
32401 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
32403 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
32404 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32406 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
32407 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32409 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
32410 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32412 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
32413 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
32415 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
32416 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32418 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
32419 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32421 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
32422 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32424 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
32425 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32427 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
32428 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
32430 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
32431 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32433 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
32434 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
32436 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
32437 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
32439 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
32440 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
32442 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
32443 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
32445 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
32446 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
32448 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
32449 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
32451 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
32452 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32454 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
32455 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32457 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
32458 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
32460 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
32461 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
32463 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
32464 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
32466 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
32467 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
32469 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
32470 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
32472 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
32473 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32475 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
32476 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32478 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
32479 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
32481 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32482 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32484 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32485 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32487 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32488 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32490 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32491 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32493 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32494 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32496 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
32497 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32499 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
32500 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32502 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32503 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32505 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32506 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32508 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32509 return (void *)((wxObject
*) ((wxSizer
*) x
));
32511 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32512 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32514 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
32515 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32517 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
32518 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32520 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32521 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32523 static void *_p_wxEventTo_p_wxObject(void *x
) {
32524 return (void *)((wxObject
*) ((wxEvent
*) x
));
32526 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32527 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32529 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32530 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32532 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32533 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32535 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
32536 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32538 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
32539 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32541 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
32542 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32544 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32545 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32547 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32548 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32550 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32551 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32553 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32554 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32556 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32557 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32559 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32560 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32562 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
32563 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
32565 static void *_p_wxControlTo_p_wxObject(void *x
) {
32566 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32568 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
32569 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
32571 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
32572 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
32574 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
32575 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
32577 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
32578 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
32580 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
32581 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
32583 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32584 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32586 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
32587 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32589 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32590 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32592 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32593 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32595 static void *_p_wxListViewTo_p_wxObject(void *x
) {
32596 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32598 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
32599 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
32601 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
32602 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32604 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32605 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32607 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32608 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32610 static void *_p_wxListbookTo_p_wxObject(void *x
) {
32611 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32613 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32614 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32616 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
32617 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
32619 static void *_p_wxSliderTo_p_wxObject(void *x
) {
32620 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
32622 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32623 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32625 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32626 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32628 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32629 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32631 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32632 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32634 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32635 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32637 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32638 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32640 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32641 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32643 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32644 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32646 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32647 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32649 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
32650 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
32652 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
32653 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
32655 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32656 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32658 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32659 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32661 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32662 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32664 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32665 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32667 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32668 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32670 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32671 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32673 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32674 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32676 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32677 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32679 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32680 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32682 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32683 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32685 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32686 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32688 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32689 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32691 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32692 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32694 static void *_p_wxListEventTo_p_wxObject(void *x
) {
32695 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
32697 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
32698 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32700 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
32701 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32703 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
32704 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
32706 static void *_p_wxButtonTo_p_wxObject(void *x
) {
32707 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
32709 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
32710 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32712 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
32713 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
32715 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
32716 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32718 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32719 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32721 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
32722 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
32724 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
32725 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
32727 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
32728 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
32730 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
32731 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
32733 static void *_p_wxListItemTo_p_wxObject(void *x
) {
32734 return (void *)((wxObject
*) ((wxListItem
*) x
));
32736 static void *_p_wxImageTo_p_wxObject(void *x
) {
32737 return (void *)((wxObject
*) ((wxImage
*) x
));
32739 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
32740 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
32742 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32743 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32745 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
32746 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32748 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
32749 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
32751 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
32752 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
32754 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
32755 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32757 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
32758 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32760 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32761 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32763 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32764 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32766 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32767 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32769 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32770 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32772 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32773 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32775 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32776 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32778 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32779 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32781 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32782 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32784 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32785 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32787 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32788 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32790 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32791 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32793 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32794 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32796 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32797 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32799 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
32800 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32802 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32803 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32805 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32806 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32808 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
32809 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
32811 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32812 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32814 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32815 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32817 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32818 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32820 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32821 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32823 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
32824 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
32826 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
32827 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32829 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32830 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32832 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32833 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32835 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
32836 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
32838 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
32839 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
32841 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32842 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32844 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
32845 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32847 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
32848 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
32850 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
32851 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
32853 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
32854 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
32856 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32857 return (void *)((wxWindow
*) ((wxControl
*) x
));
32859 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
32860 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
32862 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
32863 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32865 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
32866 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
32868 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
32869 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
32871 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
32872 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
32874 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
32875 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
32877 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32878 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32880 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
32881 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
32883 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
32884 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
32886 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
32887 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32889 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
32890 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
32892 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
32893 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
32895 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
32896 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
32898 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
32899 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32901 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
32902 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32904 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
32905 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32907 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
32908 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32910 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
32911 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32913 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
32914 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
32916 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
32917 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
32919 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
32920 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
32922 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
32923 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
32925 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
32926 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
32928 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
32929 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
32931 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
32932 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
32934 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
32935 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32937 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
32938 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32940 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
32941 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
32943 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
32944 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32946 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
32947 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32949 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
32950 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32952 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
32953 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
32955 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
32956 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32958 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
32959 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32961 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
32962 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32964 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
32965 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32967 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
32968 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32970 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
32971 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
32973 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
32974 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32976 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
32977 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32979 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
32980 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32982 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
32983 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
32985 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
32986 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32988 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
32989 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32991 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
32992 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32994 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
32995 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
32997 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
32998 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
33000 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
33001 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
33003 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
33004 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
33006 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}};
33007 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}};
33008 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}};
33009 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}};
33010 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}};
33011 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}};
33012 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}};
33013 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}};
33014 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}};
33015 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}};
33016 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}};
33017 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}};
33018 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}};
33019 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}};
33020 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}};
33021 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}};
33022 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}};
33023 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}};
33024 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}};
33025 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}};
33026 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0, 0, 0, 0},{"_p_wxChoice", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33027 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}};
33028 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}};
33029 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}};
33030 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}};
33031 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}};
33032 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}};
33033 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}};
33034 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}};
33035 static swig_type_info _swigt__p_wxVisualAttributes
[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33036 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}};
33037 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}};
33038 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}};
33039 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}};
33040 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}};
33041 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}};
33042 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}};
33043 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}};
33044 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}};
33045 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}};
33046 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}};
33047 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}};
33048 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}};
33049 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}};
33050 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}};
33051 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}};
33052 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}};
33053 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}};
33054 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}};
33055 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}};
33056 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}};
33057 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}};
33058 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}};
33059 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}};
33060 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}};
33061 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}};
33062 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}};
33063 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}};
33064 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}};
33065 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}};
33066 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}};
33067 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}};
33068 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}};
33069 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}};
33070 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}};
33071 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}};
33072 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}};
33073 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}};
33074 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}};
33075 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}};
33076 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}};
33077 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}};
33078 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}};
33079 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}};
33080 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}};
33081 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}};
33082 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}};
33083 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}};
33084 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}};
33085 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33086 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}};
33087 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}};
33088 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}};
33089 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}};
33090 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}};
33092 static swig_type_info
*swig_types_initial
[] = {
33093 _swigt__p_wxTextUrlEvent
,
33094 _swigt__p_wxBookCtrlEvent
,
33096 _swigt__p_wxCheckBox
,
33097 _swigt__p_wxPyTreeCtrl
,
33099 _swigt__p_wxGenericDirCtrl
,
33101 _swigt__p_wxPyTreeItemData
,
33102 _swigt__p_wxItemContainer
,
33103 _swigt__p_wxPyListCtrl
,
33104 _swigt__p_wxDirFilterListCtrl
,
33105 _swigt__p_wxStaticLine
,
33106 _swigt__p_wxControl
,
33107 _swigt__p_wxPyControl
,
33109 _swigt__p_wxToolBarBase
,
33111 _swigt__p_wxToggleButton
,
33112 _swigt__p_wxRadioButton
,
33113 _swigt__p_wxChoice
,
33114 _swigt__p_wxMemoryDC
,
33115 _swigt__p_wxListItemAttr
,
33120 _swigt__p_wxListView
,
33122 _swigt__p_wxVisualAttributes
,
33123 _swigt__p_wxTextCtrl
,
33124 _swigt__p_wxNotebook
,
33125 _swigt__p_wxNotifyEvent
,
33126 _swigt__p_wxArrayString
,
33127 _swigt__p_wxListbook
,
33128 _swigt__p_wxStaticBitmap
,
33129 _swigt__p_wxSlider
,
33130 _swigt__p_wxStaticBox
,
33131 _swigt__p_wxArrayInt
,
33132 _swigt__p_wxContextHelp
,
33134 _swigt__p_wxEvtHandler
,
33135 _swigt__p_wxListEvent
,
33136 _swigt__p_wxCheckListBox
,
33137 _swigt__p_wxListBox
,
33138 _swigt__p_wxBookCtrl
,
33139 _swigt__p_wxSpinButton
,
33140 _swigt__p_wxButton
,
33141 _swigt__p_wxBitmapButton
,
33143 _swigt__p_wxContextHelpButton
,
33144 _swigt__p_wxRadioBox
,
33145 _swigt__p_wxScrollBar
,
33147 _swigt__p_wxTreeItemId
,
33148 _swigt__p_wxComboBox
,
33149 _swigt__p_wxHelpEvent
,
33150 _swigt__p_wxListItem
,
33151 _swigt__p_wxNotebookSizer
,
33152 _swigt__p_wxSpinEvent
,
33153 _swigt__p_wxGenericDragImage
,
33154 _swigt__p_wxSpinCtrl
,
33155 _swigt__p_wxImageList
,
33156 _swigt__p_wxHelpProvider
,
33157 _swigt__p_wxTextAttr
,
33158 _swigt__p_wxSimpleHelpProvider
,
33160 _swigt__p_wxListbookEvent
,
33161 _swigt__p_wxNotebookEvent
,
33162 _swigt__p_wxObject
,
33163 _swigt__p_wxCursor
,
33164 _swigt__p_wxKeyEvent
,
33165 _swigt__p_wxWindow
,
33166 _swigt__p_wxString
,
33167 _swigt__p_wxBitmap
,
33168 _swigt__p_wxTreeEvent
,
33169 _swigt__p_wxMouseEvent
,
33170 _swigt__p_wxCommandEvent
,
33171 _swigt__p_wxStaticText
,
33172 _swigt__p_wxControlWithItems
,
33173 _swigt__p_wxToolBarToolBase
,
33174 _swigt__p_wxColour
,
33175 _swigt__p_wxToolBar
,
33176 _swigt__p_wxBookCtrlSizer
,
33177 _swigt__p_wxValidator
,
33182 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33184 static swig_const_info swig_const_table
[] = {
33194 SWIGEXPORT(void) SWIG_init(void) {
33195 static PyObject
*SWIG_globals
= 0;
33196 static int typeinit
= 0;
33199 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
33200 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33201 d
= PyModule_GetDict(m
);
33204 for (i
= 0; swig_types_initial
[i
]; i
++) {
33205 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
33209 SWIG_InstallConstants(d
,swig_const_table
);
33211 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
33212 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
33213 PyDict_SetItemString(d
,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT
));
33214 PyDict_SetItemString(d
,"BU_TOP", SWIG_FromInt((int)wxBU_TOP
));
33215 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT
));
33216 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM
));
33217 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT
));
33218 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW
));
33219 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
33220 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE
));
33221 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE
));
33222 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
33223 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED
));
33224 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED
));
33225 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED
));
33226 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
33227 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
33228 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
33229 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL
));
33230 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL
));
33231 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH
));
33232 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR
));
33233 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
33234 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
33235 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
33236 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
33237 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
33238 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL
));
33239 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL
));
33240 PyDict_SetItemString(d
,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY
));
33241 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE
));
33242 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB
));
33243 PyDict_SetItemString(d
,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT
));
33244 PyDict_SetItemString(d
,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER
));
33245 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT
));
33246 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE
));
33247 PyDict_SetItemString(d
,"TE_RICH", SWIG_FromInt((int)wxTE_RICH
));
33248 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER
));
33249 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD
));
33250 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL
));
33251 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL
));
33252 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP
));
33253 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP
));
33254 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP
));
33255 PyDict_SetItemString(d
,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2
));
33256 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT
));
33257 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT
));
33258 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE
));
33259 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER
));
33260 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT
));
33261 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
33262 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR
));
33263 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
33264 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE
));
33265 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE
));
33266 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT
));
33267 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC
));
33268 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE
));
33269 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT
));
33270 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT
));
33271 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT
));
33272 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT
));
33273 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS
));
33274 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN
));
33275 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE
));
33276 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT
));
33277 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW
));
33278 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND
));
33279 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
33280 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
33281 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
33282 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
33283 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
33284 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
33285 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
33286 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL
));
33287 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL
));
33288 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS
));
33289 PyDict_SetItemString(d
,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP
));
33290 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
33291 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
33292 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
33293 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
33294 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
33295 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
33296 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
33297 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH
));
33298 PyDict_SetItemString(d
,"NB_TOP", SWIG_FromInt((int)wxNB_TOP
));
33299 PyDict_SetItemString(d
,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT
));
33300 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT
));
33301 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM
));
33302 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE
));
33303 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE
));
33304 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON
));
33305 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL
));
33306 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM
));
33307 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
33308 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
33309 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT
));
33310 PyDict_SetItemString(d
,"LB_TOP", SWIG_FromInt((int)wxLB_TOP
));
33311 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM
));
33312 PyDict_SetItemString(d
,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT
));
33313 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT
));
33314 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK
));
33315 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
33316 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
33317 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON
));
33318 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR
));
33319 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL
));
33320 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL
));
33321 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL
));
33322 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS
));
33323 PyDict_SetItemString(d
,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT
));
33324 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE
));
33325 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS
));
33326 PyDict_SetItemString(d
,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT
));
33327 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER
));
33328 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN
));
33329 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT
));
33330 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT
));
33331 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
33332 PyDict_SetItemString(d
,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES
));
33333 PyDict_SetItemString(d
,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES
));
33334 PyDict_SetItemString(d
,"LC_ICON", SWIG_FromInt((int)wxLC_ICON
));
33335 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON
));
33336 PyDict_SetItemString(d
,"LC_LIST", SWIG_FromInt((int)wxLC_LIST
));
33337 PyDict_SetItemString(d
,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT
));
33338 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP
));
33339 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT
));
33340 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE
));
33341 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL
));
33342 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS
));
33343 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER
));
33344 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER
));
33345 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL
));
33346 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING
));
33347 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING
));
33348 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE
));
33349 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN
));
33350 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT
));
33351 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE
));
33352 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT
));
33353 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE
));
33354 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA
));
33355 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM
));
33356 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH
));
33357 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT
));
33358 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE
));
33359 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED
));
33360 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED
));
33361 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED
));
33362 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT
));
33363 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED
));
33364 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED
));
33365 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE
));
33366 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED
));
33367 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE
));
33368 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE
));
33369 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW
));
33370 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE
));
33371 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON
));
33372 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL
));
33373 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT
));
33374 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON
));
33375 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT
));
33376 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT
));
33377 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM
));
33378 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE
));
33379 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL
));
33380 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW
));
33381 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT
));
33382 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT
));
33383 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT
));
33384 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT
));
33385 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP
));
33386 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID
));
33387 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT
));
33388 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT
));
33389 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE
));
33390 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER
));
33391 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE
));
33392 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER
));
33393 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS
));
33394 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON
));
33395 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL
));
33396 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP
));
33397 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN
));
33398 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT
));
33399 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT
));
33400 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
33401 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
33402 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
33403 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
33404 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
33405 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
33406 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
33407 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
33408 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
33409 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
33410 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
33411 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
33412 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
33413 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
33414 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
33415 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
33416 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
33417 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
33418 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
33419 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
33420 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
33421 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
33423 // Map renamed classes back to their common name for OOR
33424 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
33426 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
33427 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS
));
33428 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS
));
33429 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES
));
33430 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT
));
33431 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE
));
33432 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE
));
33433 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED
));
33434 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
33435 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS
));
33436 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT
));
33437 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES
));
33438 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT
));
33439 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE
));
33440 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS
));
33441 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS
));
33442 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS
));
33443 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal
));
33444 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected
));
33445 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded
));
33446 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded
));
33447 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max
));
33448 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE
));
33449 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW
));
33450 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE
));
33451 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON
));
33452 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON
));
33453 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT
));
33454 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL
));
33455 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT
));
33456 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON
));
33457 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT
));
33458 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT
));
33459 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART
));
33460 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART
));
33461 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM
));
33462 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
33463 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
33464 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
33465 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
33466 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
33467 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
33468 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
33469 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
33470 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
33471 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
33472 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
33473 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
33474 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
33475 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
33476 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
33477 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
33478 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
33479 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
33480 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
33481 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
33483 // Map renamed classes back to their common name for OOR
33484 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
33485 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
33487 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
33488 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY
));
33489 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST
));
33490 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS
));
33491 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL
));
33492 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS
));
33493 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP
));
33494 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP
));
33495 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
33496 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
33498 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");