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 if (!wxPyCheckForApp()) SWIG_fail
;
1360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1361 result
= wxButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
1363 wxPyEndAllowThreads(__tstate
);
1364 if (PyErr_Occurred()) SWIG_fail
;
1367 wxVisualAttributes
* resultptr
;
1368 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
1369 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
1377 static PyObject
* Button_swigregister(PyObject
*self
, PyObject
*args
) {
1379 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1380 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1382 return Py_BuildValue((char *)"");
1384 static PyObject
*_wrap_new_BitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1385 PyObject
*resultobj
;
1386 wxWindow
*arg1
= (wxWindow
*) 0 ;
1387 int arg2
= (int) -1 ;
1388 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
1389 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
1390 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1391 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1392 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1393 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1394 long arg6
= (long) wxBU_AUTODRAW
;
1395 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1396 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1397 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1398 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1399 wxBitmapButton
*result
;
1402 bool temp8
= False
;
1403 PyObject
* obj0
= 0 ;
1404 PyObject
* obj1
= 0 ;
1405 PyObject
* obj2
= 0 ;
1406 PyObject
* obj3
= 0 ;
1407 PyObject
* obj4
= 0 ;
1408 PyObject
* obj5
= 0 ;
1409 PyObject
* obj6
= 0 ;
1410 PyObject
* obj7
= 0 ;
1412 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1419 arg2
= (int) SWIG_AsInt(obj1
);
1420 if (PyErr_Occurred()) SWIG_fail
;
1423 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
1424 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1427 PyErr_SetString(PyExc_TypeError
,"null reference");
1434 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1440 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1444 arg6
= (long) SWIG_AsLong(obj5
);
1445 if (PyErr_Occurred()) SWIG_fail
;
1448 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1449 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1452 PyErr_SetString(PyExc_TypeError
,"null reference");
1458 arg8
= wxString_in_helper(obj7
);
1459 if (arg8
== NULL
) SWIG_fail
;
1464 if (!wxPyCheckForApp()) SWIG_fail
;
1465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1466 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1468 wxPyEndAllowThreads(__tstate
);
1469 if (PyErr_Occurred()) SWIG_fail
;
1472 resultobj
= wxPyMake_wxObject(result
);
1488 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1489 PyObject
*resultobj
;
1490 wxBitmapButton
*result
;
1495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1497 if (!wxPyCheckForApp()) SWIG_fail
;
1498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1499 result
= (wxBitmapButton
*)new wxBitmapButton();
1501 wxPyEndAllowThreads(__tstate
);
1502 if (PyErr_Occurred()) SWIG_fail
;
1505 resultobj
= wxPyMake_wxObject(result
);
1513 static PyObject
*_wrap_BitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1514 PyObject
*resultobj
;
1515 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1516 wxWindow
*arg2
= (wxWindow
*) 0 ;
1517 int arg3
= (int) -1 ;
1518 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
1519 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
1520 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1521 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1522 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1523 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1524 long arg7
= (long) wxBU_AUTODRAW
;
1525 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1526 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1527 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1528 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1532 bool temp9
= False
;
1533 PyObject
* obj0
= 0 ;
1534 PyObject
* obj1
= 0 ;
1535 PyObject
* obj2
= 0 ;
1536 PyObject
* obj3
= 0 ;
1537 PyObject
* obj4
= 0 ;
1538 PyObject
* obj5
= 0 ;
1539 PyObject
* obj6
= 0 ;
1540 PyObject
* obj7
= 0 ;
1541 PyObject
* obj8
= 0 ;
1543 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1549 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1552 arg3
= (int) SWIG_AsInt(obj2
);
1553 if (PyErr_Occurred()) SWIG_fail
;
1556 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
1557 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1560 PyErr_SetString(PyExc_TypeError
,"null reference");
1567 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1573 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1577 arg7
= (long) SWIG_AsLong(obj6
);
1578 if (PyErr_Occurred()) SWIG_fail
;
1581 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1582 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1585 PyErr_SetString(PyExc_TypeError
,"null reference");
1591 arg9
= wxString_in_helper(obj8
);
1592 if (arg9
== NULL
) SWIG_fail
;
1597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1598 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1600 wxPyEndAllowThreads(__tstate
);
1601 if (PyErr_Occurred()) SWIG_fail
;
1604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1620 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1621 PyObject
*resultobj
;
1622 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1624 PyObject
* obj0
= 0 ;
1626 (char *) "self", NULL
1629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1634 result
= (arg1
)->GetBitmapLabel();
1636 wxPyEndAllowThreads(__tstate
);
1637 if (PyErr_Occurred()) SWIG_fail
;
1640 wxBitmap
* resultptr
;
1641 resultptr
= new wxBitmap((wxBitmap
&) result
);
1642 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1650 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1651 PyObject
*resultobj
;
1652 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1654 PyObject
* obj0
= 0 ;
1656 (char *) "self", NULL
1659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1664 result
= (arg1
)->GetBitmapDisabled();
1666 wxPyEndAllowThreads(__tstate
);
1667 if (PyErr_Occurred()) SWIG_fail
;
1670 wxBitmap
* resultptr
;
1671 resultptr
= new wxBitmap((wxBitmap
&) result
);
1672 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1680 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1681 PyObject
*resultobj
;
1682 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1684 PyObject
* obj0
= 0 ;
1686 (char *) "self", NULL
1689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1694 result
= (arg1
)->GetBitmapFocus();
1696 wxPyEndAllowThreads(__tstate
);
1697 if (PyErr_Occurred()) SWIG_fail
;
1700 wxBitmap
* resultptr
;
1701 resultptr
= new wxBitmap((wxBitmap
&) result
);
1702 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1710 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1711 PyObject
*resultobj
;
1712 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1714 PyObject
* obj0
= 0 ;
1716 (char *) "self", NULL
1719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1724 result
= (arg1
)->GetBitmapSelected();
1726 wxPyEndAllowThreads(__tstate
);
1727 if (PyErr_Occurred()) SWIG_fail
;
1730 wxBitmap
* resultptr
;
1731 resultptr
= new wxBitmap((wxBitmap
&) result
);
1732 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1740 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1741 PyObject
*resultobj
;
1742 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1743 wxBitmap
*arg2
= 0 ;
1744 PyObject
* obj0
= 0 ;
1745 PyObject
* obj1
= 0 ;
1747 (char *) "self",(char *) "bitmap", NULL
1750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1753 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1754 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1757 PyErr_SetString(PyExc_TypeError
,"null reference");
1761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1762 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1764 wxPyEndAllowThreads(__tstate
);
1765 if (PyErr_Occurred()) SWIG_fail
;
1767 Py_INCREF(Py_None
); resultobj
= Py_None
;
1774 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1775 PyObject
*resultobj
;
1776 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1777 wxBitmap
*arg2
= 0 ;
1778 PyObject
* obj0
= 0 ;
1779 PyObject
* obj1
= 0 ;
1781 (char *) "self",(char *) "bitmap", NULL
1784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1787 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1788 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1791 PyErr_SetString(PyExc_TypeError
,"null reference");
1795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1796 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1798 wxPyEndAllowThreads(__tstate
);
1799 if (PyErr_Occurred()) SWIG_fail
;
1801 Py_INCREF(Py_None
); resultobj
= Py_None
;
1808 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1809 PyObject
*resultobj
;
1810 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1811 wxBitmap
*arg2
= 0 ;
1812 PyObject
* obj0
= 0 ;
1813 PyObject
* obj1
= 0 ;
1815 (char *) "self",(char *) "bitmap", NULL
1818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1821 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1822 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1825 PyErr_SetString(PyExc_TypeError
,"null reference");
1829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1830 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1832 wxPyEndAllowThreads(__tstate
);
1833 if (PyErr_Occurred()) SWIG_fail
;
1835 Py_INCREF(Py_None
); resultobj
= Py_None
;
1842 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1843 PyObject
*resultobj
;
1844 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1845 wxBitmap
*arg2
= 0 ;
1846 PyObject
* obj0
= 0 ;
1847 PyObject
* obj1
= 0 ;
1849 (char *) "self",(char *) "bitmap", NULL
1852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1855 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1856 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1859 PyErr_SetString(PyExc_TypeError
,"null reference");
1863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1864 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1866 wxPyEndAllowThreads(__tstate
);
1867 if (PyErr_Occurred()) SWIG_fail
;
1869 Py_INCREF(Py_None
); resultobj
= Py_None
;
1876 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1877 PyObject
*resultobj
;
1878 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1881 PyObject
* obj0
= 0 ;
1882 PyObject
* obj1
= 0 ;
1883 PyObject
* obj2
= 0 ;
1885 (char *) "self",(char *) "x",(char *) "y", NULL
1888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1891 arg2
= (int) SWIG_AsInt(obj1
);
1892 if (PyErr_Occurred()) SWIG_fail
;
1893 arg3
= (int) SWIG_AsInt(obj2
);
1894 if (PyErr_Occurred()) SWIG_fail
;
1896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1897 (arg1
)->SetMargins(arg2
,arg3
);
1899 wxPyEndAllowThreads(__tstate
);
1900 if (PyErr_Occurred()) SWIG_fail
;
1902 Py_INCREF(Py_None
); resultobj
= Py_None
;
1909 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1910 PyObject
*resultobj
;
1911 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1913 PyObject
* obj0
= 0 ;
1915 (char *) "self", NULL
1918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1923 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1925 wxPyEndAllowThreads(__tstate
);
1926 if (PyErr_Occurred()) SWIG_fail
;
1928 resultobj
= SWIG_FromInt((int)result
);
1935 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1936 PyObject
*resultobj
;
1937 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1939 PyObject
* obj0
= 0 ;
1941 (char *) "self", NULL
1944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1949 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1951 wxPyEndAllowThreads(__tstate
);
1952 if (PyErr_Occurred()) SWIG_fail
;
1954 resultobj
= SWIG_FromInt((int)result
);
1961 static PyObject
* BitmapButton_swigregister(PyObject
*self
, PyObject
*args
) {
1963 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1964 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1966 return Py_BuildValue((char *)"");
1968 static int _wrap_CheckBoxNameStr_set(PyObject
*_val
) {
1969 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
1974 static PyObject
*_wrap_CheckBoxNameStr_get() {
1979 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1981 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1988 static PyObject
*_wrap_new_CheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1989 PyObject
*resultobj
;
1990 wxWindow
*arg1
= (wxWindow
*) 0 ;
1991 int arg2
= (int) -1 ;
1992 wxString
const &arg3_defvalue
= wxPyEmptyString
;
1993 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
1994 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1995 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1996 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1997 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1998 long arg6
= (long) 0 ;
1999 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2000 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2001 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
2002 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2004 bool temp3
= False
;
2007 bool temp8
= False
;
2008 PyObject
* obj0
= 0 ;
2009 PyObject
* obj1
= 0 ;
2010 PyObject
* obj2
= 0 ;
2011 PyObject
* obj3
= 0 ;
2012 PyObject
* obj4
= 0 ;
2013 PyObject
* obj5
= 0 ;
2014 PyObject
* obj6
= 0 ;
2015 PyObject
* obj7
= 0 ;
2017 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2024 arg2
= (int) SWIG_AsInt(obj1
);
2025 if (PyErr_Occurred()) SWIG_fail
;
2029 arg3
= wxString_in_helper(obj2
);
2030 if (arg3
== NULL
) SWIG_fail
;
2037 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2043 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2047 arg6
= (long) SWIG_AsLong(obj5
);
2048 if (PyErr_Occurred()) SWIG_fail
;
2051 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2052 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2055 PyErr_SetString(PyExc_TypeError
,"null reference");
2061 arg8
= wxString_in_helper(obj7
);
2062 if (arg8
== NULL
) SWIG_fail
;
2067 if (!wxPyCheckForApp()) SWIG_fail
;
2068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2069 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2071 wxPyEndAllowThreads(__tstate
);
2072 if (PyErr_Occurred()) SWIG_fail
;
2074 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2097 static PyObject
*_wrap_new_PreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2098 PyObject
*resultobj
;
2104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
2106 if (!wxPyCheckForApp()) SWIG_fail
;
2107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2108 result
= (wxCheckBox
*)new wxCheckBox();
2110 wxPyEndAllowThreads(__tstate
);
2111 if (PyErr_Occurred()) SWIG_fail
;
2113 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2120 static PyObject
*_wrap_CheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2121 PyObject
*resultobj
;
2122 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2123 wxWindow
*arg2
= (wxWindow
*) 0 ;
2124 int arg3
= (int) -1 ;
2125 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2126 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2127 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2128 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2129 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2130 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2131 long arg7
= (long) 0 ;
2132 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2133 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2134 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
2135 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2137 bool temp4
= False
;
2140 bool temp9
= False
;
2141 PyObject
* obj0
= 0 ;
2142 PyObject
* obj1
= 0 ;
2143 PyObject
* obj2
= 0 ;
2144 PyObject
* obj3
= 0 ;
2145 PyObject
* obj4
= 0 ;
2146 PyObject
* obj5
= 0 ;
2147 PyObject
* obj6
= 0 ;
2148 PyObject
* obj7
= 0 ;
2149 PyObject
* obj8
= 0 ;
2151 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2157 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2160 arg3
= (int) SWIG_AsInt(obj2
);
2161 if (PyErr_Occurred()) SWIG_fail
;
2165 arg4
= wxString_in_helper(obj3
);
2166 if (arg4
== NULL
) SWIG_fail
;
2173 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2179 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2183 arg7
= (long) SWIG_AsLong(obj6
);
2184 if (PyErr_Occurred()) SWIG_fail
;
2187 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2188 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2191 PyErr_SetString(PyExc_TypeError
,"null reference");
2197 arg9
= wxString_in_helper(obj8
);
2198 if (arg9
== NULL
) SWIG_fail
;
2203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2204 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2206 wxPyEndAllowThreads(__tstate
);
2207 if (PyErr_Occurred()) SWIG_fail
;
2210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2234 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2235 PyObject
*resultobj
;
2236 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2238 PyObject
* obj0
= 0 ;
2240 (char *) "self", NULL
2243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
2244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2248 result
= (bool)(arg1
)->GetValue();
2250 wxPyEndAllowThreads(__tstate
);
2251 if (PyErr_Occurred()) SWIG_fail
;
2254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2262 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2263 PyObject
*resultobj
;
2264 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2266 PyObject
* obj0
= 0 ;
2268 (char *) "self", NULL
2271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2276 result
= (bool)(arg1
)->IsChecked();
2278 wxPyEndAllowThreads(__tstate
);
2279 if (PyErr_Occurred()) SWIG_fail
;
2282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2290 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2291 PyObject
*resultobj
;
2292 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2294 PyObject
* obj0
= 0 ;
2295 PyObject
* obj1
= 0 ;
2297 (char *) "self",(char *) "state", NULL
2300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2303 arg2
= (bool const) SWIG_AsBool(obj1
);
2304 if (PyErr_Occurred()) SWIG_fail
;
2306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2307 (arg1
)->SetValue(arg2
);
2309 wxPyEndAllowThreads(__tstate
);
2310 if (PyErr_Occurred()) SWIG_fail
;
2312 Py_INCREF(Py_None
); resultobj
= Py_None
;
2319 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2320 PyObject
*resultobj
;
2321 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2323 PyObject
* obj0
= 0 ;
2325 (char *) "self", NULL
2328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2333 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2335 wxPyEndAllowThreads(__tstate
);
2336 if (PyErr_Occurred()) SWIG_fail
;
2338 resultobj
= SWIG_FromInt((int)result
);
2345 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2346 PyObject
*resultobj
;
2347 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2349 PyObject
* obj0
= 0 ;
2350 PyObject
* obj1
= 0 ;
2352 (char *) "self",(char *) "state", NULL
2355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2358 arg2
= (wxCheckBoxState
) SWIG_AsInt(obj1
);
2359 if (PyErr_Occurred()) SWIG_fail
;
2361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2362 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2364 wxPyEndAllowThreads(__tstate
);
2365 if (PyErr_Occurred()) SWIG_fail
;
2367 Py_INCREF(Py_None
); resultobj
= Py_None
;
2374 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2375 PyObject
*resultobj
;
2376 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2378 PyObject
* obj0
= 0 ;
2380 (char *) "self", NULL
2383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2388 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2390 wxPyEndAllowThreads(__tstate
);
2391 if (PyErr_Occurred()) SWIG_fail
;
2394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2402 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2403 PyObject
*resultobj
;
2404 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2406 PyObject
* obj0
= 0 ;
2408 (char *) "self", NULL
2411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2416 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2418 wxPyEndAllowThreads(__tstate
);
2419 if (PyErr_Occurred()) SWIG_fail
;
2422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2430 static PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2431 PyObject
*resultobj
;
2432 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2433 wxVisualAttributes result
;
2434 PyObject
* obj0
= 0 ;
2436 (char *) "variant", NULL
2439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2441 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2442 if (PyErr_Occurred()) SWIG_fail
;
2445 if (!wxPyCheckForApp()) SWIG_fail
;
2446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2447 result
= wxCheckBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2449 wxPyEndAllowThreads(__tstate
);
2450 if (PyErr_Occurred()) SWIG_fail
;
2453 wxVisualAttributes
* resultptr
;
2454 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2455 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2463 static PyObject
* CheckBox_swigregister(PyObject
*self
, PyObject
*args
) {
2465 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2466 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2468 return Py_BuildValue((char *)"");
2470 static int _wrap_ChoiceNameStr_set(PyObject
*_val
) {
2471 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2476 static PyObject
*_wrap_ChoiceNameStr_get() {
2481 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2483 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2490 static PyObject
*_wrap_new_Choice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2491 PyObject
*resultobj
;
2492 wxWindow
*arg1
= (wxWindow
*) 0 ;
2493 int arg2
= (int) -1 ;
2494 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2495 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2496 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2497 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2498 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
2499 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
2500 long arg6
= (long) 0 ;
2501 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2502 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2503 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
2504 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2508 bool temp5
= False
;
2509 bool temp8
= False
;
2510 PyObject
* obj0
= 0 ;
2511 PyObject
* obj1
= 0 ;
2512 PyObject
* obj2
= 0 ;
2513 PyObject
* obj3
= 0 ;
2514 PyObject
* obj4
= 0 ;
2515 PyObject
* obj5
= 0 ;
2516 PyObject
* obj6
= 0 ;
2517 PyObject
* obj7
= 0 ;
2519 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2526 arg2
= (int) SWIG_AsInt(obj1
);
2527 if (PyErr_Occurred()) SWIG_fail
;
2532 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2538 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2543 if (! PySequence_Check(obj4
)) {
2544 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2547 arg5
= new wxArrayString
;
2549 int i
, len
=PySequence_Length(obj4
);
2550 for (i
=0; i
<len
; i
++) {
2551 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2553 PyObject
* str
= PyObject_Unicode(item
);
2555 PyObject
* str
= PyObject_Str(item
);
2557 if (PyErr_Occurred()) SWIG_fail
;
2558 arg5
->Add(Py2wxString(str
));
2565 arg6
= (long) SWIG_AsLong(obj5
);
2566 if (PyErr_Occurred()) SWIG_fail
;
2569 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2570 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2573 PyErr_SetString(PyExc_TypeError
,"null reference");
2579 arg8
= wxString_in_helper(obj7
);
2580 if (arg8
== NULL
) SWIG_fail
;
2585 if (!wxPyCheckForApp()) SWIG_fail
;
2586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2587 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2589 wxPyEndAllowThreads(__tstate
);
2590 if (PyErr_Occurred()) SWIG_fail
;
2592 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2594 if (temp5
) delete arg5
;
2603 if (temp5
) delete arg5
;
2613 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2614 PyObject
*resultobj
;
2620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2622 if (!wxPyCheckForApp()) SWIG_fail
;
2623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2624 result
= (wxChoice
*)new wxChoice();
2626 wxPyEndAllowThreads(__tstate
);
2627 if (PyErr_Occurred()) SWIG_fail
;
2629 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2636 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2637 PyObject
*resultobj
;
2638 wxChoice
*arg1
= (wxChoice
*) 0 ;
2639 wxWindow
*arg2
= (wxWindow
*) 0 ;
2640 int arg3
= (int) -1 ;
2641 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2642 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2643 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2644 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2645 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2646 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2647 long arg7
= (long) 0 ;
2648 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2649 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2650 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2651 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2655 bool temp6
= False
;
2656 bool temp9
= False
;
2657 PyObject
* obj0
= 0 ;
2658 PyObject
* obj1
= 0 ;
2659 PyObject
* obj2
= 0 ;
2660 PyObject
* obj3
= 0 ;
2661 PyObject
* obj4
= 0 ;
2662 PyObject
* obj5
= 0 ;
2663 PyObject
* obj6
= 0 ;
2664 PyObject
* obj7
= 0 ;
2665 PyObject
* obj8
= 0 ;
2667 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2673 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2676 arg3
= (int) SWIG_AsInt(obj2
);
2677 if (PyErr_Occurred()) SWIG_fail
;
2682 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2688 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2693 if (! PySequence_Check(obj5
)) {
2694 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2697 arg6
= new wxArrayString
;
2699 int i
, len
=PySequence_Length(obj5
);
2700 for (i
=0; i
<len
; i
++) {
2701 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2703 PyObject
* str
= PyObject_Unicode(item
);
2705 PyObject
* str
= PyObject_Str(item
);
2707 if (PyErr_Occurred()) SWIG_fail
;
2708 arg6
->Add(Py2wxString(str
));
2715 arg7
= (long) SWIG_AsLong(obj6
);
2716 if (PyErr_Occurred()) SWIG_fail
;
2719 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2720 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2723 PyErr_SetString(PyExc_TypeError
,"null reference");
2729 arg9
= wxString_in_helper(obj8
);
2730 if (arg9
== NULL
) SWIG_fail
;
2735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2736 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2738 wxPyEndAllowThreads(__tstate
);
2739 if (PyErr_Occurred()) SWIG_fail
;
2742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2745 if (temp6
) delete arg6
;
2754 if (temp6
) delete arg6
;
2764 static PyObject
*_wrap_Choice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2765 PyObject
*resultobj
;
2766 wxChoice
*arg1
= (wxChoice
*) 0 ;
2768 PyObject
* obj0
= 0 ;
2769 PyObject
* obj1
= 0 ;
2771 (char *) "self",(char *) "n", NULL
2774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2777 arg2
= (int const) SWIG_AsInt(obj1
);
2778 if (PyErr_Occurred()) SWIG_fail
;
2780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2781 (arg1
)->SetSelection(arg2
);
2783 wxPyEndAllowThreads(__tstate
);
2784 if (PyErr_Occurred()) SWIG_fail
;
2786 Py_INCREF(Py_None
); resultobj
= Py_None
;
2793 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2794 PyObject
*resultobj
;
2795 wxChoice
*arg1
= (wxChoice
*) 0 ;
2796 wxString
*arg2
= 0 ;
2798 bool temp2
= False
;
2799 PyObject
* obj0
= 0 ;
2800 PyObject
* obj1
= 0 ;
2802 (char *) "self",(char *) "string", NULL
2805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2809 arg2
= wxString_in_helper(obj1
);
2810 if (arg2
== NULL
) SWIG_fail
;
2814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2815 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
2817 wxPyEndAllowThreads(__tstate
);
2818 if (PyErr_Occurred()) SWIG_fail
;
2821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2837 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2838 PyObject
*resultobj
;
2839 wxChoice
*arg1
= (wxChoice
*) 0 ;
2841 wxString
*arg3
= 0 ;
2842 bool temp3
= False
;
2843 PyObject
* obj0
= 0 ;
2844 PyObject
* obj1
= 0 ;
2845 PyObject
* obj2
= 0 ;
2847 (char *) "self",(char *) "n",(char *) "string", NULL
2850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2853 arg2
= (int) SWIG_AsInt(obj1
);
2854 if (PyErr_Occurred()) SWIG_fail
;
2856 arg3
= wxString_in_helper(obj2
);
2857 if (arg3
== NULL
) SWIG_fail
;
2861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2862 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2864 wxPyEndAllowThreads(__tstate
);
2865 if (PyErr_Occurred()) SWIG_fail
;
2867 Py_INCREF(Py_None
); resultobj
= Py_None
;
2882 static PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2883 PyObject
*resultobj
;
2884 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2885 wxVisualAttributes result
;
2886 PyObject
* obj0
= 0 ;
2888 (char *) "variant", NULL
2891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2893 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2894 if (PyErr_Occurred()) SWIG_fail
;
2897 if (!wxPyCheckForApp()) SWIG_fail
;
2898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2899 result
= wxChoice::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2901 wxPyEndAllowThreads(__tstate
);
2902 if (PyErr_Occurred()) SWIG_fail
;
2905 wxVisualAttributes
* resultptr
;
2906 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2907 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2915 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2917 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2918 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2920 return Py_BuildValue((char *)"");
2922 static int _wrap_ComboBoxNameStr_set(PyObject
*_val
) {
2923 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2928 static PyObject
*_wrap_ComboBoxNameStr_get() {
2933 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2935 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2942 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2943 PyObject
*resultobj
;
2944 wxWindow
*arg1
= (wxWindow
*) 0 ;
2945 int arg2
= (int) -1 ;
2946 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2947 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2948 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2949 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2950 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2951 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2952 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2953 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2954 long arg7
= (long) 0 ;
2955 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2956 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2957 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
2958 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2960 bool temp3
= False
;
2963 bool temp6
= False
;
2964 bool temp9
= False
;
2965 PyObject
* obj0
= 0 ;
2966 PyObject
* obj1
= 0 ;
2967 PyObject
* obj2
= 0 ;
2968 PyObject
* obj3
= 0 ;
2969 PyObject
* obj4
= 0 ;
2970 PyObject
* obj5
= 0 ;
2971 PyObject
* obj6
= 0 ;
2972 PyObject
* obj7
= 0 ;
2973 PyObject
* obj8
= 0 ;
2975 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2982 arg2
= (int) SWIG_AsInt(obj1
);
2983 if (PyErr_Occurred()) SWIG_fail
;
2987 arg3
= wxString_in_helper(obj2
);
2988 if (arg3
== NULL
) SWIG_fail
;
2995 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3001 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3006 if (! PySequence_Check(obj5
)) {
3007 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3010 arg6
= new wxArrayString
;
3012 int i
, len
=PySequence_Length(obj5
);
3013 for (i
=0; i
<len
; i
++) {
3014 PyObject
* item
= PySequence_GetItem(obj5
, i
);
3016 PyObject
* str
= PyObject_Unicode(item
);
3018 PyObject
* str
= PyObject_Str(item
);
3020 if (PyErr_Occurred()) SWIG_fail
;
3021 arg6
->Add(Py2wxString(str
));
3028 arg7
= (long) SWIG_AsLong(obj6
);
3029 if (PyErr_Occurred()) SWIG_fail
;
3032 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
3033 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3036 PyErr_SetString(PyExc_TypeError
,"null reference");
3042 arg9
= wxString_in_helper(obj8
);
3043 if (arg9
== NULL
) SWIG_fail
;
3048 if (!wxPyCheckForApp()) SWIG_fail
;
3049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3050 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
);
3052 wxPyEndAllowThreads(__tstate
);
3053 if (PyErr_Occurred()) SWIG_fail
;
3055 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3061 if (temp6
) delete arg6
;
3074 if (temp6
) delete arg6
;
3084 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3085 PyObject
*resultobj
;
3091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
3093 if (!wxPyCheckForApp()) SWIG_fail
;
3094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3095 result
= (wxComboBox
*)new wxComboBox();
3097 wxPyEndAllowThreads(__tstate
);
3098 if (PyErr_Occurred()) SWIG_fail
;
3100 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3107 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3108 PyObject
*resultobj
;
3109 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3110 wxWindow
*arg2
= (wxWindow
*) 0 ;
3111 int arg3
= (int) -1 ;
3112 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3113 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3114 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3115 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3116 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3117 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3118 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
3119 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
3120 long arg8
= (long) 0 ;
3121 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
3122 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
3123 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
3124 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
3126 bool temp4
= False
;
3129 bool temp7
= False
;
3130 bool temp10
= False
;
3131 PyObject
* obj0
= 0 ;
3132 PyObject
* obj1
= 0 ;
3133 PyObject
* obj2
= 0 ;
3134 PyObject
* obj3
= 0 ;
3135 PyObject
* obj4
= 0 ;
3136 PyObject
* obj5
= 0 ;
3137 PyObject
* obj6
= 0 ;
3138 PyObject
* obj7
= 0 ;
3139 PyObject
* obj8
= 0 ;
3140 PyObject
* obj9
= 0 ;
3142 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
3146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3148 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3151 arg3
= (int) SWIG_AsInt(obj2
);
3152 if (PyErr_Occurred()) SWIG_fail
;
3156 arg4
= wxString_in_helper(obj3
);
3157 if (arg4
== NULL
) SWIG_fail
;
3164 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3170 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3175 if (! PySequence_Check(obj6
)) {
3176 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3179 arg7
= new wxArrayString
;
3181 int i
, len
=PySequence_Length(obj6
);
3182 for (i
=0; i
<len
; i
++) {
3183 PyObject
* item
= PySequence_GetItem(obj6
, i
);
3185 PyObject
* str
= PyObject_Unicode(item
);
3187 PyObject
* str
= PyObject_Str(item
);
3189 if (PyErr_Occurred()) SWIG_fail
;
3190 arg7
->Add(Py2wxString(str
));
3197 arg8
= (long) SWIG_AsLong(obj7
);
3198 if (PyErr_Occurred()) SWIG_fail
;
3201 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
3202 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3205 PyErr_SetString(PyExc_TypeError
,"null reference");
3211 arg10
= wxString_in_helper(obj9
);
3212 if (arg10
== NULL
) SWIG_fail
;
3217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3218 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
);
3220 wxPyEndAllowThreads(__tstate
);
3221 if (PyErr_Occurred()) SWIG_fail
;
3224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3231 if (temp7
) delete arg7
;
3244 if (temp7
) delete arg7
;
3254 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3255 PyObject
*resultobj
;
3256 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3258 PyObject
* obj0
= 0 ;
3260 (char *) "self", NULL
3263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
3264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3268 result
= ((wxComboBox
const *)arg1
)->GetValue();
3270 wxPyEndAllowThreads(__tstate
);
3271 if (PyErr_Occurred()) SWIG_fail
;
3275 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3277 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3286 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3287 PyObject
*resultobj
;
3288 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3289 wxString
*arg2
= 0 ;
3290 bool temp2
= False
;
3291 PyObject
* obj0
= 0 ;
3292 PyObject
* obj1
= 0 ;
3294 (char *) "self",(char *) "value", NULL
3297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3301 arg2
= wxString_in_helper(obj1
);
3302 if (arg2
== NULL
) SWIG_fail
;
3306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3307 (arg1
)->SetValue((wxString
const &)*arg2
);
3309 wxPyEndAllowThreads(__tstate
);
3310 if (PyErr_Occurred()) SWIG_fail
;
3312 Py_INCREF(Py_None
); resultobj
= Py_None
;
3327 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3328 PyObject
*resultobj
;
3329 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3330 PyObject
* obj0
= 0 ;
3332 (char *) "self", NULL
3335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
3336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3342 wxPyEndAllowThreads(__tstate
);
3343 if (PyErr_Occurred()) SWIG_fail
;
3345 Py_INCREF(Py_None
); resultobj
= Py_None
;
3352 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3353 PyObject
*resultobj
;
3354 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3355 PyObject
* obj0
= 0 ;
3357 (char *) "self", NULL
3360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3367 wxPyEndAllowThreads(__tstate
);
3368 if (PyErr_Occurred()) SWIG_fail
;
3370 Py_INCREF(Py_None
); resultobj
= Py_None
;
3377 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3378 PyObject
*resultobj
;
3379 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3380 PyObject
* obj0
= 0 ;
3382 (char *) "self", NULL
3385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3392 wxPyEndAllowThreads(__tstate
);
3393 if (PyErr_Occurred()) SWIG_fail
;
3395 Py_INCREF(Py_None
); resultobj
= Py_None
;
3402 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3403 PyObject
*resultobj
;
3404 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3406 PyObject
* obj0
= 0 ;
3407 PyObject
* obj1
= 0 ;
3409 (char *) "self",(char *) "pos", NULL
3412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3415 arg2
= (long) SWIG_AsLong(obj1
);
3416 if (PyErr_Occurred()) SWIG_fail
;
3418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3419 (arg1
)->SetInsertionPoint(arg2
);
3421 wxPyEndAllowThreads(__tstate
);
3422 if (PyErr_Occurred()) SWIG_fail
;
3424 Py_INCREF(Py_None
); resultobj
= Py_None
;
3431 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3432 PyObject
*resultobj
;
3433 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3435 PyObject
* obj0
= 0 ;
3437 (char *) "self", NULL
3440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3445 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3447 wxPyEndAllowThreads(__tstate
);
3448 if (PyErr_Occurred()) SWIG_fail
;
3450 resultobj
= SWIG_FromLong((long)result
);
3457 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3458 PyObject
*resultobj
;
3459 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3461 PyObject
* obj0
= 0 ;
3463 (char *) "self", NULL
3466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3471 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3473 wxPyEndAllowThreads(__tstate
);
3474 if (PyErr_Occurred()) SWIG_fail
;
3476 resultobj
= SWIG_FromLong((long)result
);
3483 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3484 PyObject
*resultobj
;
3485 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3488 wxString
*arg4
= 0 ;
3489 bool temp4
= False
;
3490 PyObject
* obj0
= 0 ;
3491 PyObject
* obj1
= 0 ;
3492 PyObject
* obj2
= 0 ;
3493 PyObject
* obj3
= 0 ;
3495 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3501 arg2
= (long) SWIG_AsLong(obj1
);
3502 if (PyErr_Occurred()) SWIG_fail
;
3503 arg3
= (long) SWIG_AsLong(obj2
);
3504 if (PyErr_Occurred()) SWIG_fail
;
3506 arg4
= wxString_in_helper(obj3
);
3507 if (arg4
== NULL
) SWIG_fail
;
3511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3512 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3514 wxPyEndAllowThreads(__tstate
);
3515 if (PyErr_Occurred()) SWIG_fail
;
3517 Py_INCREF(Py_None
); resultobj
= Py_None
;
3532 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3533 PyObject
*resultobj
;
3534 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3536 PyObject
* obj0
= 0 ;
3537 PyObject
* obj1
= 0 ;
3539 (char *) "self",(char *) "n", NULL
3542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3545 arg2
= (int) SWIG_AsInt(obj1
);
3546 if (PyErr_Occurred()) SWIG_fail
;
3548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3549 (arg1
)->SetSelection(arg2
);
3551 wxPyEndAllowThreads(__tstate
);
3552 if (PyErr_Occurred()) SWIG_fail
;
3554 Py_INCREF(Py_None
); resultobj
= Py_None
;
3561 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3562 PyObject
*resultobj
;
3563 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3566 PyObject
* obj0
= 0 ;
3567 PyObject
* obj1
= 0 ;
3568 PyObject
* obj2
= 0 ;
3570 (char *) "self",(char *) "from",(char *) "to", NULL
3573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3576 arg2
= (long) SWIG_AsLong(obj1
);
3577 if (PyErr_Occurred()) SWIG_fail
;
3578 arg3
= (long) SWIG_AsLong(obj2
);
3579 if (PyErr_Occurred()) SWIG_fail
;
3581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3582 (arg1
)->SetSelection(arg2
,arg3
);
3584 wxPyEndAllowThreads(__tstate
);
3585 if (PyErr_Occurred()) SWIG_fail
;
3587 Py_INCREF(Py_None
); resultobj
= Py_None
;
3594 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3595 PyObject
*resultobj
;
3596 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3597 wxString
*arg2
= 0 ;
3599 bool temp2
= False
;
3600 PyObject
* obj0
= 0 ;
3601 PyObject
* obj1
= 0 ;
3603 (char *) "self",(char *) "string", NULL
3606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3610 arg2
= wxString_in_helper(obj1
);
3611 if (arg2
== NULL
) SWIG_fail
;
3615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3616 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
3618 wxPyEndAllowThreads(__tstate
);
3619 if (PyErr_Occurred()) SWIG_fail
;
3622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3638 static PyObject
*_wrap_ComboBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3639 PyObject
*resultobj
;
3640 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3642 wxString
*arg3
= 0 ;
3643 bool temp3
= False
;
3644 PyObject
* obj0
= 0 ;
3645 PyObject
* obj1
= 0 ;
3646 PyObject
* obj2
= 0 ;
3648 (char *) "self",(char *) "n",(char *) "string", NULL
3651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3654 arg2
= (int) SWIG_AsInt(obj1
);
3655 if (PyErr_Occurred()) SWIG_fail
;
3657 arg3
= wxString_in_helper(obj2
);
3658 if (arg3
== NULL
) SWIG_fail
;
3662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3663 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
3665 wxPyEndAllowThreads(__tstate
);
3666 if (PyErr_Occurred()) SWIG_fail
;
3668 Py_INCREF(Py_None
); resultobj
= Py_None
;
3683 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3684 PyObject
*resultobj
;
3685 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3687 PyObject
* obj0
= 0 ;
3688 PyObject
* obj1
= 0 ;
3690 (char *) "self",(char *) "editable", NULL
3693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3696 arg2
= (bool) SWIG_AsBool(obj1
);
3697 if (PyErr_Occurred()) SWIG_fail
;
3699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3700 (arg1
)->SetEditable(arg2
);
3702 wxPyEndAllowThreads(__tstate
);
3703 if (PyErr_Occurred()) SWIG_fail
;
3705 Py_INCREF(Py_None
); resultobj
= Py_None
;
3712 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3713 PyObject
*resultobj
;
3714 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3715 PyObject
* obj0
= 0 ;
3717 (char *) "self", NULL
3720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3725 (arg1
)->SetInsertionPointEnd();
3727 wxPyEndAllowThreads(__tstate
);
3728 if (PyErr_Occurred()) SWIG_fail
;
3730 Py_INCREF(Py_None
); resultobj
= Py_None
;
3737 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3738 PyObject
*resultobj
;
3739 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3742 PyObject
* obj0
= 0 ;
3743 PyObject
* obj1
= 0 ;
3744 PyObject
* obj2
= 0 ;
3746 (char *) "self",(char *) "from",(char *) "to", NULL
3749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3752 arg2
= (long) SWIG_AsLong(obj1
);
3753 if (PyErr_Occurred()) SWIG_fail
;
3754 arg3
= (long) SWIG_AsLong(obj2
);
3755 if (PyErr_Occurred()) SWIG_fail
;
3757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3758 (arg1
)->Remove(arg2
,arg3
);
3760 wxPyEndAllowThreads(__tstate
);
3761 if (PyErr_Occurred()) SWIG_fail
;
3763 Py_INCREF(Py_None
); resultobj
= Py_None
;
3770 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3771 PyObject
*resultobj
;
3772 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
3773 wxVisualAttributes result
;
3774 PyObject
* obj0
= 0 ;
3776 (char *) "variant", NULL
3779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3781 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
3782 if (PyErr_Occurred()) SWIG_fail
;
3785 if (!wxPyCheckForApp()) SWIG_fail
;
3786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3787 result
= wxComboBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3789 wxPyEndAllowThreads(__tstate
);
3790 if (PyErr_Occurred()) SWIG_fail
;
3793 wxVisualAttributes
* resultptr
;
3794 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
3795 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3803 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
3805 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3806 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3808 return Py_BuildValue((char *)"");
3810 static int _wrap_GaugeNameStr_set(PyObject
*_val
) {
3811 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3816 static PyObject
*_wrap_GaugeNameStr_get() {
3821 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3823 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3830 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3831 PyObject
*resultobj
;
3832 wxWindow
*arg1
= (wxWindow
*) 0 ;
3833 int arg2
= (int) -1 ;
3834 int arg3
= (int) 100 ;
3835 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3836 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3837 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3838 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3839 long arg6
= (long) wxGA_HORIZONTAL
;
3840 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3841 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3842 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3843 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3847 bool temp8
= False
;
3848 PyObject
* obj0
= 0 ;
3849 PyObject
* obj1
= 0 ;
3850 PyObject
* obj2
= 0 ;
3851 PyObject
* obj3
= 0 ;
3852 PyObject
* obj4
= 0 ;
3853 PyObject
* obj5
= 0 ;
3854 PyObject
* obj6
= 0 ;
3855 PyObject
* obj7
= 0 ;
3857 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3864 arg2
= (int) SWIG_AsInt(obj1
);
3865 if (PyErr_Occurred()) SWIG_fail
;
3868 arg3
= (int) SWIG_AsInt(obj2
);
3869 if (PyErr_Occurred()) SWIG_fail
;
3874 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3880 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3884 arg6
= (long) SWIG_AsLong(obj5
);
3885 if (PyErr_Occurred()) SWIG_fail
;
3888 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
3889 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3892 PyErr_SetString(PyExc_TypeError
,"null reference");
3898 arg8
= wxString_in_helper(obj7
);
3899 if (arg8
== NULL
) SWIG_fail
;
3904 if (!wxPyCheckForApp()) SWIG_fail
;
3905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3906 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3908 wxPyEndAllowThreads(__tstate
);
3909 if (PyErr_Occurred()) SWIG_fail
;
3911 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3926 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3927 PyObject
*resultobj
;
3933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3935 if (!wxPyCheckForApp()) SWIG_fail
;
3936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3937 result
= (wxGauge
*)new wxGauge();
3939 wxPyEndAllowThreads(__tstate
);
3940 if (PyErr_Occurred()) SWIG_fail
;
3942 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3949 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3950 PyObject
*resultobj
;
3951 wxGauge
*arg1
= (wxGauge
*) 0 ;
3952 wxWindow
*arg2
= (wxWindow
*) 0 ;
3953 int arg3
= (int) -1 ;
3954 int arg4
= (int) 100 ;
3955 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3956 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3957 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3958 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3959 long arg7
= (long) wxGA_HORIZONTAL
;
3960 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3961 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3962 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3963 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3967 bool temp9
= False
;
3968 PyObject
* obj0
= 0 ;
3969 PyObject
* obj1
= 0 ;
3970 PyObject
* obj2
= 0 ;
3971 PyObject
* obj3
= 0 ;
3972 PyObject
* obj4
= 0 ;
3973 PyObject
* obj5
= 0 ;
3974 PyObject
* obj6
= 0 ;
3975 PyObject
* obj7
= 0 ;
3976 PyObject
* obj8
= 0 ;
3978 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3984 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3987 arg3
= (int) SWIG_AsInt(obj2
);
3988 if (PyErr_Occurred()) SWIG_fail
;
3991 arg4
= (int) SWIG_AsInt(obj3
);
3992 if (PyErr_Occurred()) SWIG_fail
;
3997 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4003 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4007 arg7
= (long) SWIG_AsLong(obj6
);
4008 if (PyErr_Occurred()) SWIG_fail
;
4011 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
4012 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4015 PyErr_SetString(PyExc_TypeError
,"null reference");
4021 arg9
= wxString_in_helper(obj8
);
4022 if (arg9
== NULL
) SWIG_fail
;
4027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4028 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4030 wxPyEndAllowThreads(__tstate
);
4031 if (PyErr_Occurred()) SWIG_fail
;
4034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4050 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4051 PyObject
*resultobj
;
4052 wxGauge
*arg1
= (wxGauge
*) 0 ;
4054 PyObject
* obj0
= 0 ;
4055 PyObject
* obj1
= 0 ;
4057 (char *) "self",(char *) "range", NULL
4060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
4061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4063 arg2
= (int) SWIG_AsInt(obj1
);
4064 if (PyErr_Occurred()) SWIG_fail
;
4066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4067 (arg1
)->SetRange(arg2
);
4069 wxPyEndAllowThreads(__tstate
);
4070 if (PyErr_Occurred()) SWIG_fail
;
4072 Py_INCREF(Py_None
); resultobj
= Py_None
;
4079 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4080 PyObject
*resultobj
;
4081 wxGauge
*arg1
= (wxGauge
*) 0 ;
4083 PyObject
* obj0
= 0 ;
4085 (char *) "self", NULL
4088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
4089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4093 result
= (int)((wxGauge
const *)arg1
)->GetRange();
4095 wxPyEndAllowThreads(__tstate
);
4096 if (PyErr_Occurred()) SWIG_fail
;
4098 resultobj
= SWIG_FromInt((int)result
);
4105 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4106 PyObject
*resultobj
;
4107 wxGauge
*arg1
= (wxGauge
*) 0 ;
4109 PyObject
* obj0
= 0 ;
4110 PyObject
* obj1
= 0 ;
4112 (char *) "self",(char *) "pos", NULL
4115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
4116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4118 arg2
= (int) SWIG_AsInt(obj1
);
4119 if (PyErr_Occurred()) SWIG_fail
;
4121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4122 (arg1
)->SetValue(arg2
);
4124 wxPyEndAllowThreads(__tstate
);
4125 if (PyErr_Occurred()) SWIG_fail
;
4127 Py_INCREF(Py_None
); resultobj
= Py_None
;
4134 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4135 PyObject
*resultobj
;
4136 wxGauge
*arg1
= (wxGauge
*) 0 ;
4138 PyObject
* obj0
= 0 ;
4140 (char *) "self", NULL
4143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
4144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4148 result
= (int)((wxGauge
const *)arg1
)->GetValue();
4150 wxPyEndAllowThreads(__tstate
);
4151 if (PyErr_Occurred()) SWIG_fail
;
4153 resultobj
= SWIG_FromInt((int)result
);
4160 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4161 PyObject
*resultobj
;
4162 wxGauge
*arg1
= (wxGauge
*) 0 ;
4164 PyObject
* obj0
= 0 ;
4166 (char *) "self", NULL
4169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
4170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4174 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
4176 wxPyEndAllowThreads(__tstate
);
4177 if (PyErr_Occurred()) SWIG_fail
;
4180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4188 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4189 PyObject
*resultobj
;
4190 wxGauge
*arg1
= (wxGauge
*) 0 ;
4192 PyObject
* obj0
= 0 ;
4193 PyObject
* obj1
= 0 ;
4195 (char *) "self",(char *) "w", NULL
4198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4201 arg2
= (int) SWIG_AsInt(obj1
);
4202 if (PyErr_Occurred()) SWIG_fail
;
4204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4205 (arg1
)->SetShadowWidth(arg2
);
4207 wxPyEndAllowThreads(__tstate
);
4208 if (PyErr_Occurred()) SWIG_fail
;
4210 Py_INCREF(Py_None
); resultobj
= Py_None
;
4217 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4218 PyObject
*resultobj
;
4219 wxGauge
*arg1
= (wxGauge
*) 0 ;
4221 PyObject
* obj0
= 0 ;
4223 (char *) "self", NULL
4226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
4227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4231 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
4233 wxPyEndAllowThreads(__tstate
);
4234 if (PyErr_Occurred()) SWIG_fail
;
4236 resultobj
= SWIG_FromInt((int)result
);
4243 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4244 PyObject
*resultobj
;
4245 wxGauge
*arg1
= (wxGauge
*) 0 ;
4247 PyObject
* obj0
= 0 ;
4248 PyObject
* obj1
= 0 ;
4250 (char *) "self",(char *) "w", NULL
4253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
4254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4256 arg2
= (int) SWIG_AsInt(obj1
);
4257 if (PyErr_Occurred()) SWIG_fail
;
4259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4260 (arg1
)->SetBezelFace(arg2
);
4262 wxPyEndAllowThreads(__tstate
);
4263 if (PyErr_Occurred()) SWIG_fail
;
4265 Py_INCREF(Py_None
); resultobj
= Py_None
;
4272 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4273 PyObject
*resultobj
;
4274 wxGauge
*arg1
= (wxGauge
*) 0 ;
4276 PyObject
* obj0
= 0 ;
4278 (char *) "self", NULL
4281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
4282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4286 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
4288 wxPyEndAllowThreads(__tstate
);
4289 if (PyErr_Occurred()) SWIG_fail
;
4291 resultobj
= SWIG_FromInt((int)result
);
4298 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4299 PyObject
*resultobj
;
4300 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4301 wxVisualAttributes result
;
4302 PyObject
* obj0
= 0 ;
4304 (char *) "variant", NULL
4307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4309 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4310 if (PyErr_Occurred()) SWIG_fail
;
4313 if (!wxPyCheckForApp()) SWIG_fail
;
4314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4315 result
= wxGauge::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4317 wxPyEndAllowThreads(__tstate
);
4318 if (PyErr_Occurred()) SWIG_fail
;
4321 wxVisualAttributes
* resultptr
;
4322 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4323 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4331 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
4333 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4334 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
4336 return Py_BuildValue((char *)"");
4338 static int _wrap_StaticBitmapNameStr_set(PyObject
*_val
) {
4339 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
4344 static PyObject
*_wrap_StaticBitmapNameStr_get() {
4349 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4351 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4358 static int _wrap_StaticBoxNameStr_set(PyObject
*_val
) {
4359 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
4364 static PyObject
*_wrap_StaticBoxNameStr_get() {
4369 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4371 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4378 static int _wrap_StaticTextNameStr_set(PyObject
*_val
) {
4379 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
4384 static PyObject
*_wrap_StaticTextNameStr_get() {
4389 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4391 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4398 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4399 PyObject
*resultobj
;
4400 wxWindow
*arg1
= (wxWindow
*) 0 ;
4401 int arg2
= (int) -1 ;
4402 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4403 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4404 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4405 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4406 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4407 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4408 long arg6
= (long) 0 ;
4409 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
4410 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4411 wxStaticBox
*result
;
4412 bool temp3
= False
;
4415 bool temp7
= False
;
4416 PyObject
* obj0
= 0 ;
4417 PyObject
* obj1
= 0 ;
4418 PyObject
* obj2
= 0 ;
4419 PyObject
* obj3
= 0 ;
4420 PyObject
* obj4
= 0 ;
4421 PyObject
* obj5
= 0 ;
4422 PyObject
* obj6
= 0 ;
4424 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4431 arg2
= (int) SWIG_AsInt(obj1
);
4432 if (PyErr_Occurred()) SWIG_fail
;
4436 arg3
= wxString_in_helper(obj2
);
4437 if (arg3
== NULL
) SWIG_fail
;
4444 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4450 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4454 arg6
= (long) SWIG_AsLong(obj5
);
4455 if (PyErr_Occurred()) SWIG_fail
;
4459 arg7
= wxString_in_helper(obj6
);
4460 if (arg7
== NULL
) SWIG_fail
;
4465 if (!wxPyCheckForApp()) SWIG_fail
;
4466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4467 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4469 wxPyEndAllowThreads(__tstate
);
4470 if (PyErr_Occurred()) SWIG_fail
;
4473 resultobj
= wxPyMake_wxObject(result
);
4497 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4498 PyObject
*resultobj
;
4499 wxStaticBox
*result
;
4504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4506 if (!wxPyCheckForApp()) SWIG_fail
;
4507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4508 result
= (wxStaticBox
*)new wxStaticBox();
4510 wxPyEndAllowThreads(__tstate
);
4511 if (PyErr_Occurred()) SWIG_fail
;
4514 resultobj
= wxPyMake_wxObject(result
);
4522 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4523 PyObject
*resultobj
;
4524 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4525 wxWindow
*arg2
= (wxWindow
*) 0 ;
4526 int arg3
= (int) -1 ;
4527 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4528 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4529 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4530 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4531 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4532 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4533 long arg7
= (long) 0 ;
4534 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4535 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4537 bool temp4
= False
;
4540 bool temp8
= False
;
4541 PyObject
* obj0
= 0 ;
4542 PyObject
* obj1
= 0 ;
4543 PyObject
* obj2
= 0 ;
4544 PyObject
* obj3
= 0 ;
4545 PyObject
* obj4
= 0 ;
4546 PyObject
* obj5
= 0 ;
4547 PyObject
* obj6
= 0 ;
4548 PyObject
* obj7
= 0 ;
4550 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
4555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4556 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4559 arg3
= (int) SWIG_AsInt(obj2
);
4560 if (PyErr_Occurred()) SWIG_fail
;
4564 arg4
= wxString_in_helper(obj3
);
4565 if (arg4
== NULL
) SWIG_fail
;
4572 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4578 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4582 arg7
= (long) SWIG_AsLong(obj6
);
4583 if (PyErr_Occurred()) SWIG_fail
;
4587 arg8
= wxString_in_helper(obj7
);
4588 if (arg8
== NULL
) SWIG_fail
;
4593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4594 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4596 wxPyEndAllowThreads(__tstate
);
4597 if (PyErr_Occurred()) SWIG_fail
;
4600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4624 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4625 PyObject
*resultobj
;
4626 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4627 wxVisualAttributes result
;
4628 PyObject
* obj0
= 0 ;
4630 (char *) "variant", NULL
4633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4635 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4636 if (PyErr_Occurred()) SWIG_fail
;
4639 if (!wxPyCheckForApp()) SWIG_fail
;
4640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4641 result
= wxStaticBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4643 wxPyEndAllowThreads(__tstate
);
4644 if (PyErr_Occurred()) SWIG_fail
;
4647 wxVisualAttributes
* resultptr
;
4648 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4649 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4657 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
4659 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4660 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4662 return Py_BuildValue((char *)"");
4664 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4665 PyObject
*resultobj
;
4666 wxWindow
*arg1
= (wxWindow
*) 0 ;
4667 int arg2
= (int) -1 ;
4668 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4669 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4670 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4671 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4672 long arg5
= (long) wxLI_HORIZONTAL
;
4673 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4674 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4675 wxStaticLine
*result
;
4678 bool temp6
= False
;
4679 PyObject
* obj0
= 0 ;
4680 PyObject
* obj1
= 0 ;
4681 PyObject
* obj2
= 0 ;
4682 PyObject
* obj3
= 0 ;
4683 PyObject
* obj4
= 0 ;
4684 PyObject
* obj5
= 0 ;
4686 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4693 arg2
= (int) SWIG_AsInt(obj1
);
4694 if (PyErr_Occurred()) SWIG_fail
;
4699 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4705 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4709 arg5
= (long) SWIG_AsLong(obj4
);
4710 if (PyErr_Occurred()) SWIG_fail
;
4714 arg6
= wxString_in_helper(obj5
);
4715 if (arg6
== NULL
) SWIG_fail
;
4720 if (!wxPyCheckForApp()) SWIG_fail
;
4721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4722 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4724 wxPyEndAllowThreads(__tstate
);
4725 if (PyErr_Occurred()) SWIG_fail
;
4727 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4742 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4743 PyObject
*resultobj
;
4744 wxStaticLine
*result
;
4749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4751 if (!wxPyCheckForApp()) SWIG_fail
;
4752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4753 result
= (wxStaticLine
*)new wxStaticLine();
4755 wxPyEndAllowThreads(__tstate
);
4756 if (PyErr_Occurred()) SWIG_fail
;
4758 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4765 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4766 PyObject
*resultobj
;
4767 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4768 wxWindow
*arg2
= (wxWindow
*) 0 ;
4769 int arg3
= (int) -1 ;
4770 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4771 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4772 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4773 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4774 long arg6
= (long) wxLI_HORIZONTAL
;
4775 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4776 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4780 bool temp7
= False
;
4781 PyObject
* obj0
= 0 ;
4782 PyObject
* obj1
= 0 ;
4783 PyObject
* obj2
= 0 ;
4784 PyObject
* obj3
= 0 ;
4785 PyObject
* obj4
= 0 ;
4786 PyObject
* obj5
= 0 ;
4787 PyObject
* obj6
= 0 ;
4789 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4795 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4798 arg3
= (int) SWIG_AsInt(obj2
);
4799 if (PyErr_Occurred()) SWIG_fail
;
4804 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4810 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4814 arg6
= (long) SWIG_AsLong(obj5
);
4815 if (PyErr_Occurred()) SWIG_fail
;
4819 arg7
= wxString_in_helper(obj6
);
4820 if (arg7
== NULL
) SWIG_fail
;
4825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4826 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4828 wxPyEndAllowThreads(__tstate
);
4829 if (PyErr_Occurred()) SWIG_fail
;
4832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4848 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4849 PyObject
*resultobj
;
4850 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4852 PyObject
* obj0
= 0 ;
4854 (char *) "self", NULL
4857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4862 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4864 wxPyEndAllowThreads(__tstate
);
4865 if (PyErr_Occurred()) SWIG_fail
;
4868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4876 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4877 PyObject
*resultobj
;
4883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
4885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4886 result
= (int)wxStaticLine::GetDefaultSize();
4888 wxPyEndAllowThreads(__tstate
);
4889 if (PyErr_Occurred()) SWIG_fail
;
4891 resultobj
= SWIG_FromInt((int)result
);
4898 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4899 PyObject
*resultobj
;
4900 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4901 wxVisualAttributes result
;
4902 PyObject
* obj0
= 0 ;
4904 (char *) "variant", NULL
4907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4909 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4910 if (PyErr_Occurred()) SWIG_fail
;
4913 if (!wxPyCheckForApp()) SWIG_fail
;
4914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4915 result
= wxStaticLine::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4917 wxPyEndAllowThreads(__tstate
);
4918 if (PyErr_Occurred()) SWIG_fail
;
4921 wxVisualAttributes
* resultptr
;
4922 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4923 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4931 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
4933 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4934 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
4936 return Py_BuildValue((char *)"");
4938 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4939 PyObject
*resultobj
;
4940 wxWindow
*arg1
= (wxWindow
*) 0 ;
4941 int arg2
= (int) -1 ;
4942 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4943 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4944 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4945 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4946 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4947 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4948 long arg6
= (long) 0 ;
4949 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4950 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4951 wxStaticText
*result
;
4952 bool temp3
= False
;
4955 bool temp7
= False
;
4956 PyObject
* obj0
= 0 ;
4957 PyObject
* obj1
= 0 ;
4958 PyObject
* obj2
= 0 ;
4959 PyObject
* obj3
= 0 ;
4960 PyObject
* obj4
= 0 ;
4961 PyObject
* obj5
= 0 ;
4962 PyObject
* obj6
= 0 ;
4964 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4971 arg2
= (int) SWIG_AsInt(obj1
);
4972 if (PyErr_Occurred()) SWIG_fail
;
4976 arg3
= wxString_in_helper(obj2
);
4977 if (arg3
== NULL
) SWIG_fail
;
4984 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4990 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4994 arg6
= (long) SWIG_AsLong(obj5
);
4995 if (PyErr_Occurred()) SWIG_fail
;
4999 arg7
= wxString_in_helper(obj6
);
5000 if (arg7
== NULL
) SWIG_fail
;
5005 if (!wxPyCheckForApp()) SWIG_fail
;
5006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5007 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5009 wxPyEndAllowThreads(__tstate
);
5010 if (PyErr_Occurred()) SWIG_fail
;
5012 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
5035 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5036 PyObject
*resultobj
;
5037 wxStaticText
*result
;
5042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
5044 if (!wxPyCheckForApp()) SWIG_fail
;
5045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5046 result
= (wxStaticText
*)new wxStaticText();
5048 wxPyEndAllowThreads(__tstate
);
5049 if (PyErr_Occurred()) SWIG_fail
;
5051 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
5058 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5059 PyObject
*resultobj
;
5060 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
5061 wxWindow
*arg2
= (wxWindow
*) 0 ;
5062 int arg3
= (int) -1 ;
5063 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5064 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5065 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5066 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5067 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5068 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5069 long arg7
= (long) 0 ;
5070 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
5071 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5073 bool temp4
= False
;
5076 bool temp8
= False
;
5077 PyObject
* obj0
= 0 ;
5078 PyObject
* obj1
= 0 ;
5079 PyObject
* obj2
= 0 ;
5080 PyObject
* obj3
= 0 ;
5081 PyObject
* obj4
= 0 ;
5082 PyObject
* obj5
= 0 ;
5083 PyObject
* obj6
= 0 ;
5084 PyObject
* obj7
= 0 ;
5086 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticText
,
5091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5092 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5095 arg3
= (int) SWIG_AsInt(obj2
);
5096 if (PyErr_Occurred()) SWIG_fail
;
5100 arg4
= wxString_in_helper(obj3
);
5101 if (arg4
== NULL
) SWIG_fail
;
5108 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5114 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5118 arg7
= (long) SWIG_AsLong(obj6
);
5119 if (PyErr_Occurred()) SWIG_fail
;
5123 arg8
= wxString_in_helper(obj7
);
5124 if (arg8
== NULL
) SWIG_fail
;
5129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5130 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5132 wxPyEndAllowThreads(__tstate
);
5133 if (PyErr_Occurred()) SWIG_fail
;
5136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5160 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5161 PyObject
*resultobj
;
5162 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5163 wxVisualAttributes result
;
5164 PyObject
* obj0
= 0 ;
5166 (char *) "variant", NULL
5169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5171 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
5172 if (PyErr_Occurred()) SWIG_fail
;
5175 if (!wxPyCheckForApp()) SWIG_fail
;
5176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5177 result
= wxStaticText::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5179 wxPyEndAllowThreads(__tstate
);
5180 if (PyErr_Occurred()) SWIG_fail
;
5183 wxVisualAttributes
* resultptr
;
5184 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5185 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5193 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
5195 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5196 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
5198 return Py_BuildValue((char *)"");
5200 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5201 PyObject
*resultobj
;
5202 wxWindow
*arg1
= (wxWindow
*) 0 ;
5203 int arg2
= (int) -1 ;
5204 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
5205 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
5206 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5207 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5208 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5209 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5210 long arg6
= (long) 0 ;
5211 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
5212 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5213 wxStaticBitmap
*result
;
5216 bool temp7
= False
;
5217 PyObject
* obj0
= 0 ;
5218 PyObject
* obj1
= 0 ;
5219 PyObject
* obj2
= 0 ;
5220 PyObject
* obj3
= 0 ;
5221 PyObject
* obj4
= 0 ;
5222 PyObject
* obj5
= 0 ;
5223 PyObject
* obj6
= 0 ;
5225 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5232 arg2
= (int) SWIG_AsInt(obj1
);
5233 if (PyErr_Occurred()) SWIG_fail
;
5236 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
5237 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5240 PyErr_SetString(PyExc_TypeError
,"null reference");
5247 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5253 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5257 arg6
= (long) SWIG_AsLong(obj5
);
5258 if (PyErr_Occurred()) SWIG_fail
;
5262 arg7
= wxString_in_helper(obj6
);
5263 if (arg7
== NULL
) SWIG_fail
;
5268 if (!wxPyCheckForApp()) SWIG_fail
;
5269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5270 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5272 wxPyEndAllowThreads(__tstate
);
5273 if (PyErr_Occurred()) SWIG_fail
;
5275 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5290 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5291 PyObject
*resultobj
;
5292 wxStaticBitmap
*result
;
5297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
5299 if (!wxPyCheckForApp()) SWIG_fail
;
5300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5301 result
= (wxStaticBitmap
*)new wxStaticBitmap();
5303 wxPyEndAllowThreads(__tstate
);
5304 if (PyErr_Occurred()) SWIG_fail
;
5306 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5313 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5314 PyObject
*resultobj
;
5315 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5316 wxWindow
*arg2
= (wxWindow
*) 0 ;
5317 int arg3
= (int) -1 ;
5318 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
5319 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
5320 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5321 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5322 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5323 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5324 long arg7
= (long) 0 ;
5325 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
5326 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5330 bool temp8
= False
;
5331 PyObject
* obj0
= 0 ;
5332 PyObject
* obj1
= 0 ;
5333 PyObject
* obj2
= 0 ;
5334 PyObject
* obj3
= 0 ;
5335 PyObject
* obj4
= 0 ;
5336 PyObject
* obj5
= 0 ;
5337 PyObject
* obj6
= 0 ;
5338 PyObject
* obj7
= 0 ;
5340 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5346 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5349 arg3
= (int) SWIG_AsInt(obj2
);
5350 if (PyErr_Occurred()) SWIG_fail
;
5353 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
5354 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5357 PyErr_SetString(PyExc_TypeError
,"null reference");
5364 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5370 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5374 arg7
= (long) SWIG_AsLong(obj6
);
5375 if (PyErr_Occurred()) SWIG_fail
;
5379 arg8
= wxString_in_helper(obj7
);
5380 if (arg8
== NULL
) SWIG_fail
;
5385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5386 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5388 wxPyEndAllowThreads(__tstate
);
5389 if (PyErr_Occurred()) SWIG_fail
;
5392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5408 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5409 PyObject
*resultobj
;
5410 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5412 PyObject
* obj0
= 0 ;
5414 (char *) "self", NULL
5417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
5418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5422 result
= (arg1
)->GetBitmap();
5424 wxPyEndAllowThreads(__tstate
);
5425 if (PyErr_Occurred()) SWIG_fail
;
5428 wxBitmap
* resultptr
;
5429 resultptr
= new wxBitmap((wxBitmap
&) result
);
5430 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5438 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5439 PyObject
*resultobj
;
5440 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5441 wxBitmap
*arg2
= 0 ;
5442 PyObject
* obj0
= 0 ;
5443 PyObject
* obj1
= 0 ;
5445 (char *) "self",(char *) "bitmap", NULL
5448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5451 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5452 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5455 PyErr_SetString(PyExc_TypeError
,"null reference");
5459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5460 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
5462 wxPyEndAllowThreads(__tstate
);
5463 if (PyErr_Occurred()) SWIG_fail
;
5465 Py_INCREF(Py_None
); resultobj
= Py_None
;
5472 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5473 PyObject
*resultobj
;
5474 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5476 PyObject
* obj0
= 0 ;
5477 PyObject
* obj1
= 0 ;
5479 (char *) "self",(char *) "icon", NULL
5482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5485 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
5486 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5489 PyErr_SetString(PyExc_TypeError
,"null reference");
5493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5494 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5496 wxPyEndAllowThreads(__tstate
);
5497 if (PyErr_Occurred()) SWIG_fail
;
5499 Py_INCREF(Py_None
); resultobj
= Py_None
;
5506 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5507 PyObject
*resultobj
;
5508 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5509 wxVisualAttributes result
;
5510 PyObject
* obj0
= 0 ;
5512 (char *) "variant", NULL
5515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5517 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
5518 if (PyErr_Occurred()) SWIG_fail
;
5521 if (!wxPyCheckForApp()) SWIG_fail
;
5522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5523 result
= wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5525 wxPyEndAllowThreads(__tstate
);
5526 if (PyErr_Occurred()) SWIG_fail
;
5529 wxVisualAttributes
* resultptr
;
5530 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5531 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5539 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
5541 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5542 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
5544 return Py_BuildValue((char *)"");
5546 static int _wrap_ListBoxNameStr_set(PyObject
*_val
) {
5547 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
5552 static PyObject
*_wrap_ListBoxNameStr_get() {
5557 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5559 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5566 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5567 PyObject
*resultobj
;
5568 wxWindow
*arg1
= (wxWindow
*) 0 ;
5569 int arg2
= (int) -1 ;
5570 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5571 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5572 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5573 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5574 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5575 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5576 long arg6
= (long) 0 ;
5577 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5578 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5579 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5580 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5584 bool temp5
= False
;
5585 bool temp8
= False
;
5586 PyObject
* obj0
= 0 ;
5587 PyObject
* obj1
= 0 ;
5588 PyObject
* obj2
= 0 ;
5589 PyObject
* obj3
= 0 ;
5590 PyObject
* obj4
= 0 ;
5591 PyObject
* obj5
= 0 ;
5592 PyObject
* obj6
= 0 ;
5593 PyObject
* obj7
= 0 ;
5595 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5602 arg2
= (int) SWIG_AsInt(obj1
);
5603 if (PyErr_Occurred()) SWIG_fail
;
5608 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5614 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5619 if (! PySequence_Check(obj4
)) {
5620 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5623 arg5
= new wxArrayString
;
5625 int i
, len
=PySequence_Length(obj4
);
5626 for (i
=0; i
<len
; i
++) {
5627 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5629 PyObject
* str
= PyObject_Unicode(item
);
5631 PyObject
* str
= PyObject_Str(item
);
5633 if (PyErr_Occurred()) SWIG_fail
;
5634 arg5
->Add(Py2wxString(str
));
5641 arg6
= (long) SWIG_AsLong(obj5
);
5642 if (PyErr_Occurred()) SWIG_fail
;
5645 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
5646 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5649 PyErr_SetString(PyExc_TypeError
,"null reference");
5655 arg8
= wxString_in_helper(obj7
);
5656 if (arg8
== NULL
) SWIG_fail
;
5661 if (!wxPyCheckForApp()) SWIG_fail
;
5662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5663 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5665 wxPyEndAllowThreads(__tstate
);
5666 if (PyErr_Occurred()) SWIG_fail
;
5668 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5670 if (temp5
) delete arg5
;
5679 if (temp5
) delete arg5
;
5689 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5690 PyObject
*resultobj
;
5696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5698 if (!wxPyCheckForApp()) SWIG_fail
;
5699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5700 result
= (wxListBox
*)new wxListBox();
5702 wxPyEndAllowThreads(__tstate
);
5703 if (PyErr_Occurred()) SWIG_fail
;
5705 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5712 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5713 PyObject
*resultobj
;
5714 wxListBox
*arg1
= (wxListBox
*) 0 ;
5715 wxWindow
*arg2
= (wxWindow
*) 0 ;
5716 int arg3
= (int) -1 ;
5717 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5718 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5719 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5720 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5721 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5722 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5723 long arg7
= (long) 0 ;
5724 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5725 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5726 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5727 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5731 bool temp6
= False
;
5732 bool temp9
= False
;
5733 PyObject
* obj0
= 0 ;
5734 PyObject
* obj1
= 0 ;
5735 PyObject
* obj2
= 0 ;
5736 PyObject
* obj3
= 0 ;
5737 PyObject
* obj4
= 0 ;
5738 PyObject
* obj5
= 0 ;
5739 PyObject
* obj6
= 0 ;
5740 PyObject
* obj7
= 0 ;
5741 PyObject
* obj8
= 0 ;
5743 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5749 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5752 arg3
= (int) SWIG_AsInt(obj2
);
5753 if (PyErr_Occurred()) SWIG_fail
;
5758 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5764 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5769 if (! PySequence_Check(obj5
)) {
5770 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5773 arg6
= new wxArrayString
;
5775 int i
, len
=PySequence_Length(obj5
);
5776 for (i
=0; i
<len
; i
++) {
5777 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5779 PyObject
* str
= PyObject_Unicode(item
);
5781 PyObject
* str
= PyObject_Str(item
);
5783 if (PyErr_Occurred()) SWIG_fail
;
5784 arg6
->Add(Py2wxString(str
));
5791 arg7
= (long) SWIG_AsLong(obj6
);
5792 if (PyErr_Occurred()) SWIG_fail
;
5795 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
5796 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5799 PyErr_SetString(PyExc_TypeError
,"null reference");
5805 arg9
= wxString_in_helper(obj8
);
5806 if (arg9
== NULL
) SWIG_fail
;
5811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5812 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5814 wxPyEndAllowThreads(__tstate
);
5815 if (PyErr_Occurred()) SWIG_fail
;
5818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5821 if (temp6
) delete arg6
;
5830 if (temp6
) delete arg6
;
5840 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5841 PyObject
*resultobj
;
5842 wxListBox
*arg1
= (wxListBox
*) 0 ;
5843 wxString
*arg2
= 0 ;
5845 PyObject
*arg4
= (PyObject
*) NULL
;
5846 bool temp2
= False
;
5847 PyObject
* obj0
= 0 ;
5848 PyObject
* obj1
= 0 ;
5849 PyObject
* obj2
= 0 ;
5850 PyObject
* obj3
= 0 ;
5852 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5859 arg2
= wxString_in_helper(obj1
);
5860 if (arg2
== NULL
) SWIG_fail
;
5863 arg3
= (int) SWIG_AsInt(obj2
);
5864 if (PyErr_Occurred()) SWIG_fail
;
5869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5870 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5872 wxPyEndAllowThreads(__tstate
);
5873 if (PyErr_Occurred()) SWIG_fail
;
5875 Py_INCREF(Py_None
); resultobj
= Py_None
;
5890 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5891 PyObject
*resultobj
;
5892 wxListBox
*arg1
= (wxListBox
*) 0 ;
5893 wxArrayString
*arg2
= 0 ;
5895 bool temp2
= False
;
5896 PyObject
* obj0
= 0 ;
5897 PyObject
* obj1
= 0 ;
5898 PyObject
* obj2
= 0 ;
5900 (char *) "self",(char *) "items",(char *) "pos", NULL
5903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5907 if (! PySequence_Check(obj1
)) {
5908 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5911 arg2
= new wxArrayString
;
5913 int i
, len
=PySequence_Length(obj1
);
5914 for (i
=0; i
<len
; i
++) {
5915 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5917 PyObject
* str
= PyObject_Unicode(item
);
5919 PyObject
* str
= PyObject_Str(item
);
5921 if (PyErr_Occurred()) SWIG_fail
;
5922 arg2
->Add(Py2wxString(str
));
5927 arg3
= (int) SWIG_AsInt(obj2
);
5928 if (PyErr_Occurred()) SWIG_fail
;
5930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5931 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
5933 wxPyEndAllowThreads(__tstate
);
5934 if (PyErr_Occurred()) SWIG_fail
;
5936 Py_INCREF(Py_None
); resultobj
= Py_None
;
5938 if (temp2
) delete arg2
;
5943 if (temp2
) delete arg2
;
5949 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5950 PyObject
*resultobj
;
5951 wxListBox
*arg1
= (wxListBox
*) 0 ;
5952 wxArrayString
*arg2
= 0 ;
5953 bool temp2
= False
;
5954 PyObject
* obj0
= 0 ;
5955 PyObject
* obj1
= 0 ;
5957 (char *) "self",(char *) "items", NULL
5960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
5961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5964 if (! PySequence_Check(obj1
)) {
5965 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5968 arg2
= new wxArrayString
;
5970 int i
, len
=PySequence_Length(obj1
);
5971 for (i
=0; i
<len
; i
++) {
5972 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5974 PyObject
* str
= PyObject_Unicode(item
);
5976 PyObject
* str
= PyObject_Str(item
);
5978 if (PyErr_Occurred()) SWIG_fail
;
5979 arg2
->Add(Py2wxString(str
));
5985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5986 (arg1
)->Set((wxArrayString
const &)*arg2
);
5988 wxPyEndAllowThreads(__tstate
);
5989 if (PyErr_Occurred()) SWIG_fail
;
5991 Py_INCREF(Py_None
); resultobj
= Py_None
;
5993 if (temp2
) delete arg2
;
5998 if (temp2
) delete arg2
;
6004 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6005 PyObject
*resultobj
;
6006 wxListBox
*arg1
= (wxListBox
*) 0 ;
6009 PyObject
* obj0
= 0 ;
6010 PyObject
* obj1
= 0 ;
6012 (char *) "self",(char *) "n", NULL
6015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
6016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6018 arg2
= (int) SWIG_AsInt(obj1
);
6019 if (PyErr_Occurred()) SWIG_fail
;
6021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6022 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
6024 wxPyEndAllowThreads(__tstate
);
6025 if (PyErr_Occurred()) SWIG_fail
;
6028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6036 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6037 PyObject
*resultobj
;
6038 wxListBox
*arg1
= (wxListBox
*) 0 ;
6040 bool arg3
= (bool) True
;
6041 PyObject
* obj0
= 0 ;
6042 PyObject
* obj1
= 0 ;
6043 PyObject
* obj2
= 0 ;
6045 (char *) "self",(char *) "n",(char *) "select", NULL
6048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6051 arg2
= (int) SWIG_AsInt(obj1
);
6052 if (PyErr_Occurred()) SWIG_fail
;
6054 arg3
= (bool) SWIG_AsBool(obj2
);
6055 if (PyErr_Occurred()) SWIG_fail
;
6058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6059 (arg1
)->SetSelection(arg2
,arg3
);
6061 wxPyEndAllowThreads(__tstate
);
6062 if (PyErr_Occurred()) SWIG_fail
;
6064 Py_INCREF(Py_None
); resultobj
= Py_None
;
6071 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6072 PyObject
*resultobj
;
6073 wxListBox
*arg1
= (wxListBox
*) 0 ;
6075 PyObject
* obj0
= 0 ;
6076 PyObject
* obj1
= 0 ;
6078 (char *) "self",(char *) "n", NULL
6081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
6082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6084 arg2
= (int) SWIG_AsInt(obj1
);
6085 if (PyErr_Occurred()) SWIG_fail
;
6087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6088 (arg1
)->Select(arg2
);
6090 wxPyEndAllowThreads(__tstate
);
6091 if (PyErr_Occurred()) SWIG_fail
;
6093 Py_INCREF(Py_None
); resultobj
= Py_None
;
6100 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6101 PyObject
*resultobj
;
6102 wxListBox
*arg1
= (wxListBox
*) 0 ;
6104 PyObject
* obj0
= 0 ;
6105 PyObject
* obj1
= 0 ;
6107 (char *) "self",(char *) "n", NULL
6110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
6111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6113 arg2
= (int) SWIG_AsInt(obj1
);
6114 if (PyErr_Occurred()) SWIG_fail
;
6116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6117 (arg1
)->Deselect(arg2
);
6119 wxPyEndAllowThreads(__tstate
);
6120 if (PyErr_Occurred()) SWIG_fail
;
6122 Py_INCREF(Py_None
); resultobj
= Py_None
;
6129 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6130 PyObject
*resultobj
;
6131 wxListBox
*arg1
= (wxListBox
*) 0 ;
6132 int arg2
= (int) -1 ;
6133 PyObject
* obj0
= 0 ;
6134 PyObject
* obj1
= 0 ;
6136 (char *) "self",(char *) "itemToLeaveSelected", NULL
6139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
6140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6143 arg2
= (int) SWIG_AsInt(obj1
);
6144 if (PyErr_Occurred()) SWIG_fail
;
6147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6148 (arg1
)->DeselectAll(arg2
);
6150 wxPyEndAllowThreads(__tstate
);
6151 if (PyErr_Occurred()) SWIG_fail
;
6153 Py_INCREF(Py_None
); resultobj
= Py_None
;
6160 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6161 PyObject
*resultobj
;
6162 wxListBox
*arg1
= (wxListBox
*) 0 ;
6163 wxString
*arg2
= 0 ;
6164 bool arg3
= (bool) True
;
6166 bool temp2
= False
;
6167 PyObject
* obj0
= 0 ;
6168 PyObject
* obj1
= 0 ;
6169 PyObject
* obj2
= 0 ;
6171 (char *) "self",(char *) "s",(char *) "select", NULL
6174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6178 arg2
= wxString_in_helper(obj1
);
6179 if (arg2
== NULL
) SWIG_fail
;
6183 arg3
= (bool) SWIG_AsBool(obj2
);
6184 if (PyErr_Occurred()) SWIG_fail
;
6187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6188 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
6190 wxPyEndAllowThreads(__tstate
);
6191 if (PyErr_Occurred()) SWIG_fail
;
6194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6210 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6211 PyObject
*resultobj
;
6212 wxListBox
*arg1
= (wxListBox
*) 0 ;
6214 PyObject
* obj0
= 0 ;
6216 (char *) "self", NULL
6219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
6220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6224 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
6226 wxPyEndAllowThreads(__tstate
);
6227 if (PyErr_Occurred()) SWIG_fail
;
6236 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6237 PyObject
*resultobj
;
6238 wxListBox
*arg1
= (wxListBox
*) 0 ;
6240 PyObject
* obj0
= 0 ;
6241 PyObject
* obj1
= 0 ;
6243 (char *) "self",(char *) "n", NULL
6246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
6247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6249 arg2
= (int) SWIG_AsInt(obj1
);
6250 if (PyErr_Occurred()) SWIG_fail
;
6252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6253 (arg1
)->SetFirstItem(arg2
);
6255 wxPyEndAllowThreads(__tstate
);
6256 if (PyErr_Occurred()) SWIG_fail
;
6258 Py_INCREF(Py_None
); resultobj
= Py_None
;
6265 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6266 PyObject
*resultobj
;
6267 wxListBox
*arg1
= (wxListBox
*) 0 ;
6268 wxString
*arg2
= 0 ;
6269 bool temp2
= False
;
6270 PyObject
* obj0
= 0 ;
6271 PyObject
* obj1
= 0 ;
6273 (char *) "self",(char *) "s", NULL
6276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
6277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6280 arg2
= wxString_in_helper(obj1
);
6281 if (arg2
== NULL
) SWIG_fail
;
6285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6286 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
6288 wxPyEndAllowThreads(__tstate
);
6289 if (PyErr_Occurred()) SWIG_fail
;
6291 Py_INCREF(Py_None
); resultobj
= Py_None
;
6306 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6307 PyObject
*resultobj
;
6308 wxListBox
*arg1
= (wxListBox
*) 0 ;
6310 PyObject
* obj0
= 0 ;
6311 PyObject
* obj1
= 0 ;
6313 (char *) "self",(char *) "n", NULL
6316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6319 arg2
= (int) SWIG_AsInt(obj1
);
6320 if (PyErr_Occurred()) SWIG_fail
;
6322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6323 (arg1
)->EnsureVisible(arg2
);
6325 wxPyEndAllowThreads(__tstate
);
6326 if (PyErr_Occurred()) SWIG_fail
;
6328 Py_INCREF(Py_None
); resultobj
= Py_None
;
6335 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6336 PyObject
*resultobj
;
6337 wxListBox
*arg1
= (wxListBox
*) 0 ;
6338 wxString
*arg2
= 0 ;
6339 bool temp2
= False
;
6340 PyObject
* obj0
= 0 ;
6341 PyObject
* obj1
= 0 ;
6343 (char *) "self",(char *) "s", NULL
6346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6350 arg2
= wxString_in_helper(obj1
);
6351 if (arg2
== NULL
) SWIG_fail
;
6355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6356 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
6358 wxPyEndAllowThreads(__tstate
);
6359 if (PyErr_Occurred()) SWIG_fail
;
6361 Py_INCREF(Py_None
); resultobj
= Py_None
;
6376 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6377 PyObject
*resultobj
;
6378 wxListBox
*arg1
= (wxListBox
*) 0 ;
6380 PyObject
* obj0
= 0 ;
6382 (char *) "self", NULL
6385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
6386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6390 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
6392 wxPyEndAllowThreads(__tstate
);
6393 if (PyErr_Occurred()) SWIG_fail
;
6396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6404 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6405 PyObject
*resultobj
;
6406 wxListBox
*arg1
= (wxListBox
*) 0 ;
6408 wxColour
*arg3
= 0 ;
6410 PyObject
* obj0
= 0 ;
6411 PyObject
* obj1
= 0 ;
6412 PyObject
* obj2
= 0 ;
6414 (char *) "self",(char *) "item",(char *) "c", NULL
6417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6420 arg2
= (int) SWIG_AsInt(obj1
);
6421 if (PyErr_Occurred()) SWIG_fail
;
6424 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6428 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6430 wxPyEndAllowThreads(__tstate
);
6431 if (PyErr_Occurred()) SWIG_fail
;
6433 Py_INCREF(Py_None
); resultobj
= Py_None
;
6440 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6441 PyObject
*resultobj
;
6442 wxListBox
*arg1
= (wxListBox
*) 0 ;
6444 wxColour
*arg3
= 0 ;
6446 PyObject
* obj0
= 0 ;
6447 PyObject
* obj1
= 0 ;
6448 PyObject
* obj2
= 0 ;
6450 (char *) "self",(char *) "item",(char *) "c", NULL
6453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6456 arg2
= (int) SWIG_AsInt(obj1
);
6457 if (PyErr_Occurred()) SWIG_fail
;
6460 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6464 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6466 wxPyEndAllowThreads(__tstate
);
6467 if (PyErr_Occurred()) SWIG_fail
;
6469 Py_INCREF(Py_None
); resultobj
= Py_None
;
6476 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6477 PyObject
*resultobj
;
6478 wxListBox
*arg1
= (wxListBox
*) 0 ;
6481 PyObject
* obj0
= 0 ;
6482 PyObject
* obj1
= 0 ;
6483 PyObject
* obj2
= 0 ;
6485 (char *) "self",(char *) "item",(char *) "f", NULL
6488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6491 arg2
= (int) SWIG_AsInt(obj1
);
6492 if (PyErr_Occurred()) SWIG_fail
;
6493 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6494 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6497 PyErr_SetString(PyExc_TypeError
,"null reference");
6501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6502 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
6504 wxPyEndAllowThreads(__tstate
);
6505 if (PyErr_Occurred()) SWIG_fail
;
6507 Py_INCREF(Py_None
); resultobj
= Py_None
;
6514 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6515 PyObject
*resultobj
;
6516 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6517 wxVisualAttributes result
;
6518 PyObject
* obj0
= 0 ;
6520 (char *) "variant", NULL
6523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6525 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
6526 if (PyErr_Occurred()) SWIG_fail
;
6529 if (!wxPyCheckForApp()) SWIG_fail
;
6530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6531 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6533 wxPyEndAllowThreads(__tstate
);
6534 if (PyErr_Occurred()) SWIG_fail
;
6537 wxVisualAttributes
* resultptr
;
6538 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6539 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6547 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6549 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6550 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
6552 return Py_BuildValue((char *)"");
6554 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6555 PyObject
*resultobj
;
6556 wxWindow
*arg1
= (wxWindow
*) 0 ;
6557 int arg2
= (int) -1 ;
6558 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6559 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6560 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6561 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6562 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
6563 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
6564 long arg6
= (long) 0 ;
6565 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6566 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6567 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
6568 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6569 wxCheckListBox
*result
;
6572 bool temp5
= False
;
6573 bool temp8
= False
;
6574 PyObject
* obj0
= 0 ;
6575 PyObject
* obj1
= 0 ;
6576 PyObject
* obj2
= 0 ;
6577 PyObject
* obj3
= 0 ;
6578 PyObject
* obj4
= 0 ;
6579 PyObject
* obj5
= 0 ;
6580 PyObject
* obj6
= 0 ;
6581 PyObject
* obj7
= 0 ;
6583 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6590 arg2
= (int) SWIG_AsInt(obj1
);
6591 if (PyErr_Occurred()) SWIG_fail
;
6596 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6602 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6607 if (! PySequence_Check(obj4
)) {
6608 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6611 arg5
= new wxArrayString
;
6613 int i
, len
=PySequence_Length(obj4
);
6614 for (i
=0; i
<len
; i
++) {
6615 PyObject
* item
= PySequence_GetItem(obj4
, i
);
6617 PyObject
* str
= PyObject_Unicode(item
);
6619 PyObject
* str
= PyObject_Str(item
);
6621 if (PyErr_Occurred()) SWIG_fail
;
6622 arg5
->Add(Py2wxString(str
));
6629 arg6
= (long) SWIG_AsLong(obj5
);
6630 if (PyErr_Occurred()) SWIG_fail
;
6633 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
6634 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6637 PyErr_SetString(PyExc_TypeError
,"null reference");
6643 arg8
= wxString_in_helper(obj7
);
6644 if (arg8
== NULL
) SWIG_fail
;
6649 if (!wxPyCheckForApp()) SWIG_fail
;
6650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6651 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6653 wxPyEndAllowThreads(__tstate
);
6654 if (PyErr_Occurred()) SWIG_fail
;
6656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6658 if (temp5
) delete arg5
;
6667 if (temp5
) delete arg5
;
6677 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6678 PyObject
*resultobj
;
6679 wxCheckListBox
*result
;
6684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
6686 if (!wxPyCheckForApp()) SWIG_fail
;
6687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6688 result
= (wxCheckListBox
*)new wxCheckListBox();
6690 wxPyEndAllowThreads(__tstate
);
6691 if (PyErr_Occurred()) SWIG_fail
;
6693 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6700 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6701 PyObject
*resultobj
;
6702 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6703 wxWindow
*arg2
= (wxWindow
*) 0 ;
6704 int arg3
= (int) -1 ;
6705 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6706 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6707 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6708 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6709 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
6710 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
6711 long arg7
= (long) 0 ;
6712 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6713 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6714 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
6715 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6719 bool temp6
= False
;
6720 bool temp9
= False
;
6721 PyObject
* obj0
= 0 ;
6722 PyObject
* obj1
= 0 ;
6723 PyObject
* obj2
= 0 ;
6724 PyObject
* obj3
= 0 ;
6725 PyObject
* obj4
= 0 ;
6726 PyObject
* obj5
= 0 ;
6727 PyObject
* obj6
= 0 ;
6728 PyObject
* obj7
= 0 ;
6729 PyObject
* obj8
= 0 ;
6731 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
6735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6737 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6740 arg3
= (int) SWIG_AsInt(obj2
);
6741 if (PyErr_Occurred()) SWIG_fail
;
6746 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6752 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6757 if (! PySequence_Check(obj5
)) {
6758 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6761 arg6
= new wxArrayString
;
6763 int i
, len
=PySequence_Length(obj5
);
6764 for (i
=0; i
<len
; i
++) {
6765 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6767 PyObject
* str
= PyObject_Unicode(item
);
6769 PyObject
* str
= PyObject_Str(item
);
6771 if (PyErr_Occurred()) SWIG_fail
;
6772 arg6
->Add(Py2wxString(str
));
6779 arg7
= (long) SWIG_AsLong(obj6
);
6780 if (PyErr_Occurred()) SWIG_fail
;
6783 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
6784 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6787 PyErr_SetString(PyExc_TypeError
,"null reference");
6793 arg9
= wxString_in_helper(obj8
);
6794 if (arg9
== NULL
) SWIG_fail
;
6799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6800 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6802 wxPyEndAllowThreads(__tstate
);
6803 if (PyErr_Occurred()) SWIG_fail
;
6806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6809 if (temp6
) delete arg6
;
6818 if (temp6
) delete arg6
;
6828 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6829 PyObject
*resultobj
;
6830 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6833 PyObject
* obj0
= 0 ;
6834 PyObject
* obj1
= 0 ;
6836 (char *) "self",(char *) "index", NULL
6839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6842 arg2
= (int) SWIG_AsInt(obj1
);
6843 if (PyErr_Occurred()) SWIG_fail
;
6845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6846 result
= (bool)(arg1
)->IsChecked(arg2
);
6848 wxPyEndAllowThreads(__tstate
);
6849 if (PyErr_Occurred()) SWIG_fail
;
6852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6860 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6861 PyObject
*resultobj
;
6862 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6864 int arg3
= (int) True
;
6865 PyObject
* obj0
= 0 ;
6866 PyObject
* obj1
= 0 ;
6867 PyObject
* obj2
= 0 ;
6869 (char *) "self",(char *) "index",(char *) "check", NULL
6872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6875 arg2
= (int) SWIG_AsInt(obj1
);
6876 if (PyErr_Occurred()) SWIG_fail
;
6878 arg3
= (int) SWIG_AsInt(obj2
);
6879 if (PyErr_Occurred()) SWIG_fail
;
6882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6883 (arg1
)->Check(arg2
,arg3
);
6885 wxPyEndAllowThreads(__tstate
);
6886 if (PyErr_Occurred()) SWIG_fail
;
6888 Py_INCREF(Py_None
); resultobj
= Py_None
;
6895 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6896 PyObject
*resultobj
;
6897 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6899 PyObject
* obj0
= 0 ;
6901 (char *) "self", NULL
6904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
6905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6909 result
= (int)(arg1
)->GetItemHeight();
6911 wxPyEndAllowThreads(__tstate
);
6912 if (PyErr_Occurred()) SWIG_fail
;
6914 resultobj
= SWIG_FromInt((int)result
);
6921 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6922 PyObject
*resultobj
;
6923 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6927 PyObject
* obj0
= 0 ;
6928 PyObject
* obj1
= 0 ;
6930 (char *) "self",(char *) "pt", NULL
6933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
6934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6938 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6942 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
6944 wxPyEndAllowThreads(__tstate
);
6945 if (PyErr_Occurred()) SWIG_fail
;
6947 resultobj
= SWIG_FromInt((int)result
);
6954 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6955 PyObject
*resultobj
;
6956 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6960 PyObject
* obj0
= 0 ;
6961 PyObject
* obj1
= 0 ;
6962 PyObject
* obj2
= 0 ;
6964 (char *) "self",(char *) "x",(char *) "y", NULL
6967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6970 arg2
= (int) SWIG_AsInt(obj1
);
6971 if (PyErr_Occurred()) SWIG_fail
;
6972 arg3
= (int) SWIG_AsInt(obj2
);
6973 if (PyErr_Occurred()) SWIG_fail
;
6975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6976 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
6978 wxPyEndAllowThreads(__tstate
);
6979 if (PyErr_Occurred()) SWIG_fail
;
6981 resultobj
= SWIG_FromInt((int)result
);
6988 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6990 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6991 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
6993 return Py_BuildValue((char *)"");
6995 static int _wrap_TextCtrlNameStr_set(PyObject
*_val
) {
6996 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
7001 static PyObject
*_wrap_TextCtrlNameStr_get() {
7006 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
7008 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
7015 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7016 PyObject
*resultobj
;
7017 wxColour
const &arg1_defvalue
= wxNullColour
;
7018 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
7019 wxColour
const &arg2_defvalue
= wxNullColour
;
7020 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
7021 wxFont
const &arg3_defvalue
= wxNullFont
;
7022 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
7023 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
7027 PyObject
* obj0
= 0 ;
7028 PyObject
* obj1
= 0 ;
7029 PyObject
* obj2
= 0 ;
7030 PyObject
* obj3
= 0 ;
7032 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
7035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7039 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
7045 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7049 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
7050 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7053 PyErr_SetString(PyExc_TypeError
,"null reference");
7058 arg4
= (wxTextAttrAlignment
) SWIG_AsInt(obj3
);
7059 if (PyErr_Occurred()) SWIG_fail
;
7062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7063 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
7065 wxPyEndAllowThreads(__tstate
);
7066 if (PyErr_Occurred()) SWIG_fail
;
7068 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
7075 static PyObject
*_wrap_delete_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7076 PyObject
*resultobj
;
7077 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7078 PyObject
* obj0
= 0 ;
7080 (char *) "self", NULL
7083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
7084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7090 wxPyEndAllowThreads(__tstate
);
7091 if (PyErr_Occurred()) SWIG_fail
;
7093 Py_INCREF(Py_None
); resultobj
= Py_None
;
7100 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7101 PyObject
*resultobj
;
7102 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7103 PyObject
* obj0
= 0 ;
7105 (char *) "self", NULL
7108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
7109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7115 wxPyEndAllowThreads(__tstate
);
7116 if (PyErr_Occurred()) SWIG_fail
;
7118 Py_INCREF(Py_None
); resultobj
= Py_None
;
7125 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7126 PyObject
*resultobj
;
7127 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7128 wxColour
*arg2
= 0 ;
7130 PyObject
* obj0
= 0 ;
7131 PyObject
* obj1
= 0 ;
7133 (char *) "self",(char *) "colText", NULL
7136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7141 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7145 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
7147 wxPyEndAllowThreads(__tstate
);
7148 if (PyErr_Occurred()) SWIG_fail
;
7150 Py_INCREF(Py_None
); resultobj
= Py_None
;
7157 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7158 PyObject
*resultobj
;
7159 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7160 wxColour
*arg2
= 0 ;
7162 PyObject
* obj0
= 0 ;
7163 PyObject
* obj1
= 0 ;
7165 (char *) "self",(char *) "colBack", NULL
7168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7173 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7177 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
7179 wxPyEndAllowThreads(__tstate
);
7180 if (PyErr_Occurred()) SWIG_fail
;
7182 Py_INCREF(Py_None
); resultobj
= Py_None
;
7189 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7190 PyObject
*resultobj
;
7191 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7193 long arg3
= (long) wxTEXT_ATTR_FONT
;
7194 PyObject
* obj0
= 0 ;
7195 PyObject
* obj1
= 0 ;
7196 PyObject
* obj2
= 0 ;
7198 (char *) "self",(char *) "font",(char *) "flags", NULL
7201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7204 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7205 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7208 PyErr_SetString(PyExc_TypeError
,"null reference");
7212 arg3
= (long) SWIG_AsLong(obj2
);
7213 if (PyErr_Occurred()) SWIG_fail
;
7216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7217 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
7219 wxPyEndAllowThreads(__tstate
);
7220 if (PyErr_Occurred()) SWIG_fail
;
7222 Py_INCREF(Py_None
); resultobj
= Py_None
;
7229 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7230 PyObject
*resultobj
;
7231 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7233 PyObject
* obj0
= 0 ;
7234 PyObject
* obj1
= 0 ;
7236 (char *) "self",(char *) "alignment", NULL
7239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7242 arg2
= (wxTextAttrAlignment
) SWIG_AsInt(obj1
);
7243 if (PyErr_Occurred()) SWIG_fail
;
7245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7246 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
7248 wxPyEndAllowThreads(__tstate
);
7249 if (PyErr_Occurred()) SWIG_fail
;
7251 Py_INCREF(Py_None
); resultobj
= Py_None
;
7258 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7259 PyObject
*resultobj
;
7260 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7261 wxArrayInt
*arg2
= 0 ;
7262 bool temp2
= False
;
7263 PyObject
* obj0
= 0 ;
7264 PyObject
* obj1
= 0 ;
7266 (char *) "self",(char *) "tabs", NULL
7269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
7270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7273 if (! PySequence_Check(obj1
)) {
7274 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
7277 arg2
= new wxArrayInt
;
7279 int i
, len
=PySequence_Length(obj1
);
7280 for (i
=0; i
<len
; i
++) {
7281 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7282 PyObject
* number
= PyNumber_Int(item
);
7283 arg2
->Add(PyInt_AS_LONG(number
));
7289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7290 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
7292 wxPyEndAllowThreads(__tstate
);
7293 if (PyErr_Occurred()) SWIG_fail
;
7295 Py_INCREF(Py_None
); resultobj
= Py_None
;
7297 if (temp2
) delete arg2
;
7302 if (temp2
) delete arg2
;
7308 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7309 PyObject
*resultobj
;
7310 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7312 int arg3
= (int) 0 ;
7313 PyObject
* obj0
= 0 ;
7314 PyObject
* obj1
= 0 ;
7315 PyObject
* obj2
= 0 ;
7317 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
7320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7323 arg2
= (int) SWIG_AsInt(obj1
);
7324 if (PyErr_Occurred()) SWIG_fail
;
7326 arg3
= (int) SWIG_AsInt(obj2
);
7327 if (PyErr_Occurred()) SWIG_fail
;
7330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7331 (arg1
)->SetLeftIndent(arg2
,arg3
);
7333 wxPyEndAllowThreads(__tstate
);
7334 if (PyErr_Occurred()) SWIG_fail
;
7336 Py_INCREF(Py_None
); resultobj
= Py_None
;
7343 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7344 PyObject
*resultobj
;
7345 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7347 PyObject
* obj0
= 0 ;
7348 PyObject
* obj1
= 0 ;
7350 (char *) "self",(char *) "indent", NULL
7353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
7354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7356 arg2
= (int) SWIG_AsInt(obj1
);
7357 if (PyErr_Occurred()) SWIG_fail
;
7359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7360 (arg1
)->SetRightIndent(arg2
);
7362 wxPyEndAllowThreads(__tstate
);
7363 if (PyErr_Occurred()) SWIG_fail
;
7365 Py_INCREF(Py_None
); resultobj
= Py_None
;
7372 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7373 PyObject
*resultobj
;
7374 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7376 PyObject
* obj0
= 0 ;
7377 PyObject
* obj1
= 0 ;
7379 (char *) "self",(char *) "flags", NULL
7382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7385 arg2
= (long) SWIG_AsLong(obj1
);
7386 if (PyErr_Occurred()) SWIG_fail
;
7388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7389 (arg1
)->SetFlags(arg2
);
7391 wxPyEndAllowThreads(__tstate
);
7392 if (PyErr_Occurred()) SWIG_fail
;
7394 Py_INCREF(Py_None
); resultobj
= Py_None
;
7401 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7402 PyObject
*resultobj
;
7403 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7405 PyObject
* obj0
= 0 ;
7407 (char *) "self", NULL
7410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
7411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7415 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
7417 wxPyEndAllowThreads(__tstate
);
7418 if (PyErr_Occurred()) SWIG_fail
;
7421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7429 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7430 PyObject
*resultobj
;
7431 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7433 PyObject
* obj0
= 0 ;
7435 (char *) "self", NULL
7438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
7439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7443 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
7445 wxPyEndAllowThreads(__tstate
);
7446 if (PyErr_Occurred()) SWIG_fail
;
7449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7457 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7458 PyObject
*resultobj
;
7459 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7461 PyObject
* obj0
= 0 ;
7463 (char *) "self", NULL
7466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
7467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7471 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
7473 wxPyEndAllowThreads(__tstate
);
7474 if (PyErr_Occurred()) SWIG_fail
;
7477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7485 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7486 PyObject
*resultobj
;
7487 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7489 PyObject
* obj0
= 0 ;
7491 (char *) "self", NULL
7494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
7495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7499 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
7501 wxPyEndAllowThreads(__tstate
);
7502 if (PyErr_Occurred()) SWIG_fail
;
7505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7513 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7514 PyObject
*resultobj
;
7515 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7517 PyObject
* obj0
= 0 ;
7519 (char *) "self", NULL
7522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
7523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7527 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
7529 wxPyEndAllowThreads(__tstate
);
7530 if (PyErr_Occurred()) SWIG_fail
;
7533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7541 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7542 PyObject
*resultobj
;
7543 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7545 PyObject
* obj0
= 0 ;
7547 (char *) "self", NULL
7550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
7551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7555 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
7557 wxPyEndAllowThreads(__tstate
);
7558 if (PyErr_Occurred()) SWIG_fail
;
7561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7569 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7570 PyObject
*resultobj
;
7571 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7573 PyObject
* obj0
= 0 ;
7575 (char *) "self", NULL
7578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
7579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7583 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
7585 wxPyEndAllowThreads(__tstate
);
7586 if (PyErr_Occurred()) SWIG_fail
;
7589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7597 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7598 PyObject
*resultobj
;
7599 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7602 PyObject
* obj0
= 0 ;
7603 PyObject
* obj1
= 0 ;
7605 (char *) "self",(char *) "flag", NULL
7608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
7609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7611 arg2
= (long) SWIG_AsLong(obj1
);
7612 if (PyErr_Occurred()) SWIG_fail
;
7614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7615 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
7617 wxPyEndAllowThreads(__tstate
);
7618 if (PyErr_Occurred()) SWIG_fail
;
7621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7629 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7630 PyObject
*resultobj
;
7631 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7633 PyObject
* obj0
= 0 ;
7635 (char *) "self", NULL
7638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
7639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7644 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
7645 result
= (wxColour
*) &_result_ref
;
7648 wxPyEndAllowThreads(__tstate
);
7649 if (PyErr_Occurred()) SWIG_fail
;
7651 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7658 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7659 PyObject
*resultobj
;
7660 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7662 PyObject
* obj0
= 0 ;
7664 (char *) "self", NULL
7667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
7668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7673 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
7674 result
= (wxColour
*) &_result_ref
;
7677 wxPyEndAllowThreads(__tstate
);
7678 if (PyErr_Occurred()) SWIG_fail
;
7680 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7687 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7688 PyObject
*resultobj
;
7689 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7691 PyObject
* obj0
= 0 ;
7693 (char *) "self", NULL
7696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
7697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7702 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7703 result
= (wxFont
*) &_result_ref
;
7706 wxPyEndAllowThreads(__tstate
);
7707 if (PyErr_Occurred()) SWIG_fail
;
7710 wxFont
* resultptr
= new wxFont(*result
);
7711 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
7719 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7720 PyObject
*resultobj
;
7721 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7723 PyObject
* obj0
= 0 ;
7725 (char *) "self", NULL
7728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7733 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7735 wxPyEndAllowThreads(__tstate
);
7736 if (PyErr_Occurred()) SWIG_fail
;
7738 resultobj
= SWIG_FromInt((int)result
);
7745 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7746 PyObject
*resultobj
;
7747 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7749 PyObject
* obj0
= 0 ;
7751 (char *) "self", NULL
7754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7760 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7761 result
= (wxArrayInt
*) &_result_ref
;
7764 wxPyEndAllowThreads(__tstate
);
7765 if (PyErr_Occurred()) SWIG_fail
;
7768 resultobj
= PyList_New(0);
7770 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7771 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7772 PyList_Append(resultobj
, val
);
7782 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7783 PyObject
*resultobj
;
7784 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7786 PyObject
* obj0
= 0 ;
7788 (char *) "self", NULL
7791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7796 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7798 wxPyEndAllowThreads(__tstate
);
7799 if (PyErr_Occurred()) SWIG_fail
;
7801 resultobj
= SWIG_FromLong((long)result
);
7808 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7809 PyObject
*resultobj
;
7810 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7812 PyObject
* obj0
= 0 ;
7814 (char *) "self", NULL
7817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftSubIndent",kwnames
,&obj0
)) goto fail
;
7818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7822 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
7824 wxPyEndAllowThreads(__tstate
);
7825 if (PyErr_Occurred()) SWIG_fail
;
7827 resultobj
= SWIG_FromLong((long)result
);
7834 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7835 PyObject
*resultobj
;
7836 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7838 PyObject
* obj0
= 0 ;
7840 (char *) "self", NULL
7843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7848 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7850 wxPyEndAllowThreads(__tstate
);
7851 if (PyErr_Occurred()) SWIG_fail
;
7853 resultobj
= SWIG_FromLong((long)result
);
7860 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7861 PyObject
*resultobj
;
7862 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7864 PyObject
* obj0
= 0 ;
7866 (char *) "self", NULL
7869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
7870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7874 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7876 wxPyEndAllowThreads(__tstate
);
7877 if (PyErr_Occurred()) SWIG_fail
;
7879 resultobj
= SWIG_FromLong((long)result
);
7886 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7887 PyObject
*resultobj
;
7888 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7890 PyObject
* obj0
= 0 ;
7892 (char *) "self", NULL
7895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
7896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7900 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
7902 wxPyEndAllowThreads(__tstate
);
7903 if (PyErr_Occurred()) SWIG_fail
;
7906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7914 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7915 PyObject
*resultobj
;
7916 wxTextAttr
*arg1
= 0 ;
7917 wxTextAttr
*arg2
= 0 ;
7918 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
7920 PyObject
* obj0
= 0 ;
7921 PyObject
* obj1
= 0 ;
7922 PyObject
* obj2
= 0 ;
7924 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7929 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7932 PyErr_SetString(PyExc_TypeError
,"null reference");
7935 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
7936 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7939 PyErr_SetString(PyExc_TypeError
,"null reference");
7942 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
,
7943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7946 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
7948 wxPyEndAllowThreads(__tstate
);
7949 if (PyErr_Occurred()) SWIG_fail
;
7952 wxTextAttr
* resultptr
;
7953 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
7954 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
7962 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
7964 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7965 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
7967 return Py_BuildValue((char *)"");
7969 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7970 PyObject
*resultobj
;
7971 wxWindow
*arg1
= (wxWindow
*) 0 ;
7972 int arg2
= (int) -1 ;
7973 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7974 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7975 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7976 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7977 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7978 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7979 long arg6
= (long) 0 ;
7980 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7981 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7982 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
7983 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7985 bool temp3
= False
;
7988 bool temp8
= False
;
7989 PyObject
* obj0
= 0 ;
7990 PyObject
* obj1
= 0 ;
7991 PyObject
* obj2
= 0 ;
7992 PyObject
* obj3
= 0 ;
7993 PyObject
* obj4
= 0 ;
7994 PyObject
* obj5
= 0 ;
7995 PyObject
* obj6
= 0 ;
7996 PyObject
* obj7
= 0 ;
7998 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
8002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8005 arg2
= (int) SWIG_AsInt(obj1
);
8006 if (PyErr_Occurred()) SWIG_fail
;
8010 arg3
= wxString_in_helper(obj2
);
8011 if (arg3
== NULL
) SWIG_fail
;
8018 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8024 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8028 arg6
= (long) SWIG_AsLong(obj5
);
8029 if (PyErr_Occurred()) SWIG_fail
;
8032 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
8033 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8036 PyErr_SetString(PyExc_TypeError
,"null reference");
8042 arg8
= wxString_in_helper(obj7
);
8043 if (arg8
== NULL
) SWIG_fail
;
8048 if (!wxPyCheckForApp()) SWIG_fail
;
8049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8050 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8052 wxPyEndAllowThreads(__tstate
);
8053 if (PyErr_Occurred()) SWIG_fail
;
8056 resultobj
= wxPyMake_wxObject(result
);
8080 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8081 PyObject
*resultobj
;
8087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
8089 if (!wxPyCheckForApp()) SWIG_fail
;
8090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8091 result
= (wxTextCtrl
*)new wxTextCtrl();
8093 wxPyEndAllowThreads(__tstate
);
8094 if (PyErr_Occurred()) SWIG_fail
;
8097 resultobj
= wxPyMake_wxObject(result
);
8105 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8106 PyObject
*resultobj
;
8107 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8108 wxWindow
*arg2
= (wxWindow
*) 0 ;
8109 int arg3
= (int) -1 ;
8110 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8111 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8112 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8113 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8114 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8115 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8116 long arg7
= (long) 0 ;
8117 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8118 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8119 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
8120 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8122 bool temp4
= False
;
8125 bool temp9
= False
;
8126 PyObject
* obj0
= 0 ;
8127 PyObject
* obj1
= 0 ;
8128 PyObject
* obj2
= 0 ;
8129 PyObject
* obj3
= 0 ;
8130 PyObject
* obj4
= 0 ;
8131 PyObject
* obj5
= 0 ;
8132 PyObject
* obj6
= 0 ;
8133 PyObject
* obj7
= 0 ;
8134 PyObject
* obj8
= 0 ;
8136 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8142 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8145 arg3
= (int) SWIG_AsInt(obj2
);
8146 if (PyErr_Occurred()) SWIG_fail
;
8150 arg4
= wxString_in_helper(obj3
);
8151 if (arg4
== NULL
) SWIG_fail
;
8158 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8164 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8168 arg7
= (long) SWIG_AsLong(obj6
);
8169 if (PyErr_Occurred()) SWIG_fail
;
8172 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
8173 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8176 PyErr_SetString(PyExc_TypeError
,"null reference");
8182 arg9
= wxString_in_helper(obj8
);
8183 if (arg9
== NULL
) SWIG_fail
;
8188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8189 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8191 wxPyEndAllowThreads(__tstate
);
8192 if (PyErr_Occurred()) SWIG_fail
;
8195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8219 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8220 PyObject
*resultobj
;
8221 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8223 PyObject
* obj0
= 0 ;
8225 (char *) "self", NULL
8228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
8229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8233 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
8235 wxPyEndAllowThreads(__tstate
);
8236 if (PyErr_Occurred()) SWIG_fail
;
8240 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8242 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8251 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8252 PyObject
*resultobj
;
8253 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8254 wxString
*arg2
= 0 ;
8255 bool temp2
= False
;
8256 PyObject
* obj0
= 0 ;
8257 PyObject
* obj1
= 0 ;
8259 (char *) "self",(char *) "value", NULL
8262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
8263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8266 arg2
= wxString_in_helper(obj1
);
8267 if (arg2
== NULL
) SWIG_fail
;
8271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8272 (arg1
)->SetValue((wxString
const &)*arg2
);
8274 wxPyEndAllowThreads(__tstate
);
8275 if (PyErr_Occurred()) SWIG_fail
;
8277 Py_INCREF(Py_None
); resultobj
= Py_None
;
8292 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8293 PyObject
*resultobj
;
8294 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8298 PyObject
* obj0
= 0 ;
8299 PyObject
* obj1
= 0 ;
8300 PyObject
* obj2
= 0 ;
8302 (char *) "self",(char *) "from",(char *) "to", NULL
8305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8308 arg2
= (long) SWIG_AsLong(obj1
);
8309 if (PyErr_Occurred()) SWIG_fail
;
8310 arg3
= (long) SWIG_AsLong(obj2
);
8311 if (PyErr_Occurred()) SWIG_fail
;
8313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8314 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
8316 wxPyEndAllowThreads(__tstate
);
8317 if (PyErr_Occurred()) SWIG_fail
;
8321 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8323 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8332 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8333 PyObject
*resultobj
;
8334 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8337 PyObject
* obj0
= 0 ;
8338 PyObject
* obj1
= 0 ;
8340 (char *) "self",(char *) "lineNo", NULL
8343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8346 arg2
= (long) SWIG_AsLong(obj1
);
8347 if (PyErr_Occurred()) SWIG_fail
;
8349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8350 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
8352 wxPyEndAllowThreads(__tstate
);
8353 if (PyErr_Occurred()) SWIG_fail
;
8355 resultobj
= SWIG_FromInt((int)result
);
8362 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8363 PyObject
*resultobj
;
8364 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8367 PyObject
* obj0
= 0 ;
8368 PyObject
* obj1
= 0 ;
8370 (char *) "self",(char *) "lineNo", NULL
8373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
8374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8376 arg2
= (long) SWIG_AsLong(obj1
);
8377 if (PyErr_Occurred()) SWIG_fail
;
8379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8380 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
8382 wxPyEndAllowThreads(__tstate
);
8383 if (PyErr_Occurred()) SWIG_fail
;
8387 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8389 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8398 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8399 PyObject
*resultobj
;
8400 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8402 PyObject
* obj0
= 0 ;
8404 (char *) "self", NULL
8407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
8408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8412 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
8414 wxPyEndAllowThreads(__tstate
);
8415 if (PyErr_Occurred()) SWIG_fail
;
8417 resultobj
= SWIG_FromInt((int)result
);
8424 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8425 PyObject
*resultobj
;
8426 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8428 PyObject
* obj0
= 0 ;
8430 (char *) "self", NULL
8433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
8434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8438 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
8440 wxPyEndAllowThreads(__tstate
);
8441 if (PyErr_Occurred()) SWIG_fail
;
8444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8452 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8453 PyObject
*resultobj
;
8454 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8456 PyObject
* obj0
= 0 ;
8458 (char *) "self", NULL
8461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
8462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8466 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
8468 wxPyEndAllowThreads(__tstate
);
8469 if (PyErr_Occurred()) SWIG_fail
;
8472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8480 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8481 PyObject
*resultobj
;
8482 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8484 PyObject
* obj0
= 0 ;
8486 (char *) "self", NULL
8489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
8490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8494 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
8496 wxPyEndAllowThreads(__tstate
);
8497 if (PyErr_Occurred()) SWIG_fail
;
8500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8508 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8509 PyObject
*resultobj
;
8510 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8512 PyObject
* obj0
= 0 ;
8514 (char *) "self", NULL
8517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
8518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8522 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
8524 wxPyEndAllowThreads(__tstate
);
8525 if (PyErr_Occurred()) SWIG_fail
;
8528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8536 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8537 PyObject
*resultobj
;
8538 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8539 long *arg2
= (long *) 0 ;
8540 long *arg3
= (long *) 0 ;
8543 PyObject
* obj0
= 0 ;
8545 (char *) "self", NULL
8550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
8551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8555 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
8557 wxPyEndAllowThreads(__tstate
);
8558 if (PyErr_Occurred()) SWIG_fail
;
8560 Py_INCREF(Py_None
); resultobj
= Py_None
;
8562 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8563 resultobj
= t_output_helper(resultobj
,o
);
8566 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8567 resultobj
= t_output_helper(resultobj
,o
);
8575 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8576 PyObject
*resultobj
;
8577 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8579 PyObject
* obj0
= 0 ;
8581 (char *) "self", NULL
8584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
8585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8589 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
8591 wxPyEndAllowThreads(__tstate
);
8592 if (PyErr_Occurred()) SWIG_fail
;
8596 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8598 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8607 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8608 PyObject
*resultobj
;
8609 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8610 PyObject
* obj0
= 0 ;
8612 (char *) "self", NULL
8615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
8616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8622 wxPyEndAllowThreads(__tstate
);
8623 if (PyErr_Occurred()) SWIG_fail
;
8625 Py_INCREF(Py_None
); resultobj
= Py_None
;
8632 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8633 PyObject
*resultobj
;
8634 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8637 wxString
*arg4
= 0 ;
8638 bool temp4
= False
;
8639 PyObject
* obj0
= 0 ;
8640 PyObject
* obj1
= 0 ;
8641 PyObject
* obj2
= 0 ;
8642 PyObject
* obj3
= 0 ;
8644 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8650 arg2
= (long) SWIG_AsLong(obj1
);
8651 if (PyErr_Occurred()) SWIG_fail
;
8652 arg3
= (long) SWIG_AsLong(obj2
);
8653 if (PyErr_Occurred()) SWIG_fail
;
8655 arg4
= wxString_in_helper(obj3
);
8656 if (arg4
== NULL
) SWIG_fail
;
8660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8661 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
8663 wxPyEndAllowThreads(__tstate
);
8664 if (PyErr_Occurred()) SWIG_fail
;
8666 Py_INCREF(Py_None
); resultobj
= Py_None
;
8681 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8682 PyObject
*resultobj
;
8683 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8686 PyObject
* obj0
= 0 ;
8687 PyObject
* obj1
= 0 ;
8688 PyObject
* obj2
= 0 ;
8690 (char *) "self",(char *) "from",(char *) "to", NULL
8693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8696 arg2
= (long) SWIG_AsLong(obj1
);
8697 if (PyErr_Occurred()) SWIG_fail
;
8698 arg3
= (long) SWIG_AsLong(obj2
);
8699 if (PyErr_Occurred()) SWIG_fail
;
8701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8702 (arg1
)->Remove(arg2
,arg3
);
8704 wxPyEndAllowThreads(__tstate
);
8705 if (PyErr_Occurred()) SWIG_fail
;
8707 Py_INCREF(Py_None
); resultobj
= Py_None
;
8714 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8715 PyObject
*resultobj
;
8716 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8717 wxString
*arg2
= 0 ;
8719 bool temp2
= False
;
8720 PyObject
* obj0
= 0 ;
8721 PyObject
* obj1
= 0 ;
8723 (char *) "self",(char *) "file", NULL
8726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8730 arg2
= wxString_in_helper(obj1
);
8731 if (arg2
== NULL
) SWIG_fail
;
8735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8736 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
8738 wxPyEndAllowThreads(__tstate
);
8739 if (PyErr_Occurred()) SWIG_fail
;
8742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8758 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8759 PyObject
*resultobj
;
8760 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8761 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8762 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8764 bool temp2
= False
;
8765 PyObject
* obj0
= 0 ;
8766 PyObject
* obj1
= 0 ;
8768 (char *) "self",(char *) "file", NULL
8771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8776 arg2
= wxString_in_helper(obj1
);
8777 if (arg2
== NULL
) SWIG_fail
;
8782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8783 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8785 wxPyEndAllowThreads(__tstate
);
8786 if (PyErr_Occurred()) SWIG_fail
;
8789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8805 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8806 PyObject
*resultobj
;
8807 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8808 PyObject
* obj0
= 0 ;
8810 (char *) "self", NULL
8813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8818 (arg1
)->MarkDirty();
8820 wxPyEndAllowThreads(__tstate
);
8821 if (PyErr_Occurred()) SWIG_fail
;
8823 Py_INCREF(Py_None
); resultobj
= Py_None
;
8830 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8831 PyObject
*resultobj
;
8832 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8833 PyObject
* obj0
= 0 ;
8835 (char *) "self", NULL
8838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8843 (arg1
)->DiscardEdits();
8845 wxPyEndAllowThreads(__tstate
);
8846 if (PyErr_Occurred()) SWIG_fail
;
8848 Py_INCREF(Py_None
); resultobj
= Py_None
;
8855 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8856 PyObject
*resultobj
;
8857 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8858 unsigned long arg2
;
8859 PyObject
* obj0
= 0 ;
8860 PyObject
* obj1
= 0 ;
8862 (char *) "self",(char *) "len", NULL
8865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8868 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
8869 if (PyErr_Occurred()) SWIG_fail
;
8871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8872 (arg1
)->SetMaxLength(arg2
);
8874 wxPyEndAllowThreads(__tstate
);
8875 if (PyErr_Occurred()) SWIG_fail
;
8877 Py_INCREF(Py_None
); resultobj
= Py_None
;
8884 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8885 PyObject
*resultobj
;
8886 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8887 wxString
*arg2
= 0 ;
8888 bool temp2
= False
;
8889 PyObject
* obj0
= 0 ;
8890 PyObject
* obj1
= 0 ;
8892 (char *) "self",(char *) "text", NULL
8895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8899 arg2
= wxString_in_helper(obj1
);
8900 if (arg2
== NULL
) SWIG_fail
;
8904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8905 (arg1
)->WriteText((wxString
const &)*arg2
);
8907 wxPyEndAllowThreads(__tstate
);
8908 if (PyErr_Occurred()) SWIG_fail
;
8910 Py_INCREF(Py_None
); resultobj
= Py_None
;
8925 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8926 PyObject
*resultobj
;
8927 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8928 wxString
*arg2
= 0 ;
8929 bool temp2
= False
;
8930 PyObject
* obj0
= 0 ;
8931 PyObject
* obj1
= 0 ;
8933 (char *) "self",(char *) "text", NULL
8936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
8937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8940 arg2
= wxString_in_helper(obj1
);
8941 if (arg2
== NULL
) SWIG_fail
;
8945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8946 (arg1
)->AppendText((wxString
const &)*arg2
);
8948 wxPyEndAllowThreads(__tstate
);
8949 if (PyErr_Occurred()) SWIG_fail
;
8951 Py_INCREF(Py_None
); resultobj
= Py_None
;
8966 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8967 PyObject
*resultobj
;
8968 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8969 wxKeyEvent
*arg2
= 0 ;
8971 PyObject
* obj0
= 0 ;
8972 PyObject
* obj1
= 0 ;
8974 (char *) "self",(char *) "event", NULL
8977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
8978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8980 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
8981 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8984 PyErr_SetString(PyExc_TypeError
,"null reference");
8988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8989 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
8991 wxPyEndAllowThreads(__tstate
);
8992 if (PyErr_Occurred()) SWIG_fail
;
8995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9003 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9004 PyObject
*resultobj
;
9005 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9008 wxTextAttr
*arg4
= 0 ;
9010 PyObject
* obj0
= 0 ;
9011 PyObject
* obj1
= 0 ;
9012 PyObject
* obj2
= 0 ;
9013 PyObject
* obj3
= 0 ;
9015 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
9018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9021 arg2
= (long) SWIG_AsLong(obj1
);
9022 if (PyErr_Occurred()) SWIG_fail
;
9023 arg3
= (long) SWIG_AsLong(obj2
);
9024 if (PyErr_Occurred()) SWIG_fail
;
9025 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
,
9026 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9029 PyErr_SetString(PyExc_TypeError
,"null reference");
9033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9034 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
9036 wxPyEndAllowThreads(__tstate
);
9037 if (PyErr_Occurred()) SWIG_fail
;
9040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9048 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9049 PyObject
*resultobj
;
9050 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9052 wxTextAttr
*arg3
= 0 ;
9054 PyObject
* obj0
= 0 ;
9055 PyObject
* obj1
= 0 ;
9056 PyObject
* obj2
= 0 ;
9058 (char *) "self",(char *) "position",(char *) "style", NULL
9061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9064 arg2
= (long) SWIG_AsLong(obj1
);
9065 if (PyErr_Occurred()) SWIG_fail
;
9066 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
,
9067 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9070 PyErr_SetString(PyExc_TypeError
,"null reference");
9074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9075 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
9077 wxPyEndAllowThreads(__tstate
);
9078 if (PyErr_Occurred()) SWIG_fail
;
9081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9089 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9090 PyObject
*resultobj
;
9091 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9092 wxTextAttr
*arg2
= 0 ;
9094 PyObject
* obj0
= 0 ;
9095 PyObject
* obj1
= 0 ;
9097 (char *) "self",(char *) "style", NULL
9100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
9101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9103 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
9104 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9107 PyErr_SetString(PyExc_TypeError
,"null reference");
9111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9112 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
9114 wxPyEndAllowThreads(__tstate
);
9115 if (PyErr_Occurred()) SWIG_fail
;
9118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9126 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9127 PyObject
*resultobj
;
9128 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9130 PyObject
* obj0
= 0 ;
9132 (char *) "self", NULL
9135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
9136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9141 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
9142 result
= (wxTextAttr
*) &_result_ref
;
9145 wxPyEndAllowThreads(__tstate
);
9146 if (PyErr_Occurred()) SWIG_fail
;
9148 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
9155 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9156 PyObject
*resultobj
;
9157 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9161 PyObject
* obj0
= 0 ;
9162 PyObject
* obj1
= 0 ;
9163 PyObject
* obj2
= 0 ;
9165 (char *) "self",(char *) "x",(char *) "y", NULL
9168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9171 arg2
= (long) SWIG_AsLong(obj1
);
9172 if (PyErr_Occurred()) SWIG_fail
;
9173 arg3
= (long) SWIG_AsLong(obj2
);
9174 if (PyErr_Occurred()) SWIG_fail
;
9176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9177 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
9179 wxPyEndAllowThreads(__tstate
);
9180 if (PyErr_Occurred()) SWIG_fail
;
9182 resultobj
= SWIG_FromLong((long)result
);
9189 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9190 PyObject
*resultobj
;
9191 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9193 long *arg3
= (long *) 0 ;
9194 long *arg4
= (long *) 0 ;
9197 PyObject
* obj0
= 0 ;
9198 PyObject
* obj1
= 0 ;
9200 (char *) "self",(char *) "pos", NULL
9205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
9206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9208 arg2
= (long) SWIG_AsLong(obj1
);
9209 if (PyErr_Occurred()) SWIG_fail
;
9211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9212 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
9214 wxPyEndAllowThreads(__tstate
);
9215 if (PyErr_Occurred()) SWIG_fail
;
9217 Py_INCREF(Py_None
); resultobj
= Py_None
;
9219 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9220 resultobj
= t_output_helper(resultobj
,o
);
9223 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9224 resultobj
= t_output_helper(resultobj
,o
);
9232 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9233 PyObject
*resultobj
;
9234 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9236 PyObject
* obj0
= 0 ;
9237 PyObject
* obj1
= 0 ;
9239 (char *) "self",(char *) "pos", NULL
9242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9245 arg2
= (long) SWIG_AsLong(obj1
);
9246 if (PyErr_Occurred()) SWIG_fail
;
9248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9249 (arg1
)->ShowPosition(arg2
);
9251 wxPyEndAllowThreads(__tstate
);
9252 if (PyErr_Occurred()) SWIG_fail
;
9254 Py_INCREF(Py_None
); resultobj
= Py_None
;
9261 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9262 PyObject
*resultobj
;
9263 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9265 long *arg3
= (long *) 0 ;
9266 long *arg4
= (long *) 0 ;
9271 PyObject
* obj0
= 0 ;
9272 PyObject
* obj1
= 0 ;
9274 (char *) "self",(char *) "pt", NULL
9279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9284 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9288 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
9290 wxPyEndAllowThreads(__tstate
);
9291 if (PyErr_Occurred()) SWIG_fail
;
9293 resultobj
= SWIG_FromInt((int)result
);
9295 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9296 resultobj
= t_output_helper(resultobj
,o
);
9299 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9300 resultobj
= t_output_helper(resultobj
,o
);
9308 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9309 PyObject
*resultobj
;
9310 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9311 PyObject
* obj0
= 0 ;
9313 (char *) "self", NULL
9316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
9317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9323 wxPyEndAllowThreads(__tstate
);
9324 if (PyErr_Occurred()) SWIG_fail
;
9326 Py_INCREF(Py_None
); resultobj
= Py_None
;
9333 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9334 PyObject
*resultobj
;
9335 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9336 PyObject
* obj0
= 0 ;
9338 (char *) "self", NULL
9341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
9342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9348 wxPyEndAllowThreads(__tstate
);
9349 if (PyErr_Occurred()) SWIG_fail
;
9351 Py_INCREF(Py_None
); resultobj
= Py_None
;
9358 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9359 PyObject
*resultobj
;
9360 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9361 PyObject
* obj0
= 0 ;
9363 (char *) "self", NULL
9366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
9367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9373 wxPyEndAllowThreads(__tstate
);
9374 if (PyErr_Occurred()) SWIG_fail
;
9376 Py_INCREF(Py_None
); resultobj
= Py_None
;
9383 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9384 PyObject
*resultobj
;
9385 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9387 PyObject
* obj0
= 0 ;
9389 (char *) "self", NULL
9392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
9393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9397 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
9399 wxPyEndAllowThreads(__tstate
);
9400 if (PyErr_Occurred()) SWIG_fail
;
9403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9411 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9412 PyObject
*resultobj
;
9413 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9415 PyObject
* obj0
= 0 ;
9417 (char *) "self", NULL
9420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
9421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9425 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
9427 wxPyEndAllowThreads(__tstate
);
9428 if (PyErr_Occurred()) SWIG_fail
;
9431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9439 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9440 PyObject
*resultobj
;
9441 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9443 PyObject
* obj0
= 0 ;
9445 (char *) "self", NULL
9448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
9449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9453 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
9455 wxPyEndAllowThreads(__tstate
);
9456 if (PyErr_Occurred()) SWIG_fail
;
9459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9467 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9468 PyObject
*resultobj
;
9469 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9470 PyObject
* obj0
= 0 ;
9472 (char *) "self", NULL
9475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
9476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9482 wxPyEndAllowThreads(__tstate
);
9483 if (PyErr_Occurred()) SWIG_fail
;
9485 Py_INCREF(Py_None
); resultobj
= Py_None
;
9492 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9493 PyObject
*resultobj
;
9494 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9495 PyObject
* obj0
= 0 ;
9497 (char *) "self", NULL
9500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
9501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9507 wxPyEndAllowThreads(__tstate
);
9508 if (PyErr_Occurred()) SWIG_fail
;
9510 Py_INCREF(Py_None
); resultobj
= Py_None
;
9517 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9518 PyObject
*resultobj
;
9519 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9521 PyObject
* obj0
= 0 ;
9523 (char *) "self", NULL
9526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
9527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9531 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
9533 wxPyEndAllowThreads(__tstate
);
9534 if (PyErr_Occurred()) SWIG_fail
;
9537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9545 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9546 PyObject
*resultobj
;
9547 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9549 PyObject
* obj0
= 0 ;
9551 (char *) "self", NULL
9554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
9555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9559 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
9561 wxPyEndAllowThreads(__tstate
);
9562 if (PyErr_Occurred()) SWIG_fail
;
9565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9573 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9574 PyObject
*resultobj
;
9575 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9577 PyObject
* obj0
= 0 ;
9578 PyObject
* obj1
= 0 ;
9580 (char *) "self",(char *) "pos", NULL
9583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
9584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9586 arg2
= (long) SWIG_AsLong(obj1
);
9587 if (PyErr_Occurred()) SWIG_fail
;
9589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9590 (arg1
)->SetInsertionPoint(arg2
);
9592 wxPyEndAllowThreads(__tstate
);
9593 if (PyErr_Occurred()) SWIG_fail
;
9595 Py_INCREF(Py_None
); resultobj
= Py_None
;
9602 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9603 PyObject
*resultobj
;
9604 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9605 PyObject
* obj0
= 0 ;
9607 (char *) "self", NULL
9610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
9611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9615 (arg1
)->SetInsertionPointEnd();
9617 wxPyEndAllowThreads(__tstate
);
9618 if (PyErr_Occurred()) SWIG_fail
;
9620 Py_INCREF(Py_None
); resultobj
= Py_None
;
9627 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9628 PyObject
*resultobj
;
9629 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9631 PyObject
* obj0
= 0 ;
9633 (char *) "self", NULL
9636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
9637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9641 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
9643 wxPyEndAllowThreads(__tstate
);
9644 if (PyErr_Occurred()) SWIG_fail
;
9646 resultobj
= SWIG_FromLong((long)result
);
9653 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9654 PyObject
*resultobj
;
9655 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9657 PyObject
* obj0
= 0 ;
9659 (char *) "self", NULL
9662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
9663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9667 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
9669 wxPyEndAllowThreads(__tstate
);
9670 if (PyErr_Occurred()) SWIG_fail
;
9672 resultobj
= SWIG_FromLong((long)result
);
9679 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9680 PyObject
*resultobj
;
9681 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9684 PyObject
* obj0
= 0 ;
9685 PyObject
* obj1
= 0 ;
9686 PyObject
* obj2
= 0 ;
9688 (char *) "self",(char *) "from",(char *) "to", NULL
9691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9694 arg2
= (long) SWIG_AsLong(obj1
);
9695 if (PyErr_Occurred()) SWIG_fail
;
9696 arg3
= (long) SWIG_AsLong(obj2
);
9697 if (PyErr_Occurred()) SWIG_fail
;
9699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9700 (arg1
)->SetSelection(arg2
,arg3
);
9702 wxPyEndAllowThreads(__tstate
);
9703 if (PyErr_Occurred()) SWIG_fail
;
9705 Py_INCREF(Py_None
); resultobj
= Py_None
;
9712 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9713 PyObject
*resultobj
;
9714 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9715 PyObject
* obj0
= 0 ;
9717 (char *) "self", NULL
9720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
9721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9725 (arg1
)->SelectAll();
9727 wxPyEndAllowThreads(__tstate
);
9728 if (PyErr_Occurred()) SWIG_fail
;
9730 Py_INCREF(Py_None
); resultobj
= Py_None
;
9737 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9738 PyObject
*resultobj
;
9739 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9741 PyObject
* obj0
= 0 ;
9742 PyObject
* obj1
= 0 ;
9744 (char *) "self",(char *) "editable", NULL
9747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
9748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9750 arg2
= (bool) SWIG_AsBool(obj1
);
9751 if (PyErr_Occurred()) SWIG_fail
;
9753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9754 (arg1
)->SetEditable(arg2
);
9756 wxPyEndAllowThreads(__tstate
);
9757 if (PyErr_Occurred()) SWIG_fail
;
9759 Py_INCREF(Py_None
); resultobj
= Py_None
;
9766 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9767 PyObject
*resultobj
;
9768 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9769 wxString
*arg2
= 0 ;
9770 bool temp2
= False
;
9771 PyObject
* obj0
= 0 ;
9772 PyObject
* obj1
= 0 ;
9774 (char *) "self",(char *) "text", NULL
9777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9781 arg2
= wxString_in_helper(obj1
);
9782 if (arg2
== NULL
) SWIG_fail
;
9786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9787 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
9789 wxPyEndAllowThreads(__tstate
);
9790 if (PyErr_Occurred()) SWIG_fail
;
9792 Py_INCREF(Py_None
); resultobj
= Py_None
;
9807 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9808 PyObject
*resultobj
;
9809 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9813 PyObject
* obj0
= 0 ;
9814 PyObject
* obj1
= 0 ;
9815 PyObject
* obj2
= 0 ;
9817 (char *) "self",(char *) "from",(char *) "to", NULL
9820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9823 arg2
= (long) SWIG_AsLong(obj1
);
9824 if (PyErr_Occurred()) SWIG_fail
;
9825 arg3
= (long) SWIG_AsLong(obj2
);
9826 if (PyErr_Occurred()) SWIG_fail
;
9828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9829 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9831 wxPyEndAllowThreads(__tstate
);
9832 if (PyErr_Occurred()) SWIG_fail
;
9836 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9838 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9847 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9848 PyObject
*resultobj
;
9849 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
9850 wxVisualAttributes result
;
9851 PyObject
* obj0
= 0 ;
9853 (char *) "variant", NULL
9856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
9858 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
9859 if (PyErr_Occurred()) SWIG_fail
;
9862 if (!wxPyCheckForApp()) SWIG_fail
;
9863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9864 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
9866 wxPyEndAllowThreads(__tstate
);
9867 if (PyErr_Occurred()) SWIG_fail
;
9870 wxVisualAttributes
* resultptr
;
9871 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
9872 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
9880 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9882 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9883 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
9885 return Py_BuildValue((char *)"");
9887 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9888 PyObject
*resultobj
;
9890 wxMouseEvent
*arg2
= 0 ;
9893 wxTextUrlEvent
*result
;
9894 PyObject
* obj0
= 0 ;
9895 PyObject
* obj1
= 0 ;
9896 PyObject
* obj2
= 0 ;
9897 PyObject
* obj3
= 0 ;
9899 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9903 arg1
= (int) SWIG_AsInt(obj0
);
9904 if (PyErr_Occurred()) SWIG_fail
;
9905 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
9906 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9909 PyErr_SetString(PyExc_TypeError
,"null reference");
9912 arg3
= (long) SWIG_AsLong(obj2
);
9913 if (PyErr_Occurred()) SWIG_fail
;
9914 arg4
= (long) SWIG_AsLong(obj3
);
9915 if (PyErr_Occurred()) SWIG_fail
;
9917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9918 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
9920 wxPyEndAllowThreads(__tstate
);
9921 if (PyErr_Occurred()) SWIG_fail
;
9923 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
9930 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9931 PyObject
*resultobj
;
9932 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9933 wxMouseEvent
*result
;
9934 PyObject
* obj0
= 0 ;
9936 (char *) "self", NULL
9939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
9940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9945 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
9946 result
= (wxMouseEvent
*) &_result_ref
;
9949 wxPyEndAllowThreads(__tstate
);
9950 if (PyErr_Occurred()) SWIG_fail
;
9952 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
9959 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9960 PyObject
*resultobj
;
9961 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9963 PyObject
* obj0
= 0 ;
9965 (char *) "self", NULL
9968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
9969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9973 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
9975 wxPyEndAllowThreads(__tstate
);
9976 if (PyErr_Occurred()) SWIG_fail
;
9978 resultobj
= SWIG_FromLong((long)result
);
9985 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9986 PyObject
*resultobj
;
9987 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9989 PyObject
* obj0
= 0 ;
9991 (char *) "self", NULL
9994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
9995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9999 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
10001 wxPyEndAllowThreads(__tstate
);
10002 if (PyErr_Occurred()) SWIG_fail
;
10004 resultobj
= SWIG_FromLong((long)result
);
10011 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10013 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10014 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
10016 return Py_BuildValue((char *)"");
10018 static int _wrap_ScrollBarNameStr_set(PyObject
*_val
) {
10019 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
10024 static PyObject
*_wrap_ScrollBarNameStr_get() {
10029 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
10031 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
10038 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10039 PyObject
*resultobj
;
10040 wxWindow
*arg1
= (wxWindow
*) 0 ;
10041 int arg2
= (int) -1 ;
10042 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10043 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10044 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10045 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10046 long arg5
= (long) wxSB_HORIZONTAL
;
10047 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
10048 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
10049 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
10050 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10051 wxScrollBar
*result
;
10054 bool temp7
= False
;
10055 PyObject
* obj0
= 0 ;
10056 PyObject
* obj1
= 0 ;
10057 PyObject
* obj2
= 0 ;
10058 PyObject
* obj3
= 0 ;
10059 PyObject
* obj4
= 0 ;
10060 PyObject
* obj5
= 0 ;
10061 PyObject
* obj6
= 0 ;
10062 char *kwnames
[] = {
10063 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10070 arg2
= (int) SWIG_AsInt(obj1
);
10071 if (PyErr_Occurred()) SWIG_fail
;
10076 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10082 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10086 arg5
= (long) SWIG_AsLong(obj4
);
10087 if (PyErr_Occurred()) SWIG_fail
;
10090 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
10091 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10093 if (arg6
== NULL
) {
10094 PyErr_SetString(PyExc_TypeError
,"null reference");
10100 arg7
= wxString_in_helper(obj6
);
10101 if (arg7
== NULL
) SWIG_fail
;
10106 if (!wxPyCheckForApp()) SWIG_fail
;
10107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10108 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
10110 wxPyEndAllowThreads(__tstate
);
10111 if (PyErr_Occurred()) SWIG_fail
;
10113 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10128 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10129 PyObject
*resultobj
;
10130 wxScrollBar
*result
;
10131 char *kwnames
[] = {
10135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
10137 if (!wxPyCheckForApp()) SWIG_fail
;
10138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10139 result
= (wxScrollBar
*)new wxScrollBar();
10141 wxPyEndAllowThreads(__tstate
);
10142 if (PyErr_Occurred()) SWIG_fail
;
10144 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10151 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10152 PyObject
*resultobj
;
10153 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10154 wxWindow
*arg2
= (wxWindow
*) 0 ;
10155 int arg3
= (int) -1 ;
10156 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10157 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10158 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10159 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10160 long arg6
= (long) wxSB_HORIZONTAL
;
10161 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10162 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10163 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
10164 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10168 bool temp8
= False
;
10169 PyObject
* obj0
= 0 ;
10170 PyObject
* obj1
= 0 ;
10171 PyObject
* obj2
= 0 ;
10172 PyObject
* obj3
= 0 ;
10173 PyObject
* obj4
= 0 ;
10174 PyObject
* obj5
= 0 ;
10175 PyObject
* obj6
= 0 ;
10176 PyObject
* obj7
= 0 ;
10177 char *kwnames
[] = {
10178 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
10182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10184 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10187 arg3
= (int) SWIG_AsInt(obj2
);
10188 if (PyErr_Occurred()) SWIG_fail
;
10193 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10199 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10203 arg6
= (long) SWIG_AsLong(obj5
);
10204 if (PyErr_Occurred()) SWIG_fail
;
10207 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
10208 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10210 if (arg7
== NULL
) {
10211 PyErr_SetString(PyExc_TypeError
,"null reference");
10217 arg8
= wxString_in_helper(obj7
);
10218 if (arg8
== NULL
) SWIG_fail
;
10223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10224 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10226 wxPyEndAllowThreads(__tstate
);
10227 if (PyErr_Occurred()) SWIG_fail
;
10230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10246 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10247 PyObject
*resultobj
;
10248 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10250 PyObject
* obj0
= 0 ;
10251 char *kwnames
[] = {
10252 (char *) "self", NULL
10255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
10256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10260 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
10262 wxPyEndAllowThreads(__tstate
);
10263 if (PyErr_Occurred()) SWIG_fail
;
10265 resultobj
= SWIG_FromInt((int)result
);
10272 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10273 PyObject
*resultobj
;
10274 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10276 PyObject
* obj0
= 0 ;
10277 char *kwnames
[] = {
10278 (char *) "self", NULL
10281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
10282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10286 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
10288 wxPyEndAllowThreads(__tstate
);
10289 if (PyErr_Occurred()) SWIG_fail
;
10291 resultobj
= SWIG_FromInt((int)result
);
10298 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10299 PyObject
*resultobj
;
10300 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10302 PyObject
* obj0
= 0 ;
10303 char *kwnames
[] = {
10304 (char *) "self", NULL
10307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
10308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10312 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
10314 wxPyEndAllowThreads(__tstate
);
10315 if (PyErr_Occurred()) SWIG_fail
;
10317 resultobj
= SWIG_FromInt((int)result
);
10324 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10325 PyObject
*resultobj
;
10326 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10328 PyObject
* obj0
= 0 ;
10329 char *kwnames
[] = {
10330 (char *) "self", NULL
10333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
10334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10338 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
10340 wxPyEndAllowThreads(__tstate
);
10341 if (PyErr_Occurred()) SWIG_fail
;
10343 resultobj
= SWIG_FromInt((int)result
);
10350 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10351 PyObject
*resultobj
;
10352 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10354 PyObject
* obj0
= 0 ;
10355 char *kwnames
[] = {
10356 (char *) "self", NULL
10359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
10360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10364 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
10366 wxPyEndAllowThreads(__tstate
);
10367 if (PyErr_Occurred()) SWIG_fail
;
10370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10378 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10379 PyObject
*resultobj
;
10380 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10382 PyObject
* obj0
= 0 ;
10383 PyObject
* obj1
= 0 ;
10384 char *kwnames
[] = {
10385 (char *) "self",(char *) "viewStart", NULL
10388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10391 arg2
= (int) SWIG_AsInt(obj1
);
10392 if (PyErr_Occurred()) SWIG_fail
;
10394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10395 (arg1
)->SetThumbPosition(arg2
);
10397 wxPyEndAllowThreads(__tstate
);
10398 if (PyErr_Occurred()) SWIG_fail
;
10400 Py_INCREF(Py_None
); resultobj
= Py_None
;
10407 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10408 PyObject
*resultobj
;
10409 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10414 bool arg6
= (bool) True
;
10415 PyObject
* obj0
= 0 ;
10416 PyObject
* obj1
= 0 ;
10417 PyObject
* obj2
= 0 ;
10418 PyObject
* obj3
= 0 ;
10419 PyObject
* obj4
= 0 ;
10420 PyObject
* obj5
= 0 ;
10421 char *kwnames
[] = {
10422 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
10425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10428 arg2
= (int) SWIG_AsInt(obj1
);
10429 if (PyErr_Occurred()) SWIG_fail
;
10430 arg3
= (int) SWIG_AsInt(obj2
);
10431 if (PyErr_Occurred()) SWIG_fail
;
10432 arg4
= (int) SWIG_AsInt(obj3
);
10433 if (PyErr_Occurred()) SWIG_fail
;
10434 arg5
= (int) SWIG_AsInt(obj4
);
10435 if (PyErr_Occurred()) SWIG_fail
;
10437 arg6
= (bool) SWIG_AsBool(obj5
);
10438 if (PyErr_Occurred()) SWIG_fail
;
10441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10442 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
10444 wxPyEndAllowThreads(__tstate
);
10445 if (PyErr_Occurred()) SWIG_fail
;
10447 Py_INCREF(Py_None
); resultobj
= Py_None
;
10454 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10455 PyObject
*resultobj
;
10456 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10457 wxVisualAttributes result
;
10458 PyObject
* obj0
= 0 ;
10459 char *kwnames
[] = {
10460 (char *) "variant", NULL
10463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10465 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
10466 if (PyErr_Occurred()) SWIG_fail
;
10469 if (!wxPyCheckForApp()) SWIG_fail
;
10470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10471 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10473 wxPyEndAllowThreads(__tstate
);
10474 if (PyErr_Occurred()) SWIG_fail
;
10477 wxVisualAttributes
* resultptr
;
10478 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10479 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10487 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
10489 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10490 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
10492 return Py_BuildValue((char *)"");
10494 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*_val
) {
10495 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
10500 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
10505 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10507 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10514 static int _wrap_SpinCtrlNameStr_set(PyObject
*_val
) {
10515 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
10520 static PyObject
*_wrap_SpinCtrlNameStr_get() {
10525 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10527 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10534 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10535 PyObject
*resultobj
;
10536 wxWindow
*arg1
= (wxWindow
*) 0 ;
10537 int arg2
= (int) -1 ;
10538 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10539 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10540 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10541 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10542 long arg5
= (long) wxSP_HORIZONTAL
;
10543 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
10544 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10545 wxSpinButton
*result
;
10548 bool temp6
= False
;
10549 PyObject
* obj0
= 0 ;
10550 PyObject
* obj1
= 0 ;
10551 PyObject
* obj2
= 0 ;
10552 PyObject
* obj3
= 0 ;
10553 PyObject
* obj4
= 0 ;
10554 PyObject
* obj5
= 0 ;
10555 char *kwnames
[] = {
10556 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10563 arg2
= (int) SWIG_AsInt(obj1
);
10564 if (PyErr_Occurred()) SWIG_fail
;
10569 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10575 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10579 arg5
= (long) SWIG_AsLong(obj4
);
10580 if (PyErr_Occurred()) SWIG_fail
;
10584 arg6
= wxString_in_helper(obj5
);
10585 if (arg6
== NULL
) SWIG_fail
;
10590 if (!wxPyCheckForApp()) SWIG_fail
;
10591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10592 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10594 wxPyEndAllowThreads(__tstate
);
10595 if (PyErr_Occurred()) SWIG_fail
;
10597 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10612 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10613 PyObject
*resultobj
;
10614 wxSpinButton
*result
;
10615 char *kwnames
[] = {
10619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
10621 if (!wxPyCheckForApp()) SWIG_fail
;
10622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10623 result
= (wxSpinButton
*)new wxSpinButton();
10625 wxPyEndAllowThreads(__tstate
);
10626 if (PyErr_Occurred()) SWIG_fail
;
10628 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10635 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10636 PyObject
*resultobj
;
10637 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10638 wxWindow
*arg2
= (wxWindow
*) 0 ;
10639 int arg3
= (int) -1 ;
10640 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10641 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10642 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10643 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10644 long arg6
= (long) wxSP_HORIZONTAL
;
10645 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
10646 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10650 bool temp7
= False
;
10651 PyObject
* obj0
= 0 ;
10652 PyObject
* obj1
= 0 ;
10653 PyObject
* obj2
= 0 ;
10654 PyObject
* obj3
= 0 ;
10655 PyObject
* obj4
= 0 ;
10656 PyObject
* obj5
= 0 ;
10657 PyObject
* obj6
= 0 ;
10658 char *kwnames
[] = {
10659 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10665 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10668 arg3
= (int) SWIG_AsInt(obj2
);
10669 if (PyErr_Occurred()) SWIG_fail
;
10674 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10680 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10684 arg6
= (long) SWIG_AsLong(obj5
);
10685 if (PyErr_Occurred()) SWIG_fail
;
10689 arg7
= wxString_in_helper(obj6
);
10690 if (arg7
== NULL
) SWIG_fail
;
10695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10696 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10698 wxPyEndAllowThreads(__tstate
);
10699 if (PyErr_Occurred()) SWIG_fail
;
10702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10718 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10719 PyObject
*resultobj
;
10720 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10722 PyObject
* obj0
= 0 ;
10723 char *kwnames
[] = {
10724 (char *) "self", NULL
10727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
10728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10732 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
10734 wxPyEndAllowThreads(__tstate
);
10735 if (PyErr_Occurred()) SWIG_fail
;
10737 resultobj
= SWIG_FromInt((int)result
);
10744 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10745 PyObject
*resultobj
;
10746 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10748 PyObject
* obj0
= 0 ;
10749 char *kwnames
[] = {
10750 (char *) "self", NULL
10753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
10754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10758 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
10760 wxPyEndAllowThreads(__tstate
);
10761 if (PyErr_Occurred()) SWIG_fail
;
10763 resultobj
= SWIG_FromInt((int)result
);
10770 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10771 PyObject
*resultobj
;
10772 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10774 PyObject
* obj0
= 0 ;
10775 char *kwnames
[] = {
10776 (char *) "self", NULL
10779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
10780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10784 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
10786 wxPyEndAllowThreads(__tstate
);
10787 if (PyErr_Occurred()) SWIG_fail
;
10789 resultobj
= SWIG_FromInt((int)result
);
10796 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10797 PyObject
*resultobj
;
10798 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10800 PyObject
* obj0
= 0 ;
10801 PyObject
* obj1
= 0 ;
10802 char *kwnames
[] = {
10803 (char *) "self",(char *) "val", NULL
10806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10809 arg2
= (int) SWIG_AsInt(obj1
);
10810 if (PyErr_Occurred()) SWIG_fail
;
10812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10813 (arg1
)->SetValue(arg2
);
10815 wxPyEndAllowThreads(__tstate
);
10816 if (PyErr_Occurred()) SWIG_fail
;
10818 Py_INCREF(Py_None
); resultobj
= Py_None
;
10825 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10826 PyObject
*resultobj
;
10827 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10829 PyObject
* obj0
= 0 ;
10830 PyObject
* obj1
= 0 ;
10831 char *kwnames
[] = {
10832 (char *) "self",(char *) "minVal", NULL
10835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
10836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10838 arg2
= (int) SWIG_AsInt(obj1
);
10839 if (PyErr_Occurred()) SWIG_fail
;
10841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10842 (arg1
)->SetMin(arg2
);
10844 wxPyEndAllowThreads(__tstate
);
10845 if (PyErr_Occurred()) SWIG_fail
;
10847 Py_INCREF(Py_None
); resultobj
= Py_None
;
10854 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10855 PyObject
*resultobj
;
10856 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10858 PyObject
* obj0
= 0 ;
10859 PyObject
* obj1
= 0 ;
10860 char *kwnames
[] = {
10861 (char *) "self",(char *) "maxVal", NULL
10864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
10865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10867 arg2
= (int) SWIG_AsInt(obj1
);
10868 if (PyErr_Occurred()) SWIG_fail
;
10870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10871 (arg1
)->SetMax(arg2
);
10873 wxPyEndAllowThreads(__tstate
);
10874 if (PyErr_Occurred()) SWIG_fail
;
10876 Py_INCREF(Py_None
); resultobj
= Py_None
;
10883 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10884 PyObject
*resultobj
;
10885 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10888 PyObject
* obj0
= 0 ;
10889 PyObject
* obj1
= 0 ;
10890 PyObject
* obj2
= 0 ;
10891 char *kwnames
[] = {
10892 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10898 arg2
= (int) SWIG_AsInt(obj1
);
10899 if (PyErr_Occurred()) SWIG_fail
;
10900 arg3
= (int) SWIG_AsInt(obj2
);
10901 if (PyErr_Occurred()) SWIG_fail
;
10903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10904 (arg1
)->SetRange(arg2
,arg3
);
10906 wxPyEndAllowThreads(__tstate
);
10907 if (PyErr_Occurred()) SWIG_fail
;
10909 Py_INCREF(Py_None
); resultobj
= Py_None
;
10916 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10917 PyObject
*resultobj
;
10918 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10920 PyObject
* obj0
= 0 ;
10921 char *kwnames
[] = {
10922 (char *) "self", NULL
10925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
10926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10930 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
10932 wxPyEndAllowThreads(__tstate
);
10933 if (PyErr_Occurred()) SWIG_fail
;
10936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10944 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10945 PyObject
*resultobj
;
10946 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10947 wxVisualAttributes result
;
10948 PyObject
* obj0
= 0 ;
10949 char *kwnames
[] = {
10950 (char *) "variant", NULL
10953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10955 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
10956 if (PyErr_Occurred()) SWIG_fail
;
10959 if (!wxPyCheckForApp()) SWIG_fail
;
10960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10961 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10963 wxPyEndAllowThreads(__tstate
);
10964 if (PyErr_Occurred()) SWIG_fail
;
10967 wxVisualAttributes
* resultptr
;
10968 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10969 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10977 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
10979 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10980 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
10982 return Py_BuildValue((char *)"");
10984 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10985 PyObject
*resultobj
;
10986 wxWindow
*arg1
= (wxWindow
*) 0 ;
10987 int arg2
= (int) -1 ;
10988 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10989 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10990 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10991 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10992 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10993 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10994 long arg6
= (long) wxSP_ARROW_KEYS
;
10995 int arg7
= (int) 0 ;
10996 int arg8
= (int) 100 ;
10997 int arg9
= (int) 0 ;
10998 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
10999 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11000 wxSpinCtrl
*result
;
11001 bool temp3
= False
;
11004 bool temp10
= False
;
11005 PyObject
* obj0
= 0 ;
11006 PyObject
* obj1
= 0 ;
11007 PyObject
* obj2
= 0 ;
11008 PyObject
* obj3
= 0 ;
11009 PyObject
* obj4
= 0 ;
11010 PyObject
* obj5
= 0 ;
11011 PyObject
* obj6
= 0 ;
11012 PyObject
* obj7
= 0 ;
11013 PyObject
* obj8
= 0 ;
11014 PyObject
* obj9
= 0 ;
11015 char *kwnames
[] = {
11016 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11023 arg2
= (int) SWIG_AsInt(obj1
);
11024 if (PyErr_Occurred()) SWIG_fail
;
11028 arg3
= wxString_in_helper(obj2
);
11029 if (arg3
== NULL
) SWIG_fail
;
11036 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11042 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11046 arg6
= (long) SWIG_AsLong(obj5
);
11047 if (PyErr_Occurred()) SWIG_fail
;
11050 arg7
= (int) SWIG_AsInt(obj6
);
11051 if (PyErr_Occurred()) SWIG_fail
;
11054 arg8
= (int) SWIG_AsInt(obj7
);
11055 if (PyErr_Occurred()) SWIG_fail
;
11058 arg9
= (int) SWIG_AsInt(obj8
);
11059 if (PyErr_Occurred()) SWIG_fail
;
11063 arg10
= wxString_in_helper(obj9
);
11064 if (arg10
== NULL
) SWIG_fail
;
11069 if (!wxPyCheckForApp()) SWIG_fail
;
11070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11071 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
11073 wxPyEndAllowThreads(__tstate
);
11074 if (PyErr_Occurred()) SWIG_fail
;
11076 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11099 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11100 PyObject
*resultobj
;
11101 wxSpinCtrl
*result
;
11102 char *kwnames
[] = {
11106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
11108 if (!wxPyCheckForApp()) SWIG_fail
;
11109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11110 result
= (wxSpinCtrl
*)new wxSpinCtrl();
11112 wxPyEndAllowThreads(__tstate
);
11113 if (PyErr_Occurred()) SWIG_fail
;
11115 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11122 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11123 PyObject
*resultobj
;
11124 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11125 wxWindow
*arg2
= (wxWindow
*) 0 ;
11126 int arg3
= (int) -1 ;
11127 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11128 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11129 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11130 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11131 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11132 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11133 long arg7
= (long) wxSP_ARROW_KEYS
;
11134 int arg8
= (int) 0 ;
11135 int arg9
= (int) 100 ;
11136 int arg10
= (int) 0 ;
11137 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
11138 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11140 bool temp4
= False
;
11143 bool temp11
= False
;
11144 PyObject
* obj0
= 0 ;
11145 PyObject
* obj1
= 0 ;
11146 PyObject
* obj2
= 0 ;
11147 PyObject
* obj3
= 0 ;
11148 PyObject
* obj4
= 0 ;
11149 PyObject
* obj5
= 0 ;
11150 PyObject
* obj6
= 0 ;
11151 PyObject
* obj7
= 0 ;
11152 PyObject
* obj8
= 0 ;
11153 PyObject
* obj9
= 0 ;
11154 PyObject
* obj10
= 0 ;
11155 char *kwnames
[] = {
11156 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11162 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11165 arg3
= (int) SWIG_AsInt(obj2
);
11166 if (PyErr_Occurred()) SWIG_fail
;
11170 arg4
= wxString_in_helper(obj3
);
11171 if (arg4
== NULL
) SWIG_fail
;
11178 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11184 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11188 arg7
= (long) SWIG_AsLong(obj6
);
11189 if (PyErr_Occurred()) SWIG_fail
;
11192 arg8
= (int) SWIG_AsInt(obj7
);
11193 if (PyErr_Occurred()) SWIG_fail
;
11196 arg9
= (int) SWIG_AsInt(obj8
);
11197 if (PyErr_Occurred()) SWIG_fail
;
11200 arg10
= (int) SWIG_AsInt(obj9
);
11201 if (PyErr_Occurred()) SWIG_fail
;
11205 arg11
= wxString_in_helper(obj10
);
11206 if (arg11
== NULL
) SWIG_fail
;
11211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11212 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
11214 wxPyEndAllowThreads(__tstate
);
11215 if (PyErr_Occurred()) SWIG_fail
;
11218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11242 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11243 PyObject
*resultobj
;
11244 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11246 PyObject
* obj0
= 0 ;
11247 char *kwnames
[] = {
11248 (char *) "self", NULL
11251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
11252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11256 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
11258 wxPyEndAllowThreads(__tstate
);
11259 if (PyErr_Occurred()) SWIG_fail
;
11261 resultobj
= SWIG_FromInt((int)result
);
11268 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11269 PyObject
*resultobj
;
11270 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11272 PyObject
* obj0
= 0 ;
11273 PyObject
* obj1
= 0 ;
11274 char *kwnames
[] = {
11275 (char *) "self",(char *) "value", NULL
11278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11281 arg2
= (int) SWIG_AsInt(obj1
);
11282 if (PyErr_Occurred()) SWIG_fail
;
11284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11285 (arg1
)->SetValue(arg2
);
11287 wxPyEndAllowThreads(__tstate
);
11288 if (PyErr_Occurred()) SWIG_fail
;
11290 Py_INCREF(Py_None
); resultobj
= Py_None
;
11297 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11298 PyObject
*resultobj
;
11299 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11300 wxString
*arg2
= 0 ;
11301 bool temp2
= False
;
11302 PyObject
* obj0
= 0 ;
11303 PyObject
* obj1
= 0 ;
11304 char *kwnames
[] = {
11305 (char *) "self",(char *) "text", NULL
11308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
11309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11312 arg2
= wxString_in_helper(obj1
);
11313 if (arg2
== NULL
) SWIG_fail
;
11317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11318 (arg1
)->SetValue((wxString
const &)*arg2
);
11320 wxPyEndAllowThreads(__tstate
);
11321 if (PyErr_Occurred()) SWIG_fail
;
11323 Py_INCREF(Py_None
); resultobj
= Py_None
;
11338 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11339 PyObject
*resultobj
;
11340 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11343 PyObject
* obj0
= 0 ;
11344 PyObject
* obj1
= 0 ;
11345 PyObject
* obj2
= 0 ;
11346 char *kwnames
[] = {
11347 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11353 arg2
= (int) SWIG_AsInt(obj1
);
11354 if (PyErr_Occurred()) SWIG_fail
;
11355 arg3
= (int) SWIG_AsInt(obj2
);
11356 if (PyErr_Occurred()) SWIG_fail
;
11358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11359 (arg1
)->SetRange(arg2
,arg3
);
11361 wxPyEndAllowThreads(__tstate
);
11362 if (PyErr_Occurred()) SWIG_fail
;
11364 Py_INCREF(Py_None
); resultobj
= Py_None
;
11371 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11372 PyObject
*resultobj
;
11373 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11375 PyObject
* obj0
= 0 ;
11376 char *kwnames
[] = {
11377 (char *) "self", NULL
11380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
11381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11385 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
11387 wxPyEndAllowThreads(__tstate
);
11388 if (PyErr_Occurred()) SWIG_fail
;
11390 resultobj
= SWIG_FromInt((int)result
);
11397 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11398 PyObject
*resultobj
;
11399 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11401 PyObject
* obj0
= 0 ;
11402 char *kwnames
[] = {
11403 (char *) "self", NULL
11406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
11407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11411 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
11413 wxPyEndAllowThreads(__tstate
);
11414 if (PyErr_Occurred()) SWIG_fail
;
11416 resultobj
= SWIG_FromInt((int)result
);
11423 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11424 PyObject
*resultobj
;
11425 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11428 PyObject
* obj0
= 0 ;
11429 PyObject
* obj1
= 0 ;
11430 PyObject
* obj2
= 0 ;
11431 char *kwnames
[] = {
11432 (char *) "self",(char *) "from",(char *) "to", NULL
11435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11438 arg2
= (long) SWIG_AsLong(obj1
);
11439 if (PyErr_Occurred()) SWIG_fail
;
11440 arg3
= (long) SWIG_AsLong(obj2
);
11441 if (PyErr_Occurred()) SWIG_fail
;
11443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11444 (arg1
)->SetSelection(arg2
,arg3
);
11446 wxPyEndAllowThreads(__tstate
);
11447 if (PyErr_Occurred()) SWIG_fail
;
11449 Py_INCREF(Py_None
); resultobj
= Py_None
;
11456 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11457 PyObject
*resultobj
;
11458 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
11459 wxVisualAttributes result
;
11460 PyObject
* obj0
= 0 ;
11461 char *kwnames
[] = {
11462 (char *) "variant", NULL
11465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11467 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
11468 if (PyErr_Occurred()) SWIG_fail
;
11471 if (!wxPyCheckForApp()) SWIG_fail
;
11472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11473 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11475 wxPyEndAllowThreads(__tstate
);
11476 if (PyErr_Occurred()) SWIG_fail
;
11479 wxVisualAttributes
* resultptr
;
11480 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
11481 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11489 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
11491 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11492 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
11494 return Py_BuildValue((char *)"");
11496 static PyObject
*_wrap_new_SpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11497 PyObject
*resultobj
;
11498 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11499 int arg2
= (int) 0 ;
11500 wxSpinEvent
*result
;
11501 PyObject
* obj0
= 0 ;
11502 PyObject
* obj1
= 0 ;
11503 char *kwnames
[] = {
11504 (char *) "commandType",(char *) "winid", NULL
11507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11509 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
11510 if (PyErr_Occurred()) SWIG_fail
;
11513 arg2
= (int) SWIG_AsInt(obj1
);
11514 if (PyErr_Occurred()) SWIG_fail
;
11517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11518 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
11520 wxPyEndAllowThreads(__tstate
);
11521 if (PyErr_Occurred()) SWIG_fail
;
11523 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
11530 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11531 PyObject
*resultobj
;
11532 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11534 PyObject
* obj0
= 0 ;
11535 char *kwnames
[] = {
11536 (char *) "self", NULL
11539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11544 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
11546 wxPyEndAllowThreads(__tstate
);
11547 if (PyErr_Occurred()) SWIG_fail
;
11549 resultobj
= SWIG_FromInt((int)result
);
11556 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11557 PyObject
*resultobj
;
11558 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11560 PyObject
* obj0
= 0 ;
11561 PyObject
* obj1
= 0 ;
11562 char *kwnames
[] = {
11563 (char *) "self",(char *) "pos", NULL
11566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11569 arg2
= (int) SWIG_AsInt(obj1
);
11570 if (PyErr_Occurred()) SWIG_fail
;
11572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11573 (arg1
)->SetPosition(arg2
);
11575 wxPyEndAllowThreads(__tstate
);
11576 if (PyErr_Occurred()) SWIG_fail
;
11578 Py_INCREF(Py_None
); resultobj
= Py_None
;
11585 static PyObject
* SpinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11587 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11588 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
11590 return Py_BuildValue((char *)"");
11592 static int _wrap_RadioBoxNameStr_set(PyObject
*_val
) {
11593 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
11598 static PyObject
*_wrap_RadioBoxNameStr_get() {
11603 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11605 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11612 static int _wrap_RadioButtonNameStr_set(PyObject
*_val
) {
11613 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
11618 static PyObject
*_wrap_RadioButtonNameStr_get() {
11623 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11625 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11632 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11633 PyObject
*resultobj
;
11634 wxWindow
*arg1
= (wxWindow
*) 0 ;
11635 int arg2
= (int) -1 ;
11636 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11637 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11638 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11639 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11640 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11641 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11642 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
11643 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
11644 int arg7
= (int) 0 ;
11645 long arg8
= (long) wxRA_HORIZONTAL
;
11646 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11647 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11648 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
11649 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11650 wxRadioBox
*result
;
11651 bool temp3
= False
;
11654 bool temp6
= False
;
11655 bool temp10
= False
;
11656 PyObject
* obj0
= 0 ;
11657 PyObject
* obj1
= 0 ;
11658 PyObject
* obj2
= 0 ;
11659 PyObject
* obj3
= 0 ;
11660 PyObject
* obj4
= 0 ;
11661 PyObject
* obj5
= 0 ;
11662 PyObject
* obj6
= 0 ;
11663 PyObject
* obj7
= 0 ;
11664 PyObject
* obj8
= 0 ;
11665 PyObject
* obj9
= 0 ;
11666 char *kwnames
[] = {
11667 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11674 arg2
= (int) SWIG_AsInt(obj1
);
11675 if (PyErr_Occurred()) SWIG_fail
;
11679 arg3
= wxString_in_helper(obj2
);
11680 if (arg3
== NULL
) SWIG_fail
;
11687 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11693 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11698 if (! PySequence_Check(obj5
)) {
11699 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11702 arg6
= new wxArrayString
;
11704 int i
, len
=PySequence_Length(obj5
);
11705 for (i
=0; i
<len
; i
++) {
11706 PyObject
* item
= PySequence_GetItem(obj5
, i
);
11708 PyObject
* str
= PyObject_Unicode(item
);
11710 PyObject
* str
= PyObject_Str(item
);
11712 if (PyErr_Occurred()) SWIG_fail
;
11713 arg6
->Add(Py2wxString(str
));
11720 arg7
= (int) SWIG_AsInt(obj6
);
11721 if (PyErr_Occurred()) SWIG_fail
;
11724 arg8
= (long) SWIG_AsLong(obj7
);
11725 if (PyErr_Occurred()) SWIG_fail
;
11728 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
11729 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11731 if (arg9
== NULL
) {
11732 PyErr_SetString(PyExc_TypeError
,"null reference");
11738 arg10
= wxString_in_helper(obj9
);
11739 if (arg10
== NULL
) SWIG_fail
;
11744 if (!wxPyCheckForApp()) SWIG_fail
;
11745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11746 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
);
11748 wxPyEndAllowThreads(__tstate
);
11749 if (PyErr_Occurred()) SWIG_fail
;
11751 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11757 if (temp6
) delete arg6
;
11770 if (temp6
) delete arg6
;
11780 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11781 PyObject
*resultobj
;
11782 wxRadioBox
*result
;
11783 char *kwnames
[] = {
11787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
11789 if (!wxPyCheckForApp()) SWIG_fail
;
11790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11791 result
= (wxRadioBox
*)new wxRadioBox();
11793 wxPyEndAllowThreads(__tstate
);
11794 if (PyErr_Occurred()) SWIG_fail
;
11796 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11803 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11804 PyObject
*resultobj
;
11805 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11806 wxWindow
*arg2
= (wxWindow
*) 0 ;
11807 int arg3
= (int) -1 ;
11808 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11809 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11810 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11811 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11812 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11813 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11814 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
11815 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
11816 int arg8
= (int) 0 ;
11817 long arg9
= (long) wxRA_HORIZONTAL
;
11818 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11819 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11820 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
11821 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11823 bool temp4
= False
;
11826 bool temp7
= False
;
11827 bool temp11
= False
;
11828 PyObject
* obj0
= 0 ;
11829 PyObject
* obj1
= 0 ;
11830 PyObject
* obj2
= 0 ;
11831 PyObject
* obj3
= 0 ;
11832 PyObject
* obj4
= 0 ;
11833 PyObject
* obj5
= 0 ;
11834 PyObject
* obj6
= 0 ;
11835 PyObject
* obj7
= 0 ;
11836 PyObject
* obj8
= 0 ;
11837 PyObject
* obj9
= 0 ;
11838 PyObject
* obj10
= 0 ;
11839 char *kwnames
[] = {
11840 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11846 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11849 arg3
= (int) SWIG_AsInt(obj2
);
11850 if (PyErr_Occurred()) SWIG_fail
;
11854 arg4
= wxString_in_helper(obj3
);
11855 if (arg4
== NULL
) SWIG_fail
;
11862 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11868 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11873 if (! PySequence_Check(obj6
)) {
11874 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11877 arg7
= new wxArrayString
;
11879 int i
, len
=PySequence_Length(obj6
);
11880 for (i
=0; i
<len
; i
++) {
11881 PyObject
* item
= PySequence_GetItem(obj6
, i
);
11883 PyObject
* str
= PyObject_Unicode(item
);
11885 PyObject
* str
= PyObject_Str(item
);
11887 if (PyErr_Occurred()) SWIG_fail
;
11888 arg7
->Add(Py2wxString(str
));
11895 arg8
= (int) SWIG_AsInt(obj7
);
11896 if (PyErr_Occurred()) SWIG_fail
;
11899 arg9
= (long) SWIG_AsLong(obj8
);
11900 if (PyErr_Occurred()) SWIG_fail
;
11903 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
11904 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11906 if (arg10
== NULL
) {
11907 PyErr_SetString(PyExc_TypeError
,"null reference");
11913 arg11
= wxString_in_helper(obj10
);
11914 if (arg11
== NULL
) SWIG_fail
;
11919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11920 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
);
11922 wxPyEndAllowThreads(__tstate
);
11923 if (PyErr_Occurred()) SWIG_fail
;
11926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11933 if (temp7
) delete arg7
;
11946 if (temp7
) delete arg7
;
11956 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11957 PyObject
*resultobj
;
11958 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11960 PyObject
* obj0
= 0 ;
11961 PyObject
* obj1
= 0 ;
11962 char *kwnames
[] = {
11963 (char *) "self",(char *) "n", NULL
11966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11969 arg2
= (int) SWIG_AsInt(obj1
);
11970 if (PyErr_Occurred()) SWIG_fail
;
11972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11973 (arg1
)->SetSelection(arg2
);
11975 wxPyEndAllowThreads(__tstate
);
11976 if (PyErr_Occurred()) SWIG_fail
;
11978 Py_INCREF(Py_None
); resultobj
= Py_None
;
11985 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11986 PyObject
*resultobj
;
11987 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11989 PyObject
* obj0
= 0 ;
11990 char *kwnames
[] = {
11991 (char *) "self", NULL
11994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
11995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11999 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
12001 wxPyEndAllowThreads(__tstate
);
12002 if (PyErr_Occurred()) SWIG_fail
;
12004 resultobj
= SWIG_FromInt((int)result
);
12011 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12012 PyObject
*resultobj
;
12013 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12015 PyObject
* obj0
= 0 ;
12016 char *kwnames
[] = {
12017 (char *) "self", NULL
12020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12025 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
12027 wxPyEndAllowThreads(__tstate
);
12028 if (PyErr_Occurred()) SWIG_fail
;
12032 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12034 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12043 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12044 PyObject
*resultobj
;
12045 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12046 wxString
*arg2
= 0 ;
12048 bool temp2
= False
;
12049 PyObject
* obj0
= 0 ;
12050 PyObject
* obj1
= 0 ;
12051 char *kwnames
[] = {
12052 (char *) "self",(char *) "s", NULL
12055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12059 arg2
= wxString_in_helper(obj1
);
12060 if (arg2
== NULL
) SWIG_fail
;
12064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12065 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
12067 wxPyEndAllowThreads(__tstate
);
12068 if (PyErr_Occurred()) SWIG_fail
;
12071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12087 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12088 PyObject
*resultobj
;
12089 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12091 PyObject
* obj0
= 0 ;
12092 char *kwnames
[] = {
12093 (char *) "self", NULL
12096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
12097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12101 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
12103 wxPyEndAllowThreads(__tstate
);
12104 if (PyErr_Occurred()) SWIG_fail
;
12106 resultobj
= SWIG_FromInt((int)result
);
12113 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12114 PyObject
*resultobj
;
12115 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12116 wxString
*arg2
= 0 ;
12118 bool temp2
= False
;
12119 PyObject
* obj0
= 0 ;
12120 PyObject
* obj1
= 0 ;
12121 char *kwnames
[] = {
12122 (char *) "self",(char *) "s", NULL
12125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
12126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12129 arg2
= wxString_in_helper(obj1
);
12130 if (arg2
== NULL
) SWIG_fail
;
12134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12135 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
12137 wxPyEndAllowThreads(__tstate
);
12138 if (PyErr_Occurred()) SWIG_fail
;
12140 resultobj
= SWIG_FromInt((int)result
);
12155 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12156 PyObject
*resultobj
;
12157 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12160 PyObject
* obj0
= 0 ;
12161 PyObject
* obj1
= 0 ;
12162 char *kwnames
[] = {
12163 (char *) "self",(char *) "n", NULL
12166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12169 arg2
= (int) SWIG_AsInt(obj1
);
12170 if (PyErr_Occurred()) SWIG_fail
;
12172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12173 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
12175 wxPyEndAllowThreads(__tstate
);
12176 if (PyErr_Occurred()) SWIG_fail
;
12180 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12182 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12191 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12192 PyObject
*resultobj
;
12193 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12195 wxString
*arg3
= 0 ;
12196 bool temp3
= False
;
12197 PyObject
* obj0
= 0 ;
12198 PyObject
* obj1
= 0 ;
12199 PyObject
* obj2
= 0 ;
12200 char *kwnames
[] = {
12201 (char *) "self",(char *) "n",(char *) "label", NULL
12204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12207 arg2
= (int) SWIG_AsInt(obj1
);
12208 if (PyErr_Occurred()) SWIG_fail
;
12210 arg3
= wxString_in_helper(obj2
);
12211 if (arg3
== NULL
) SWIG_fail
;
12215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12216 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
12218 wxPyEndAllowThreads(__tstate
);
12219 if (PyErr_Occurred()) SWIG_fail
;
12221 Py_INCREF(Py_None
); resultobj
= Py_None
;
12236 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12237 PyObject
*resultobj
;
12238 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12240 bool arg3
= (bool) True
;
12241 PyObject
* obj0
= 0 ;
12242 PyObject
* obj1
= 0 ;
12243 PyObject
* obj2
= 0 ;
12244 char *kwnames
[] = {
12245 (char *) "self",(char *) "n",(char *) "enable", NULL
12248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12251 arg2
= (int) SWIG_AsInt(obj1
);
12252 if (PyErr_Occurred()) SWIG_fail
;
12254 arg3
= (bool) SWIG_AsBool(obj2
);
12255 if (PyErr_Occurred()) SWIG_fail
;
12258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12259 (arg1
)->Enable(arg2
,arg3
);
12261 wxPyEndAllowThreads(__tstate
);
12262 if (PyErr_Occurred()) SWIG_fail
;
12264 Py_INCREF(Py_None
); resultobj
= Py_None
;
12271 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12272 PyObject
*resultobj
;
12273 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12275 bool arg3
= (bool) True
;
12276 PyObject
* obj0
= 0 ;
12277 PyObject
* obj1
= 0 ;
12278 PyObject
* obj2
= 0 ;
12279 char *kwnames
[] = {
12280 (char *) "self",(char *) "n",(char *) "show", NULL
12283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12286 arg2
= (int) SWIG_AsInt(obj1
);
12287 if (PyErr_Occurred()) SWIG_fail
;
12289 arg3
= (bool) SWIG_AsBool(obj2
);
12290 if (PyErr_Occurred()) SWIG_fail
;
12293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12294 (arg1
)->Show(arg2
,arg3
);
12296 wxPyEndAllowThreads(__tstate
);
12297 if (PyErr_Occurred()) SWIG_fail
;
12299 Py_INCREF(Py_None
); resultobj
= Py_None
;
12306 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12307 PyObject
*resultobj
;
12308 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12310 PyObject
* obj0
= 0 ;
12311 char *kwnames
[] = {
12312 (char *) "self", NULL
12315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
12316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12320 result
= (int)wxRadioBox_GetColumnCount((wxRadioBox
const *)arg1
);
12322 wxPyEndAllowThreads(__tstate
);
12323 if (PyErr_Occurred()) SWIG_fail
;
12325 resultobj
= SWIG_FromInt((int)result
);
12332 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12333 PyObject
*resultobj
;
12334 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12336 PyObject
* obj0
= 0 ;
12337 char *kwnames
[] = {
12338 (char *) "self", NULL
12341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
12342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12346 result
= (int)wxRadioBox_GetRowCount((wxRadioBox
const *)arg1
);
12348 wxPyEndAllowThreads(__tstate
);
12349 if (PyErr_Occurred()) SWIG_fail
;
12351 resultobj
= SWIG_FromInt((int)result
);
12358 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12359 PyObject
*resultobj
;
12360 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12365 PyObject
* obj0
= 0 ;
12366 PyObject
* obj1
= 0 ;
12367 PyObject
* obj2
= 0 ;
12368 PyObject
* obj3
= 0 ;
12369 char *kwnames
[] = {
12370 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
12373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12376 arg2
= (int) SWIG_AsInt(obj1
);
12377 if (PyErr_Occurred()) SWIG_fail
;
12378 arg3
= (wxDirection
) SWIG_AsInt(obj2
);
12379 if (PyErr_Occurred()) SWIG_fail
;
12380 arg4
= (long) SWIG_AsLong(obj3
);
12381 if (PyErr_Occurred()) SWIG_fail
;
12383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12384 result
= (int)wxRadioBox_GetNextItem((wxRadioBox
const *)arg1
,arg2
,(wxDirection
)arg3
,arg4
);
12386 wxPyEndAllowThreads(__tstate
);
12387 if (PyErr_Occurred()) SWIG_fail
;
12389 resultobj
= SWIG_FromInt((int)result
);
12396 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12397 PyObject
*resultobj
;
12398 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12399 wxVisualAttributes result
;
12400 PyObject
* obj0
= 0 ;
12401 char *kwnames
[] = {
12402 (char *) "variant", NULL
12405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12407 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
12408 if (PyErr_Occurred()) SWIG_fail
;
12411 if (!wxPyCheckForApp()) SWIG_fail
;
12412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12413 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12415 wxPyEndAllowThreads(__tstate
);
12416 if (PyErr_Occurred()) SWIG_fail
;
12419 wxVisualAttributes
* resultptr
;
12420 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12421 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12429 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
12431 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12432 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
12434 return Py_BuildValue((char *)"");
12436 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12437 PyObject
*resultobj
;
12438 wxWindow
*arg1
= (wxWindow
*) 0 ;
12439 int arg2
= (int) -1 ;
12440 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12441 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12442 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12443 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12444 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12445 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12446 long arg6
= (long) 0 ;
12447 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12448 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12449 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
12450 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12451 wxRadioButton
*result
;
12452 bool temp3
= False
;
12455 bool temp8
= False
;
12456 PyObject
* obj0
= 0 ;
12457 PyObject
* obj1
= 0 ;
12458 PyObject
* obj2
= 0 ;
12459 PyObject
* obj3
= 0 ;
12460 PyObject
* obj4
= 0 ;
12461 PyObject
* obj5
= 0 ;
12462 PyObject
* obj6
= 0 ;
12463 PyObject
* obj7
= 0 ;
12464 char *kwnames
[] = {
12465 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12472 arg2
= (int) SWIG_AsInt(obj1
);
12473 if (PyErr_Occurred()) SWIG_fail
;
12477 arg3
= wxString_in_helper(obj2
);
12478 if (arg3
== NULL
) SWIG_fail
;
12485 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12491 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12495 arg6
= (long) SWIG_AsLong(obj5
);
12496 if (PyErr_Occurred()) SWIG_fail
;
12499 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
12500 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12502 if (arg7
== NULL
) {
12503 PyErr_SetString(PyExc_TypeError
,"null reference");
12509 arg8
= wxString_in_helper(obj7
);
12510 if (arg8
== NULL
) SWIG_fail
;
12515 if (!wxPyCheckForApp()) SWIG_fail
;
12516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12517 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12519 wxPyEndAllowThreads(__tstate
);
12520 if (PyErr_Occurred()) SWIG_fail
;
12522 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12545 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12546 PyObject
*resultobj
;
12547 wxRadioButton
*result
;
12548 char *kwnames
[] = {
12552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
12554 if (!wxPyCheckForApp()) SWIG_fail
;
12555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12556 result
= (wxRadioButton
*)new wxRadioButton();
12558 wxPyEndAllowThreads(__tstate
);
12559 if (PyErr_Occurred()) SWIG_fail
;
12561 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12568 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12569 PyObject
*resultobj
;
12570 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12571 wxWindow
*arg2
= (wxWindow
*) 0 ;
12572 int arg3
= (int) -1 ;
12573 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12574 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12575 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12576 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12577 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12578 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12579 long arg7
= (long) 0 ;
12580 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
12581 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
12582 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
12583 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
12585 bool temp4
= False
;
12588 bool temp9
= False
;
12589 PyObject
* obj0
= 0 ;
12590 PyObject
* obj1
= 0 ;
12591 PyObject
* obj2
= 0 ;
12592 PyObject
* obj3
= 0 ;
12593 PyObject
* obj4
= 0 ;
12594 PyObject
* obj5
= 0 ;
12595 PyObject
* obj6
= 0 ;
12596 PyObject
* obj7
= 0 ;
12597 PyObject
* obj8
= 0 ;
12598 char *kwnames
[] = {
12599 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
12603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12605 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12608 arg3
= (int) SWIG_AsInt(obj2
);
12609 if (PyErr_Occurred()) SWIG_fail
;
12613 arg4
= wxString_in_helper(obj3
);
12614 if (arg4
== NULL
) SWIG_fail
;
12621 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12627 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12631 arg7
= (long) SWIG_AsLong(obj6
);
12632 if (PyErr_Occurred()) SWIG_fail
;
12635 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
12636 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12638 if (arg8
== NULL
) {
12639 PyErr_SetString(PyExc_TypeError
,"null reference");
12645 arg9
= wxString_in_helper(obj8
);
12646 if (arg9
== NULL
) SWIG_fail
;
12651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12652 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
12654 wxPyEndAllowThreads(__tstate
);
12655 if (PyErr_Occurred()) SWIG_fail
;
12658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12682 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12683 PyObject
*resultobj
;
12684 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12686 PyObject
* obj0
= 0 ;
12687 char *kwnames
[] = {
12688 (char *) "self", NULL
12691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
12692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12696 result
= (bool)(arg1
)->GetValue();
12698 wxPyEndAllowThreads(__tstate
);
12699 if (PyErr_Occurred()) SWIG_fail
;
12702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12710 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12711 PyObject
*resultobj
;
12712 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12714 PyObject
* obj0
= 0 ;
12715 PyObject
* obj1
= 0 ;
12716 char *kwnames
[] = {
12717 (char *) "self",(char *) "value", NULL
12720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12723 arg2
= (bool) SWIG_AsBool(obj1
);
12724 if (PyErr_Occurred()) SWIG_fail
;
12726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12727 (arg1
)->SetValue(arg2
);
12729 wxPyEndAllowThreads(__tstate
);
12730 if (PyErr_Occurred()) SWIG_fail
;
12732 Py_INCREF(Py_None
); resultobj
= Py_None
;
12739 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12740 PyObject
*resultobj
;
12741 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12742 wxVisualAttributes result
;
12743 PyObject
* obj0
= 0 ;
12744 char *kwnames
[] = {
12745 (char *) "variant", NULL
12748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12750 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
12751 if (PyErr_Occurred()) SWIG_fail
;
12754 if (!wxPyCheckForApp()) SWIG_fail
;
12755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12756 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12758 wxPyEndAllowThreads(__tstate
);
12759 if (PyErr_Occurred()) SWIG_fail
;
12762 wxVisualAttributes
* resultptr
;
12763 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12764 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12772 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
12774 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12775 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
12777 return Py_BuildValue((char *)"");
12779 static int _wrap_SliderNameStr_set(PyObject
*_val
) {
12780 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
12785 static PyObject
*_wrap_SliderNameStr_get() {
12790 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12792 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12799 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12800 PyObject
*resultobj
;
12801 wxWindow
*arg1
= (wxWindow
*) 0 ;
12802 int arg2
= (int) -1 ;
12803 int arg3
= (int) 0 ;
12804 int arg4
= (int) 0 ;
12805 int arg5
= (int) 100 ;
12806 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12807 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12808 wxSize
const &arg7_defvalue
= wxDefaultSize
;
12809 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
12810 long arg8
= (long) wxSL_HORIZONTAL
;
12811 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
12812 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
12813 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
12814 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12818 bool temp10
= False
;
12819 PyObject
* obj0
= 0 ;
12820 PyObject
* obj1
= 0 ;
12821 PyObject
* obj2
= 0 ;
12822 PyObject
* obj3
= 0 ;
12823 PyObject
* obj4
= 0 ;
12824 PyObject
* obj5
= 0 ;
12825 PyObject
* obj6
= 0 ;
12826 PyObject
* obj7
= 0 ;
12827 PyObject
* obj8
= 0 ;
12828 PyObject
* obj9
= 0 ;
12829 char *kwnames
[] = {
12830 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12837 arg2
= (int) SWIG_AsInt(obj1
);
12838 if (PyErr_Occurred()) SWIG_fail
;
12841 arg3
= (int) SWIG_AsInt(obj2
);
12842 if (PyErr_Occurred()) SWIG_fail
;
12845 arg4
= (int) SWIG_AsInt(obj3
);
12846 if (PyErr_Occurred()) SWIG_fail
;
12849 arg5
= (int) SWIG_AsInt(obj4
);
12850 if (PyErr_Occurred()) SWIG_fail
;
12855 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12861 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
12865 arg8
= (long) SWIG_AsLong(obj7
);
12866 if (PyErr_Occurred()) SWIG_fail
;
12869 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
12870 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12872 if (arg9
== NULL
) {
12873 PyErr_SetString(PyExc_TypeError
,"null reference");
12879 arg10
= wxString_in_helper(obj9
);
12880 if (arg10
== NULL
) SWIG_fail
;
12885 if (!wxPyCheckForApp()) SWIG_fail
;
12886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12887 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
12889 wxPyEndAllowThreads(__tstate
);
12890 if (PyErr_Occurred()) SWIG_fail
;
12892 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12907 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12908 PyObject
*resultobj
;
12910 char *kwnames
[] = {
12914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
12916 if (!wxPyCheckForApp()) SWIG_fail
;
12917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12918 result
= (wxSlider
*)new wxSlider();
12920 wxPyEndAllowThreads(__tstate
);
12921 if (PyErr_Occurred()) SWIG_fail
;
12923 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12930 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12931 PyObject
*resultobj
;
12932 wxSlider
*arg1
= (wxSlider
*) 0 ;
12933 wxWindow
*arg2
= (wxWindow
*) 0 ;
12934 int arg3
= (int) -1 ;
12935 int arg4
= (int) 0 ;
12936 int arg5
= (int) 0 ;
12937 int arg6
= (int) 100 ;
12938 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12939 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12940 wxSize
const &arg8_defvalue
= wxDefaultSize
;
12941 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
12942 long arg9
= (long) wxSL_HORIZONTAL
;
12943 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
12944 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
12945 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
12946 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12950 bool temp11
= False
;
12951 PyObject
* obj0
= 0 ;
12952 PyObject
* obj1
= 0 ;
12953 PyObject
* obj2
= 0 ;
12954 PyObject
* obj3
= 0 ;
12955 PyObject
* obj4
= 0 ;
12956 PyObject
* obj5
= 0 ;
12957 PyObject
* obj6
= 0 ;
12958 PyObject
* obj7
= 0 ;
12959 PyObject
* obj8
= 0 ;
12960 PyObject
* obj9
= 0 ;
12961 PyObject
* obj10
= 0 ;
12962 char *kwnames
[] = {
12963 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12969 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12972 arg3
= (int) SWIG_AsInt(obj2
);
12973 if (PyErr_Occurred()) SWIG_fail
;
12976 arg4
= (int) SWIG_AsInt(obj3
);
12977 if (PyErr_Occurred()) SWIG_fail
;
12980 arg5
= (int) SWIG_AsInt(obj4
);
12981 if (PyErr_Occurred()) SWIG_fail
;
12984 arg6
= (int) SWIG_AsInt(obj5
);
12985 if (PyErr_Occurred()) SWIG_fail
;
12990 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12996 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
13000 arg9
= (long) SWIG_AsLong(obj8
);
13001 if (PyErr_Occurred()) SWIG_fail
;
13004 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
13005 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13007 if (arg10
== NULL
) {
13008 PyErr_SetString(PyExc_TypeError
,"null reference");
13014 arg11
= wxString_in_helper(obj10
);
13015 if (arg11
== NULL
) SWIG_fail
;
13020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13021 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
13023 wxPyEndAllowThreads(__tstate
);
13024 if (PyErr_Occurred()) SWIG_fail
;
13027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13043 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13044 PyObject
*resultobj
;
13045 wxSlider
*arg1
= (wxSlider
*) 0 ;
13047 PyObject
* obj0
= 0 ;
13048 char *kwnames
[] = {
13049 (char *) "self", NULL
13052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
13053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13057 result
= (int)((wxSlider
const *)arg1
)->GetValue();
13059 wxPyEndAllowThreads(__tstate
);
13060 if (PyErr_Occurred()) SWIG_fail
;
13062 resultobj
= SWIG_FromInt((int)result
);
13069 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13070 PyObject
*resultobj
;
13071 wxSlider
*arg1
= (wxSlider
*) 0 ;
13073 PyObject
* obj0
= 0 ;
13074 PyObject
* obj1
= 0 ;
13075 char *kwnames
[] = {
13076 (char *) "self",(char *) "value", NULL
13079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13082 arg2
= (int) SWIG_AsInt(obj1
);
13083 if (PyErr_Occurred()) SWIG_fail
;
13085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13086 (arg1
)->SetValue(arg2
);
13088 wxPyEndAllowThreads(__tstate
);
13089 if (PyErr_Occurred()) SWIG_fail
;
13091 Py_INCREF(Py_None
); resultobj
= Py_None
;
13098 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13099 PyObject
*resultobj
;
13100 wxSlider
*arg1
= (wxSlider
*) 0 ;
13103 PyObject
* obj0
= 0 ;
13104 PyObject
* obj1
= 0 ;
13105 PyObject
* obj2
= 0 ;
13106 char *kwnames
[] = {
13107 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
13110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13113 arg2
= (int) SWIG_AsInt(obj1
);
13114 if (PyErr_Occurred()) SWIG_fail
;
13115 arg3
= (int) SWIG_AsInt(obj2
);
13116 if (PyErr_Occurred()) SWIG_fail
;
13118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13119 (arg1
)->SetRange(arg2
,arg3
);
13121 wxPyEndAllowThreads(__tstate
);
13122 if (PyErr_Occurred()) SWIG_fail
;
13124 Py_INCREF(Py_None
); resultobj
= Py_None
;
13131 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13132 PyObject
*resultobj
;
13133 wxSlider
*arg1
= (wxSlider
*) 0 ;
13135 PyObject
* obj0
= 0 ;
13136 char *kwnames
[] = {
13137 (char *) "self", NULL
13140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
13141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13145 result
= (int)((wxSlider
const *)arg1
)->GetMin();
13147 wxPyEndAllowThreads(__tstate
);
13148 if (PyErr_Occurred()) SWIG_fail
;
13150 resultobj
= SWIG_FromInt((int)result
);
13157 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13158 PyObject
*resultobj
;
13159 wxSlider
*arg1
= (wxSlider
*) 0 ;
13161 PyObject
* obj0
= 0 ;
13162 char *kwnames
[] = {
13163 (char *) "self", NULL
13166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
13167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13171 result
= (int)((wxSlider
const *)arg1
)->GetMax();
13173 wxPyEndAllowThreads(__tstate
);
13174 if (PyErr_Occurred()) SWIG_fail
;
13176 resultobj
= SWIG_FromInt((int)result
);
13183 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13184 PyObject
*resultobj
;
13185 wxSlider
*arg1
= (wxSlider
*) 0 ;
13187 PyObject
* obj0
= 0 ;
13188 PyObject
* obj1
= 0 ;
13189 char *kwnames
[] = {
13190 (char *) "self",(char *) "minValue", NULL
13193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
13194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13196 arg2
= (int) SWIG_AsInt(obj1
);
13197 if (PyErr_Occurred()) SWIG_fail
;
13199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13200 (arg1
)->SetMin(arg2
);
13202 wxPyEndAllowThreads(__tstate
);
13203 if (PyErr_Occurred()) SWIG_fail
;
13205 Py_INCREF(Py_None
); resultobj
= Py_None
;
13212 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13213 PyObject
*resultobj
;
13214 wxSlider
*arg1
= (wxSlider
*) 0 ;
13216 PyObject
* obj0
= 0 ;
13217 PyObject
* obj1
= 0 ;
13218 char *kwnames
[] = {
13219 (char *) "self",(char *) "maxValue", NULL
13222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
13223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13225 arg2
= (int) SWIG_AsInt(obj1
);
13226 if (PyErr_Occurred()) SWIG_fail
;
13228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13229 (arg1
)->SetMax(arg2
);
13231 wxPyEndAllowThreads(__tstate
);
13232 if (PyErr_Occurred()) SWIG_fail
;
13234 Py_INCREF(Py_None
); resultobj
= Py_None
;
13241 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13242 PyObject
*resultobj
;
13243 wxSlider
*arg1
= (wxSlider
*) 0 ;
13245 PyObject
* obj0
= 0 ;
13246 PyObject
* obj1
= 0 ;
13247 char *kwnames
[] = {
13248 (char *) "self",(char *) "lineSize", NULL
13251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13254 arg2
= (int) SWIG_AsInt(obj1
);
13255 if (PyErr_Occurred()) SWIG_fail
;
13257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13258 (arg1
)->SetLineSize(arg2
);
13260 wxPyEndAllowThreads(__tstate
);
13261 if (PyErr_Occurred()) SWIG_fail
;
13263 Py_INCREF(Py_None
); resultobj
= Py_None
;
13270 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13271 PyObject
*resultobj
;
13272 wxSlider
*arg1
= (wxSlider
*) 0 ;
13274 PyObject
* obj0
= 0 ;
13275 PyObject
* obj1
= 0 ;
13276 char *kwnames
[] = {
13277 (char *) "self",(char *) "pageSize", NULL
13280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13283 arg2
= (int) SWIG_AsInt(obj1
);
13284 if (PyErr_Occurred()) SWIG_fail
;
13286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13287 (arg1
)->SetPageSize(arg2
);
13289 wxPyEndAllowThreads(__tstate
);
13290 if (PyErr_Occurred()) SWIG_fail
;
13292 Py_INCREF(Py_None
); resultobj
= Py_None
;
13299 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13300 PyObject
*resultobj
;
13301 wxSlider
*arg1
= (wxSlider
*) 0 ;
13303 PyObject
* obj0
= 0 ;
13304 char *kwnames
[] = {
13305 (char *) "self", NULL
13308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
13309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13313 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
13315 wxPyEndAllowThreads(__tstate
);
13316 if (PyErr_Occurred()) SWIG_fail
;
13318 resultobj
= SWIG_FromInt((int)result
);
13325 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13326 PyObject
*resultobj
;
13327 wxSlider
*arg1
= (wxSlider
*) 0 ;
13329 PyObject
* obj0
= 0 ;
13330 char *kwnames
[] = {
13331 (char *) "self", NULL
13334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
13335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13339 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
13341 wxPyEndAllowThreads(__tstate
);
13342 if (PyErr_Occurred()) SWIG_fail
;
13344 resultobj
= SWIG_FromInt((int)result
);
13351 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13352 PyObject
*resultobj
;
13353 wxSlider
*arg1
= (wxSlider
*) 0 ;
13355 PyObject
* obj0
= 0 ;
13356 PyObject
* obj1
= 0 ;
13357 char *kwnames
[] = {
13358 (char *) "self",(char *) "lenPixels", NULL
13361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
13362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13364 arg2
= (int) SWIG_AsInt(obj1
);
13365 if (PyErr_Occurred()) SWIG_fail
;
13367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13368 (arg1
)->SetThumbLength(arg2
);
13370 wxPyEndAllowThreads(__tstate
);
13371 if (PyErr_Occurred()) SWIG_fail
;
13373 Py_INCREF(Py_None
); resultobj
= Py_None
;
13380 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13381 PyObject
*resultobj
;
13382 wxSlider
*arg1
= (wxSlider
*) 0 ;
13384 PyObject
* obj0
= 0 ;
13385 char *kwnames
[] = {
13386 (char *) "self", NULL
13389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
13390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13394 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
13396 wxPyEndAllowThreads(__tstate
);
13397 if (PyErr_Occurred()) SWIG_fail
;
13399 resultobj
= SWIG_FromInt((int)result
);
13406 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13407 PyObject
*resultobj
;
13408 wxSlider
*arg1
= (wxSlider
*) 0 ;
13410 int arg3
= (int) 1 ;
13411 PyObject
* obj0
= 0 ;
13412 PyObject
* obj1
= 0 ;
13413 PyObject
* obj2
= 0 ;
13414 char *kwnames
[] = {
13415 (char *) "self",(char *) "n",(char *) "pos", NULL
13418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13421 arg2
= (int) SWIG_AsInt(obj1
);
13422 if (PyErr_Occurred()) SWIG_fail
;
13424 arg3
= (int) SWIG_AsInt(obj2
);
13425 if (PyErr_Occurred()) SWIG_fail
;
13428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13429 (arg1
)->SetTickFreq(arg2
,arg3
);
13431 wxPyEndAllowThreads(__tstate
);
13432 if (PyErr_Occurred()) SWIG_fail
;
13434 Py_INCREF(Py_None
); resultobj
= Py_None
;
13441 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13442 PyObject
*resultobj
;
13443 wxSlider
*arg1
= (wxSlider
*) 0 ;
13445 PyObject
* obj0
= 0 ;
13446 char *kwnames
[] = {
13447 (char *) "self", NULL
13450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
13451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13455 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
13457 wxPyEndAllowThreads(__tstate
);
13458 if (PyErr_Occurred()) SWIG_fail
;
13460 resultobj
= SWIG_FromInt((int)result
);
13467 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13468 PyObject
*resultobj
;
13469 wxSlider
*arg1
= (wxSlider
*) 0 ;
13470 PyObject
* obj0
= 0 ;
13471 char *kwnames
[] = {
13472 (char *) "self", NULL
13475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
13476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13480 (arg1
)->ClearTicks();
13482 wxPyEndAllowThreads(__tstate
);
13483 if (PyErr_Occurred()) SWIG_fail
;
13485 Py_INCREF(Py_None
); resultobj
= Py_None
;
13492 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13493 PyObject
*resultobj
;
13494 wxSlider
*arg1
= (wxSlider
*) 0 ;
13496 PyObject
* obj0
= 0 ;
13497 PyObject
* obj1
= 0 ;
13498 char *kwnames
[] = {
13499 (char *) "self",(char *) "tickPos", NULL
13502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
13503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13505 arg2
= (int) SWIG_AsInt(obj1
);
13506 if (PyErr_Occurred()) SWIG_fail
;
13508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13509 (arg1
)->SetTick(arg2
);
13511 wxPyEndAllowThreads(__tstate
);
13512 if (PyErr_Occurred()) SWIG_fail
;
13514 Py_INCREF(Py_None
); resultobj
= Py_None
;
13521 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13522 PyObject
*resultobj
;
13523 wxSlider
*arg1
= (wxSlider
*) 0 ;
13524 PyObject
* obj0
= 0 ;
13525 char *kwnames
[] = {
13526 (char *) "self", NULL
13529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
13530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13534 (arg1
)->ClearSel();
13536 wxPyEndAllowThreads(__tstate
);
13537 if (PyErr_Occurred()) SWIG_fail
;
13539 Py_INCREF(Py_None
); resultobj
= Py_None
;
13546 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13547 PyObject
*resultobj
;
13548 wxSlider
*arg1
= (wxSlider
*) 0 ;
13550 PyObject
* obj0
= 0 ;
13551 char *kwnames
[] = {
13552 (char *) "self", NULL
13555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
13556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13560 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
13562 wxPyEndAllowThreads(__tstate
);
13563 if (PyErr_Occurred()) SWIG_fail
;
13565 resultobj
= SWIG_FromInt((int)result
);
13572 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13573 PyObject
*resultobj
;
13574 wxSlider
*arg1
= (wxSlider
*) 0 ;
13576 PyObject
* obj0
= 0 ;
13577 char *kwnames
[] = {
13578 (char *) "self", NULL
13581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
13582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13586 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
13588 wxPyEndAllowThreads(__tstate
);
13589 if (PyErr_Occurred()) SWIG_fail
;
13591 resultobj
= SWIG_FromInt((int)result
);
13598 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13599 PyObject
*resultobj
;
13600 wxSlider
*arg1
= (wxSlider
*) 0 ;
13603 PyObject
* obj0
= 0 ;
13604 PyObject
* obj1
= 0 ;
13605 PyObject
* obj2
= 0 ;
13606 char *kwnames
[] = {
13607 (char *) "self",(char *) "min",(char *) "max", NULL
13610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13613 arg2
= (int) SWIG_AsInt(obj1
);
13614 if (PyErr_Occurred()) SWIG_fail
;
13615 arg3
= (int) SWIG_AsInt(obj2
);
13616 if (PyErr_Occurred()) SWIG_fail
;
13618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13619 (arg1
)->SetSelection(arg2
,arg3
);
13621 wxPyEndAllowThreads(__tstate
);
13622 if (PyErr_Occurred()) SWIG_fail
;
13624 Py_INCREF(Py_None
); resultobj
= Py_None
;
13631 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13632 PyObject
*resultobj
;
13633 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
13634 wxVisualAttributes result
;
13635 PyObject
* obj0
= 0 ;
13636 char *kwnames
[] = {
13637 (char *) "variant", NULL
13640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13642 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
13643 if (PyErr_Occurred()) SWIG_fail
;
13646 if (!wxPyCheckForApp()) SWIG_fail
;
13647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13648 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13650 wxPyEndAllowThreads(__tstate
);
13651 if (PyErr_Occurred()) SWIG_fail
;
13654 wxVisualAttributes
* resultptr
;
13655 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
13656 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13664 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
13666 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13667 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
13669 return Py_BuildValue((char *)"");
13671 static int _wrap_ToggleButtonNameStr_set(PyObject
*_val
) {
13672 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
13677 static PyObject
*_wrap_ToggleButtonNameStr_get() {
13682 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13684 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13691 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13692 PyObject
*resultobj
;
13693 wxWindow
*arg1
= (wxWindow
*) 0 ;
13694 int arg2
= (int) -1 ;
13695 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13696 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13697 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13698 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13699 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13700 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13701 long arg6
= (long) 0 ;
13702 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
13703 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
13704 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
13705 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13706 wxToggleButton
*result
;
13707 bool temp3
= False
;
13710 bool temp8
= False
;
13711 PyObject
* obj0
= 0 ;
13712 PyObject
* obj1
= 0 ;
13713 PyObject
* obj2
= 0 ;
13714 PyObject
* obj3
= 0 ;
13715 PyObject
* obj4
= 0 ;
13716 PyObject
* obj5
= 0 ;
13717 PyObject
* obj6
= 0 ;
13718 PyObject
* obj7
= 0 ;
13719 char *kwnames
[] = {
13720 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
13724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13727 arg2
= (int) SWIG_AsInt(obj1
);
13728 if (PyErr_Occurred()) SWIG_fail
;
13732 arg3
= wxString_in_helper(obj2
);
13733 if (arg3
== NULL
) SWIG_fail
;
13740 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13746 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13750 arg6
= (long) SWIG_AsLong(obj5
);
13751 if (PyErr_Occurred()) SWIG_fail
;
13754 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
13755 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13757 if (arg7
== NULL
) {
13758 PyErr_SetString(PyExc_TypeError
,"null reference");
13764 arg8
= wxString_in_helper(obj7
);
13765 if (arg8
== NULL
) SWIG_fail
;
13770 if (!wxPyCheckForApp()) SWIG_fail
;
13771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13772 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
13774 wxPyEndAllowThreads(__tstate
);
13775 if (PyErr_Occurred()) SWIG_fail
;
13777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13800 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13801 PyObject
*resultobj
;
13802 wxToggleButton
*result
;
13803 char *kwnames
[] = {
13807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
13809 if (!wxPyCheckForApp()) SWIG_fail
;
13810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13811 result
= (wxToggleButton
*)new wxToggleButton();
13813 wxPyEndAllowThreads(__tstate
);
13814 if (PyErr_Occurred()) SWIG_fail
;
13816 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13823 static PyObject
*_wrap_ToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13824 PyObject
*resultobj
;
13825 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13826 wxWindow
*arg2
= (wxWindow
*) 0 ;
13827 int arg3
= (int) -1 ;
13828 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13829 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13830 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13831 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13832 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13833 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13834 long arg7
= (long) 0 ;
13835 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
13836 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
13837 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
13838 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
13840 bool temp4
= False
;
13843 bool temp9
= False
;
13844 PyObject
* obj0
= 0 ;
13845 PyObject
* obj1
= 0 ;
13846 PyObject
* obj2
= 0 ;
13847 PyObject
* obj3
= 0 ;
13848 PyObject
* obj4
= 0 ;
13849 PyObject
* obj5
= 0 ;
13850 PyObject
* obj6
= 0 ;
13851 PyObject
* obj7
= 0 ;
13852 PyObject
* obj8
= 0 ;
13853 char *kwnames
[] = {
13854 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
13858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13860 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13863 arg3
= (int) SWIG_AsInt(obj2
);
13864 if (PyErr_Occurred()) SWIG_fail
;
13868 arg4
= wxString_in_helper(obj3
);
13869 if (arg4
== NULL
) SWIG_fail
;
13876 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13882 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13886 arg7
= (long) SWIG_AsLong(obj6
);
13887 if (PyErr_Occurred()) SWIG_fail
;
13890 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
13891 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13893 if (arg8
== NULL
) {
13894 PyErr_SetString(PyExc_TypeError
,"null reference");
13900 arg9
= wxString_in_helper(obj8
);
13901 if (arg9
== NULL
) SWIG_fail
;
13906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13907 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
13909 wxPyEndAllowThreads(__tstate
);
13910 if (PyErr_Occurred()) SWIG_fail
;
13913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13937 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13938 PyObject
*resultobj
;
13939 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13941 PyObject
* obj0
= 0 ;
13942 PyObject
* obj1
= 0 ;
13943 char *kwnames
[] = {
13944 (char *) "self",(char *) "value", NULL
13947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13950 arg2
= (bool) SWIG_AsBool(obj1
);
13951 if (PyErr_Occurred()) SWIG_fail
;
13953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13954 (arg1
)->SetValue(arg2
);
13956 wxPyEndAllowThreads(__tstate
);
13957 if (PyErr_Occurred()) SWIG_fail
;
13959 Py_INCREF(Py_None
); resultobj
= Py_None
;
13966 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13967 PyObject
*resultobj
;
13968 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13970 PyObject
* obj0
= 0 ;
13971 char *kwnames
[] = {
13972 (char *) "self", NULL
13975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
13976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13980 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
13982 wxPyEndAllowThreads(__tstate
);
13983 if (PyErr_Occurred()) SWIG_fail
;
13986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13994 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13995 PyObject
*resultobj
;
13996 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13997 wxString
*arg2
= 0 ;
13998 bool temp2
= False
;
13999 PyObject
* obj0
= 0 ;
14000 PyObject
* obj1
= 0 ;
14001 char *kwnames
[] = {
14002 (char *) "self",(char *) "label", NULL
14005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
14006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14009 arg2
= wxString_in_helper(obj1
);
14010 if (arg2
== NULL
) SWIG_fail
;
14014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14015 (arg1
)->SetLabel((wxString
const &)*arg2
);
14017 wxPyEndAllowThreads(__tstate
);
14018 if (PyErr_Occurred()) SWIG_fail
;
14020 Py_INCREF(Py_None
); resultobj
= Py_None
;
14035 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14036 PyObject
*resultobj
;
14037 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14038 wxVisualAttributes result
;
14039 PyObject
* obj0
= 0 ;
14040 char *kwnames
[] = {
14041 (char *) "variant", NULL
14044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14046 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
14047 if (PyErr_Occurred()) SWIG_fail
;
14050 if (!wxPyCheckForApp()) SWIG_fail
;
14051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14052 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14054 wxPyEndAllowThreads(__tstate
);
14055 if (PyErr_Occurred()) SWIG_fail
;
14058 wxVisualAttributes
* resultptr
;
14059 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14060 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14068 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
14070 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14071 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
14073 return Py_BuildValue((char *)"");
14075 static int _wrap_NOTEBOOK_NAME_set(PyObject
*_val
) {
14076 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
14081 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
14086 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
14088 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
14095 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14096 PyObject
*resultobj
;
14097 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14099 PyObject
* obj0
= 0 ;
14100 char *kwnames
[] = {
14101 (char *) "self", NULL
14104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
14105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14109 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
14111 wxPyEndAllowThreads(__tstate
);
14112 if (PyErr_Occurred()) SWIG_fail
;
14114 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14121 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14122 PyObject
*resultobj
;
14123 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14126 PyObject
* obj0
= 0 ;
14127 PyObject
* obj1
= 0 ;
14128 char *kwnames
[] = {
14129 (char *) "self",(char *) "n", NULL
14132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14135 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14136 if (PyErr_Occurred()) SWIG_fail
;
14138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14139 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
14141 wxPyEndAllowThreads(__tstate
);
14142 if (PyErr_Occurred()) SWIG_fail
;
14145 resultobj
= wxPyMake_wxObject(result
);
14153 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14154 PyObject
*resultobj
;
14155 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14157 PyObject
* obj0
= 0 ;
14158 char *kwnames
[] = {
14159 (char *) "self", NULL
14162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
14163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14167 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
14169 wxPyEndAllowThreads(__tstate
);
14170 if (PyErr_Occurred()) SWIG_fail
;
14172 resultobj
= SWIG_FromInt((int)result
);
14179 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14180 PyObject
*resultobj
;
14181 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14183 wxString
*arg3
= 0 ;
14185 bool temp3
= False
;
14186 PyObject
* obj0
= 0 ;
14187 PyObject
* obj1
= 0 ;
14188 PyObject
* obj2
= 0 ;
14189 char *kwnames
[] = {
14190 (char *) "self",(char *) "n",(char *) "strText", NULL
14193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14196 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14197 if (PyErr_Occurred()) SWIG_fail
;
14199 arg3
= wxString_in_helper(obj2
);
14200 if (arg3
== NULL
) SWIG_fail
;
14204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14205 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
14207 wxPyEndAllowThreads(__tstate
);
14208 if (PyErr_Occurred()) SWIG_fail
;
14211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14227 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14228 PyObject
*resultobj
;
14229 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14232 PyObject
* obj0
= 0 ;
14233 PyObject
* obj1
= 0 ;
14234 char *kwnames
[] = {
14235 (char *) "self",(char *) "n", NULL
14238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
14239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14241 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14242 if (PyErr_Occurred()) SWIG_fail
;
14244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14245 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
14247 wxPyEndAllowThreads(__tstate
);
14248 if (PyErr_Occurred()) SWIG_fail
;
14252 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14254 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14263 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14264 PyObject
*resultobj
;
14265 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14266 wxImageList
*arg2
= (wxImageList
*) 0 ;
14267 PyObject
* obj0
= 0 ;
14268 PyObject
* obj1
= 0 ;
14269 char *kwnames
[] = {
14270 (char *) "self",(char *) "imageList", NULL
14273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14276 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14280 (arg1
)->SetImageList(arg2
);
14282 wxPyEndAllowThreads(__tstate
);
14283 if (PyErr_Occurred()) SWIG_fail
;
14285 Py_INCREF(Py_None
); resultobj
= Py_None
;
14292 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14293 PyObject
*resultobj
;
14294 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14295 wxImageList
*arg2
= (wxImageList
*) 0 ;
14296 PyObject
* obj0
= 0 ;
14297 PyObject
* obj1
= 0 ;
14298 char *kwnames
[] = {
14299 (char *) "self",(char *) "imageList", NULL
14302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14305 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14306 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
14308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14309 (arg1
)->AssignImageList(arg2
);
14311 wxPyEndAllowThreads(__tstate
);
14312 if (PyErr_Occurred()) SWIG_fail
;
14314 Py_INCREF(Py_None
); resultobj
= Py_None
;
14321 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14322 PyObject
*resultobj
;
14323 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14324 wxImageList
*result
;
14325 PyObject
* obj0
= 0 ;
14326 char *kwnames
[] = {
14327 (char *) "self", NULL
14330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
14331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14335 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
14337 wxPyEndAllowThreads(__tstate
);
14338 if (PyErr_Occurred()) SWIG_fail
;
14341 resultobj
= wxPyMake_wxObject(result
);
14349 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14350 PyObject
*resultobj
;
14351 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14354 PyObject
* obj0
= 0 ;
14355 PyObject
* obj1
= 0 ;
14356 char *kwnames
[] = {
14357 (char *) "self",(char *) "n", NULL
14360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
14361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14363 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14364 if (PyErr_Occurred()) SWIG_fail
;
14366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14367 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
14369 wxPyEndAllowThreads(__tstate
);
14370 if (PyErr_Occurred()) SWIG_fail
;
14372 resultobj
= SWIG_FromInt((int)result
);
14379 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14380 PyObject
*resultobj
;
14381 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14385 PyObject
* obj0
= 0 ;
14386 PyObject
* obj1
= 0 ;
14387 PyObject
* obj2
= 0 ;
14388 char *kwnames
[] = {
14389 (char *) "self",(char *) "n",(char *) "imageId", NULL
14392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14395 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14396 if (PyErr_Occurred()) SWIG_fail
;
14397 arg3
= (int) SWIG_AsInt(obj2
);
14398 if (PyErr_Occurred()) SWIG_fail
;
14400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14401 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
14403 wxPyEndAllowThreads(__tstate
);
14404 if (PyErr_Occurred()) SWIG_fail
;
14407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14415 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14416 PyObject
*resultobj
;
14417 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14420 PyObject
* obj0
= 0 ;
14421 PyObject
* obj1
= 0 ;
14422 char *kwnames
[] = {
14423 (char *) "self",(char *) "size", NULL
14426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14431 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14435 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
14437 wxPyEndAllowThreads(__tstate
);
14438 if (PyErr_Occurred()) SWIG_fail
;
14440 Py_INCREF(Py_None
); resultobj
= Py_None
;
14447 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14448 PyObject
*resultobj
;
14449 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14453 PyObject
* obj0
= 0 ;
14454 PyObject
* obj1
= 0 ;
14455 char *kwnames
[] = {
14456 (char *) "self",(char *) "sizePage", NULL
14459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14464 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14468 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14470 wxPyEndAllowThreads(__tstate
);
14471 if (PyErr_Occurred()) SWIG_fail
;
14474 wxSize
* resultptr
;
14475 resultptr
= new wxSize((wxSize
&) result
);
14476 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14484 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14485 PyObject
*resultobj
;
14486 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14489 PyObject
* obj0
= 0 ;
14490 PyObject
* obj1
= 0 ;
14491 char *kwnames
[] = {
14492 (char *) "self",(char *) "n", NULL
14495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14498 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14499 if (PyErr_Occurred()) SWIG_fail
;
14501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14502 result
= (bool)(arg1
)->DeletePage(arg2
);
14504 wxPyEndAllowThreads(__tstate
);
14505 if (PyErr_Occurred()) SWIG_fail
;
14508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14516 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14517 PyObject
*resultobj
;
14518 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14521 PyObject
* obj0
= 0 ;
14522 PyObject
* obj1
= 0 ;
14523 char *kwnames
[] = {
14524 (char *) "self",(char *) "n", NULL
14527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14530 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14531 if (PyErr_Occurred()) SWIG_fail
;
14533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14534 result
= (bool)(arg1
)->RemovePage(arg2
);
14536 wxPyEndAllowThreads(__tstate
);
14537 if (PyErr_Occurred()) SWIG_fail
;
14540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14548 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14549 PyObject
*resultobj
;
14550 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14552 PyObject
* obj0
= 0 ;
14553 char *kwnames
[] = {
14554 (char *) "self", NULL
14557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
14558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14562 result
= (bool)(arg1
)->DeleteAllPages();
14564 wxPyEndAllowThreads(__tstate
);
14565 if (PyErr_Occurred()) SWIG_fail
;
14568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14576 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14577 PyObject
*resultobj
;
14578 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14579 wxWindow
*arg2
= (wxWindow
*) 0 ;
14580 wxString
*arg3
= 0 ;
14581 bool arg4
= (bool) False
;
14582 int arg5
= (int) -1 ;
14584 bool temp3
= False
;
14585 PyObject
* obj0
= 0 ;
14586 PyObject
* obj1
= 0 ;
14587 PyObject
* obj2
= 0 ;
14588 PyObject
* obj3
= 0 ;
14589 PyObject
* obj4
= 0 ;
14590 char *kwnames
[] = {
14591 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14597 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14600 arg3
= wxString_in_helper(obj2
);
14601 if (arg3
== NULL
) SWIG_fail
;
14605 arg4
= (bool) SWIG_AsBool(obj3
);
14606 if (PyErr_Occurred()) SWIG_fail
;
14609 arg5
= (int) SWIG_AsInt(obj4
);
14610 if (PyErr_Occurred()) SWIG_fail
;
14613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14614 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
14616 wxPyEndAllowThreads(__tstate
);
14617 if (PyErr_Occurred()) SWIG_fail
;
14620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14636 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14637 PyObject
*resultobj
;
14638 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14640 wxWindow
*arg3
= (wxWindow
*) 0 ;
14641 wxString
*arg4
= 0 ;
14642 bool arg5
= (bool) False
;
14643 int arg6
= (int) -1 ;
14645 bool temp4
= False
;
14646 PyObject
* obj0
= 0 ;
14647 PyObject
* obj1
= 0 ;
14648 PyObject
* obj2
= 0 ;
14649 PyObject
* obj3
= 0 ;
14650 PyObject
* obj4
= 0 ;
14651 PyObject
* obj5
= 0 ;
14652 char *kwnames
[] = {
14653 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14659 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14660 if (PyErr_Occurred()) SWIG_fail
;
14661 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
14662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14664 arg4
= wxString_in_helper(obj3
);
14665 if (arg4
== NULL
) SWIG_fail
;
14669 arg5
= (bool) SWIG_AsBool(obj4
);
14670 if (PyErr_Occurred()) SWIG_fail
;
14673 arg6
= (int) SWIG_AsInt(obj5
);
14674 if (PyErr_Occurred()) SWIG_fail
;
14677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14678 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
14680 wxPyEndAllowThreads(__tstate
);
14681 if (PyErr_Occurred()) SWIG_fail
;
14684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14700 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14701 PyObject
*resultobj
;
14702 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14705 PyObject
* obj0
= 0 ;
14706 PyObject
* obj1
= 0 ;
14707 char *kwnames
[] = {
14708 (char *) "self",(char *) "n", NULL
14711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14714 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14715 if (PyErr_Occurred()) SWIG_fail
;
14717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14718 result
= (int)(arg1
)->SetSelection(arg2
);
14720 wxPyEndAllowThreads(__tstate
);
14721 if (PyErr_Occurred()) SWIG_fail
;
14723 resultobj
= SWIG_FromInt((int)result
);
14730 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14731 PyObject
*resultobj
;
14732 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14733 bool arg2
= (bool) True
;
14734 PyObject
* obj0
= 0 ;
14735 PyObject
* obj1
= 0 ;
14736 char *kwnames
[] = {
14737 (char *) "self",(char *) "forward", NULL
14740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14744 arg2
= (bool) SWIG_AsBool(obj1
);
14745 if (PyErr_Occurred()) SWIG_fail
;
14748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14749 (arg1
)->AdvanceSelection(arg2
);
14751 wxPyEndAllowThreads(__tstate
);
14752 if (PyErr_Occurred()) SWIG_fail
;
14754 Py_INCREF(Py_None
); resultobj
= Py_None
;
14761 static PyObject
*_wrap_BookCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14762 PyObject
*resultobj
;
14763 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14764 wxVisualAttributes result
;
14765 PyObject
* obj0
= 0 ;
14766 char *kwnames
[] = {
14767 (char *) "variant", NULL
14770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14772 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
14773 if (PyErr_Occurred()) SWIG_fail
;
14776 if (!wxPyCheckForApp()) SWIG_fail
;
14777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14778 result
= wxBookCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14780 wxPyEndAllowThreads(__tstate
);
14781 if (PyErr_Occurred()) SWIG_fail
;
14784 wxVisualAttributes
* resultptr
;
14785 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14786 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14794 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
14796 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14797 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
14799 return Py_BuildValue((char *)"");
14801 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14802 PyObject
*resultobj
;
14803 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14804 int arg2
= (int) 0 ;
14805 int arg3
= (int) -1 ;
14806 int arg4
= (int) -1 ;
14807 wxBookCtrlEvent
*result
;
14808 PyObject
* obj0
= 0 ;
14809 PyObject
* obj1
= 0 ;
14810 PyObject
* obj2
= 0 ;
14811 PyObject
* obj3
= 0 ;
14812 char *kwnames
[] = {
14813 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14818 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14819 if (PyErr_Occurred()) SWIG_fail
;
14822 arg2
= (int) SWIG_AsInt(obj1
);
14823 if (PyErr_Occurred()) SWIG_fail
;
14826 arg3
= (int) SWIG_AsInt(obj2
);
14827 if (PyErr_Occurred()) SWIG_fail
;
14830 arg4
= (int) SWIG_AsInt(obj3
);
14831 if (PyErr_Occurred()) SWIG_fail
;
14834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14835 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
14837 wxPyEndAllowThreads(__tstate
);
14838 if (PyErr_Occurred()) SWIG_fail
;
14840 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlEvent
, 1);
14847 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14848 PyObject
*resultobj
;
14849 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14851 PyObject
* obj0
= 0 ;
14852 char *kwnames
[] = {
14853 (char *) "self", NULL
14856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
14857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14861 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
14863 wxPyEndAllowThreads(__tstate
);
14864 if (PyErr_Occurred()) SWIG_fail
;
14866 resultobj
= SWIG_FromInt((int)result
);
14873 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14874 PyObject
*resultobj
;
14875 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14877 PyObject
* obj0
= 0 ;
14878 PyObject
* obj1
= 0 ;
14879 char *kwnames
[] = {
14880 (char *) "self",(char *) "nSel", NULL
14883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14886 arg2
= (int) SWIG_AsInt(obj1
);
14887 if (PyErr_Occurred()) SWIG_fail
;
14889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14890 (arg1
)->SetSelection(arg2
);
14892 wxPyEndAllowThreads(__tstate
);
14893 if (PyErr_Occurred()) SWIG_fail
;
14895 Py_INCREF(Py_None
); resultobj
= Py_None
;
14902 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14903 PyObject
*resultobj
;
14904 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14906 PyObject
* obj0
= 0 ;
14907 char *kwnames
[] = {
14908 (char *) "self", NULL
14911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
14912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14916 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
14918 wxPyEndAllowThreads(__tstate
);
14919 if (PyErr_Occurred()) SWIG_fail
;
14921 resultobj
= SWIG_FromInt((int)result
);
14928 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14929 PyObject
*resultobj
;
14930 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14932 PyObject
* obj0
= 0 ;
14933 PyObject
* obj1
= 0 ;
14934 char *kwnames
[] = {
14935 (char *) "self",(char *) "nOldSel", NULL
14938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14941 arg2
= (int) SWIG_AsInt(obj1
);
14942 if (PyErr_Occurred()) SWIG_fail
;
14944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14945 (arg1
)->SetOldSelection(arg2
);
14947 wxPyEndAllowThreads(__tstate
);
14948 if (PyErr_Occurred()) SWIG_fail
;
14950 Py_INCREF(Py_None
); resultobj
= Py_None
;
14957 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14959 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14960 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
14962 return Py_BuildValue((char *)"");
14964 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14965 PyObject
*resultobj
;
14966 wxWindow
*arg1
= (wxWindow
*) 0 ;
14967 int arg2
= (int) -1 ;
14968 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14969 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14970 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14971 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14972 long arg5
= (long) 0 ;
14973 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
14974 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14975 wxNotebook
*result
;
14978 bool temp6
= False
;
14979 PyObject
* obj0
= 0 ;
14980 PyObject
* obj1
= 0 ;
14981 PyObject
* obj2
= 0 ;
14982 PyObject
* obj3
= 0 ;
14983 PyObject
* obj4
= 0 ;
14984 PyObject
* obj5
= 0 ;
14985 char *kwnames
[] = {
14986 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14993 arg2
= (int) SWIG_AsInt(obj1
);
14994 if (PyErr_Occurred()) SWIG_fail
;
14999 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15005 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15009 arg5
= (long) SWIG_AsLong(obj4
);
15010 if (PyErr_Occurred()) SWIG_fail
;
15014 arg6
= wxString_in_helper(obj5
);
15015 if (arg6
== NULL
) SWIG_fail
;
15020 if (!wxPyCheckForApp()) SWIG_fail
;
15021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15022 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15024 wxPyEndAllowThreads(__tstate
);
15025 if (PyErr_Occurred()) SWIG_fail
;
15028 resultobj
= wxPyMake_wxObject(result
);
15044 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15045 PyObject
*resultobj
;
15046 wxNotebook
*result
;
15047 char *kwnames
[] = {
15051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
15053 if (!wxPyCheckForApp()) SWIG_fail
;
15054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15055 result
= (wxNotebook
*)new wxNotebook();
15057 wxPyEndAllowThreads(__tstate
);
15058 if (PyErr_Occurred()) SWIG_fail
;
15061 resultobj
= wxPyMake_wxObject(result
);
15069 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15070 PyObject
*resultobj
;
15071 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15072 wxWindow
*arg2
= (wxWindow
*) 0 ;
15073 int arg3
= (int) -1 ;
15074 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15075 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15076 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15077 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15078 long arg6
= (long) 0 ;
15079 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
15080 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15084 bool temp7
= False
;
15085 PyObject
* obj0
= 0 ;
15086 PyObject
* obj1
= 0 ;
15087 PyObject
* obj2
= 0 ;
15088 PyObject
* obj3
= 0 ;
15089 PyObject
* obj4
= 0 ;
15090 PyObject
* obj5
= 0 ;
15091 PyObject
* obj6
= 0 ;
15092 char *kwnames
[] = {
15093 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15099 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15102 arg3
= (int) SWIG_AsInt(obj2
);
15103 if (PyErr_Occurred()) SWIG_fail
;
15108 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15114 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15118 arg6
= (long) SWIG_AsLong(obj5
);
15119 if (PyErr_Occurred()) SWIG_fail
;
15123 arg7
= wxString_in_helper(obj6
);
15124 if (arg7
== NULL
) SWIG_fail
;
15129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15130 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15132 wxPyEndAllowThreads(__tstate
);
15133 if (PyErr_Occurred()) SWIG_fail
;
15136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15152 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15153 PyObject
*resultobj
;
15154 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15156 PyObject
* obj0
= 0 ;
15157 char *kwnames
[] = {
15158 (char *) "self", NULL
15161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
15162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15166 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
15168 wxPyEndAllowThreads(__tstate
);
15169 if (PyErr_Occurred()) SWIG_fail
;
15171 resultobj
= SWIG_FromInt((int)result
);
15178 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15179 PyObject
*resultobj
;
15180 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15183 PyObject
* obj0
= 0 ;
15184 PyObject
* obj1
= 0 ;
15185 char *kwnames
[] = {
15186 (char *) "self",(char *) "padding", NULL
15189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
15190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15194 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15198 (arg1
)->SetPadding((wxSize
const &)*arg2
);
15200 wxPyEndAllowThreads(__tstate
);
15201 if (PyErr_Occurred()) SWIG_fail
;
15203 Py_INCREF(Py_None
); resultobj
= Py_None
;
15210 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15211 PyObject
*resultobj
;
15212 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15215 PyObject
* obj0
= 0 ;
15216 PyObject
* obj1
= 0 ;
15217 char *kwnames
[] = {
15218 (char *) "self",(char *) "sz", NULL
15221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15226 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15230 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
15232 wxPyEndAllowThreads(__tstate
);
15233 if (PyErr_Occurred()) SWIG_fail
;
15235 Py_INCREF(Py_None
); resultobj
= Py_None
;
15242 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15243 PyObject
*resultobj
;
15244 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15245 wxPoint
*arg2
= 0 ;
15246 long *arg3
= (long *) 0 ;
15250 PyObject
* obj0
= 0 ;
15251 PyObject
* obj1
= 0 ;
15252 char *kwnames
[] = {
15253 (char *) "self",(char *) "pt", NULL
15257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
15258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15262 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15266 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
15268 wxPyEndAllowThreads(__tstate
);
15269 if (PyErr_Occurred()) SWIG_fail
;
15271 resultobj
= SWIG_FromInt((int)result
);
15273 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15274 resultobj
= t_output_helper(resultobj
,o
);
15282 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15283 PyObject
*resultobj
;
15284 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15288 PyObject
* obj0
= 0 ;
15289 PyObject
* obj1
= 0 ;
15290 char *kwnames
[] = {
15291 (char *) "self",(char *) "sizePage", NULL
15294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
15295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15299 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15303 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
15305 wxPyEndAllowThreads(__tstate
);
15306 if (PyErr_Occurred()) SWIG_fail
;
15309 wxSize
* resultptr
;
15310 resultptr
= new wxSize((wxSize
&) result
);
15311 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15319 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15320 PyObject
*resultobj
;
15321 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
15322 wxVisualAttributes result
;
15323 PyObject
* obj0
= 0 ;
15324 char *kwnames
[] = {
15325 (char *) "variant", NULL
15328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15330 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
15331 if (PyErr_Occurred()) SWIG_fail
;
15334 if (!wxPyCheckForApp()) SWIG_fail
;
15335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15336 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15338 wxPyEndAllowThreads(__tstate
);
15339 if (PyErr_Occurred()) SWIG_fail
;
15342 wxVisualAttributes
* resultptr
;
15343 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
15344 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15352 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
15354 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15355 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
15357 return Py_BuildValue((char *)"");
15359 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15360 PyObject
*resultobj
;
15361 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15362 int arg2
= (int) 0 ;
15363 int arg3
= (int) -1 ;
15364 int arg4
= (int) -1 ;
15365 wxNotebookEvent
*result
;
15366 PyObject
* obj0
= 0 ;
15367 PyObject
* obj1
= 0 ;
15368 PyObject
* obj2
= 0 ;
15369 PyObject
* obj3
= 0 ;
15370 char *kwnames
[] = {
15371 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15376 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15377 if (PyErr_Occurred()) SWIG_fail
;
15380 arg2
= (int) SWIG_AsInt(obj1
);
15381 if (PyErr_Occurred()) SWIG_fail
;
15384 arg3
= (int) SWIG_AsInt(obj2
);
15385 if (PyErr_Occurred()) SWIG_fail
;
15388 arg4
= (int) SWIG_AsInt(obj3
);
15389 if (PyErr_Occurred()) SWIG_fail
;
15392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15393 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
15395 wxPyEndAllowThreads(__tstate
);
15396 if (PyErr_Occurred()) SWIG_fail
;
15398 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
15405 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15407 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15408 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
15410 return Py_BuildValue((char *)"");
15412 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15413 PyObject
*resultobj
;
15414 wxWindow
*arg1
= (wxWindow
*) 0 ;
15415 int arg2
= (int) -1 ;
15416 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15417 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15418 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15419 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15420 long arg5
= (long) 0 ;
15421 wxString
const &arg6_defvalue
= wxPyEmptyString
;
15422 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15423 wxListbook
*result
;
15426 bool temp6
= False
;
15427 PyObject
* obj0
= 0 ;
15428 PyObject
* obj1
= 0 ;
15429 PyObject
* obj2
= 0 ;
15430 PyObject
* obj3
= 0 ;
15431 PyObject
* obj4
= 0 ;
15432 PyObject
* obj5
= 0 ;
15433 char *kwnames
[] = {
15434 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15441 arg2
= (int) SWIG_AsInt(obj1
);
15442 if (PyErr_Occurred()) SWIG_fail
;
15447 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15453 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15457 arg5
= (long) SWIG_AsLong(obj4
);
15458 if (PyErr_Occurred()) SWIG_fail
;
15462 arg6
= wxString_in_helper(obj5
);
15463 if (arg6
== NULL
) SWIG_fail
;
15468 if (!wxPyCheckForApp()) SWIG_fail
;
15469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15470 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15472 wxPyEndAllowThreads(__tstate
);
15473 if (PyErr_Occurred()) SWIG_fail
;
15475 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15490 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15491 PyObject
*resultobj
;
15492 wxListbook
*result
;
15493 char *kwnames
[] = {
15497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
15499 if (!wxPyCheckForApp()) SWIG_fail
;
15500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15501 result
= (wxListbook
*)new wxListbook();
15503 wxPyEndAllowThreads(__tstate
);
15504 if (PyErr_Occurred()) SWIG_fail
;
15506 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15513 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15514 PyObject
*resultobj
;
15515 wxListbook
*arg1
= (wxListbook
*) 0 ;
15516 wxWindow
*arg2
= (wxWindow
*) 0 ;
15517 int arg3
= (int) -1 ;
15518 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15519 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15520 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15521 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15522 long arg6
= (long) 0 ;
15523 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15524 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15528 bool temp7
= False
;
15529 PyObject
* obj0
= 0 ;
15530 PyObject
* obj1
= 0 ;
15531 PyObject
* obj2
= 0 ;
15532 PyObject
* obj3
= 0 ;
15533 PyObject
* obj4
= 0 ;
15534 PyObject
* obj5
= 0 ;
15535 PyObject
* obj6
= 0 ;
15536 char *kwnames
[] = {
15537 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15543 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15546 arg3
= (int) SWIG_AsInt(obj2
);
15547 if (PyErr_Occurred()) SWIG_fail
;
15552 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15558 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15562 arg6
= (long) SWIG_AsLong(obj5
);
15563 if (PyErr_Occurred()) SWIG_fail
;
15567 arg7
= wxString_in_helper(obj6
);
15568 if (arg7
== NULL
) SWIG_fail
;
15573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15574 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15576 wxPyEndAllowThreads(__tstate
);
15577 if (PyErr_Occurred()) SWIG_fail
;
15580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15596 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15597 PyObject
*resultobj
;
15598 wxListbook
*arg1
= (wxListbook
*) 0 ;
15600 PyObject
* obj0
= 0 ;
15601 char *kwnames
[] = {
15602 (char *) "self", NULL
15605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
15606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15610 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
15612 wxPyEndAllowThreads(__tstate
);
15613 if (PyErr_Occurred()) SWIG_fail
;
15616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15624 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
15626 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15627 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
15629 return Py_BuildValue((char *)"");
15631 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15632 PyObject
*resultobj
;
15633 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15634 int arg2
= (int) 0 ;
15635 int arg3
= (int) -1 ;
15636 int arg4
= (int) -1 ;
15637 wxListbookEvent
*result
;
15638 PyObject
* obj0
= 0 ;
15639 PyObject
* obj1
= 0 ;
15640 PyObject
* obj2
= 0 ;
15641 PyObject
* obj3
= 0 ;
15642 char *kwnames
[] = {
15643 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15648 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15649 if (PyErr_Occurred()) SWIG_fail
;
15652 arg2
= (int) SWIG_AsInt(obj1
);
15653 if (PyErr_Occurred()) SWIG_fail
;
15656 arg3
= (int) SWIG_AsInt(obj2
);
15657 if (PyErr_Occurred()) SWIG_fail
;
15660 arg4
= (int) SWIG_AsInt(obj3
);
15661 if (PyErr_Occurred()) SWIG_fail
;
15664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15665 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
15667 wxPyEndAllowThreads(__tstate
);
15668 if (PyErr_Occurred()) SWIG_fail
;
15670 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
15677 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15679 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15680 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
15682 return Py_BuildValue((char *)"");
15684 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15685 PyObject
*resultobj
;
15686 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
15687 wxBookCtrlSizer
*result
;
15688 PyObject
* obj0
= 0 ;
15689 char *kwnames
[] = {
15690 (char *) "nb", NULL
15693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
15694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
15695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15698 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
15700 wxPyEndAllowThreads(__tstate
);
15701 if (PyErr_Occurred()) SWIG_fail
;
15703 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
15710 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15711 PyObject
*resultobj
;
15712 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15713 PyObject
* obj0
= 0 ;
15714 char *kwnames
[] = {
15715 (char *) "self", NULL
15718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15723 (arg1
)->RecalcSizes();
15725 wxPyEndAllowThreads(__tstate
);
15726 if (PyErr_Occurred()) SWIG_fail
;
15728 Py_INCREF(Py_None
); resultobj
= Py_None
;
15735 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15736 PyObject
*resultobj
;
15737 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15739 PyObject
* obj0
= 0 ;
15740 char *kwnames
[] = {
15741 (char *) "self", NULL
15744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
15745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15749 result
= (arg1
)->CalcMin();
15751 wxPyEndAllowThreads(__tstate
);
15752 if (PyErr_Occurred()) SWIG_fail
;
15755 wxSize
* resultptr
;
15756 resultptr
= new wxSize((wxSize
&) result
);
15757 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15765 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15766 PyObject
*resultobj
;
15767 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15768 wxBookCtrl
*result
;
15769 PyObject
* obj0
= 0 ;
15770 char *kwnames
[] = {
15771 (char *) "self", NULL
15774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
15775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15779 result
= (wxBookCtrl
*)(arg1
)->GetControl();
15781 wxPyEndAllowThreads(__tstate
);
15782 if (PyErr_Occurred()) SWIG_fail
;
15784 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrl
, 0);
15791 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
15793 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15794 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
15796 return Py_BuildValue((char *)"");
15798 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15799 PyObject
*resultobj
;
15800 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15801 wxNotebookSizer
*result
;
15802 PyObject
* obj0
= 0 ;
15803 char *kwnames
[] = {
15804 (char *) "nb", NULL
15807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
15808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15812 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
15814 wxPyEndAllowThreads(__tstate
);
15815 if (PyErr_Occurred()) SWIG_fail
;
15817 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
15824 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15825 PyObject
*resultobj
;
15826 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15827 PyObject
* obj0
= 0 ;
15828 char *kwnames
[] = {
15829 (char *) "self", NULL
15832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15837 (arg1
)->RecalcSizes();
15839 wxPyEndAllowThreads(__tstate
);
15840 if (PyErr_Occurred()) SWIG_fail
;
15842 Py_INCREF(Py_None
); resultobj
= Py_None
;
15849 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15850 PyObject
*resultobj
;
15851 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15853 PyObject
* obj0
= 0 ;
15854 char *kwnames
[] = {
15855 (char *) "self", NULL
15858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
15859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15863 result
= (arg1
)->CalcMin();
15865 wxPyEndAllowThreads(__tstate
);
15866 if (PyErr_Occurred()) SWIG_fail
;
15869 wxSize
* resultptr
;
15870 resultptr
= new wxSize((wxSize
&) result
);
15871 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15879 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15880 PyObject
*resultobj
;
15881 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15882 wxNotebook
*result
;
15883 PyObject
* obj0
= 0 ;
15884 char *kwnames
[] = {
15885 (char *) "self", NULL
15888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
15889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15893 result
= (wxNotebook
*)(arg1
)->GetNotebook();
15895 wxPyEndAllowThreads(__tstate
);
15896 if (PyErr_Occurred()) SWIG_fail
;
15899 resultobj
= wxPyMake_wxObject(result
);
15907 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
15909 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15910 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
15912 return Py_BuildValue((char *)"");
15914 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15915 PyObject
*resultobj
;
15916 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15918 PyObject
* obj0
= 0 ;
15919 char *kwnames
[] = {
15920 (char *) "self", NULL
15923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
15924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15928 result
= (int)(arg1
)->GetId();
15930 wxPyEndAllowThreads(__tstate
);
15931 if (PyErr_Occurred()) SWIG_fail
;
15933 resultobj
= SWIG_FromInt((int)result
);
15940 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15941 PyObject
*resultobj
;
15942 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15944 PyObject
* obj0
= 0 ;
15945 char *kwnames
[] = {
15946 (char *) "self", NULL
15949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
15950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15954 result
= (wxControl
*)(arg1
)->GetControl();
15956 wxPyEndAllowThreads(__tstate
);
15957 if (PyErr_Occurred()) SWIG_fail
;
15960 resultobj
= wxPyMake_wxObject(result
);
15968 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15969 PyObject
*resultobj
;
15970 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15971 wxToolBarBase
*result
;
15972 PyObject
* obj0
= 0 ;
15973 char *kwnames
[] = {
15974 (char *) "self", NULL
15977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
15978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15982 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
15984 wxPyEndAllowThreads(__tstate
);
15985 if (PyErr_Occurred()) SWIG_fail
;
15988 resultobj
= wxPyMake_wxObject(result
);
15996 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15997 PyObject
*resultobj
;
15998 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16000 PyObject
* obj0
= 0 ;
16001 char *kwnames
[] = {
16002 (char *) "self", NULL
16005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
16006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16010 result
= (int)(arg1
)->IsButton();
16012 wxPyEndAllowThreads(__tstate
);
16013 if (PyErr_Occurred()) SWIG_fail
;
16015 resultobj
= SWIG_FromInt((int)result
);
16022 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16023 PyObject
*resultobj
;
16024 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16026 PyObject
* obj0
= 0 ;
16027 char *kwnames
[] = {
16028 (char *) "self", NULL
16031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
16032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16036 result
= (int)(arg1
)->IsControl();
16038 wxPyEndAllowThreads(__tstate
);
16039 if (PyErr_Occurred()) SWIG_fail
;
16041 resultobj
= SWIG_FromInt((int)result
);
16048 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16049 PyObject
*resultobj
;
16050 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16052 PyObject
* obj0
= 0 ;
16053 char *kwnames
[] = {
16054 (char *) "self", NULL
16057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
16058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16062 result
= (int)(arg1
)->IsSeparator();
16064 wxPyEndAllowThreads(__tstate
);
16065 if (PyErr_Occurred()) SWIG_fail
;
16067 resultobj
= SWIG_FromInt((int)result
);
16074 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16075 PyObject
*resultobj
;
16076 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16078 PyObject
* obj0
= 0 ;
16079 char *kwnames
[] = {
16080 (char *) "self", NULL
16083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16088 result
= (int)(arg1
)->GetStyle();
16090 wxPyEndAllowThreads(__tstate
);
16091 if (PyErr_Occurred()) SWIG_fail
;
16093 resultobj
= SWIG_FromInt((int)result
);
16100 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16101 PyObject
*resultobj
;
16102 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16104 PyObject
* obj0
= 0 ;
16105 char *kwnames
[] = {
16106 (char *) "self", NULL
16109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
16110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16114 result
= (int)(arg1
)->GetKind();
16116 wxPyEndAllowThreads(__tstate
);
16117 if (PyErr_Occurred()) SWIG_fail
;
16119 resultobj
= SWIG_FromInt((int)result
);
16126 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16127 PyObject
*resultobj
;
16128 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16130 PyObject
* obj0
= 0 ;
16131 char *kwnames
[] = {
16132 (char *) "self", NULL
16135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
16136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16140 result
= (bool)(arg1
)->IsEnabled();
16142 wxPyEndAllowThreads(__tstate
);
16143 if (PyErr_Occurred()) SWIG_fail
;
16146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16154 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16155 PyObject
*resultobj
;
16156 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16158 PyObject
* obj0
= 0 ;
16159 char *kwnames
[] = {
16160 (char *) "self", NULL
16163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
16164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16168 result
= (bool)(arg1
)->IsToggled();
16170 wxPyEndAllowThreads(__tstate
);
16171 if (PyErr_Occurred()) SWIG_fail
;
16174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16182 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16183 PyObject
*resultobj
;
16184 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16186 PyObject
* obj0
= 0 ;
16187 char *kwnames
[] = {
16188 (char *) "self", NULL
16191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
16192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16196 result
= (bool)(arg1
)->CanBeToggled();
16198 wxPyEndAllowThreads(__tstate
);
16199 if (PyErr_Occurred()) SWIG_fail
;
16202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16210 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16211 PyObject
*resultobj
;
16212 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16214 PyObject
* obj0
= 0 ;
16215 char *kwnames
[] = {
16216 (char *) "self", NULL
16219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
16220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16225 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
16226 result
= (wxBitmap
*) &_result_ref
;
16229 wxPyEndAllowThreads(__tstate
);
16230 if (PyErr_Occurred()) SWIG_fail
;
16233 wxBitmap
* resultptr
= new wxBitmap(*result
);
16234 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16242 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16243 PyObject
*resultobj
;
16244 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16246 PyObject
* obj0
= 0 ;
16247 char *kwnames
[] = {
16248 (char *) "self", NULL
16251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
16252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16257 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
16258 result
= (wxBitmap
*) &_result_ref
;
16261 wxPyEndAllowThreads(__tstate
);
16262 if (PyErr_Occurred()) SWIG_fail
;
16265 wxBitmap
* resultptr
= new wxBitmap(*result
);
16266 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16274 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16275 PyObject
*resultobj
;
16276 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16278 PyObject
* obj0
= 0 ;
16279 char *kwnames
[] = {
16280 (char *) "self", NULL
16283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
16284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16288 result
= (arg1
)->GetBitmap();
16290 wxPyEndAllowThreads(__tstate
);
16291 if (PyErr_Occurred()) SWIG_fail
;
16294 wxBitmap
* resultptr
;
16295 resultptr
= new wxBitmap((wxBitmap
&) result
);
16296 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16304 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16305 PyObject
*resultobj
;
16306 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16308 PyObject
* obj0
= 0 ;
16309 char *kwnames
[] = {
16310 (char *) "self", NULL
16313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
16314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16318 result
= (arg1
)->GetLabel();
16320 wxPyEndAllowThreads(__tstate
);
16321 if (PyErr_Occurred()) SWIG_fail
;
16325 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16327 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16336 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16337 PyObject
*resultobj
;
16338 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16340 PyObject
* obj0
= 0 ;
16341 char *kwnames
[] = {
16342 (char *) "self", NULL
16345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
16346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16350 result
= (arg1
)->GetShortHelp();
16352 wxPyEndAllowThreads(__tstate
);
16353 if (PyErr_Occurred()) SWIG_fail
;
16357 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16359 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16368 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16369 PyObject
*resultobj
;
16370 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16372 PyObject
* obj0
= 0 ;
16373 char *kwnames
[] = {
16374 (char *) "self", NULL
16377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
16378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16382 result
= (arg1
)->GetLongHelp();
16384 wxPyEndAllowThreads(__tstate
);
16385 if (PyErr_Occurred()) SWIG_fail
;
16389 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16391 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16400 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16401 PyObject
*resultobj
;
16402 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16405 PyObject
* obj0
= 0 ;
16406 PyObject
* obj1
= 0 ;
16407 char *kwnames
[] = {
16408 (char *) "self",(char *) "enable", NULL
16411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
16412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16414 arg2
= (bool) SWIG_AsBool(obj1
);
16415 if (PyErr_Occurred()) SWIG_fail
;
16417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16418 result
= (bool)(arg1
)->Enable(arg2
);
16420 wxPyEndAllowThreads(__tstate
);
16421 if (PyErr_Occurred()) SWIG_fail
;
16424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16432 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16433 PyObject
*resultobj
;
16434 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16435 PyObject
* obj0
= 0 ;
16436 char *kwnames
[] = {
16437 (char *) "self", NULL
16440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
16441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16447 wxPyEndAllowThreads(__tstate
);
16448 if (PyErr_Occurred()) SWIG_fail
;
16450 Py_INCREF(Py_None
); resultobj
= Py_None
;
16457 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16458 PyObject
*resultobj
;
16459 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16462 PyObject
* obj0
= 0 ;
16463 PyObject
* obj1
= 0 ;
16464 char *kwnames
[] = {
16465 (char *) "self",(char *) "toggle", NULL
16468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
16469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16471 arg2
= (bool) SWIG_AsBool(obj1
);
16472 if (PyErr_Occurred()) SWIG_fail
;
16474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16475 result
= (bool)(arg1
)->SetToggle(arg2
);
16477 wxPyEndAllowThreads(__tstate
);
16478 if (PyErr_Occurred()) SWIG_fail
;
16481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16489 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16490 PyObject
*resultobj
;
16491 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16492 wxString
*arg2
= 0 ;
16494 bool temp2
= False
;
16495 PyObject
* obj0
= 0 ;
16496 PyObject
* obj1
= 0 ;
16497 char *kwnames
[] = {
16498 (char *) "self",(char *) "help", NULL
16501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16505 arg2
= wxString_in_helper(obj1
);
16506 if (arg2
== NULL
) SWIG_fail
;
16510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16511 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
16513 wxPyEndAllowThreads(__tstate
);
16514 if (PyErr_Occurred()) SWIG_fail
;
16517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16533 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16534 PyObject
*resultobj
;
16535 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16536 wxString
*arg2
= 0 ;
16538 bool temp2
= False
;
16539 PyObject
* obj0
= 0 ;
16540 PyObject
* obj1
= 0 ;
16541 char *kwnames
[] = {
16542 (char *) "self",(char *) "help", NULL
16545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16549 arg2
= wxString_in_helper(obj1
);
16550 if (arg2
== NULL
) SWIG_fail
;
16554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16555 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
16557 wxPyEndAllowThreads(__tstate
);
16558 if (PyErr_Occurred()) SWIG_fail
;
16561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16577 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16578 PyObject
*resultobj
;
16579 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16580 wxBitmap
*arg2
= 0 ;
16581 PyObject
* obj0
= 0 ;
16582 PyObject
* obj1
= 0 ;
16583 char *kwnames
[] = {
16584 (char *) "self",(char *) "bmp", NULL
16587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
16588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16590 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16591 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16593 if (arg2
== NULL
) {
16594 PyErr_SetString(PyExc_TypeError
,"null reference");
16598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16599 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
16601 wxPyEndAllowThreads(__tstate
);
16602 if (PyErr_Occurred()) SWIG_fail
;
16604 Py_INCREF(Py_None
); resultobj
= Py_None
;
16611 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16612 PyObject
*resultobj
;
16613 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16614 wxBitmap
*arg2
= 0 ;
16615 PyObject
* obj0
= 0 ;
16616 PyObject
* obj1
= 0 ;
16617 char *kwnames
[] = {
16618 (char *) "self",(char *) "bmp", NULL
16621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
16622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16624 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16625 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16627 if (arg2
== NULL
) {
16628 PyErr_SetString(PyExc_TypeError
,"null reference");
16632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16633 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
16635 wxPyEndAllowThreads(__tstate
);
16636 if (PyErr_Occurred()) SWIG_fail
;
16638 Py_INCREF(Py_None
); resultobj
= Py_None
;
16645 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16646 PyObject
*resultobj
;
16647 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16648 wxString
*arg2
= 0 ;
16649 bool temp2
= False
;
16650 PyObject
* obj0
= 0 ;
16651 PyObject
* obj1
= 0 ;
16652 char *kwnames
[] = {
16653 (char *) "self",(char *) "label", NULL
16656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
16657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16660 arg2
= wxString_in_helper(obj1
);
16661 if (arg2
== NULL
) SWIG_fail
;
16665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16666 (arg1
)->SetLabel((wxString
const &)*arg2
);
16668 wxPyEndAllowThreads(__tstate
);
16669 if (PyErr_Occurred()) SWIG_fail
;
16671 Py_INCREF(Py_None
); resultobj
= Py_None
;
16686 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16687 PyObject
*resultobj
;
16688 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16689 PyObject
* obj0
= 0 ;
16690 char *kwnames
[] = {
16691 (char *) "self", NULL
16694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
16695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16701 wxPyEndAllowThreads(__tstate
);
16702 if (PyErr_Occurred()) SWIG_fail
;
16704 Py_INCREF(Py_None
); resultobj
= Py_None
;
16711 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16712 PyObject
*resultobj
;
16713 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16714 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
16715 PyObject
* obj0
= 0 ;
16716 PyObject
* obj1
= 0 ;
16717 char *kwnames
[] = {
16718 (char *) "self",(char *) "tbar", NULL
16721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
16722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16724 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
16725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16728 (arg1
)->Attach(arg2
);
16730 wxPyEndAllowThreads(__tstate
);
16731 if (PyErr_Occurred()) SWIG_fail
;
16733 Py_INCREF(Py_None
); resultobj
= Py_None
;
16740 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16741 PyObject
*resultobj
;
16742 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16744 PyObject
* obj0
= 0 ;
16745 char *kwnames
[] = {
16746 (char *) "self", NULL
16749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
16750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16754 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
16756 wxPyEndAllowThreads(__tstate
);
16757 if (PyErr_Occurred()) SWIG_fail
;
16759 resultobj
= result
;
16766 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16767 PyObject
*resultobj
;
16768 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16769 PyObject
*arg2
= (PyObject
*) 0 ;
16770 PyObject
* obj0
= 0 ;
16771 PyObject
* obj1
= 0 ;
16772 char *kwnames
[] = {
16773 (char *) "self",(char *) "clientData", NULL
16776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16782 wxToolBarToolBase_SetClientData(arg1
,arg2
);
16784 wxPyEndAllowThreads(__tstate
);
16785 if (PyErr_Occurred()) SWIG_fail
;
16787 Py_INCREF(Py_None
); resultobj
= Py_None
;
16794 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
16796 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16797 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
16799 return Py_BuildValue((char *)"");
16801 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16802 PyObject
*resultobj
;
16803 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16805 wxString
*arg3
= 0 ;
16806 wxBitmap
*arg4
= 0 ;
16807 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
16808 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
16809 int arg6
= (int) wxITEM_NORMAL
;
16810 wxString
const &arg7_defvalue
= wxPyEmptyString
;
16811 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16812 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16813 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16814 PyObject
*arg9
= (PyObject
*) NULL
;
16815 wxToolBarToolBase
*result
;
16816 bool temp3
= False
;
16817 bool temp7
= False
;
16818 bool temp8
= False
;
16819 PyObject
* obj0
= 0 ;
16820 PyObject
* obj1
= 0 ;
16821 PyObject
* obj2
= 0 ;
16822 PyObject
* obj3
= 0 ;
16823 PyObject
* obj4
= 0 ;
16824 PyObject
* obj5
= 0 ;
16825 PyObject
* obj6
= 0 ;
16826 PyObject
* obj7
= 0 ;
16827 PyObject
* obj8
= 0 ;
16828 char *kwnames
[] = {
16829 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
16833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16835 arg2
= (int) SWIG_AsInt(obj1
);
16836 if (PyErr_Occurred()) SWIG_fail
;
16838 arg3
= wxString_in_helper(obj2
);
16839 if (arg3
== NULL
) SWIG_fail
;
16842 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
16843 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16845 if (arg4
== NULL
) {
16846 PyErr_SetString(PyExc_TypeError
,"null reference");
16850 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16851 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16853 if (arg5
== NULL
) {
16854 PyErr_SetString(PyExc_TypeError
,"null reference");
16859 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
16860 if (PyErr_Occurred()) SWIG_fail
;
16864 arg7
= wxString_in_helper(obj6
);
16865 if (arg7
== NULL
) SWIG_fail
;
16871 arg8
= wxString_in_helper(obj7
);
16872 if (arg8
== NULL
) SWIG_fail
;
16880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16881 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
16883 wxPyEndAllowThreads(__tstate
);
16884 if (PyErr_Occurred()) SWIG_fail
;
16887 resultobj
= wxPyMake_wxObject(result
);
16919 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16920 PyObject
*resultobj
;
16921 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16924 wxString
*arg4
= 0 ;
16925 wxBitmap
*arg5
= 0 ;
16926 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
16927 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
16928 int arg7
= (int) wxITEM_NORMAL
;
16929 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16930 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16931 wxString
const &arg9_defvalue
= wxPyEmptyString
;
16932 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
16933 PyObject
*arg10
= (PyObject
*) NULL
;
16934 wxToolBarToolBase
*result
;
16935 bool temp4
= False
;
16936 bool temp8
= False
;
16937 bool temp9
= False
;
16938 PyObject
* obj0
= 0 ;
16939 PyObject
* obj1
= 0 ;
16940 PyObject
* obj2
= 0 ;
16941 PyObject
* obj3
= 0 ;
16942 PyObject
* obj4
= 0 ;
16943 PyObject
* obj5
= 0 ;
16944 PyObject
* obj6
= 0 ;
16945 PyObject
* obj7
= 0 ;
16946 PyObject
* obj8
= 0 ;
16947 PyObject
* obj9
= 0 ;
16948 char *kwnames
[] = {
16949 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
16953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16955 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16956 if (PyErr_Occurred()) SWIG_fail
;
16957 arg3
= (int) SWIG_AsInt(obj2
);
16958 if (PyErr_Occurred()) SWIG_fail
;
16960 arg4
= wxString_in_helper(obj3
);
16961 if (arg4
== NULL
) SWIG_fail
;
16964 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16965 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16967 if (arg5
== NULL
) {
16968 PyErr_SetString(PyExc_TypeError
,"null reference");
16972 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
16973 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16975 if (arg6
== NULL
) {
16976 PyErr_SetString(PyExc_TypeError
,"null reference");
16981 arg7
= (wxItemKind
) SWIG_AsInt(obj6
);
16982 if (PyErr_Occurred()) SWIG_fail
;
16986 arg8
= wxString_in_helper(obj7
);
16987 if (arg8
== NULL
) SWIG_fail
;
16993 arg9
= wxString_in_helper(obj8
);
16994 if (arg9
== NULL
) SWIG_fail
;
17002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17003 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
);
17005 wxPyEndAllowThreads(__tstate
);
17006 if (PyErr_Occurred()) SWIG_fail
;
17009 resultobj
= wxPyMake_wxObject(result
);
17041 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17042 PyObject
*resultobj
;
17043 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17044 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
17045 wxToolBarToolBase
*result
;
17046 PyObject
* obj0
= 0 ;
17047 PyObject
* obj1
= 0 ;
17048 char *kwnames
[] = {
17049 (char *) "self",(char *) "tool", NULL
17052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
17053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17055 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
17056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17059 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
17061 wxPyEndAllowThreads(__tstate
);
17062 if (PyErr_Occurred()) SWIG_fail
;
17065 resultobj
= wxPyMake_wxObject(result
);
17073 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17074 PyObject
*resultobj
;
17075 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17077 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
17078 wxToolBarToolBase
*result
;
17079 PyObject
* obj0
= 0 ;
17080 PyObject
* obj1
= 0 ;
17081 PyObject
* obj2
= 0 ;
17082 char *kwnames
[] = {
17083 (char *) "self",(char *) "pos",(char *) "tool", NULL
17086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17089 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17090 if (PyErr_Occurred()) SWIG_fail
;
17091 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
17092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17095 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
17097 wxPyEndAllowThreads(__tstate
);
17098 if (PyErr_Occurred()) SWIG_fail
;
17101 resultobj
= wxPyMake_wxObject(result
);
17109 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17110 PyObject
*resultobj
;
17111 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17112 wxControl
*arg2
= (wxControl
*) 0 ;
17113 wxToolBarToolBase
*result
;
17114 PyObject
* obj0
= 0 ;
17115 PyObject
* obj1
= 0 ;
17116 char *kwnames
[] = {
17117 (char *) "self",(char *) "control", NULL
17120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17123 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
17124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17127 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
17129 wxPyEndAllowThreads(__tstate
);
17130 if (PyErr_Occurred()) SWIG_fail
;
17133 resultobj
= wxPyMake_wxObject(result
);
17141 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17142 PyObject
*resultobj
;
17143 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17145 wxControl
*arg3
= (wxControl
*) 0 ;
17146 wxToolBarToolBase
*result
;
17147 PyObject
* obj0
= 0 ;
17148 PyObject
* obj1
= 0 ;
17149 PyObject
* obj2
= 0 ;
17150 char *kwnames
[] = {
17151 (char *) "self",(char *) "pos",(char *) "control", NULL
17154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17157 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17158 if (PyErr_Occurred()) SWIG_fail
;
17159 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
17160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17163 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
17165 wxPyEndAllowThreads(__tstate
);
17166 if (PyErr_Occurred()) SWIG_fail
;
17169 resultobj
= wxPyMake_wxObject(result
);
17177 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17178 PyObject
*resultobj
;
17179 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17182 PyObject
* obj0
= 0 ;
17183 PyObject
* obj1
= 0 ;
17184 char *kwnames
[] = {
17185 (char *) "self",(char *) "id", NULL
17188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17191 arg2
= (int) SWIG_AsInt(obj1
);
17192 if (PyErr_Occurred()) SWIG_fail
;
17194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17195 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
17197 wxPyEndAllowThreads(__tstate
);
17198 if (PyErr_Occurred()) SWIG_fail
;
17201 resultobj
= wxPyMake_wxObject(result
);
17209 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17210 PyObject
*resultobj
;
17211 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17212 wxToolBarToolBase
*result
;
17213 PyObject
* obj0
= 0 ;
17214 char *kwnames
[] = {
17215 (char *) "self", NULL
17218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
17219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17223 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
17225 wxPyEndAllowThreads(__tstate
);
17226 if (PyErr_Occurred()) SWIG_fail
;
17229 resultobj
= wxPyMake_wxObject(result
);
17237 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17238 PyObject
*resultobj
;
17239 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17241 wxToolBarToolBase
*result
;
17242 PyObject
* obj0
= 0 ;
17243 PyObject
* obj1
= 0 ;
17244 char *kwnames
[] = {
17245 (char *) "self",(char *) "pos", NULL
17248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
17249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17251 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17252 if (PyErr_Occurred()) SWIG_fail
;
17254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17255 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
17257 wxPyEndAllowThreads(__tstate
);
17258 if (PyErr_Occurred()) SWIG_fail
;
17261 resultobj
= wxPyMake_wxObject(result
);
17269 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17270 PyObject
*resultobj
;
17271 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17273 wxToolBarToolBase
*result
;
17274 PyObject
* obj0
= 0 ;
17275 PyObject
* obj1
= 0 ;
17276 char *kwnames
[] = {
17277 (char *) "self",(char *) "id", NULL
17280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17283 arg2
= (int) SWIG_AsInt(obj1
);
17284 if (PyErr_Occurred()) SWIG_fail
;
17286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17287 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
17289 wxPyEndAllowThreads(__tstate
);
17290 if (PyErr_Occurred()) SWIG_fail
;
17293 resultobj
= wxPyMake_wxObject(result
);
17301 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17302 PyObject
*resultobj
;
17303 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17306 PyObject
* obj0
= 0 ;
17307 PyObject
* obj1
= 0 ;
17308 char *kwnames
[] = {
17309 (char *) "self",(char *) "pos", NULL
17312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17315 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17316 if (PyErr_Occurred()) SWIG_fail
;
17318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17319 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
17321 wxPyEndAllowThreads(__tstate
);
17322 if (PyErr_Occurred()) SWIG_fail
;
17325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17333 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17334 PyObject
*resultobj
;
17335 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17338 PyObject
* obj0
= 0 ;
17339 PyObject
* obj1
= 0 ;
17340 char *kwnames
[] = {
17341 (char *) "self",(char *) "id", NULL
17344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17347 arg2
= (int) SWIG_AsInt(obj1
);
17348 if (PyErr_Occurred()) SWIG_fail
;
17350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17351 result
= (bool)(arg1
)->DeleteTool(arg2
);
17353 wxPyEndAllowThreads(__tstate
);
17354 if (PyErr_Occurred()) SWIG_fail
;
17357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17365 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17366 PyObject
*resultobj
;
17367 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17368 PyObject
* obj0
= 0 ;
17369 char *kwnames
[] = {
17370 (char *) "self", NULL
17373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
17374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17378 (arg1
)->ClearTools();
17380 wxPyEndAllowThreads(__tstate
);
17381 if (PyErr_Occurred()) SWIG_fail
;
17383 Py_INCREF(Py_None
); resultobj
= Py_None
;
17390 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17391 PyObject
*resultobj
;
17392 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17394 PyObject
* obj0
= 0 ;
17395 char *kwnames
[] = {
17396 (char *) "self", NULL
17399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
17400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17404 result
= (bool)(arg1
)->Realize();
17406 wxPyEndAllowThreads(__tstate
);
17407 if (PyErr_Occurred()) SWIG_fail
;
17410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17418 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17419 PyObject
*resultobj
;
17420 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17423 PyObject
* obj0
= 0 ;
17424 PyObject
* obj1
= 0 ;
17425 PyObject
* obj2
= 0 ;
17426 char *kwnames
[] = {
17427 (char *) "self",(char *) "id",(char *) "enable", NULL
17430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17433 arg2
= (int) SWIG_AsInt(obj1
);
17434 if (PyErr_Occurred()) SWIG_fail
;
17435 arg3
= (bool) SWIG_AsBool(obj2
);
17436 if (PyErr_Occurred()) SWIG_fail
;
17438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17439 (arg1
)->EnableTool(arg2
,arg3
);
17441 wxPyEndAllowThreads(__tstate
);
17442 if (PyErr_Occurred()) SWIG_fail
;
17444 Py_INCREF(Py_None
); resultobj
= Py_None
;
17451 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17452 PyObject
*resultobj
;
17453 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17456 PyObject
* obj0
= 0 ;
17457 PyObject
* obj1
= 0 ;
17458 PyObject
* obj2
= 0 ;
17459 char *kwnames
[] = {
17460 (char *) "self",(char *) "id",(char *) "toggle", NULL
17463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17466 arg2
= (int) SWIG_AsInt(obj1
);
17467 if (PyErr_Occurred()) SWIG_fail
;
17468 arg3
= (bool) SWIG_AsBool(obj2
);
17469 if (PyErr_Occurred()) SWIG_fail
;
17471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17472 (arg1
)->ToggleTool(arg2
,arg3
);
17474 wxPyEndAllowThreads(__tstate
);
17475 if (PyErr_Occurred()) SWIG_fail
;
17477 Py_INCREF(Py_None
); resultobj
= Py_None
;
17484 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17485 PyObject
*resultobj
;
17486 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17489 PyObject
* obj0
= 0 ;
17490 PyObject
* obj1
= 0 ;
17491 PyObject
* obj2
= 0 ;
17492 char *kwnames
[] = {
17493 (char *) "self",(char *) "id",(char *) "toggle", NULL
17496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17499 arg2
= (int) SWIG_AsInt(obj1
);
17500 if (PyErr_Occurred()) SWIG_fail
;
17501 arg3
= (bool) SWIG_AsBool(obj2
);
17502 if (PyErr_Occurred()) SWIG_fail
;
17504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17505 (arg1
)->SetToggle(arg2
,arg3
);
17507 wxPyEndAllowThreads(__tstate
);
17508 if (PyErr_Occurred()) SWIG_fail
;
17510 Py_INCREF(Py_None
); resultobj
= Py_None
;
17517 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17518 PyObject
*resultobj
;
17519 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17522 PyObject
* obj0
= 0 ;
17523 PyObject
* obj1
= 0 ;
17524 char *kwnames
[] = {
17525 (char *) "self",(char *) "id", NULL
17528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
17529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17531 arg2
= (int) SWIG_AsInt(obj1
);
17532 if (PyErr_Occurred()) SWIG_fail
;
17534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17535 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
17537 wxPyEndAllowThreads(__tstate
);
17538 if (PyErr_Occurred()) SWIG_fail
;
17540 resultobj
= result
;
17547 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17548 PyObject
*resultobj
;
17549 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17551 PyObject
*arg3
= (PyObject
*) 0 ;
17552 PyObject
* obj0
= 0 ;
17553 PyObject
* obj1
= 0 ;
17554 PyObject
* obj2
= 0 ;
17555 char *kwnames
[] = {
17556 (char *) "self",(char *) "id",(char *) "clientData", NULL
17559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17562 arg2
= (int) SWIG_AsInt(obj1
);
17563 if (PyErr_Occurred()) SWIG_fail
;
17566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17567 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
17569 wxPyEndAllowThreads(__tstate
);
17570 if (PyErr_Occurred()) SWIG_fail
;
17572 Py_INCREF(Py_None
); resultobj
= Py_None
;
17579 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17580 PyObject
*resultobj
;
17581 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17584 PyObject
* obj0
= 0 ;
17585 PyObject
* obj1
= 0 ;
17586 char *kwnames
[] = {
17587 (char *) "self",(char *) "id", NULL
17590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17593 arg2
= (int) SWIG_AsInt(obj1
);
17594 if (PyErr_Occurred()) SWIG_fail
;
17596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17597 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
17599 wxPyEndAllowThreads(__tstate
);
17600 if (PyErr_Occurred()) SWIG_fail
;
17602 resultobj
= SWIG_FromInt((int)result
);
17609 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17610 PyObject
*resultobj
;
17611 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17614 PyObject
* obj0
= 0 ;
17615 PyObject
* obj1
= 0 ;
17616 char *kwnames
[] = {
17617 (char *) "self",(char *) "id", NULL
17620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
17621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17623 arg2
= (int) SWIG_AsInt(obj1
);
17624 if (PyErr_Occurred()) SWIG_fail
;
17626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17627 result
= (bool)(arg1
)->GetToolState(arg2
);
17629 wxPyEndAllowThreads(__tstate
);
17630 if (PyErr_Occurred()) SWIG_fail
;
17633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17641 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17642 PyObject
*resultobj
;
17643 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17646 PyObject
* obj0
= 0 ;
17647 PyObject
* obj1
= 0 ;
17648 char *kwnames
[] = {
17649 (char *) "self",(char *) "id", NULL
17652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
17653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17655 arg2
= (int) SWIG_AsInt(obj1
);
17656 if (PyErr_Occurred()) SWIG_fail
;
17658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17659 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
17661 wxPyEndAllowThreads(__tstate
);
17662 if (PyErr_Occurred()) SWIG_fail
;
17665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17673 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17674 PyObject
*resultobj
;
17675 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17677 wxString
*arg3
= 0 ;
17678 bool temp3
= False
;
17679 PyObject
* obj0
= 0 ;
17680 PyObject
* obj1
= 0 ;
17681 PyObject
* obj2
= 0 ;
17682 char *kwnames
[] = {
17683 (char *) "self",(char *) "id",(char *) "helpString", NULL
17686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17689 arg2
= (int) SWIG_AsInt(obj1
);
17690 if (PyErr_Occurred()) SWIG_fail
;
17692 arg3
= wxString_in_helper(obj2
);
17693 if (arg3
== NULL
) SWIG_fail
;
17697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17698 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
17700 wxPyEndAllowThreads(__tstate
);
17701 if (PyErr_Occurred()) SWIG_fail
;
17703 Py_INCREF(Py_None
); resultobj
= Py_None
;
17718 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17719 PyObject
*resultobj
;
17720 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17723 PyObject
* obj0
= 0 ;
17724 PyObject
* obj1
= 0 ;
17725 char *kwnames
[] = {
17726 (char *) "self",(char *) "id", NULL
17729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17732 arg2
= (int) SWIG_AsInt(obj1
);
17733 if (PyErr_Occurred()) SWIG_fail
;
17735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17736 result
= (arg1
)->GetToolShortHelp(arg2
);
17738 wxPyEndAllowThreads(__tstate
);
17739 if (PyErr_Occurred()) SWIG_fail
;
17743 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17745 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17754 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17755 PyObject
*resultobj
;
17756 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17758 wxString
*arg3
= 0 ;
17759 bool temp3
= False
;
17760 PyObject
* obj0
= 0 ;
17761 PyObject
* obj1
= 0 ;
17762 PyObject
* obj2
= 0 ;
17763 char *kwnames
[] = {
17764 (char *) "self",(char *) "id",(char *) "helpString", NULL
17767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17770 arg2
= (int) SWIG_AsInt(obj1
);
17771 if (PyErr_Occurred()) SWIG_fail
;
17773 arg3
= wxString_in_helper(obj2
);
17774 if (arg3
== NULL
) SWIG_fail
;
17778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17779 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
17781 wxPyEndAllowThreads(__tstate
);
17782 if (PyErr_Occurred()) SWIG_fail
;
17784 Py_INCREF(Py_None
); resultobj
= Py_None
;
17799 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17800 PyObject
*resultobj
;
17801 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17804 PyObject
* obj0
= 0 ;
17805 PyObject
* obj1
= 0 ;
17806 char *kwnames
[] = {
17807 (char *) "self",(char *) "id", NULL
17810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17813 arg2
= (int) SWIG_AsInt(obj1
);
17814 if (PyErr_Occurred()) SWIG_fail
;
17816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17817 result
= (arg1
)->GetToolLongHelp(arg2
);
17819 wxPyEndAllowThreads(__tstate
);
17820 if (PyErr_Occurred()) SWIG_fail
;
17824 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17826 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17835 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17836 PyObject
*resultobj
;
17837 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17840 PyObject
* obj0
= 0 ;
17841 PyObject
* obj1
= 0 ;
17842 PyObject
* obj2
= 0 ;
17843 char *kwnames
[] = {
17844 (char *) "self",(char *) "x",(char *) "y", NULL
17847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17850 arg2
= (int) SWIG_AsInt(obj1
);
17851 if (PyErr_Occurred()) SWIG_fail
;
17852 arg3
= (int) SWIG_AsInt(obj2
);
17853 if (PyErr_Occurred()) SWIG_fail
;
17855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17856 (arg1
)->SetMargins(arg2
,arg3
);
17858 wxPyEndAllowThreads(__tstate
);
17859 if (PyErr_Occurred()) SWIG_fail
;
17861 Py_INCREF(Py_None
); resultobj
= Py_None
;
17868 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17869 PyObject
*resultobj
;
17870 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17873 PyObject
* obj0
= 0 ;
17874 PyObject
* obj1
= 0 ;
17875 char *kwnames
[] = {
17876 (char *) "self",(char *) "size", NULL
17879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
17880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17884 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17888 (arg1
)->SetMargins((wxSize
const &)*arg2
);
17890 wxPyEndAllowThreads(__tstate
);
17891 if (PyErr_Occurred()) SWIG_fail
;
17893 Py_INCREF(Py_None
); resultobj
= Py_None
;
17900 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17901 PyObject
*resultobj
;
17902 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17904 PyObject
* obj0
= 0 ;
17905 PyObject
* obj1
= 0 ;
17906 char *kwnames
[] = {
17907 (char *) "self",(char *) "packing", NULL
17910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
17911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17913 arg2
= (int) SWIG_AsInt(obj1
);
17914 if (PyErr_Occurred()) SWIG_fail
;
17916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17917 (arg1
)->SetToolPacking(arg2
);
17919 wxPyEndAllowThreads(__tstate
);
17920 if (PyErr_Occurred()) SWIG_fail
;
17922 Py_INCREF(Py_None
); resultobj
= Py_None
;
17929 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17930 PyObject
*resultobj
;
17931 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17933 PyObject
* obj0
= 0 ;
17934 PyObject
* obj1
= 0 ;
17935 char *kwnames
[] = {
17936 (char *) "self",(char *) "separation", NULL
17939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
17940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17942 arg2
= (int) SWIG_AsInt(obj1
);
17943 if (PyErr_Occurred()) SWIG_fail
;
17945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17946 (arg1
)->SetToolSeparation(arg2
);
17948 wxPyEndAllowThreads(__tstate
);
17949 if (PyErr_Occurred()) SWIG_fail
;
17951 Py_INCREF(Py_None
); resultobj
= Py_None
;
17958 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17959 PyObject
*resultobj
;
17960 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17962 PyObject
* obj0
= 0 ;
17963 char *kwnames
[] = {
17964 (char *) "self", NULL
17967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
17968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17972 result
= (arg1
)->GetToolMargins();
17974 wxPyEndAllowThreads(__tstate
);
17975 if (PyErr_Occurred()) SWIG_fail
;
17978 wxSize
* resultptr
;
17979 resultptr
= new wxSize((wxSize
&) result
);
17980 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17988 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17989 PyObject
*resultobj
;
17990 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17992 PyObject
* obj0
= 0 ;
17993 char *kwnames
[] = {
17994 (char *) "self", NULL
17997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
17998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18002 result
= (arg1
)->GetMargins();
18004 wxPyEndAllowThreads(__tstate
);
18005 if (PyErr_Occurred()) SWIG_fail
;
18008 wxSize
* resultptr
;
18009 resultptr
= new wxSize((wxSize
&) result
);
18010 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18018 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18019 PyObject
*resultobj
;
18020 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18022 PyObject
* obj0
= 0 ;
18023 char *kwnames
[] = {
18024 (char *) "self", NULL
18027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
18028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18032 result
= (int)(arg1
)->GetToolPacking();
18034 wxPyEndAllowThreads(__tstate
);
18035 if (PyErr_Occurred()) SWIG_fail
;
18037 resultobj
= SWIG_FromInt((int)result
);
18044 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18045 PyObject
*resultobj
;
18046 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18048 PyObject
* obj0
= 0 ;
18049 char *kwnames
[] = {
18050 (char *) "self", NULL
18053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
18054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18058 result
= (int)(arg1
)->GetToolSeparation();
18060 wxPyEndAllowThreads(__tstate
);
18061 if (PyErr_Occurred()) SWIG_fail
;
18063 resultobj
= SWIG_FromInt((int)result
);
18070 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18071 PyObject
*resultobj
;
18072 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18074 PyObject
* obj0
= 0 ;
18075 PyObject
* obj1
= 0 ;
18076 char *kwnames
[] = {
18077 (char *) "self",(char *) "nRows", NULL
18080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
18081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18083 arg2
= (int) SWIG_AsInt(obj1
);
18084 if (PyErr_Occurred()) SWIG_fail
;
18086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18087 (arg1
)->SetRows(arg2
);
18089 wxPyEndAllowThreads(__tstate
);
18090 if (PyErr_Occurred()) SWIG_fail
;
18092 Py_INCREF(Py_None
); resultobj
= Py_None
;
18099 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18100 PyObject
*resultobj
;
18101 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18104 PyObject
* obj0
= 0 ;
18105 PyObject
* obj1
= 0 ;
18106 PyObject
* obj2
= 0 ;
18107 char *kwnames
[] = {
18108 (char *) "self",(char *) "rows",(char *) "cols", NULL
18111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18114 arg2
= (int) SWIG_AsInt(obj1
);
18115 if (PyErr_Occurred()) SWIG_fail
;
18116 arg3
= (int) SWIG_AsInt(obj2
);
18117 if (PyErr_Occurred()) SWIG_fail
;
18119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18120 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
18122 wxPyEndAllowThreads(__tstate
);
18123 if (PyErr_Occurred()) SWIG_fail
;
18125 Py_INCREF(Py_None
); resultobj
= Py_None
;
18132 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18133 PyObject
*resultobj
;
18134 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18136 PyObject
* obj0
= 0 ;
18137 char *kwnames
[] = {
18138 (char *) "self", NULL
18141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
18142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18146 result
= (int)(arg1
)->GetMaxRows();
18148 wxPyEndAllowThreads(__tstate
);
18149 if (PyErr_Occurred()) SWIG_fail
;
18151 resultobj
= SWIG_FromInt((int)result
);
18158 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18159 PyObject
*resultobj
;
18160 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18162 PyObject
* obj0
= 0 ;
18163 char *kwnames
[] = {
18164 (char *) "self", NULL
18167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
18168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18172 result
= (int)(arg1
)->GetMaxCols();
18174 wxPyEndAllowThreads(__tstate
);
18175 if (PyErr_Occurred()) SWIG_fail
;
18177 resultobj
= SWIG_FromInt((int)result
);
18184 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18185 PyObject
*resultobj
;
18186 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18189 PyObject
* obj0
= 0 ;
18190 PyObject
* obj1
= 0 ;
18191 char *kwnames
[] = {
18192 (char *) "self",(char *) "size", NULL
18195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18200 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18204 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
18206 wxPyEndAllowThreads(__tstate
);
18207 if (PyErr_Occurred()) SWIG_fail
;
18209 Py_INCREF(Py_None
); resultobj
= Py_None
;
18216 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18217 PyObject
*resultobj
;
18218 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18220 PyObject
* obj0
= 0 ;
18221 char *kwnames
[] = {
18222 (char *) "self", NULL
18225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
18226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18230 result
= (arg1
)->GetToolBitmapSize();
18232 wxPyEndAllowThreads(__tstate
);
18233 if (PyErr_Occurred()) SWIG_fail
;
18236 wxSize
* resultptr
;
18237 resultptr
= new wxSize((wxSize
&) result
);
18238 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18246 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18247 PyObject
*resultobj
;
18248 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18250 PyObject
* obj0
= 0 ;
18251 char *kwnames
[] = {
18252 (char *) "self", NULL
18255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
18256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18260 result
= (arg1
)->GetToolSize();
18262 wxPyEndAllowThreads(__tstate
);
18263 if (PyErr_Occurred()) SWIG_fail
;
18266 wxSize
* resultptr
;
18267 resultptr
= new wxSize((wxSize
&) result
);
18268 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18276 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18277 PyObject
*resultobj
;
18278 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18281 wxToolBarToolBase
*result
;
18282 PyObject
* obj0
= 0 ;
18283 PyObject
* obj1
= 0 ;
18284 PyObject
* obj2
= 0 ;
18285 char *kwnames
[] = {
18286 (char *) "self",(char *) "x",(char *) "y", NULL
18289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18292 arg2
= (int) SWIG_AsInt(obj1
);
18293 if (PyErr_Occurred()) SWIG_fail
;
18294 arg3
= (int) SWIG_AsInt(obj2
);
18295 if (PyErr_Occurred()) SWIG_fail
;
18297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18298 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18300 wxPyEndAllowThreads(__tstate
);
18301 if (PyErr_Occurred()) SWIG_fail
;
18304 resultobj
= wxPyMake_wxObject(result
);
18312 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18313 PyObject
*resultobj
;
18314 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18316 wxToolBarToolBase
*result
;
18317 PyObject
* obj0
= 0 ;
18318 PyObject
* obj1
= 0 ;
18319 char *kwnames
[] = {
18320 (char *) "self",(char *) "toolid", NULL
18323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
18324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18326 arg2
= (int) SWIG_AsInt(obj1
);
18327 if (PyErr_Occurred()) SWIG_fail
;
18329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18330 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
18332 wxPyEndAllowThreads(__tstate
);
18333 if (PyErr_Occurred()) SWIG_fail
;
18336 resultobj
= wxPyMake_wxObject(result
);
18344 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18345 PyObject
*resultobj
;
18346 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18348 PyObject
* obj0
= 0 ;
18349 char *kwnames
[] = {
18350 (char *) "self", NULL
18353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
18354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18358 result
= (bool)(arg1
)->IsVertical();
18360 wxPyEndAllowThreads(__tstate
);
18361 if (PyErr_Occurred()) SWIG_fail
;
18364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18372 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
18374 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18375 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
18377 return Py_BuildValue((char *)"");
18379 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18380 PyObject
*resultobj
;
18381 wxWindow
*arg1
= (wxWindow
*) 0 ;
18382 int arg2
= (int) -1 ;
18383 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18384 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18385 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18386 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18387 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18388 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
18389 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18393 bool temp6
= False
;
18394 PyObject
* obj0
= 0 ;
18395 PyObject
* obj1
= 0 ;
18396 PyObject
* obj2
= 0 ;
18397 PyObject
* obj3
= 0 ;
18398 PyObject
* obj4
= 0 ;
18399 PyObject
* obj5
= 0 ;
18400 char *kwnames
[] = {
18401 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18408 arg2
= (int) SWIG_AsInt(obj1
);
18409 if (PyErr_Occurred()) SWIG_fail
;
18414 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18420 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18424 arg5
= (long) SWIG_AsLong(obj4
);
18425 if (PyErr_Occurred()) SWIG_fail
;
18429 arg6
= wxString_in_helper(obj5
);
18430 if (arg6
== NULL
) SWIG_fail
;
18435 if (!wxPyCheckForApp()) SWIG_fail
;
18436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18437 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18439 wxPyEndAllowThreads(__tstate
);
18440 if (PyErr_Occurred()) SWIG_fail
;
18443 resultobj
= wxPyMake_wxObject(result
);
18459 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18460 PyObject
*resultobj
;
18462 char *kwnames
[] = {
18466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
18468 if (!wxPyCheckForApp()) SWIG_fail
;
18469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18470 result
= (wxToolBar
*)new wxToolBar();
18472 wxPyEndAllowThreads(__tstate
);
18473 if (PyErr_Occurred()) SWIG_fail
;
18476 resultobj
= wxPyMake_wxObject(result
);
18484 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18485 PyObject
*resultobj
;
18486 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18487 wxWindow
*arg2
= (wxWindow
*) 0 ;
18488 int arg3
= (int) -1 ;
18489 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18490 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18491 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18492 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18493 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18494 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
18495 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18499 bool temp7
= False
;
18500 PyObject
* obj0
= 0 ;
18501 PyObject
* obj1
= 0 ;
18502 PyObject
* obj2
= 0 ;
18503 PyObject
* obj3
= 0 ;
18504 PyObject
* obj4
= 0 ;
18505 PyObject
* obj5
= 0 ;
18506 PyObject
* obj6
= 0 ;
18507 char *kwnames
[] = {
18508 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18514 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18517 arg3
= (int) SWIG_AsInt(obj2
);
18518 if (PyErr_Occurred()) SWIG_fail
;
18523 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18529 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18533 arg6
= (long) SWIG_AsLong(obj5
);
18534 if (PyErr_Occurred()) SWIG_fail
;
18538 arg7
= wxString_in_helper(obj6
);
18539 if (arg7
== NULL
) SWIG_fail
;
18544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18545 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18547 wxPyEndAllowThreads(__tstate
);
18548 if (PyErr_Occurred()) SWIG_fail
;
18551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18567 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18568 PyObject
*resultobj
;
18569 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18572 wxToolBarToolBase
*result
;
18573 PyObject
* obj0
= 0 ;
18574 PyObject
* obj1
= 0 ;
18575 PyObject
* obj2
= 0 ;
18576 char *kwnames
[] = {
18577 (char *) "self",(char *) "x",(char *) "y", NULL
18580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18583 arg2
= (int) SWIG_AsInt(obj1
);
18584 if (PyErr_Occurred()) SWIG_fail
;
18585 arg3
= (int) SWIG_AsInt(obj2
);
18586 if (PyErr_Occurred()) SWIG_fail
;
18588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18589 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18591 wxPyEndAllowThreads(__tstate
);
18592 if (PyErr_Occurred()) SWIG_fail
;
18595 resultobj
= wxPyMake_wxObject(result
);
18603 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18604 PyObject
*resultobj
;
18605 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
18606 wxVisualAttributes result
;
18607 PyObject
* obj0
= 0 ;
18608 char *kwnames
[] = {
18609 (char *) "variant", NULL
18612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18614 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
18615 if (PyErr_Occurred()) SWIG_fail
;
18618 if (!wxPyCheckForApp()) SWIG_fail
;
18619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18620 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
18622 wxPyEndAllowThreads(__tstate
);
18623 if (PyErr_Occurred()) SWIG_fail
;
18626 wxVisualAttributes
* resultptr
;
18627 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
18628 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18636 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
18638 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18639 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
18641 return Py_BuildValue((char *)"");
18643 static int _wrap_ListCtrlNameStr_set(PyObject
*_val
) {
18644 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
18649 static PyObject
*_wrap_ListCtrlNameStr_get() {
18654 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
18656 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
18663 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18664 PyObject
*resultobj
;
18665 wxColour
const &arg1_defvalue
= wxNullColour
;
18666 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
18667 wxColour
const &arg2_defvalue
= wxNullColour
;
18668 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
18669 wxFont
const &arg3_defvalue
= wxNullFont
;
18670 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
18671 wxListItemAttr
*result
;
18674 PyObject
* obj0
= 0 ;
18675 PyObject
* obj1
= 0 ;
18676 PyObject
* obj2
= 0 ;
18677 char *kwnames
[] = {
18678 (char *) "colText",(char *) "colBack",(char *) "font", NULL
18681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18685 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
18691 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18695 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
18696 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18698 if (arg3
== NULL
) {
18699 PyErr_SetString(PyExc_TypeError
,"null reference");
18704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18705 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
18707 wxPyEndAllowThreads(__tstate
);
18708 if (PyErr_Occurred()) SWIG_fail
;
18710 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
18717 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18718 PyObject
*resultobj
;
18719 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18720 wxColour
*arg2
= 0 ;
18722 PyObject
* obj0
= 0 ;
18723 PyObject
* obj1
= 0 ;
18724 char *kwnames
[] = {
18725 (char *) "self",(char *) "colText", NULL
18728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18733 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18737 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18739 wxPyEndAllowThreads(__tstate
);
18740 if (PyErr_Occurred()) SWIG_fail
;
18742 Py_INCREF(Py_None
); resultobj
= Py_None
;
18749 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18750 PyObject
*resultobj
;
18751 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18752 wxColour
*arg2
= 0 ;
18754 PyObject
* obj0
= 0 ;
18755 PyObject
* obj1
= 0 ;
18756 char *kwnames
[] = {
18757 (char *) "self",(char *) "colBack", NULL
18760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18765 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18769 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18771 wxPyEndAllowThreads(__tstate
);
18772 if (PyErr_Occurred()) SWIG_fail
;
18774 Py_INCREF(Py_None
); resultobj
= Py_None
;
18781 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18782 PyObject
*resultobj
;
18783 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18785 PyObject
* obj0
= 0 ;
18786 PyObject
* obj1
= 0 ;
18787 char *kwnames
[] = {
18788 (char *) "self",(char *) "font", NULL
18791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18794 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18795 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18797 if (arg2
== NULL
) {
18798 PyErr_SetString(PyExc_TypeError
,"null reference");
18802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18803 (arg1
)->SetFont((wxFont
const &)*arg2
);
18805 wxPyEndAllowThreads(__tstate
);
18806 if (PyErr_Occurred()) SWIG_fail
;
18808 Py_INCREF(Py_None
); resultobj
= Py_None
;
18815 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18816 PyObject
*resultobj
;
18817 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18819 PyObject
* obj0
= 0 ;
18820 char *kwnames
[] = {
18821 (char *) "self", NULL
18824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
18825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18829 result
= (bool)(arg1
)->HasTextColour();
18831 wxPyEndAllowThreads(__tstate
);
18832 if (PyErr_Occurred()) SWIG_fail
;
18835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18843 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18844 PyObject
*resultobj
;
18845 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18847 PyObject
* obj0
= 0 ;
18848 char *kwnames
[] = {
18849 (char *) "self", NULL
18852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
18853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18857 result
= (bool)(arg1
)->HasBackgroundColour();
18859 wxPyEndAllowThreads(__tstate
);
18860 if (PyErr_Occurred()) SWIG_fail
;
18863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18871 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18872 PyObject
*resultobj
;
18873 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18875 PyObject
* obj0
= 0 ;
18876 char *kwnames
[] = {
18877 (char *) "self", NULL
18880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
18881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18885 result
= (bool)(arg1
)->HasFont();
18887 wxPyEndAllowThreads(__tstate
);
18888 if (PyErr_Occurred()) SWIG_fail
;
18891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18899 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18900 PyObject
*resultobj
;
18901 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18903 PyObject
* obj0
= 0 ;
18904 char *kwnames
[] = {
18905 (char *) "self", NULL
18908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
18909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18913 result
= (arg1
)->GetTextColour();
18915 wxPyEndAllowThreads(__tstate
);
18916 if (PyErr_Occurred()) SWIG_fail
;
18919 wxColour
* resultptr
;
18920 resultptr
= new wxColour((wxColour
&) result
);
18921 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18929 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18930 PyObject
*resultobj
;
18931 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18933 PyObject
* obj0
= 0 ;
18934 char *kwnames
[] = {
18935 (char *) "self", NULL
18938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
18939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18943 result
= (arg1
)->GetBackgroundColour();
18945 wxPyEndAllowThreads(__tstate
);
18946 if (PyErr_Occurred()) SWIG_fail
;
18949 wxColour
* resultptr
;
18950 resultptr
= new wxColour((wxColour
&) result
);
18951 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18959 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18960 PyObject
*resultobj
;
18961 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18963 PyObject
* obj0
= 0 ;
18964 char *kwnames
[] = {
18965 (char *) "self", NULL
18968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
18969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18973 result
= (arg1
)->GetFont();
18975 wxPyEndAllowThreads(__tstate
);
18976 if (PyErr_Occurred()) SWIG_fail
;
18979 wxFont
* resultptr
;
18980 resultptr
= new wxFont((wxFont
&) result
);
18981 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
18989 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18990 PyObject
*resultobj
;
18991 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18992 PyObject
* obj0
= 0 ;
18993 char *kwnames
[] = {
18994 (char *) "self", NULL
18997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
18998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19002 wxListItemAttr_Destroy(arg1
);
19004 wxPyEndAllowThreads(__tstate
);
19005 if (PyErr_Occurred()) SWIG_fail
;
19007 Py_INCREF(Py_None
); resultobj
= Py_None
;
19014 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
19016 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19017 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
19019 return Py_BuildValue((char *)"");
19021 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19022 PyObject
*resultobj
;
19023 wxListItem
*result
;
19024 char *kwnames
[] = {
19028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
19030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19031 result
= (wxListItem
*)new wxListItem();
19033 wxPyEndAllowThreads(__tstate
);
19034 if (PyErr_Occurred()) SWIG_fail
;
19037 resultobj
= wxPyMake_wxObject(result
);
19045 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19046 PyObject
*resultobj
;
19047 wxListItem
*arg1
= (wxListItem
*) 0 ;
19048 PyObject
* obj0
= 0 ;
19049 char *kwnames
[] = {
19050 (char *) "self", NULL
19053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
19054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19060 wxPyEndAllowThreads(__tstate
);
19061 if (PyErr_Occurred()) SWIG_fail
;
19063 Py_INCREF(Py_None
); resultobj
= Py_None
;
19070 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19071 PyObject
*resultobj
;
19072 wxListItem
*arg1
= (wxListItem
*) 0 ;
19073 PyObject
* obj0
= 0 ;
19074 char *kwnames
[] = {
19075 (char *) "self", NULL
19078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
19079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19085 wxPyEndAllowThreads(__tstate
);
19086 if (PyErr_Occurred()) SWIG_fail
;
19088 Py_INCREF(Py_None
); resultobj
= Py_None
;
19095 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19096 PyObject
*resultobj
;
19097 wxListItem
*arg1
= (wxListItem
*) 0 ;
19098 PyObject
* obj0
= 0 ;
19099 char *kwnames
[] = {
19100 (char *) "self", NULL
19103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
19104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19108 (arg1
)->ClearAttributes();
19110 wxPyEndAllowThreads(__tstate
);
19111 if (PyErr_Occurred()) SWIG_fail
;
19113 Py_INCREF(Py_None
); resultobj
= Py_None
;
19120 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19121 PyObject
*resultobj
;
19122 wxListItem
*arg1
= (wxListItem
*) 0 ;
19124 PyObject
* obj0
= 0 ;
19125 PyObject
* obj1
= 0 ;
19126 char *kwnames
[] = {
19127 (char *) "self",(char *) "mask", NULL
19130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19133 arg2
= (long) SWIG_AsLong(obj1
);
19134 if (PyErr_Occurred()) SWIG_fail
;
19136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19137 (arg1
)->SetMask(arg2
);
19139 wxPyEndAllowThreads(__tstate
);
19140 if (PyErr_Occurred()) SWIG_fail
;
19142 Py_INCREF(Py_None
); resultobj
= Py_None
;
19149 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19150 PyObject
*resultobj
;
19151 wxListItem
*arg1
= (wxListItem
*) 0 ;
19153 PyObject
* obj0
= 0 ;
19154 PyObject
* obj1
= 0 ;
19155 char *kwnames
[] = {
19156 (char *) "self",(char *) "id", NULL
19159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
19160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19162 arg2
= (long) SWIG_AsLong(obj1
);
19163 if (PyErr_Occurred()) SWIG_fail
;
19165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19166 (arg1
)->SetId(arg2
);
19168 wxPyEndAllowThreads(__tstate
);
19169 if (PyErr_Occurred()) SWIG_fail
;
19171 Py_INCREF(Py_None
); resultobj
= Py_None
;
19178 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19179 PyObject
*resultobj
;
19180 wxListItem
*arg1
= (wxListItem
*) 0 ;
19182 PyObject
* obj0
= 0 ;
19183 PyObject
* obj1
= 0 ;
19184 char *kwnames
[] = {
19185 (char *) "self",(char *) "col", NULL
19188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
19189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19191 arg2
= (int) SWIG_AsInt(obj1
);
19192 if (PyErr_Occurred()) SWIG_fail
;
19194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19195 (arg1
)->SetColumn(arg2
);
19197 wxPyEndAllowThreads(__tstate
);
19198 if (PyErr_Occurred()) SWIG_fail
;
19200 Py_INCREF(Py_None
); resultobj
= Py_None
;
19207 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19208 PyObject
*resultobj
;
19209 wxListItem
*arg1
= (wxListItem
*) 0 ;
19211 PyObject
* obj0
= 0 ;
19212 PyObject
* obj1
= 0 ;
19213 char *kwnames
[] = {
19214 (char *) "self",(char *) "state", NULL
19217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
19218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19220 arg2
= (long) SWIG_AsLong(obj1
);
19221 if (PyErr_Occurred()) SWIG_fail
;
19223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19224 (arg1
)->SetState(arg2
);
19226 wxPyEndAllowThreads(__tstate
);
19227 if (PyErr_Occurred()) SWIG_fail
;
19229 Py_INCREF(Py_None
); resultobj
= Py_None
;
19236 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19237 PyObject
*resultobj
;
19238 wxListItem
*arg1
= (wxListItem
*) 0 ;
19240 PyObject
* obj0
= 0 ;
19241 PyObject
* obj1
= 0 ;
19242 char *kwnames
[] = {
19243 (char *) "self",(char *) "stateMask", NULL
19246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19249 arg2
= (long) SWIG_AsLong(obj1
);
19250 if (PyErr_Occurred()) SWIG_fail
;
19252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19253 (arg1
)->SetStateMask(arg2
);
19255 wxPyEndAllowThreads(__tstate
);
19256 if (PyErr_Occurred()) SWIG_fail
;
19258 Py_INCREF(Py_None
); resultobj
= Py_None
;
19265 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19266 PyObject
*resultobj
;
19267 wxListItem
*arg1
= (wxListItem
*) 0 ;
19268 wxString
*arg2
= 0 ;
19269 bool temp2
= False
;
19270 PyObject
* obj0
= 0 ;
19271 PyObject
* obj1
= 0 ;
19272 char *kwnames
[] = {
19273 (char *) "self",(char *) "text", NULL
19276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
19277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19280 arg2
= wxString_in_helper(obj1
);
19281 if (arg2
== NULL
) SWIG_fail
;
19285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19286 (arg1
)->SetText((wxString
const &)*arg2
);
19288 wxPyEndAllowThreads(__tstate
);
19289 if (PyErr_Occurred()) SWIG_fail
;
19291 Py_INCREF(Py_None
); resultobj
= Py_None
;
19306 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19307 PyObject
*resultobj
;
19308 wxListItem
*arg1
= (wxListItem
*) 0 ;
19310 PyObject
* obj0
= 0 ;
19311 PyObject
* obj1
= 0 ;
19312 char *kwnames
[] = {
19313 (char *) "self",(char *) "image", NULL
19316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
19317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19319 arg2
= (int) SWIG_AsInt(obj1
);
19320 if (PyErr_Occurred()) SWIG_fail
;
19322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19323 (arg1
)->SetImage(arg2
);
19325 wxPyEndAllowThreads(__tstate
);
19326 if (PyErr_Occurred()) SWIG_fail
;
19328 Py_INCREF(Py_None
); resultobj
= Py_None
;
19335 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19336 PyObject
*resultobj
;
19337 wxListItem
*arg1
= (wxListItem
*) 0 ;
19339 PyObject
* obj0
= 0 ;
19340 PyObject
* obj1
= 0 ;
19341 char *kwnames
[] = {
19342 (char *) "self",(char *) "data", NULL
19345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
19346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19348 arg2
= (long) SWIG_AsLong(obj1
);
19349 if (PyErr_Occurred()) SWIG_fail
;
19351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19352 (arg1
)->SetData(arg2
);
19354 wxPyEndAllowThreads(__tstate
);
19355 if (PyErr_Occurred()) SWIG_fail
;
19357 Py_INCREF(Py_None
); resultobj
= Py_None
;
19364 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19365 PyObject
*resultobj
;
19366 wxListItem
*arg1
= (wxListItem
*) 0 ;
19368 PyObject
* obj0
= 0 ;
19369 PyObject
* obj1
= 0 ;
19370 char *kwnames
[] = {
19371 (char *) "self",(char *) "width", NULL
19374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
19375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19377 arg2
= (int) SWIG_AsInt(obj1
);
19378 if (PyErr_Occurred()) SWIG_fail
;
19380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19381 (arg1
)->SetWidth(arg2
);
19383 wxPyEndAllowThreads(__tstate
);
19384 if (PyErr_Occurred()) SWIG_fail
;
19386 Py_INCREF(Py_None
); resultobj
= Py_None
;
19393 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19394 PyObject
*resultobj
;
19395 wxListItem
*arg1
= (wxListItem
*) 0 ;
19397 PyObject
* obj0
= 0 ;
19398 PyObject
* obj1
= 0 ;
19399 char *kwnames
[] = {
19400 (char *) "self",(char *) "align", NULL
19403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
19404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19406 arg2
= (wxListColumnFormat
) SWIG_AsInt(obj1
);
19407 if (PyErr_Occurred()) SWIG_fail
;
19409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19410 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
19412 wxPyEndAllowThreads(__tstate
);
19413 if (PyErr_Occurred()) SWIG_fail
;
19415 Py_INCREF(Py_None
); resultobj
= Py_None
;
19422 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19423 PyObject
*resultobj
;
19424 wxListItem
*arg1
= (wxListItem
*) 0 ;
19425 wxColour
*arg2
= 0 ;
19427 PyObject
* obj0
= 0 ;
19428 PyObject
* obj1
= 0 ;
19429 char *kwnames
[] = {
19430 (char *) "self",(char *) "colText", NULL
19433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19438 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19442 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
19444 wxPyEndAllowThreads(__tstate
);
19445 if (PyErr_Occurred()) SWIG_fail
;
19447 Py_INCREF(Py_None
); resultobj
= Py_None
;
19454 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19455 PyObject
*resultobj
;
19456 wxListItem
*arg1
= (wxListItem
*) 0 ;
19457 wxColour
*arg2
= 0 ;
19459 PyObject
* obj0
= 0 ;
19460 PyObject
* obj1
= 0 ;
19461 char *kwnames
[] = {
19462 (char *) "self",(char *) "colBack", NULL
19465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19470 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19474 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
19476 wxPyEndAllowThreads(__tstate
);
19477 if (PyErr_Occurred()) SWIG_fail
;
19479 Py_INCREF(Py_None
); resultobj
= Py_None
;
19486 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19487 PyObject
*resultobj
;
19488 wxListItem
*arg1
= (wxListItem
*) 0 ;
19490 PyObject
* obj0
= 0 ;
19491 PyObject
* obj1
= 0 ;
19492 char *kwnames
[] = {
19493 (char *) "self",(char *) "font", NULL
19496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
19497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19499 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
19500 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19502 if (arg2
== NULL
) {
19503 PyErr_SetString(PyExc_TypeError
,"null reference");
19507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19508 (arg1
)->SetFont((wxFont
const &)*arg2
);
19510 wxPyEndAllowThreads(__tstate
);
19511 if (PyErr_Occurred()) SWIG_fail
;
19513 Py_INCREF(Py_None
); resultobj
= Py_None
;
19520 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19521 PyObject
*resultobj
;
19522 wxListItem
*arg1
= (wxListItem
*) 0 ;
19524 PyObject
* obj0
= 0 ;
19525 char *kwnames
[] = {
19526 (char *) "self", NULL
19529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
19530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19534 result
= (long)(arg1
)->GetMask();
19536 wxPyEndAllowThreads(__tstate
);
19537 if (PyErr_Occurred()) SWIG_fail
;
19539 resultobj
= SWIG_FromLong((long)result
);
19546 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19547 PyObject
*resultobj
;
19548 wxListItem
*arg1
= (wxListItem
*) 0 ;
19550 PyObject
* obj0
= 0 ;
19551 char *kwnames
[] = {
19552 (char *) "self", NULL
19555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
19556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19560 result
= (long)(arg1
)->GetId();
19562 wxPyEndAllowThreads(__tstate
);
19563 if (PyErr_Occurred()) SWIG_fail
;
19565 resultobj
= SWIG_FromLong((long)result
);
19572 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19573 PyObject
*resultobj
;
19574 wxListItem
*arg1
= (wxListItem
*) 0 ;
19576 PyObject
* obj0
= 0 ;
19577 char *kwnames
[] = {
19578 (char *) "self", NULL
19581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
19582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19586 result
= (int)(arg1
)->GetColumn();
19588 wxPyEndAllowThreads(__tstate
);
19589 if (PyErr_Occurred()) SWIG_fail
;
19591 resultobj
= SWIG_FromInt((int)result
);
19598 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19599 PyObject
*resultobj
;
19600 wxListItem
*arg1
= (wxListItem
*) 0 ;
19602 PyObject
* obj0
= 0 ;
19603 char *kwnames
[] = {
19604 (char *) "self", NULL
19607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
19608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19612 result
= (long)(arg1
)->GetState();
19614 wxPyEndAllowThreads(__tstate
);
19615 if (PyErr_Occurred()) SWIG_fail
;
19617 resultobj
= SWIG_FromLong((long)result
);
19624 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19625 PyObject
*resultobj
;
19626 wxListItem
*arg1
= (wxListItem
*) 0 ;
19628 PyObject
* obj0
= 0 ;
19629 char *kwnames
[] = {
19630 (char *) "self", NULL
19633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
19634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19639 wxString
const &_result_ref
= (arg1
)->GetText();
19640 result
= (wxString
*) &_result_ref
;
19643 wxPyEndAllowThreads(__tstate
);
19644 if (PyErr_Occurred()) SWIG_fail
;
19648 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19650 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19659 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19660 PyObject
*resultobj
;
19661 wxListItem
*arg1
= (wxListItem
*) 0 ;
19663 PyObject
* obj0
= 0 ;
19664 char *kwnames
[] = {
19665 (char *) "self", NULL
19668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
19669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19673 result
= (int)(arg1
)->GetImage();
19675 wxPyEndAllowThreads(__tstate
);
19676 if (PyErr_Occurred()) SWIG_fail
;
19678 resultobj
= SWIG_FromInt((int)result
);
19685 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19686 PyObject
*resultobj
;
19687 wxListItem
*arg1
= (wxListItem
*) 0 ;
19689 PyObject
* obj0
= 0 ;
19690 char *kwnames
[] = {
19691 (char *) "self", NULL
19694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
19695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19699 result
= (long)(arg1
)->GetData();
19701 wxPyEndAllowThreads(__tstate
);
19702 if (PyErr_Occurred()) SWIG_fail
;
19704 resultobj
= SWIG_FromLong((long)result
);
19711 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19712 PyObject
*resultobj
;
19713 wxListItem
*arg1
= (wxListItem
*) 0 ;
19715 PyObject
* obj0
= 0 ;
19716 char *kwnames
[] = {
19717 (char *) "self", NULL
19720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
19721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19725 result
= (int)(arg1
)->GetWidth();
19727 wxPyEndAllowThreads(__tstate
);
19728 if (PyErr_Occurred()) SWIG_fail
;
19730 resultobj
= SWIG_FromInt((int)result
);
19737 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19738 PyObject
*resultobj
;
19739 wxListItem
*arg1
= (wxListItem
*) 0 ;
19741 PyObject
* obj0
= 0 ;
19742 char *kwnames
[] = {
19743 (char *) "self", NULL
19746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
19747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19751 result
= (int)(arg1
)->GetAlign();
19753 wxPyEndAllowThreads(__tstate
);
19754 if (PyErr_Occurred()) SWIG_fail
;
19756 resultobj
= SWIG_FromInt((int)result
);
19763 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19764 PyObject
*resultobj
;
19765 wxListItem
*arg1
= (wxListItem
*) 0 ;
19766 wxListItemAttr
*result
;
19767 PyObject
* obj0
= 0 ;
19768 char *kwnames
[] = {
19769 (char *) "self", NULL
19772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
19773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19777 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
19779 wxPyEndAllowThreads(__tstate
);
19780 if (PyErr_Occurred()) SWIG_fail
;
19782 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
19789 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19790 PyObject
*resultobj
;
19791 wxListItem
*arg1
= (wxListItem
*) 0 ;
19793 PyObject
* obj0
= 0 ;
19794 char *kwnames
[] = {
19795 (char *) "self", NULL
19798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
19799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19803 result
= (bool)(arg1
)->HasAttributes();
19805 wxPyEndAllowThreads(__tstate
);
19806 if (PyErr_Occurred()) SWIG_fail
;
19809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19817 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19818 PyObject
*resultobj
;
19819 wxListItem
*arg1
= (wxListItem
*) 0 ;
19821 PyObject
* obj0
= 0 ;
19822 char *kwnames
[] = {
19823 (char *) "self", NULL
19826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
19827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19831 result
= ((wxListItem
const *)arg1
)->GetTextColour();
19833 wxPyEndAllowThreads(__tstate
);
19834 if (PyErr_Occurred()) SWIG_fail
;
19837 wxColour
* resultptr
;
19838 resultptr
= new wxColour((wxColour
&) result
);
19839 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19847 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19848 PyObject
*resultobj
;
19849 wxListItem
*arg1
= (wxListItem
*) 0 ;
19851 PyObject
* obj0
= 0 ;
19852 char *kwnames
[] = {
19853 (char *) "self", NULL
19856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
19857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19861 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
19863 wxPyEndAllowThreads(__tstate
);
19864 if (PyErr_Occurred()) SWIG_fail
;
19867 wxColour
* resultptr
;
19868 resultptr
= new wxColour((wxColour
&) result
);
19869 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19877 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19878 PyObject
*resultobj
;
19879 wxListItem
*arg1
= (wxListItem
*) 0 ;
19881 PyObject
* obj0
= 0 ;
19882 char *kwnames
[] = {
19883 (char *) "self", NULL
19886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
19887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19891 result
= ((wxListItem
const *)arg1
)->GetFont();
19893 wxPyEndAllowThreads(__tstate
);
19894 if (PyErr_Occurred()) SWIG_fail
;
19897 wxFont
* resultptr
;
19898 resultptr
= new wxFont((wxFont
&) result
);
19899 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
19907 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19908 PyObject
*resultobj
;
19909 wxListItem
*arg1
= (wxListItem
*) 0 ;
19911 PyObject
* obj0
= 0 ;
19912 PyObject
* obj1
= 0 ;
19913 char *kwnames
[] = {
19914 (char *) "self",(char *) "m_mask", NULL
19917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19920 arg2
= (long) SWIG_AsLong(obj1
);
19921 if (PyErr_Occurred()) SWIG_fail
;
19922 if (arg1
) (arg1
)->m_mask
= arg2
;
19924 Py_INCREF(Py_None
); resultobj
= Py_None
;
19931 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19932 PyObject
*resultobj
;
19933 wxListItem
*arg1
= (wxListItem
*) 0 ;
19935 PyObject
* obj0
= 0 ;
19936 char *kwnames
[] = {
19937 (char *) "self", NULL
19940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
19941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19943 result
= (long) ((arg1
)->m_mask
);
19945 resultobj
= SWIG_FromLong((long)result
);
19952 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19953 PyObject
*resultobj
;
19954 wxListItem
*arg1
= (wxListItem
*) 0 ;
19956 PyObject
* obj0
= 0 ;
19957 PyObject
* obj1
= 0 ;
19958 char *kwnames
[] = {
19959 (char *) "self",(char *) "m_itemId", NULL
19962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19965 arg2
= (long) SWIG_AsLong(obj1
);
19966 if (PyErr_Occurred()) SWIG_fail
;
19967 if (arg1
) (arg1
)->m_itemId
= arg2
;
19969 Py_INCREF(Py_None
); resultobj
= Py_None
;
19976 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19977 PyObject
*resultobj
;
19978 wxListItem
*arg1
= (wxListItem
*) 0 ;
19980 PyObject
* obj0
= 0 ;
19981 char *kwnames
[] = {
19982 (char *) "self", NULL
19985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
19986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19988 result
= (long) ((arg1
)->m_itemId
);
19990 resultobj
= SWIG_FromLong((long)result
);
19997 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19998 PyObject
*resultobj
;
19999 wxListItem
*arg1
= (wxListItem
*) 0 ;
20001 PyObject
* obj0
= 0 ;
20002 PyObject
* obj1
= 0 ;
20003 char *kwnames
[] = {
20004 (char *) "self",(char *) "m_col", NULL
20007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20010 arg2
= (int) SWIG_AsInt(obj1
);
20011 if (PyErr_Occurred()) SWIG_fail
;
20012 if (arg1
) (arg1
)->m_col
= arg2
;
20014 Py_INCREF(Py_None
); resultobj
= Py_None
;
20021 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20022 PyObject
*resultobj
;
20023 wxListItem
*arg1
= (wxListItem
*) 0 ;
20025 PyObject
* obj0
= 0 ;
20026 char *kwnames
[] = {
20027 (char *) "self", NULL
20030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
20031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20033 result
= (int) ((arg1
)->m_col
);
20035 resultobj
= SWIG_FromInt((int)result
);
20042 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20043 PyObject
*resultobj
;
20044 wxListItem
*arg1
= (wxListItem
*) 0 ;
20046 PyObject
* obj0
= 0 ;
20047 PyObject
* obj1
= 0 ;
20048 char *kwnames
[] = {
20049 (char *) "self",(char *) "m_state", NULL
20052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20055 arg2
= (long) SWIG_AsLong(obj1
);
20056 if (PyErr_Occurred()) SWIG_fail
;
20057 if (arg1
) (arg1
)->m_state
= arg2
;
20059 Py_INCREF(Py_None
); resultobj
= Py_None
;
20066 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20067 PyObject
*resultobj
;
20068 wxListItem
*arg1
= (wxListItem
*) 0 ;
20070 PyObject
* obj0
= 0 ;
20071 char *kwnames
[] = {
20072 (char *) "self", NULL
20075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
20076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20078 result
= (long) ((arg1
)->m_state
);
20080 resultobj
= SWIG_FromLong((long)result
);
20087 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20088 PyObject
*resultobj
;
20089 wxListItem
*arg1
= (wxListItem
*) 0 ;
20091 PyObject
* obj0
= 0 ;
20092 PyObject
* obj1
= 0 ;
20093 char *kwnames
[] = {
20094 (char *) "self",(char *) "m_stateMask", NULL
20097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20100 arg2
= (long) SWIG_AsLong(obj1
);
20101 if (PyErr_Occurred()) SWIG_fail
;
20102 if (arg1
) (arg1
)->m_stateMask
= arg2
;
20104 Py_INCREF(Py_None
); resultobj
= Py_None
;
20111 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20112 PyObject
*resultobj
;
20113 wxListItem
*arg1
= (wxListItem
*) 0 ;
20115 PyObject
* obj0
= 0 ;
20116 char *kwnames
[] = {
20117 (char *) "self", NULL
20120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
20121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20123 result
= (long) ((arg1
)->m_stateMask
);
20125 resultobj
= SWIG_FromLong((long)result
);
20132 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20133 PyObject
*resultobj
;
20134 wxListItem
*arg1
= (wxListItem
*) 0 ;
20135 wxString
*arg2
= (wxString
*) 0 ;
20136 bool temp2
= False
;
20137 PyObject
* obj0
= 0 ;
20138 PyObject
* obj1
= 0 ;
20139 char *kwnames
[] = {
20140 (char *) "self",(char *) "m_text", NULL
20143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20147 arg2
= wxString_in_helper(obj1
);
20148 if (arg2
== NULL
) SWIG_fail
;
20151 if (arg1
) (arg1
)->m_text
= *arg2
;
20153 Py_INCREF(Py_None
); resultobj
= Py_None
;
20168 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20169 PyObject
*resultobj
;
20170 wxListItem
*arg1
= (wxListItem
*) 0 ;
20172 PyObject
* obj0
= 0 ;
20173 char *kwnames
[] = {
20174 (char *) "self", NULL
20177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
20178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20180 result
= (wxString
*)& ((arg1
)->m_text
);
20184 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20186 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20195 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20196 PyObject
*resultobj
;
20197 wxListItem
*arg1
= (wxListItem
*) 0 ;
20199 PyObject
* obj0
= 0 ;
20200 PyObject
* obj1
= 0 ;
20201 char *kwnames
[] = {
20202 (char *) "self",(char *) "m_image", NULL
20205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20208 arg2
= (int) SWIG_AsInt(obj1
);
20209 if (PyErr_Occurred()) SWIG_fail
;
20210 if (arg1
) (arg1
)->m_image
= arg2
;
20212 Py_INCREF(Py_None
); resultobj
= Py_None
;
20219 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20220 PyObject
*resultobj
;
20221 wxListItem
*arg1
= (wxListItem
*) 0 ;
20223 PyObject
* obj0
= 0 ;
20224 char *kwnames
[] = {
20225 (char *) "self", NULL
20228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
20229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20231 result
= (int) ((arg1
)->m_image
);
20233 resultobj
= SWIG_FromInt((int)result
);
20240 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20241 PyObject
*resultobj
;
20242 wxListItem
*arg1
= (wxListItem
*) 0 ;
20244 PyObject
* obj0
= 0 ;
20245 PyObject
* obj1
= 0 ;
20246 char *kwnames
[] = {
20247 (char *) "self",(char *) "m_data", NULL
20250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20253 arg2
= (long) SWIG_AsLong(obj1
);
20254 if (PyErr_Occurred()) SWIG_fail
;
20255 if (arg1
) (arg1
)->m_data
= arg2
;
20257 Py_INCREF(Py_None
); resultobj
= Py_None
;
20264 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20265 PyObject
*resultobj
;
20266 wxListItem
*arg1
= (wxListItem
*) 0 ;
20268 PyObject
* obj0
= 0 ;
20269 char *kwnames
[] = {
20270 (char *) "self", NULL
20273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
20274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20276 result
= (long) ((arg1
)->m_data
);
20278 resultobj
= SWIG_FromLong((long)result
);
20285 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20286 PyObject
*resultobj
;
20287 wxListItem
*arg1
= (wxListItem
*) 0 ;
20289 PyObject
* obj0
= 0 ;
20290 PyObject
* obj1
= 0 ;
20291 char *kwnames
[] = {
20292 (char *) "self",(char *) "m_format", NULL
20295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20298 arg2
= (int) SWIG_AsInt(obj1
);
20299 if (PyErr_Occurred()) SWIG_fail
;
20300 if (arg1
) (arg1
)->m_format
= arg2
;
20302 Py_INCREF(Py_None
); resultobj
= Py_None
;
20309 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20310 PyObject
*resultobj
;
20311 wxListItem
*arg1
= (wxListItem
*) 0 ;
20313 PyObject
* obj0
= 0 ;
20314 char *kwnames
[] = {
20315 (char *) "self", NULL
20318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
20319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20321 result
= (int) ((arg1
)->m_format
);
20323 resultobj
= SWIG_FromInt((int)result
);
20330 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20331 PyObject
*resultobj
;
20332 wxListItem
*arg1
= (wxListItem
*) 0 ;
20334 PyObject
* obj0
= 0 ;
20335 PyObject
* obj1
= 0 ;
20336 char *kwnames
[] = {
20337 (char *) "self",(char *) "m_width", NULL
20340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20343 arg2
= (int) SWIG_AsInt(obj1
);
20344 if (PyErr_Occurred()) SWIG_fail
;
20345 if (arg1
) (arg1
)->m_width
= arg2
;
20347 Py_INCREF(Py_None
); resultobj
= Py_None
;
20354 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20355 PyObject
*resultobj
;
20356 wxListItem
*arg1
= (wxListItem
*) 0 ;
20358 PyObject
* obj0
= 0 ;
20359 char *kwnames
[] = {
20360 (char *) "self", NULL
20363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
20364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20366 result
= (int) ((arg1
)->m_width
);
20368 resultobj
= SWIG_FromInt((int)result
);
20375 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
20377 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20378 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
20380 return Py_BuildValue((char *)"");
20382 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20383 PyObject
*resultobj
;
20384 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20385 int arg2
= (int) 0 ;
20386 wxListEvent
*result
;
20387 PyObject
* obj0
= 0 ;
20388 PyObject
* obj1
= 0 ;
20389 char *kwnames
[] = {
20390 (char *) "commandType",(char *) "id", NULL
20393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20395 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
20396 if (PyErr_Occurred()) SWIG_fail
;
20399 arg2
= (int) SWIG_AsInt(obj1
);
20400 if (PyErr_Occurred()) SWIG_fail
;
20403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20404 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
20406 wxPyEndAllowThreads(__tstate
);
20407 if (PyErr_Occurred()) SWIG_fail
;
20409 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
20416 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20417 PyObject
*resultobj
;
20418 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20420 PyObject
* obj0
= 0 ;
20421 PyObject
* obj1
= 0 ;
20422 char *kwnames
[] = {
20423 (char *) "self",(char *) "m_code", NULL
20426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20429 arg2
= (int) SWIG_AsInt(obj1
);
20430 if (PyErr_Occurred()) SWIG_fail
;
20431 if (arg1
) (arg1
)->m_code
= arg2
;
20433 Py_INCREF(Py_None
); resultobj
= Py_None
;
20440 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20441 PyObject
*resultobj
;
20442 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20444 PyObject
* obj0
= 0 ;
20445 char *kwnames
[] = {
20446 (char *) "self", NULL
20449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
20450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20452 result
= (int) ((arg1
)->m_code
);
20454 resultobj
= SWIG_FromInt((int)result
);
20461 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20462 PyObject
*resultobj
;
20463 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20465 PyObject
* obj0
= 0 ;
20466 PyObject
* obj1
= 0 ;
20467 char *kwnames
[] = {
20468 (char *) "self",(char *) "m_oldItemIndex", NULL
20471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20474 arg2
= (long) SWIG_AsLong(obj1
);
20475 if (PyErr_Occurred()) SWIG_fail
;
20476 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
20478 Py_INCREF(Py_None
); resultobj
= Py_None
;
20485 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20486 PyObject
*resultobj
;
20487 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20489 PyObject
* obj0
= 0 ;
20490 char *kwnames
[] = {
20491 (char *) "self", NULL
20494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
20495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20497 result
= (long) ((arg1
)->m_oldItemIndex
);
20499 resultobj
= SWIG_FromLong((long)result
);
20506 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20507 PyObject
*resultobj
;
20508 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20510 PyObject
* obj0
= 0 ;
20511 PyObject
* obj1
= 0 ;
20512 char *kwnames
[] = {
20513 (char *) "self",(char *) "m_itemIndex", NULL
20516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20519 arg2
= (long) SWIG_AsLong(obj1
);
20520 if (PyErr_Occurred()) SWIG_fail
;
20521 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
20523 Py_INCREF(Py_None
); resultobj
= Py_None
;
20530 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20531 PyObject
*resultobj
;
20532 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20534 PyObject
* obj0
= 0 ;
20535 char *kwnames
[] = {
20536 (char *) "self", NULL
20539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
20540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20542 result
= (long) ((arg1
)->m_itemIndex
);
20544 resultobj
= SWIG_FromLong((long)result
);
20551 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20552 PyObject
*resultobj
;
20553 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20555 PyObject
* obj0
= 0 ;
20556 PyObject
* obj1
= 0 ;
20557 char *kwnames
[] = {
20558 (char *) "self",(char *) "m_col", NULL
20561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20564 arg2
= (int) SWIG_AsInt(obj1
);
20565 if (PyErr_Occurred()) SWIG_fail
;
20566 if (arg1
) (arg1
)->m_col
= arg2
;
20568 Py_INCREF(Py_None
); resultobj
= Py_None
;
20575 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20576 PyObject
*resultobj
;
20577 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20579 PyObject
* obj0
= 0 ;
20580 char *kwnames
[] = {
20581 (char *) "self", NULL
20584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
20585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20587 result
= (int) ((arg1
)->m_col
);
20589 resultobj
= SWIG_FromInt((int)result
);
20596 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20597 PyObject
*resultobj
;
20598 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20599 wxPoint
*arg2
= (wxPoint
*) 0 ;
20600 PyObject
* obj0
= 0 ;
20601 PyObject
* obj1
= 0 ;
20602 char *kwnames
[] = {
20603 (char *) "self",(char *) "m_pointDrag", NULL
20606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20609 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
20610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20611 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
20613 Py_INCREF(Py_None
); resultobj
= Py_None
;
20620 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20621 PyObject
*resultobj
;
20622 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20624 PyObject
* obj0
= 0 ;
20625 char *kwnames
[] = {
20626 (char *) "self", NULL
20629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_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
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
20634 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
20641 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20642 PyObject
*resultobj
;
20643 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20644 wxListItem
*result
;
20645 PyObject
* obj0
= 0 ;
20646 char *kwnames
[] = {
20647 (char *) "self", NULL
20650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
20651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20653 result
= (wxListItem
*)& ((arg1
)->m_item
);
20656 resultobj
= wxPyMake_wxObject(result
);
20664 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20665 PyObject
*resultobj
;
20666 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20668 PyObject
* obj0
= 0 ;
20669 char *kwnames
[] = {
20670 (char *) "self", NULL
20673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20678 result
= (int)(arg1
)->GetKeyCode();
20680 wxPyEndAllowThreads(__tstate
);
20681 if (PyErr_Occurred()) SWIG_fail
;
20683 resultobj
= SWIG_FromInt((int)result
);
20690 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20691 PyObject
*resultobj
;
20692 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20694 PyObject
* obj0
= 0 ;
20695 char *kwnames
[] = {
20696 (char *) "self", NULL
20699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
20700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20704 result
= (long)(arg1
)->GetIndex();
20706 wxPyEndAllowThreads(__tstate
);
20707 if (PyErr_Occurred()) SWIG_fail
;
20709 resultobj
= SWIG_FromLong((long)result
);
20716 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20717 PyObject
*resultobj
;
20718 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20720 PyObject
* obj0
= 0 ;
20721 char *kwnames
[] = {
20722 (char *) "self", NULL
20725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
20726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20730 result
= (int)(arg1
)->GetColumn();
20732 wxPyEndAllowThreads(__tstate
);
20733 if (PyErr_Occurred()) SWIG_fail
;
20735 resultobj
= SWIG_FromInt((int)result
);
20742 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20743 PyObject
*resultobj
;
20744 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20746 PyObject
* obj0
= 0 ;
20747 char *kwnames
[] = {
20748 (char *) "self", NULL
20751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
20752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20756 result
= (arg1
)->GetPoint();
20758 wxPyEndAllowThreads(__tstate
);
20759 if (PyErr_Occurred()) SWIG_fail
;
20762 wxPoint
* resultptr
;
20763 resultptr
= new wxPoint((wxPoint
&) result
);
20764 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20772 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20773 PyObject
*resultobj
;
20774 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20776 PyObject
* obj0
= 0 ;
20777 char *kwnames
[] = {
20778 (char *) "self", NULL
20781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
20782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20787 wxString
const &_result_ref
= (arg1
)->GetLabel();
20788 result
= (wxString
*) &_result_ref
;
20791 wxPyEndAllowThreads(__tstate
);
20792 if (PyErr_Occurred()) SWIG_fail
;
20796 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20798 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20807 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20808 PyObject
*resultobj
;
20809 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20811 PyObject
* obj0
= 0 ;
20812 char *kwnames
[] = {
20813 (char *) "self", NULL
20816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
20817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20822 wxString
const &_result_ref
= (arg1
)->GetText();
20823 result
= (wxString
*) &_result_ref
;
20826 wxPyEndAllowThreads(__tstate
);
20827 if (PyErr_Occurred()) SWIG_fail
;
20831 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20833 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20842 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20843 PyObject
*resultobj
;
20844 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20846 PyObject
* obj0
= 0 ;
20847 char *kwnames
[] = {
20848 (char *) "self", NULL
20851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
20852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20856 result
= (int)(arg1
)->GetImage();
20858 wxPyEndAllowThreads(__tstate
);
20859 if (PyErr_Occurred()) SWIG_fail
;
20861 resultobj
= SWIG_FromInt((int)result
);
20868 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20869 PyObject
*resultobj
;
20870 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20872 PyObject
* obj0
= 0 ;
20873 char *kwnames
[] = {
20874 (char *) "self", NULL
20877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
20878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20882 result
= (long)(arg1
)->GetData();
20884 wxPyEndAllowThreads(__tstate
);
20885 if (PyErr_Occurred()) SWIG_fail
;
20887 resultobj
= SWIG_FromLong((long)result
);
20894 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20895 PyObject
*resultobj
;
20896 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20898 PyObject
* obj0
= 0 ;
20899 char *kwnames
[] = {
20900 (char *) "self", NULL
20903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
20904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20908 result
= (long)(arg1
)->GetMask();
20910 wxPyEndAllowThreads(__tstate
);
20911 if (PyErr_Occurred()) SWIG_fail
;
20913 resultobj
= SWIG_FromLong((long)result
);
20920 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20921 PyObject
*resultobj
;
20922 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20923 wxListItem
*result
;
20924 PyObject
* obj0
= 0 ;
20925 char *kwnames
[] = {
20926 (char *) "self", NULL
20929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
20930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20935 wxListItem
const &_result_ref
= (arg1
)->GetItem();
20936 result
= (wxListItem
*) &_result_ref
;
20939 wxPyEndAllowThreads(__tstate
);
20940 if (PyErr_Occurred()) SWIG_fail
;
20942 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
20949 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20950 PyObject
*resultobj
;
20951 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20953 PyObject
* obj0
= 0 ;
20954 char *kwnames
[] = {
20955 (char *) "self", NULL
20958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
20959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20963 result
= (long)(arg1
)->GetCacheFrom();
20965 wxPyEndAllowThreads(__tstate
);
20966 if (PyErr_Occurred()) SWIG_fail
;
20968 resultobj
= SWIG_FromLong((long)result
);
20975 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20976 PyObject
*resultobj
;
20977 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20979 PyObject
* obj0
= 0 ;
20980 char *kwnames
[] = {
20981 (char *) "self", NULL
20984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
20985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20989 result
= (long)(arg1
)->GetCacheTo();
20991 wxPyEndAllowThreads(__tstate
);
20992 if (PyErr_Occurred()) SWIG_fail
;
20994 resultobj
= SWIG_FromLong((long)result
);
21001 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21002 PyObject
*resultobj
;
21003 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21005 PyObject
* obj0
= 0 ;
21006 char *kwnames
[] = {
21007 (char *) "self", NULL
21010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
21011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21015 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
21017 wxPyEndAllowThreads(__tstate
);
21018 if (PyErr_Occurred()) SWIG_fail
;
21021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21029 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21030 PyObject
*resultobj
;
21031 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21033 PyObject
* obj0
= 0 ;
21034 PyObject
* obj1
= 0 ;
21035 char *kwnames
[] = {
21036 (char *) "self",(char *) "editCancelled", NULL
21039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
21040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21042 arg2
= (bool) SWIG_AsBool(obj1
);
21043 if (PyErr_Occurred()) SWIG_fail
;
21045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21046 (arg1
)->SetEditCanceled(arg2
);
21048 wxPyEndAllowThreads(__tstate
);
21049 if (PyErr_Occurred()) SWIG_fail
;
21051 Py_INCREF(Py_None
); resultobj
= Py_None
;
21058 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
21060 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21061 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
21063 return Py_BuildValue((char *)"");
21065 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21066 PyObject
*resultobj
;
21067 wxWindow
*arg1
= (wxWindow
*) 0 ;
21068 int arg2
= (int) -1 ;
21069 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21070 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21071 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21072 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21073 long arg5
= (long) wxLC_ICON
;
21074 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
21075 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
21076 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
21077 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21078 wxPyListCtrl
*result
;
21081 bool temp7
= False
;
21082 PyObject
* obj0
= 0 ;
21083 PyObject
* obj1
= 0 ;
21084 PyObject
* obj2
= 0 ;
21085 PyObject
* obj3
= 0 ;
21086 PyObject
* obj4
= 0 ;
21087 PyObject
* obj5
= 0 ;
21088 PyObject
* obj6
= 0 ;
21089 char *kwnames
[] = {
21090 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21097 arg2
= (int) SWIG_AsInt(obj1
);
21098 if (PyErr_Occurred()) SWIG_fail
;
21103 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21109 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21113 arg5
= (long) SWIG_AsLong(obj4
);
21114 if (PyErr_Occurred()) SWIG_fail
;
21117 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
21118 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21120 if (arg6
== NULL
) {
21121 PyErr_SetString(PyExc_TypeError
,"null reference");
21127 arg7
= wxString_in_helper(obj6
);
21128 if (arg7
== NULL
) SWIG_fail
;
21133 if (!wxPyCheckForApp()) SWIG_fail
;
21134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21135 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
21137 wxPyEndAllowThreads(__tstate
);
21138 if (PyErr_Occurred()) SWIG_fail
;
21140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21155 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21156 PyObject
*resultobj
;
21157 wxPyListCtrl
*result
;
21158 char *kwnames
[] = {
21162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
21164 if (!wxPyCheckForApp()) SWIG_fail
;
21165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21166 result
= (wxPyListCtrl
*)new wxPyListCtrl();
21168 wxPyEndAllowThreads(__tstate
);
21169 if (PyErr_Occurred()) SWIG_fail
;
21171 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21178 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21179 PyObject
*resultobj
;
21180 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21181 wxWindow
*arg2
= (wxWindow
*) 0 ;
21182 int arg3
= (int) -1 ;
21183 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21184 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21185 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21186 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21187 long arg6
= (long) wxLC_ICON
;
21188 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
21189 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
21190 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
21191 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21195 bool temp8
= False
;
21196 PyObject
* obj0
= 0 ;
21197 PyObject
* obj1
= 0 ;
21198 PyObject
* obj2
= 0 ;
21199 PyObject
* obj3
= 0 ;
21200 PyObject
* obj4
= 0 ;
21201 PyObject
* obj5
= 0 ;
21202 PyObject
* obj6
= 0 ;
21203 PyObject
* obj7
= 0 ;
21204 char *kwnames
[] = {
21205 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
21209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21211 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21214 arg3
= (int) SWIG_AsInt(obj2
);
21215 if (PyErr_Occurred()) SWIG_fail
;
21220 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21226 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21230 arg6
= (long) SWIG_AsLong(obj5
);
21231 if (PyErr_Occurred()) SWIG_fail
;
21234 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
21235 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21237 if (arg7
== NULL
) {
21238 PyErr_SetString(PyExc_TypeError
,"null reference");
21244 arg8
= wxString_in_helper(obj7
);
21245 if (arg8
== NULL
) SWIG_fail
;
21250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21251 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
21253 wxPyEndAllowThreads(__tstate
);
21254 if (PyErr_Occurred()) SWIG_fail
;
21257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21273 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21274 PyObject
*resultobj
;
21275 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21276 PyObject
*arg2
= (PyObject
*) 0 ;
21277 PyObject
*arg3
= (PyObject
*) 0 ;
21278 PyObject
* obj0
= 0 ;
21279 PyObject
* obj1
= 0 ;
21280 PyObject
* obj2
= 0 ;
21281 char *kwnames
[] = {
21282 (char *) "self",(char *) "self",(char *) "_class", NULL
21285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21292 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21294 wxPyEndAllowThreads(__tstate
);
21295 if (PyErr_Occurred()) SWIG_fail
;
21297 Py_INCREF(Py_None
); resultobj
= Py_None
;
21304 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21305 PyObject
*resultobj
;
21306 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21307 wxColour
*arg2
= 0 ;
21310 PyObject
* obj0
= 0 ;
21311 PyObject
* obj1
= 0 ;
21312 char *kwnames
[] = {
21313 (char *) "self",(char *) "col", NULL
21316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21321 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21325 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
21327 wxPyEndAllowThreads(__tstate
);
21328 if (PyErr_Occurred()) SWIG_fail
;
21331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21339 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21340 PyObject
*resultobj
;
21341 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21342 wxColour
*arg2
= 0 ;
21345 PyObject
* obj0
= 0 ;
21346 PyObject
* obj1
= 0 ;
21347 char *kwnames
[] = {
21348 (char *) "self",(char *) "col", NULL
21351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21356 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21360 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21362 wxPyEndAllowThreads(__tstate
);
21363 if (PyErr_Occurred()) SWIG_fail
;
21366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21374 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21375 PyObject
*resultobj
;
21376 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21378 wxListItem
*result
;
21379 PyObject
* obj0
= 0 ;
21380 PyObject
* obj1
= 0 ;
21381 char *kwnames
[] = {
21382 (char *) "self",(char *) "col", NULL
21385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21388 arg2
= (int) SWIG_AsInt(obj1
);
21389 if (PyErr_Occurred()) SWIG_fail
;
21391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21392 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
21394 wxPyEndAllowThreads(__tstate
);
21395 if (PyErr_Occurred()) SWIG_fail
;
21398 resultobj
= wxPyMake_wxObject(result
);
21406 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21407 PyObject
*resultobj
;
21408 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21410 wxListItem
*arg3
= 0 ;
21412 PyObject
* obj0
= 0 ;
21413 PyObject
* obj1
= 0 ;
21414 PyObject
* obj2
= 0 ;
21415 char *kwnames
[] = {
21416 (char *) "self",(char *) "col",(char *) "item", NULL
21419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21422 arg2
= (int) SWIG_AsInt(obj1
);
21423 if (PyErr_Occurred()) SWIG_fail
;
21424 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
21425 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21427 if (arg3
== NULL
) {
21428 PyErr_SetString(PyExc_TypeError
,"null reference");
21432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21433 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
21435 wxPyEndAllowThreads(__tstate
);
21436 if (PyErr_Occurred()) SWIG_fail
;
21439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21447 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21448 PyObject
*resultobj
;
21449 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21452 PyObject
* obj0
= 0 ;
21453 PyObject
* obj1
= 0 ;
21454 char *kwnames
[] = {
21455 (char *) "self",(char *) "col", NULL
21458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
21459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21461 arg2
= (int) SWIG_AsInt(obj1
);
21462 if (PyErr_Occurred()) SWIG_fail
;
21464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21465 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
21467 wxPyEndAllowThreads(__tstate
);
21468 if (PyErr_Occurred()) SWIG_fail
;
21470 resultobj
= SWIG_FromInt((int)result
);
21477 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21478 PyObject
*resultobj
;
21479 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21483 PyObject
* obj0
= 0 ;
21484 PyObject
* obj1
= 0 ;
21485 PyObject
* obj2
= 0 ;
21486 char *kwnames
[] = {
21487 (char *) "self",(char *) "col",(char *) "width", NULL
21490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21493 arg2
= (int) SWIG_AsInt(obj1
);
21494 if (PyErr_Occurred()) SWIG_fail
;
21495 arg3
= (int) SWIG_AsInt(obj2
);
21496 if (PyErr_Occurred()) SWIG_fail
;
21498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21499 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
21501 wxPyEndAllowThreads(__tstate
);
21502 if (PyErr_Occurred()) SWIG_fail
;
21505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21513 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21514 PyObject
*resultobj
;
21515 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21517 PyObject
* obj0
= 0 ;
21518 char *kwnames
[] = {
21519 (char *) "self", NULL
21522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
21523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21527 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
21529 wxPyEndAllowThreads(__tstate
);
21530 if (PyErr_Occurred()) SWIG_fail
;
21532 resultobj
= SWIG_FromInt((int)result
);
21539 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21540 PyObject
*resultobj
;
21541 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21543 PyObject
* obj0
= 0 ;
21544 char *kwnames
[] = {
21545 (char *) "self", NULL
21548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
21549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21553 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
21555 wxPyEndAllowThreads(__tstate
);
21556 if (PyErr_Occurred()) SWIG_fail
;
21559 wxRect
* resultptr
;
21560 resultptr
= new wxRect((wxRect
&) result
);
21561 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
21569 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21570 PyObject
*resultobj
;
21571 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21573 int arg3
= (int) 0 ;
21574 wxListItem
*result
;
21575 PyObject
* obj0
= 0 ;
21576 PyObject
* obj1
= 0 ;
21577 PyObject
* obj2
= 0 ;
21578 char *kwnames
[] = {
21579 (char *) "self",(char *) "itemId",(char *) "col", NULL
21582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21585 arg2
= (long) SWIG_AsLong(obj1
);
21586 if (PyErr_Occurred()) SWIG_fail
;
21588 arg3
= (int) SWIG_AsInt(obj2
);
21589 if (PyErr_Occurred()) SWIG_fail
;
21592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21593 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
21595 wxPyEndAllowThreads(__tstate
);
21596 if (PyErr_Occurred()) SWIG_fail
;
21599 resultobj
= wxPyMake_wxObject(result
);
21607 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21608 PyObject
*resultobj
;
21609 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21610 wxListItem
*arg2
= 0 ;
21612 PyObject
* obj0
= 0 ;
21613 PyObject
* obj1
= 0 ;
21614 char *kwnames
[] = {
21615 (char *) "self",(char *) "info", NULL
21618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21621 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
21622 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21624 if (arg2
== NULL
) {
21625 PyErr_SetString(PyExc_TypeError
,"null reference");
21629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21630 result
= (bool)(arg1
)->SetItem(*arg2
);
21632 wxPyEndAllowThreads(__tstate
);
21633 if (PyErr_Occurred()) SWIG_fail
;
21636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21644 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21645 PyObject
*resultobj
;
21646 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21649 wxString
*arg4
= 0 ;
21650 int arg5
= (int) -1 ;
21652 bool temp4
= False
;
21653 PyObject
* obj0
= 0 ;
21654 PyObject
* obj1
= 0 ;
21655 PyObject
* obj2
= 0 ;
21656 PyObject
* obj3
= 0 ;
21657 PyObject
* obj4
= 0 ;
21658 char *kwnames
[] = {
21659 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
21662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21665 arg2
= (long) SWIG_AsLong(obj1
);
21666 if (PyErr_Occurred()) SWIG_fail
;
21667 arg3
= (int) SWIG_AsInt(obj2
);
21668 if (PyErr_Occurred()) SWIG_fail
;
21670 arg4
= wxString_in_helper(obj3
);
21671 if (arg4
== NULL
) SWIG_fail
;
21675 arg5
= (int) SWIG_AsInt(obj4
);
21676 if (PyErr_Occurred()) SWIG_fail
;
21679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21680 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
21682 wxPyEndAllowThreads(__tstate
);
21683 if (PyErr_Occurred()) SWIG_fail
;
21685 resultobj
= SWIG_FromLong((long)result
);
21700 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21701 PyObject
*resultobj
;
21702 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21706 PyObject
* obj0
= 0 ;
21707 PyObject
* obj1
= 0 ;
21708 PyObject
* obj2
= 0 ;
21709 char *kwnames
[] = {
21710 (char *) "self",(char *) "item",(char *) "stateMask", NULL
21713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21716 arg2
= (long) SWIG_AsLong(obj1
);
21717 if (PyErr_Occurred()) SWIG_fail
;
21718 arg3
= (long) SWIG_AsLong(obj2
);
21719 if (PyErr_Occurred()) SWIG_fail
;
21721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21722 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
21724 wxPyEndAllowThreads(__tstate
);
21725 if (PyErr_Occurred()) SWIG_fail
;
21727 resultobj
= SWIG_FromInt((int)result
);
21734 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21735 PyObject
*resultobj
;
21736 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21741 PyObject
* obj0
= 0 ;
21742 PyObject
* obj1
= 0 ;
21743 PyObject
* obj2
= 0 ;
21744 PyObject
* obj3
= 0 ;
21745 char *kwnames
[] = {
21746 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
21749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21752 arg2
= (long) SWIG_AsLong(obj1
);
21753 if (PyErr_Occurred()) SWIG_fail
;
21754 arg3
= (long) SWIG_AsLong(obj2
);
21755 if (PyErr_Occurred()) SWIG_fail
;
21756 arg4
= (long) SWIG_AsLong(obj3
);
21757 if (PyErr_Occurred()) SWIG_fail
;
21759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21760 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
21762 wxPyEndAllowThreads(__tstate
);
21763 if (PyErr_Occurred()) SWIG_fail
;
21766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21774 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21775 PyObject
*resultobj
;
21776 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21781 PyObject
* obj0
= 0 ;
21782 PyObject
* obj1
= 0 ;
21783 PyObject
* obj2
= 0 ;
21784 PyObject
* obj3
= 0 ;
21785 char *kwnames
[] = {
21786 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
21789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21792 arg2
= (long) SWIG_AsLong(obj1
);
21793 if (PyErr_Occurred()) SWIG_fail
;
21794 arg3
= (int) SWIG_AsInt(obj2
);
21795 if (PyErr_Occurred()) SWIG_fail
;
21796 arg4
= (int) SWIG_AsInt(obj3
);
21797 if (PyErr_Occurred()) SWIG_fail
;
21799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21800 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
21802 wxPyEndAllowThreads(__tstate
);
21803 if (PyErr_Occurred()) SWIG_fail
;
21806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21814 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21815 PyObject
*resultobj
;
21816 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21819 PyObject
* obj0
= 0 ;
21820 PyObject
* obj1
= 0 ;
21821 char *kwnames
[] = {
21822 (char *) "self",(char *) "item", NULL
21825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
21826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21828 arg2
= (long) SWIG_AsLong(obj1
);
21829 if (PyErr_Occurred()) SWIG_fail
;
21831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21832 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
21834 wxPyEndAllowThreads(__tstate
);
21835 if (PyErr_Occurred()) SWIG_fail
;
21839 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21841 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21850 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21851 PyObject
*resultobj
;
21852 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21854 wxString
*arg3
= 0 ;
21855 bool temp3
= False
;
21856 PyObject
* obj0
= 0 ;
21857 PyObject
* obj1
= 0 ;
21858 PyObject
* obj2
= 0 ;
21859 char *kwnames
[] = {
21860 (char *) "self",(char *) "item",(char *) "str", NULL
21863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21866 arg2
= (long) SWIG_AsLong(obj1
);
21867 if (PyErr_Occurred()) SWIG_fail
;
21869 arg3
= wxString_in_helper(obj2
);
21870 if (arg3
== NULL
) SWIG_fail
;
21874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21875 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
21877 wxPyEndAllowThreads(__tstate
);
21878 if (PyErr_Occurred()) SWIG_fail
;
21880 Py_INCREF(Py_None
); resultobj
= Py_None
;
21895 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21896 PyObject
*resultobj
;
21897 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21900 PyObject
* obj0
= 0 ;
21901 PyObject
* obj1
= 0 ;
21902 char *kwnames
[] = {
21903 (char *) "self",(char *) "item", NULL
21906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
21907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21909 arg2
= (long) SWIG_AsLong(obj1
);
21910 if (PyErr_Occurred()) SWIG_fail
;
21912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21913 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
21915 wxPyEndAllowThreads(__tstate
);
21916 if (PyErr_Occurred()) SWIG_fail
;
21918 resultobj
= SWIG_FromLong((long)result
);
21925 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21926 PyObject
*resultobj
;
21927 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21931 PyObject
* obj0
= 0 ;
21932 PyObject
* obj1
= 0 ;
21933 PyObject
* obj2
= 0 ;
21934 char *kwnames
[] = {
21935 (char *) "self",(char *) "item",(char *) "data", NULL
21938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21941 arg2
= (long) SWIG_AsLong(obj1
);
21942 if (PyErr_Occurred()) SWIG_fail
;
21943 arg3
= (long) SWIG_AsLong(obj2
);
21944 if (PyErr_Occurred()) SWIG_fail
;
21946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21947 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
21949 wxPyEndAllowThreads(__tstate
);
21950 if (PyErr_Occurred()) SWIG_fail
;
21953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21961 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21962 PyObject
*resultobj
;
21963 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21966 PyObject
* obj0
= 0 ;
21967 PyObject
* obj1
= 0 ;
21968 char *kwnames
[] = {
21969 (char *) "self",(char *) "item", NULL
21972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
21973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21975 arg2
= (long) SWIG_AsLong(obj1
);
21976 if (PyErr_Occurred()) SWIG_fail
;
21978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21979 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
21981 wxPyEndAllowThreads(__tstate
);
21982 if (PyErr_Occurred()) SWIG_fail
;
21985 wxPoint
* resultptr
;
21986 resultptr
= new wxPoint((wxPoint
&) result
);
21987 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
21995 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21996 PyObject
*resultobj
;
21997 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21999 int arg3
= (int) wxLIST_RECT_BOUNDS
;
22001 PyObject
* obj0
= 0 ;
22002 PyObject
* obj1
= 0 ;
22003 PyObject
* obj2
= 0 ;
22004 char *kwnames
[] = {
22005 (char *) "self",(char *) "item",(char *) "code", NULL
22008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22011 arg2
= (long) SWIG_AsLong(obj1
);
22012 if (PyErr_Occurred()) SWIG_fail
;
22014 arg3
= (int) SWIG_AsInt(obj2
);
22015 if (PyErr_Occurred()) SWIG_fail
;
22018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22019 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
22021 wxPyEndAllowThreads(__tstate
);
22022 if (PyErr_Occurred()) SWIG_fail
;
22025 wxRect
* resultptr
;
22026 resultptr
= new wxRect((wxRect
&) result
);
22027 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22035 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22036 PyObject
*resultobj
;
22037 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22039 wxPoint
*arg3
= 0 ;
22042 PyObject
* obj0
= 0 ;
22043 PyObject
* obj1
= 0 ;
22044 PyObject
* obj2
= 0 ;
22045 char *kwnames
[] = {
22046 (char *) "self",(char *) "item",(char *) "pos", NULL
22049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22052 arg2
= (long) SWIG_AsLong(obj1
);
22053 if (PyErr_Occurred()) SWIG_fail
;
22056 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22060 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
22062 wxPyEndAllowThreads(__tstate
);
22063 if (PyErr_Occurred()) SWIG_fail
;
22066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22074 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22075 PyObject
*resultobj
;
22076 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22078 PyObject
* obj0
= 0 ;
22079 char *kwnames
[] = {
22080 (char *) "self", NULL
22083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
22084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22088 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
22090 wxPyEndAllowThreads(__tstate
);
22091 if (PyErr_Occurred()) SWIG_fail
;
22093 resultobj
= SWIG_FromInt((int)result
);
22100 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22101 PyObject
*resultobj
;
22102 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22104 PyObject
* obj0
= 0 ;
22105 char *kwnames
[] = {
22106 (char *) "self", NULL
22109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
22110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22114 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
22116 wxPyEndAllowThreads(__tstate
);
22117 if (PyErr_Occurred()) SWIG_fail
;
22119 resultobj
= SWIG_FromInt((int)result
);
22126 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22127 PyObject
*resultobj
;
22128 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22130 PyObject
* obj0
= 0 ;
22131 char *kwnames
[] = {
22132 (char *) "self", NULL
22135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
22136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22140 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
22142 wxPyEndAllowThreads(__tstate
);
22143 if (PyErr_Occurred()) SWIG_fail
;
22146 wxSize
* resultptr
;
22147 resultptr
= new wxSize((wxSize
&) result
);
22148 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22156 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22157 PyObject
*resultobj
;
22158 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22160 bool arg3
= (bool) False
;
22161 PyObject
* obj0
= 0 ;
22162 PyObject
* obj1
= 0 ;
22163 PyObject
* obj2
= 0 ;
22164 char *kwnames
[] = {
22165 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
22168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22171 arg2
= (int) SWIG_AsInt(obj1
);
22172 if (PyErr_Occurred()) SWIG_fail
;
22174 arg3
= (bool) SWIG_AsBool(obj2
);
22175 if (PyErr_Occurred()) SWIG_fail
;
22178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22179 (arg1
)->SetItemSpacing(arg2
,arg3
);
22181 wxPyEndAllowThreads(__tstate
);
22182 if (PyErr_Occurred()) SWIG_fail
;
22184 Py_INCREF(Py_None
); resultobj
= Py_None
;
22191 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22192 PyObject
*resultobj
;
22193 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22195 PyObject
* obj0
= 0 ;
22196 char *kwnames
[] = {
22197 (char *) "self", NULL
22200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
22201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22205 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
22207 wxPyEndAllowThreads(__tstate
);
22208 if (PyErr_Occurred()) SWIG_fail
;
22210 resultobj
= SWIG_FromInt((int)result
);
22217 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22218 PyObject
*resultobj
;
22219 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22221 PyObject
* obj0
= 0 ;
22222 char *kwnames
[] = {
22223 (char *) "self", NULL
22226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
22227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22231 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
22233 wxPyEndAllowThreads(__tstate
);
22234 if (PyErr_Occurred()) SWIG_fail
;
22237 wxColour
* resultptr
;
22238 resultptr
= new wxColour((wxColour
&) result
);
22239 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22247 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22248 PyObject
*resultobj
;
22249 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22250 wxColour
*arg2
= 0 ;
22252 PyObject
* obj0
= 0 ;
22253 PyObject
* obj1
= 0 ;
22254 char *kwnames
[] = {
22255 (char *) "self",(char *) "col", NULL
22258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22263 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22267 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22269 wxPyEndAllowThreads(__tstate
);
22270 if (PyErr_Occurred()) SWIG_fail
;
22272 Py_INCREF(Py_None
); resultobj
= Py_None
;
22279 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22280 PyObject
*resultobj
;
22281 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22283 PyObject
* obj0
= 0 ;
22284 char *kwnames
[] = {
22285 (char *) "self", NULL
22288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
22289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22293 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
22295 wxPyEndAllowThreads(__tstate
);
22296 if (PyErr_Occurred()) SWIG_fail
;
22298 resultobj
= SWIG_FromLong((long)result
);
22305 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22306 PyObject
*resultobj
;
22307 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22309 bool arg3
= (bool) True
;
22310 PyObject
* obj0
= 0 ;
22311 PyObject
* obj1
= 0 ;
22312 PyObject
* obj2
= 0 ;
22313 char *kwnames
[] = {
22314 (char *) "self",(char *) "style",(char *) "add", NULL
22317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22320 arg2
= (long) SWIG_AsLong(obj1
);
22321 if (PyErr_Occurred()) SWIG_fail
;
22323 arg3
= (bool) SWIG_AsBool(obj2
);
22324 if (PyErr_Occurred()) SWIG_fail
;
22327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22328 (arg1
)->SetSingleStyle(arg2
,arg3
);
22330 wxPyEndAllowThreads(__tstate
);
22331 if (PyErr_Occurred()) SWIG_fail
;
22333 Py_INCREF(Py_None
); resultobj
= Py_None
;
22340 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22341 PyObject
*resultobj
;
22342 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22344 PyObject
* obj0
= 0 ;
22345 PyObject
* obj1
= 0 ;
22346 char *kwnames
[] = {
22347 (char *) "self",(char *) "style", NULL
22350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
22351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22353 arg2
= (long) SWIG_AsLong(obj1
);
22354 if (PyErr_Occurred()) SWIG_fail
;
22356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22357 (arg1
)->SetWindowStyleFlag(arg2
);
22359 wxPyEndAllowThreads(__tstate
);
22360 if (PyErr_Occurred()) SWIG_fail
;
22362 Py_INCREF(Py_None
); resultobj
= Py_None
;
22369 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22370 PyObject
*resultobj
;
22371 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22373 int arg3
= (int) wxLIST_NEXT_ALL
;
22374 int arg4
= (int) wxLIST_STATE_DONTCARE
;
22376 PyObject
* obj0
= 0 ;
22377 PyObject
* obj1
= 0 ;
22378 PyObject
* obj2
= 0 ;
22379 PyObject
* obj3
= 0 ;
22380 char *kwnames
[] = {
22381 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
22384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22387 arg2
= (long) SWIG_AsLong(obj1
);
22388 if (PyErr_Occurred()) SWIG_fail
;
22390 arg3
= (int) SWIG_AsInt(obj2
);
22391 if (PyErr_Occurred()) SWIG_fail
;
22394 arg4
= (int) SWIG_AsInt(obj3
);
22395 if (PyErr_Occurred()) SWIG_fail
;
22398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22399 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
22401 wxPyEndAllowThreads(__tstate
);
22402 if (PyErr_Occurred()) SWIG_fail
;
22404 resultobj
= SWIG_FromLong((long)result
);
22411 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22412 PyObject
*resultobj
;
22413 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22415 wxImageList
*result
;
22416 PyObject
* obj0
= 0 ;
22417 PyObject
* obj1
= 0 ;
22418 char *kwnames
[] = {
22419 (char *) "self",(char *) "which", NULL
22422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
22423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22425 arg2
= (int) SWIG_AsInt(obj1
);
22426 if (PyErr_Occurred()) SWIG_fail
;
22428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22429 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
22431 wxPyEndAllowThreads(__tstate
);
22432 if (PyErr_Occurred()) SWIG_fail
;
22435 resultobj
= wxPyMake_wxObject(result
);
22443 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22444 PyObject
*resultobj
;
22445 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22446 wxImageList
*arg2
= (wxImageList
*) 0 ;
22448 PyObject
* obj0
= 0 ;
22449 PyObject
* obj1
= 0 ;
22450 PyObject
* obj2
= 0 ;
22451 char *kwnames
[] = {
22452 (char *) "self",(char *) "imageList",(char *) "which", NULL
22455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22458 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22460 arg3
= (int) SWIG_AsInt(obj2
);
22461 if (PyErr_Occurred()) SWIG_fail
;
22463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22464 (arg1
)->SetImageList(arg2
,arg3
);
22466 wxPyEndAllowThreads(__tstate
);
22467 if (PyErr_Occurred()) SWIG_fail
;
22469 Py_INCREF(Py_None
); resultobj
= Py_None
;
22476 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22477 PyObject
*resultobj
;
22478 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22479 wxImageList
*arg2
= (wxImageList
*) 0 ;
22481 PyObject
* obj0
= 0 ;
22482 PyObject
* obj1
= 0 ;
22483 PyObject
* obj2
= 0 ;
22484 char *kwnames
[] = {
22485 (char *) "self",(char *) "imageList",(char *) "which", NULL
22488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22491 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22492 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22493 arg3
= (int) SWIG_AsInt(obj2
);
22494 if (PyErr_Occurred()) SWIG_fail
;
22496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22497 (arg1
)->AssignImageList(arg2
,arg3
);
22499 wxPyEndAllowThreads(__tstate
);
22500 if (PyErr_Occurred()) SWIG_fail
;
22502 Py_INCREF(Py_None
); resultobj
= Py_None
;
22509 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22510 PyObject
*resultobj
;
22511 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22513 PyObject
* obj0
= 0 ;
22514 char *kwnames
[] = {
22515 (char *) "self", NULL
22518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
22519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22523 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
22525 wxPyEndAllowThreads(__tstate
);
22526 if (PyErr_Occurred()) SWIG_fail
;
22529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22537 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22538 PyObject
*resultobj
;
22539 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22541 PyObject
* obj0
= 0 ;
22542 char *kwnames
[] = {
22543 (char *) "self", NULL
22546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
22547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22551 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
22553 wxPyEndAllowThreads(__tstate
);
22554 if (PyErr_Occurred()) SWIG_fail
;
22557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22565 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22566 PyObject
*resultobj
;
22567 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22569 PyObject
* obj0
= 0 ;
22570 PyObject
* obj1
= 0 ;
22571 char *kwnames
[] = {
22572 (char *) "self",(char *) "item", NULL
22575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22578 arg2
= (long) SWIG_AsLong(obj1
);
22579 if (PyErr_Occurred()) SWIG_fail
;
22581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22582 (arg1
)->RefreshItem(arg2
);
22584 wxPyEndAllowThreads(__tstate
);
22585 if (PyErr_Occurred()) SWIG_fail
;
22587 Py_INCREF(Py_None
); resultobj
= Py_None
;
22594 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22595 PyObject
*resultobj
;
22596 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22599 PyObject
* obj0
= 0 ;
22600 PyObject
* obj1
= 0 ;
22601 PyObject
* obj2
= 0 ;
22602 char *kwnames
[] = {
22603 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
22606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22609 arg2
= (long) SWIG_AsLong(obj1
);
22610 if (PyErr_Occurred()) SWIG_fail
;
22611 arg3
= (long) SWIG_AsLong(obj2
);
22612 if (PyErr_Occurred()) SWIG_fail
;
22614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22615 (arg1
)->RefreshItems(arg2
,arg3
);
22617 wxPyEndAllowThreads(__tstate
);
22618 if (PyErr_Occurred()) SWIG_fail
;
22620 Py_INCREF(Py_None
); resultobj
= Py_None
;
22627 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22628 PyObject
*resultobj
;
22629 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22630 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
22632 PyObject
* obj0
= 0 ;
22633 PyObject
* obj1
= 0 ;
22634 char *kwnames
[] = {
22635 (char *) "self",(char *) "flag", NULL
22638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
22639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22642 arg2
= (int) SWIG_AsInt(obj1
);
22643 if (PyErr_Occurred()) SWIG_fail
;
22646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22647 result
= (bool)(arg1
)->Arrange(arg2
);
22649 wxPyEndAllowThreads(__tstate
);
22650 if (PyErr_Occurred()) SWIG_fail
;
22653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22661 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22662 PyObject
*resultobj
;
22663 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22666 PyObject
* obj0
= 0 ;
22667 PyObject
* obj1
= 0 ;
22668 char *kwnames
[] = {
22669 (char *) "self",(char *) "item", NULL
22672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22675 arg2
= (long) SWIG_AsLong(obj1
);
22676 if (PyErr_Occurred()) SWIG_fail
;
22678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22679 result
= (bool)(arg1
)->DeleteItem(arg2
);
22681 wxPyEndAllowThreads(__tstate
);
22682 if (PyErr_Occurred()) SWIG_fail
;
22685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22693 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22694 PyObject
*resultobj
;
22695 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22697 PyObject
* obj0
= 0 ;
22698 char *kwnames
[] = {
22699 (char *) "self", NULL
22702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
22703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22707 result
= (bool)(arg1
)->DeleteAllItems();
22709 wxPyEndAllowThreads(__tstate
);
22710 if (PyErr_Occurred()) SWIG_fail
;
22713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22721 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22722 PyObject
*resultobj
;
22723 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22726 PyObject
* obj0
= 0 ;
22727 PyObject
* obj1
= 0 ;
22728 char *kwnames
[] = {
22729 (char *) "self",(char *) "col", NULL
22732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
22733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22735 arg2
= (int) SWIG_AsInt(obj1
);
22736 if (PyErr_Occurred()) SWIG_fail
;
22738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22739 result
= (bool)(arg1
)->DeleteColumn(arg2
);
22741 wxPyEndAllowThreads(__tstate
);
22742 if (PyErr_Occurred()) SWIG_fail
;
22745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22753 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22754 PyObject
*resultobj
;
22755 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22757 PyObject
* obj0
= 0 ;
22758 char *kwnames
[] = {
22759 (char *) "self", NULL
22762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
22763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22767 result
= (bool)(arg1
)->DeleteAllColumns();
22769 wxPyEndAllowThreads(__tstate
);
22770 if (PyErr_Occurred()) SWIG_fail
;
22773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22781 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22782 PyObject
*resultobj
;
22783 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22784 PyObject
* obj0
= 0 ;
22785 char *kwnames
[] = {
22786 (char *) "self", NULL
22789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
22790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22794 (arg1
)->ClearAll();
22796 wxPyEndAllowThreads(__tstate
);
22797 if (PyErr_Occurred()) SWIG_fail
;
22799 Py_INCREF(Py_None
); resultobj
= Py_None
;
22806 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22807 PyObject
*resultobj
;
22808 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22810 PyObject
* obj0
= 0 ;
22811 PyObject
* obj1
= 0 ;
22812 char *kwnames
[] = {
22813 (char *) "self",(char *) "item", NULL
22816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22819 arg2
= (long) SWIG_AsLong(obj1
);
22820 if (PyErr_Occurred()) SWIG_fail
;
22822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22823 (arg1
)->EditLabel(arg2
);
22825 wxPyEndAllowThreads(__tstate
);
22826 if (PyErr_Occurred()) SWIG_fail
;
22828 Py_INCREF(Py_None
); resultobj
= Py_None
;
22835 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22836 PyObject
*resultobj
;
22837 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22840 PyObject
* obj0
= 0 ;
22841 PyObject
* obj1
= 0 ;
22842 char *kwnames
[] = {
22843 (char *) "self",(char *) "item", NULL
22846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22849 arg2
= (long) SWIG_AsLong(obj1
);
22850 if (PyErr_Occurred()) SWIG_fail
;
22852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22853 result
= (bool)(arg1
)->EnsureVisible(arg2
);
22855 wxPyEndAllowThreads(__tstate
);
22856 if (PyErr_Occurred()) SWIG_fail
;
22859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22867 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22868 PyObject
*resultobj
;
22869 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22871 wxString
*arg3
= 0 ;
22872 bool arg4
= (bool) False
;
22874 bool temp3
= False
;
22875 PyObject
* obj0
= 0 ;
22876 PyObject
* obj1
= 0 ;
22877 PyObject
* obj2
= 0 ;
22878 PyObject
* obj3
= 0 ;
22879 char *kwnames
[] = {
22880 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
22883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22886 arg2
= (long) SWIG_AsLong(obj1
);
22887 if (PyErr_Occurred()) SWIG_fail
;
22889 arg3
= wxString_in_helper(obj2
);
22890 if (arg3
== NULL
) SWIG_fail
;
22894 arg4
= (bool) SWIG_AsBool(obj3
);
22895 if (PyErr_Occurred()) SWIG_fail
;
22898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22899 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
22901 wxPyEndAllowThreads(__tstate
);
22902 if (PyErr_Occurred()) SWIG_fail
;
22904 resultobj
= SWIG_FromLong((long)result
);
22919 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22920 PyObject
*resultobj
;
22921 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22925 PyObject
* obj0
= 0 ;
22926 PyObject
* obj1
= 0 ;
22927 PyObject
* obj2
= 0 ;
22928 char *kwnames
[] = {
22929 (char *) "self",(char *) "start",(char *) "data", NULL
22932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22935 arg2
= (long) SWIG_AsLong(obj1
);
22936 if (PyErr_Occurred()) SWIG_fail
;
22937 arg3
= (long) SWIG_AsLong(obj2
);
22938 if (PyErr_Occurred()) SWIG_fail
;
22940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22941 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
22943 wxPyEndAllowThreads(__tstate
);
22944 if (PyErr_Occurred()) SWIG_fail
;
22946 resultobj
= SWIG_FromLong((long)result
);
22953 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22954 PyObject
*resultobj
;
22955 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22957 wxPoint
*arg3
= 0 ;
22961 PyObject
* obj0
= 0 ;
22962 PyObject
* obj1
= 0 ;
22963 PyObject
* obj2
= 0 ;
22964 PyObject
* obj3
= 0 ;
22965 char *kwnames
[] = {
22966 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
22969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22972 arg2
= (long) SWIG_AsLong(obj1
);
22973 if (PyErr_Occurred()) SWIG_fail
;
22976 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22978 arg4
= (int) SWIG_AsInt(obj3
);
22979 if (PyErr_Occurred()) SWIG_fail
;
22981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22982 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
22984 wxPyEndAllowThreads(__tstate
);
22985 if (PyErr_Occurred()) SWIG_fail
;
22987 resultobj
= SWIG_FromLong((long)result
);
22994 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22995 PyObject
*resultobj
;
22996 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22997 wxPoint
*arg2
= 0 ;
23002 PyObject
* obj0
= 0 ;
23003 PyObject
* obj1
= 0 ;
23004 char *kwnames
[] = {
23005 (char *) "self",(char *) "point", NULL
23009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
23010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23014 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23018 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
23020 wxPyEndAllowThreads(__tstate
);
23021 if (PyErr_Occurred()) SWIG_fail
;
23023 resultobj
= SWIG_FromLong((long)result
);
23025 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23026 resultobj
= t_output_helper(resultobj
,o
);
23034 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23035 PyObject
*resultobj
;
23036 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23037 wxListItem
*arg2
= 0 ;
23039 PyObject
* obj0
= 0 ;
23040 PyObject
* obj1
= 0 ;
23041 char *kwnames
[] = {
23042 (char *) "self",(char *) "info", NULL
23045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23048 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
23049 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23051 if (arg2
== NULL
) {
23052 PyErr_SetString(PyExc_TypeError
,"null reference");
23056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23057 result
= (long)(arg1
)->InsertItem(*arg2
);
23059 wxPyEndAllowThreads(__tstate
);
23060 if (PyErr_Occurred()) SWIG_fail
;
23062 resultobj
= SWIG_FromLong((long)result
);
23069 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23070 PyObject
*resultobj
;
23071 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23073 wxString
*arg3
= 0 ;
23075 bool temp3
= False
;
23076 PyObject
* obj0
= 0 ;
23077 PyObject
* obj1
= 0 ;
23078 PyObject
* obj2
= 0 ;
23079 char *kwnames
[] = {
23080 (char *) "self",(char *) "index",(char *) "label", NULL
23083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23086 arg2
= (long) SWIG_AsLong(obj1
);
23087 if (PyErr_Occurred()) SWIG_fail
;
23089 arg3
= wxString_in_helper(obj2
);
23090 if (arg3
== NULL
) SWIG_fail
;
23094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23095 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
23097 wxPyEndAllowThreads(__tstate
);
23098 if (PyErr_Occurred()) SWIG_fail
;
23100 resultobj
= SWIG_FromLong((long)result
);
23115 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23116 PyObject
*resultobj
;
23117 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23121 PyObject
* obj0
= 0 ;
23122 PyObject
* obj1
= 0 ;
23123 PyObject
* obj2
= 0 ;
23124 char *kwnames
[] = {
23125 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
23128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23131 arg2
= (long) SWIG_AsLong(obj1
);
23132 if (PyErr_Occurred()) SWIG_fail
;
23133 arg3
= (int) SWIG_AsInt(obj2
);
23134 if (PyErr_Occurred()) SWIG_fail
;
23136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23137 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
23139 wxPyEndAllowThreads(__tstate
);
23140 if (PyErr_Occurred()) SWIG_fail
;
23142 resultobj
= SWIG_FromLong((long)result
);
23149 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23150 PyObject
*resultobj
;
23151 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23153 wxString
*arg3
= 0 ;
23156 bool temp3
= False
;
23157 PyObject
* obj0
= 0 ;
23158 PyObject
* obj1
= 0 ;
23159 PyObject
* obj2
= 0 ;
23160 PyObject
* obj3
= 0 ;
23161 char *kwnames
[] = {
23162 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
23165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23168 arg2
= (long) SWIG_AsLong(obj1
);
23169 if (PyErr_Occurred()) SWIG_fail
;
23171 arg3
= wxString_in_helper(obj2
);
23172 if (arg3
== NULL
) SWIG_fail
;
23175 arg4
= (int) SWIG_AsInt(obj3
);
23176 if (PyErr_Occurred()) SWIG_fail
;
23178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23179 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
23181 wxPyEndAllowThreads(__tstate
);
23182 if (PyErr_Occurred()) SWIG_fail
;
23184 resultobj
= SWIG_FromLong((long)result
);
23199 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23200 PyObject
*resultobj
;
23201 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23203 wxListItem
*arg3
= 0 ;
23205 PyObject
* obj0
= 0 ;
23206 PyObject
* obj1
= 0 ;
23207 PyObject
* obj2
= 0 ;
23208 char *kwnames
[] = {
23209 (char *) "self",(char *) "col",(char *) "info", NULL
23212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23215 arg2
= (long) SWIG_AsLong(obj1
);
23216 if (PyErr_Occurred()) SWIG_fail
;
23217 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
23218 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23220 if (arg3
== NULL
) {
23221 PyErr_SetString(PyExc_TypeError
,"null reference");
23225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23226 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
23228 wxPyEndAllowThreads(__tstate
);
23229 if (PyErr_Occurred()) SWIG_fail
;
23231 resultobj
= SWIG_FromLong((long)result
);
23238 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23239 PyObject
*resultobj
;
23240 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23242 wxString
*arg3
= 0 ;
23243 int arg4
= (int) wxLIST_FORMAT_LEFT
;
23244 int arg5
= (int) -1 ;
23246 bool temp3
= False
;
23247 PyObject
* obj0
= 0 ;
23248 PyObject
* obj1
= 0 ;
23249 PyObject
* obj2
= 0 ;
23250 PyObject
* obj3
= 0 ;
23251 PyObject
* obj4
= 0 ;
23252 char *kwnames
[] = {
23253 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
23256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23259 arg2
= (long) SWIG_AsLong(obj1
);
23260 if (PyErr_Occurred()) SWIG_fail
;
23262 arg3
= wxString_in_helper(obj2
);
23263 if (arg3
== NULL
) SWIG_fail
;
23267 arg4
= (int) SWIG_AsInt(obj3
);
23268 if (PyErr_Occurred()) SWIG_fail
;
23271 arg5
= (int) SWIG_AsInt(obj4
);
23272 if (PyErr_Occurred()) SWIG_fail
;
23275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23276 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
23278 wxPyEndAllowThreads(__tstate
);
23279 if (PyErr_Occurred()) SWIG_fail
;
23281 resultobj
= SWIG_FromLong((long)result
);
23296 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23297 PyObject
*resultobj
;
23298 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23300 PyObject
* obj0
= 0 ;
23301 PyObject
* obj1
= 0 ;
23302 char *kwnames
[] = {
23303 (char *) "self",(char *) "count", NULL
23306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
23307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23309 arg2
= (long) SWIG_AsLong(obj1
);
23310 if (PyErr_Occurred()) SWIG_fail
;
23312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23313 (arg1
)->SetItemCount(arg2
);
23315 wxPyEndAllowThreads(__tstate
);
23316 if (PyErr_Occurred()) SWIG_fail
;
23318 Py_INCREF(Py_None
); resultobj
= Py_None
;
23325 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23326 PyObject
*resultobj
;
23327 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23331 PyObject
* obj0
= 0 ;
23332 PyObject
* obj1
= 0 ;
23333 PyObject
* obj2
= 0 ;
23334 char *kwnames
[] = {
23335 (char *) "self",(char *) "dx",(char *) "dy", NULL
23338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23341 arg2
= (int) SWIG_AsInt(obj1
);
23342 if (PyErr_Occurred()) SWIG_fail
;
23343 arg3
= (int) SWIG_AsInt(obj2
);
23344 if (PyErr_Occurred()) SWIG_fail
;
23346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23347 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
23349 wxPyEndAllowThreads(__tstate
);
23350 if (PyErr_Occurred()) SWIG_fail
;
23353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23361 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23362 PyObject
*resultobj
;
23363 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23365 wxColour
*arg3
= 0 ;
23367 PyObject
* obj0
= 0 ;
23368 PyObject
* obj1
= 0 ;
23369 PyObject
* obj2
= 0 ;
23370 char *kwnames
[] = {
23371 (char *) "self",(char *) "item",(char *) "col", NULL
23374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23377 arg2
= (long) SWIG_AsLong(obj1
);
23378 if (PyErr_Occurred()) SWIG_fail
;
23381 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23385 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
23387 wxPyEndAllowThreads(__tstate
);
23388 if (PyErr_Occurred()) SWIG_fail
;
23390 Py_INCREF(Py_None
); resultobj
= Py_None
;
23397 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23398 PyObject
*resultobj
;
23399 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23402 PyObject
* obj0
= 0 ;
23403 PyObject
* obj1
= 0 ;
23404 char *kwnames
[] = {
23405 (char *) "self",(char *) "item", NULL
23408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23411 arg2
= (long) SWIG_AsLong(obj1
);
23412 if (PyErr_Occurred()) SWIG_fail
;
23414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23415 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
23417 wxPyEndAllowThreads(__tstate
);
23418 if (PyErr_Occurred()) SWIG_fail
;
23421 wxColour
* resultptr
;
23422 resultptr
= new wxColour((wxColour
&) result
);
23423 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23431 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23432 PyObject
*resultobj
;
23433 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23435 wxColour
*arg3
= 0 ;
23437 PyObject
* obj0
= 0 ;
23438 PyObject
* obj1
= 0 ;
23439 PyObject
* obj2
= 0 ;
23440 char *kwnames
[] = {
23441 (char *) "self",(char *) "item",(char *) "col", NULL
23444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23447 arg2
= (long) SWIG_AsLong(obj1
);
23448 if (PyErr_Occurred()) SWIG_fail
;
23451 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23455 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
23457 wxPyEndAllowThreads(__tstate
);
23458 if (PyErr_Occurred()) SWIG_fail
;
23460 Py_INCREF(Py_None
); resultobj
= Py_None
;
23467 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23468 PyObject
*resultobj
;
23469 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23472 PyObject
* obj0
= 0 ;
23473 PyObject
* obj1
= 0 ;
23474 char *kwnames
[] = {
23475 (char *) "self",(char *) "item", NULL
23478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23481 arg2
= (long) SWIG_AsLong(obj1
);
23482 if (PyErr_Occurred()) SWIG_fail
;
23484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23485 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
23487 wxPyEndAllowThreads(__tstate
);
23488 if (PyErr_Occurred()) SWIG_fail
;
23491 wxColour
* resultptr
;
23492 resultptr
= new wxColour((wxColour
&) result
);
23493 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23501 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23502 PyObject
*resultobj
;
23503 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23504 PyObject
*arg2
= (PyObject
*) 0 ;
23506 PyObject
* obj0
= 0 ;
23507 PyObject
* obj1
= 0 ;
23508 char *kwnames
[] = {
23509 (char *) "self",(char *) "func", NULL
23512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
23513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23518 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
23520 wxPyEndAllowThreads(__tstate
);
23521 if (PyErr_Occurred()) SWIG_fail
;
23524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23532 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23533 PyObject
*resultobj
;
23534 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23536 PyObject
* obj0
= 0 ;
23537 char *kwnames
[] = {
23538 (char *) "self", NULL
23541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
23542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23546 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
23548 wxPyEndAllowThreads(__tstate
);
23549 if (PyErr_Occurred()) SWIG_fail
;
23552 resultobj
= wxPyMake_wxObject(result
);
23560 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23561 PyObject
*resultobj
;
23562 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
23563 wxVisualAttributes result
;
23564 PyObject
* obj0
= 0 ;
23565 char *kwnames
[] = {
23566 (char *) "variant", NULL
23569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
23571 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
23572 if (PyErr_Occurred()) SWIG_fail
;
23575 if (!wxPyCheckForApp()) SWIG_fail
;
23576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23577 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
23579 wxPyEndAllowThreads(__tstate
);
23580 if (PyErr_Occurred()) SWIG_fail
;
23583 wxVisualAttributes
* resultptr
;
23584 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
23585 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
23593 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
23595 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23596 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
23598 return Py_BuildValue((char *)"");
23600 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23601 PyObject
*resultobj
;
23602 wxWindow
*arg1
= (wxWindow
*) 0 ;
23603 int arg2
= (int) -1 ;
23604 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23605 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23606 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23607 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23608 long arg5
= (long) wxLC_REPORT
;
23609 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23610 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23611 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
23612 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23613 wxListView
*result
;
23616 bool temp7
= False
;
23617 PyObject
* obj0
= 0 ;
23618 PyObject
* obj1
= 0 ;
23619 PyObject
* obj2
= 0 ;
23620 PyObject
* obj3
= 0 ;
23621 PyObject
* obj4
= 0 ;
23622 PyObject
* obj5
= 0 ;
23623 PyObject
* obj6
= 0 ;
23624 char *kwnames
[] = {
23625 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23632 arg2
= (int) SWIG_AsInt(obj1
);
23633 if (PyErr_Occurred()) SWIG_fail
;
23638 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23644 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23648 arg5
= (long) SWIG_AsLong(obj4
);
23649 if (PyErr_Occurred()) SWIG_fail
;
23652 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
23653 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23655 if (arg6
== NULL
) {
23656 PyErr_SetString(PyExc_TypeError
,"null reference");
23662 arg7
= wxString_in_helper(obj6
);
23663 if (arg7
== NULL
) SWIG_fail
;
23668 if (!wxPyCheckForApp()) SWIG_fail
;
23669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23670 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23672 wxPyEndAllowThreads(__tstate
);
23673 if (PyErr_Occurred()) SWIG_fail
;
23675 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
23690 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23691 PyObject
*resultobj
;
23692 wxListView
*result
;
23693 char *kwnames
[] = {
23697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
23699 if (!wxPyCheckForApp()) SWIG_fail
;
23700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23701 result
= (wxListView
*)new wxListView();
23703 wxPyEndAllowThreads(__tstate
);
23704 if (PyErr_Occurred()) SWIG_fail
;
23706 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
23713 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23714 PyObject
*resultobj
;
23715 wxListView
*arg1
= (wxListView
*) 0 ;
23716 wxWindow
*arg2
= (wxWindow
*) 0 ;
23717 int arg3
= (int) -1 ;
23718 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23719 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23720 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23721 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23722 long arg6
= (long) wxLC_REPORT
;
23723 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23724 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23725 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
23726 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23730 bool temp8
= False
;
23731 PyObject
* obj0
= 0 ;
23732 PyObject
* obj1
= 0 ;
23733 PyObject
* obj2
= 0 ;
23734 PyObject
* obj3
= 0 ;
23735 PyObject
* obj4
= 0 ;
23736 PyObject
* obj5
= 0 ;
23737 PyObject
* obj6
= 0 ;
23738 PyObject
* obj7
= 0 ;
23739 char *kwnames
[] = {
23740 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23746 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23749 arg3
= (int) SWIG_AsInt(obj2
);
23750 if (PyErr_Occurred()) SWIG_fail
;
23755 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23761 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23765 arg6
= (long) SWIG_AsLong(obj5
);
23766 if (PyErr_Occurred()) SWIG_fail
;
23769 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
23770 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23772 if (arg7
== NULL
) {
23773 PyErr_SetString(PyExc_TypeError
,"null reference");
23779 arg8
= wxString_in_helper(obj7
);
23780 if (arg8
== NULL
) SWIG_fail
;
23785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23786 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23788 wxPyEndAllowThreads(__tstate
);
23789 if (PyErr_Occurred()) SWIG_fail
;
23792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23808 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23809 PyObject
*resultobj
;
23810 wxListView
*arg1
= (wxListView
*) 0 ;
23812 bool arg3
= (bool) True
;
23813 PyObject
* obj0
= 0 ;
23814 PyObject
* obj1
= 0 ;
23815 PyObject
* obj2
= 0 ;
23816 char *kwnames
[] = {
23817 (char *) "self",(char *) "n",(char *) "on", NULL
23820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23823 arg2
= (long) SWIG_AsLong(obj1
);
23824 if (PyErr_Occurred()) SWIG_fail
;
23826 arg3
= (bool) SWIG_AsBool(obj2
);
23827 if (PyErr_Occurred()) SWIG_fail
;
23830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23831 (arg1
)->Select(arg2
,arg3
);
23833 wxPyEndAllowThreads(__tstate
);
23834 if (PyErr_Occurred()) SWIG_fail
;
23836 Py_INCREF(Py_None
); resultobj
= Py_None
;
23843 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23844 PyObject
*resultobj
;
23845 wxListView
*arg1
= (wxListView
*) 0 ;
23847 PyObject
* obj0
= 0 ;
23848 PyObject
* obj1
= 0 ;
23849 char *kwnames
[] = {
23850 (char *) "self",(char *) "index", NULL
23853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
23854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23856 arg2
= (long) SWIG_AsLong(obj1
);
23857 if (PyErr_Occurred()) SWIG_fail
;
23859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23860 (arg1
)->Focus(arg2
);
23862 wxPyEndAllowThreads(__tstate
);
23863 if (PyErr_Occurred()) SWIG_fail
;
23865 Py_INCREF(Py_None
); resultobj
= Py_None
;
23872 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23873 PyObject
*resultobj
;
23874 wxListView
*arg1
= (wxListView
*) 0 ;
23876 PyObject
* obj0
= 0 ;
23877 char *kwnames
[] = {
23878 (char *) "self", NULL
23881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
23882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23886 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
23888 wxPyEndAllowThreads(__tstate
);
23889 if (PyErr_Occurred()) SWIG_fail
;
23891 resultobj
= SWIG_FromLong((long)result
);
23898 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23899 PyObject
*resultobj
;
23900 wxListView
*arg1
= (wxListView
*) 0 ;
23903 PyObject
* obj0
= 0 ;
23904 PyObject
* obj1
= 0 ;
23905 char *kwnames
[] = {
23906 (char *) "self",(char *) "item", NULL
23909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
23910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23912 arg2
= (long) SWIG_AsLong(obj1
);
23913 if (PyErr_Occurred()) SWIG_fail
;
23915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23916 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
23918 wxPyEndAllowThreads(__tstate
);
23919 if (PyErr_Occurred()) SWIG_fail
;
23921 resultobj
= SWIG_FromLong((long)result
);
23928 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23929 PyObject
*resultobj
;
23930 wxListView
*arg1
= (wxListView
*) 0 ;
23932 PyObject
* obj0
= 0 ;
23933 char *kwnames
[] = {
23934 (char *) "self", NULL
23937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
23938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23942 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
23944 wxPyEndAllowThreads(__tstate
);
23945 if (PyErr_Occurred()) SWIG_fail
;
23947 resultobj
= SWIG_FromLong((long)result
);
23954 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23955 PyObject
*resultobj
;
23956 wxListView
*arg1
= (wxListView
*) 0 ;
23959 PyObject
* obj0
= 0 ;
23960 PyObject
* obj1
= 0 ;
23961 char *kwnames
[] = {
23962 (char *) "self",(char *) "index", NULL
23965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
23966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23968 arg2
= (long) SWIG_AsLong(obj1
);
23969 if (PyErr_Occurred()) SWIG_fail
;
23971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23972 result
= (bool)(arg1
)->IsSelected(arg2
);
23974 wxPyEndAllowThreads(__tstate
);
23975 if (PyErr_Occurred()) SWIG_fail
;
23978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23986 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23987 PyObject
*resultobj
;
23988 wxListView
*arg1
= (wxListView
*) 0 ;
23991 PyObject
* obj0
= 0 ;
23992 PyObject
* obj1
= 0 ;
23993 PyObject
* obj2
= 0 ;
23994 char *kwnames
[] = {
23995 (char *) "self",(char *) "col",(char *) "image", NULL
23998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24001 arg2
= (int) SWIG_AsInt(obj1
);
24002 if (PyErr_Occurred()) SWIG_fail
;
24003 arg3
= (int) SWIG_AsInt(obj2
);
24004 if (PyErr_Occurred()) SWIG_fail
;
24006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24007 (arg1
)->SetColumnImage(arg2
,arg3
);
24009 wxPyEndAllowThreads(__tstate
);
24010 if (PyErr_Occurred()) SWIG_fail
;
24012 Py_INCREF(Py_None
); resultobj
= Py_None
;
24019 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24020 PyObject
*resultobj
;
24021 wxListView
*arg1
= (wxListView
*) 0 ;
24023 PyObject
* obj0
= 0 ;
24024 PyObject
* obj1
= 0 ;
24025 char *kwnames
[] = {
24026 (char *) "self",(char *) "col", NULL
24029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
24030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24032 arg2
= (int) SWIG_AsInt(obj1
);
24033 if (PyErr_Occurred()) SWIG_fail
;
24035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24036 (arg1
)->ClearColumnImage(arg2
);
24038 wxPyEndAllowThreads(__tstate
);
24039 if (PyErr_Occurred()) SWIG_fail
;
24041 Py_INCREF(Py_None
); resultobj
= Py_None
;
24048 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
24050 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24051 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
24053 return Py_BuildValue((char *)"");
24055 static int _wrap_TreeCtrlNameStr_set(PyObject
*_val
) {
24056 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
24061 static PyObject
*_wrap_TreeCtrlNameStr_get() {
24066 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24068 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24075 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24076 PyObject
*resultobj
;
24077 wxTreeItemId
*result
;
24078 char *kwnames
[] = {
24082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
24084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24085 result
= (wxTreeItemId
*)new wxTreeItemId();
24087 wxPyEndAllowThreads(__tstate
);
24088 if (PyErr_Occurred()) SWIG_fail
;
24090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
24097 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24098 PyObject
*resultobj
;
24099 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24100 PyObject
* obj0
= 0 ;
24101 char *kwnames
[] = {
24102 (char *) "self", NULL
24105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
24106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24112 wxPyEndAllowThreads(__tstate
);
24113 if (PyErr_Occurred()) SWIG_fail
;
24115 Py_INCREF(Py_None
); resultobj
= Py_None
;
24122 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24123 PyObject
*resultobj
;
24124 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24126 PyObject
* obj0
= 0 ;
24127 char *kwnames
[] = {
24128 (char *) "self", NULL
24131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
24132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24136 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
24138 wxPyEndAllowThreads(__tstate
);
24139 if (PyErr_Occurred()) SWIG_fail
;
24142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24150 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24151 PyObject
*resultobj
;
24152 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24153 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24155 PyObject
* obj0
= 0 ;
24156 PyObject
* obj1
= 0 ;
24157 char *kwnames
[] = {
24158 (char *) "self",(char *) "other", NULL
24161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24164 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24168 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
24170 wxPyEndAllowThreads(__tstate
);
24171 if (PyErr_Occurred()) SWIG_fail
;
24174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24182 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24183 PyObject
*resultobj
;
24184 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24185 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24187 PyObject
* obj0
= 0 ;
24188 PyObject
* obj1
= 0 ;
24189 char *kwnames
[] = {
24190 (char *) "self",(char *) "other", NULL
24193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24196 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24200 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
24202 wxPyEndAllowThreads(__tstate
);
24203 if (PyErr_Occurred()) SWIG_fail
;
24206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24214 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24215 PyObject
*resultobj
;
24216 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24217 void *arg2
= (void *) 0 ;
24218 PyObject
* obj0
= 0 ;
24219 PyObject
* obj1
= 0 ;
24220 char *kwnames
[] = {
24221 (char *) "self",(char *) "m_pItem", NULL
24224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24227 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24228 if (arg1
) (arg1
)->m_pItem
= arg2
;
24230 Py_INCREF(Py_None
); resultobj
= Py_None
;
24237 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24238 PyObject
*resultobj
;
24239 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24241 PyObject
* obj0
= 0 ;
24242 char *kwnames
[] = {
24243 (char *) "self", NULL
24246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
24247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24249 result
= (void *) ((arg1
)->m_pItem
);
24251 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
24258 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
24260 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24261 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
24263 return Py_BuildValue((char *)"");
24265 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24266 PyObject
*resultobj
;
24267 PyObject
*arg1
= (PyObject
*) NULL
;
24268 wxPyTreeItemData
*result
;
24269 PyObject
* obj0
= 0 ;
24270 char *kwnames
[] = {
24271 (char *) "obj", NULL
24274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
24279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24280 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
24282 wxPyEndAllowThreads(__tstate
);
24283 if (PyErr_Occurred()) SWIG_fail
;
24285 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
24292 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24293 PyObject
*resultobj
;
24294 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24296 PyObject
* obj0
= 0 ;
24297 char *kwnames
[] = {
24298 (char *) "self", NULL
24301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
24302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24306 result
= (PyObject
*)(arg1
)->GetData();
24308 wxPyEndAllowThreads(__tstate
);
24309 if (PyErr_Occurred()) SWIG_fail
;
24311 resultobj
= result
;
24318 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24319 PyObject
*resultobj
;
24320 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24321 PyObject
*arg2
= (PyObject
*) 0 ;
24322 PyObject
* obj0
= 0 ;
24323 PyObject
* obj1
= 0 ;
24324 char *kwnames
[] = {
24325 (char *) "self",(char *) "obj", NULL
24328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24334 (arg1
)->SetData(arg2
);
24336 wxPyEndAllowThreads(__tstate
);
24337 if (PyErr_Occurred()) SWIG_fail
;
24339 Py_INCREF(Py_None
); resultobj
= Py_None
;
24346 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24347 PyObject
*resultobj
;
24348 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24349 wxTreeItemId
*result
;
24350 PyObject
* obj0
= 0 ;
24351 char *kwnames
[] = {
24352 (char *) "self", NULL
24355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
24356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24361 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
24362 result
= (wxTreeItemId
*) &_result_ref
;
24365 wxPyEndAllowThreads(__tstate
);
24366 if (PyErr_Occurred()) SWIG_fail
;
24368 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
24375 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24376 PyObject
*resultobj
;
24377 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24378 wxTreeItemId
*arg2
= 0 ;
24379 PyObject
* obj0
= 0 ;
24380 PyObject
* obj1
= 0 ;
24381 char *kwnames
[] = {
24382 (char *) "self",(char *) "id", NULL
24385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24388 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24389 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24391 if (arg2
== NULL
) {
24392 PyErr_SetString(PyExc_TypeError
,"null reference");
24396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24397 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
24399 wxPyEndAllowThreads(__tstate
);
24400 if (PyErr_Occurred()) SWIG_fail
;
24402 Py_INCREF(Py_None
); resultobj
= Py_None
;
24409 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24410 PyObject
*resultobj
;
24411 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24412 PyObject
* obj0
= 0 ;
24413 char *kwnames
[] = {
24414 (char *) "self", NULL
24417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
24418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24422 wxPyTreeItemData_Destroy(arg1
);
24424 wxPyEndAllowThreads(__tstate
);
24425 if (PyErr_Occurred()) SWIG_fail
;
24427 Py_INCREF(Py_None
); resultobj
= Py_None
;
24434 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
24436 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24437 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
24439 return Py_BuildValue((char *)"");
24441 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24442 PyObject
*resultobj
;
24443 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
24444 int arg2
= (int) 0 ;
24445 wxTreeEvent
*result
;
24446 PyObject
* obj0
= 0 ;
24447 PyObject
* obj1
= 0 ;
24448 char *kwnames
[] = {
24449 (char *) "commandType",(char *) "id", NULL
24452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24454 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
24455 if (PyErr_Occurred()) SWIG_fail
;
24458 arg2
= (int) SWIG_AsInt(obj1
);
24459 if (PyErr_Occurred()) SWIG_fail
;
24462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24463 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
24465 wxPyEndAllowThreads(__tstate
);
24466 if (PyErr_Occurred()) SWIG_fail
;
24468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
24475 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24476 PyObject
*resultobj
;
24477 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24478 wxTreeItemId result
;
24479 PyObject
* obj0
= 0 ;
24480 char *kwnames
[] = {
24481 (char *) "self", NULL
24484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
24485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24489 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
24491 wxPyEndAllowThreads(__tstate
);
24492 if (PyErr_Occurred()) SWIG_fail
;
24495 wxTreeItemId
* resultptr
;
24496 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24497 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24505 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24506 PyObject
*resultobj
;
24507 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24508 wxTreeItemId
*arg2
= 0 ;
24509 PyObject
* obj0
= 0 ;
24510 PyObject
* obj1
= 0 ;
24511 char *kwnames
[] = {
24512 (char *) "self",(char *) "item", NULL
24515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24518 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24519 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24521 if (arg2
== NULL
) {
24522 PyErr_SetString(PyExc_TypeError
,"null reference");
24526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24527 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
24529 wxPyEndAllowThreads(__tstate
);
24530 if (PyErr_Occurred()) SWIG_fail
;
24532 Py_INCREF(Py_None
); resultobj
= Py_None
;
24539 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24540 PyObject
*resultobj
;
24541 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24542 wxTreeItemId result
;
24543 PyObject
* obj0
= 0 ;
24544 char *kwnames
[] = {
24545 (char *) "self", NULL
24548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
24549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24553 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
24555 wxPyEndAllowThreads(__tstate
);
24556 if (PyErr_Occurred()) SWIG_fail
;
24559 wxTreeItemId
* resultptr
;
24560 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24561 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24569 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24570 PyObject
*resultobj
;
24571 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24572 wxTreeItemId
*arg2
= 0 ;
24573 PyObject
* obj0
= 0 ;
24574 PyObject
* obj1
= 0 ;
24575 char *kwnames
[] = {
24576 (char *) "self",(char *) "item", NULL
24579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24582 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24583 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24585 if (arg2
== NULL
) {
24586 PyErr_SetString(PyExc_TypeError
,"null reference");
24590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24591 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
24593 wxPyEndAllowThreads(__tstate
);
24594 if (PyErr_Occurred()) SWIG_fail
;
24596 Py_INCREF(Py_None
); resultobj
= Py_None
;
24603 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24604 PyObject
*resultobj
;
24605 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24607 PyObject
* obj0
= 0 ;
24608 char *kwnames
[] = {
24609 (char *) "self", NULL
24612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
24613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24617 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
24619 wxPyEndAllowThreads(__tstate
);
24620 if (PyErr_Occurred()) SWIG_fail
;
24623 wxPoint
* resultptr
;
24624 resultptr
= new wxPoint((wxPoint
&) result
);
24625 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24633 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24634 PyObject
*resultobj
;
24635 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24636 wxPoint
*arg2
= 0 ;
24638 PyObject
* obj0
= 0 ;
24639 PyObject
* obj1
= 0 ;
24640 char *kwnames
[] = {
24641 (char *) "self",(char *) "pt", NULL
24644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
24645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24649 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24653 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
24655 wxPyEndAllowThreads(__tstate
);
24656 if (PyErr_Occurred()) SWIG_fail
;
24658 Py_INCREF(Py_None
); resultobj
= Py_None
;
24665 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24666 PyObject
*resultobj
;
24667 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24668 wxKeyEvent
*result
;
24669 PyObject
* obj0
= 0 ;
24670 char *kwnames
[] = {
24671 (char *) "self", NULL
24674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
24675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24680 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
24681 result
= (wxKeyEvent
*) &_result_ref
;
24684 wxPyEndAllowThreads(__tstate
);
24685 if (PyErr_Occurred()) SWIG_fail
;
24687 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
24694 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24695 PyObject
*resultobj
;
24696 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24698 PyObject
* obj0
= 0 ;
24699 char *kwnames
[] = {
24700 (char *) "self", NULL
24703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24708 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
24710 wxPyEndAllowThreads(__tstate
);
24711 if (PyErr_Occurred()) SWIG_fail
;
24713 resultobj
= SWIG_FromInt((int)result
);
24720 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24721 PyObject
*resultobj
;
24722 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24723 wxKeyEvent
*arg2
= 0 ;
24724 PyObject
* obj0
= 0 ;
24725 PyObject
* obj1
= 0 ;
24726 char *kwnames
[] = {
24727 (char *) "self",(char *) "evt", NULL
24730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24733 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
24734 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24736 if (arg2
== NULL
) {
24737 PyErr_SetString(PyExc_TypeError
,"null reference");
24741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24742 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
24744 wxPyEndAllowThreads(__tstate
);
24745 if (PyErr_Occurred()) SWIG_fail
;
24747 Py_INCREF(Py_None
); resultobj
= Py_None
;
24754 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24755 PyObject
*resultobj
;
24756 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24758 PyObject
* obj0
= 0 ;
24759 char *kwnames
[] = {
24760 (char *) "self", NULL
24763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
24764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24769 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
24770 result
= (wxString
*) &_result_ref
;
24773 wxPyEndAllowThreads(__tstate
);
24774 if (PyErr_Occurred()) SWIG_fail
;
24778 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24780 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24789 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24790 PyObject
*resultobj
;
24791 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24792 wxString
*arg2
= 0 ;
24793 bool temp2
= False
;
24794 PyObject
* obj0
= 0 ;
24795 PyObject
* obj1
= 0 ;
24796 char *kwnames
[] = {
24797 (char *) "self",(char *) "label", NULL
24800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
24801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24804 arg2
= wxString_in_helper(obj1
);
24805 if (arg2
== NULL
) SWIG_fail
;
24809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24810 (arg1
)->SetLabel((wxString
const &)*arg2
);
24812 wxPyEndAllowThreads(__tstate
);
24813 if (PyErr_Occurred()) SWIG_fail
;
24815 Py_INCREF(Py_None
); resultobj
= Py_None
;
24830 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24831 PyObject
*resultobj
;
24832 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24834 PyObject
* obj0
= 0 ;
24835 char *kwnames
[] = {
24836 (char *) "self", NULL
24839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
24840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24844 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
24846 wxPyEndAllowThreads(__tstate
);
24847 if (PyErr_Occurred()) SWIG_fail
;
24850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24858 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24859 PyObject
*resultobj
;
24860 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24862 PyObject
* obj0
= 0 ;
24863 PyObject
* obj1
= 0 ;
24864 char *kwnames
[] = {
24865 (char *) "self",(char *) "editCancelled", NULL
24868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
24869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24871 arg2
= (bool) SWIG_AsBool(obj1
);
24872 if (PyErr_Occurred()) SWIG_fail
;
24874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24875 (arg1
)->SetEditCanceled(arg2
);
24877 wxPyEndAllowThreads(__tstate
);
24878 if (PyErr_Occurred()) SWIG_fail
;
24880 Py_INCREF(Py_None
); resultobj
= Py_None
;
24887 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24888 PyObject
*resultobj
;
24889 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24890 wxString
*arg2
= 0 ;
24891 bool temp2
= False
;
24892 PyObject
* obj0
= 0 ;
24893 PyObject
* obj1
= 0 ;
24894 char *kwnames
[] = {
24895 (char *) "self",(char *) "toolTip", NULL
24898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
24899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24902 arg2
= wxString_in_helper(obj1
);
24903 if (arg2
== NULL
) SWIG_fail
;
24907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24908 (arg1
)->SetToolTip((wxString
const &)*arg2
);
24910 wxPyEndAllowThreads(__tstate
);
24911 if (PyErr_Occurred()) SWIG_fail
;
24913 Py_INCREF(Py_None
); resultobj
= Py_None
;
24928 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
24930 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24931 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
24933 return Py_BuildValue((char *)"");
24935 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24936 PyObject
*resultobj
;
24937 wxWindow
*arg1
= (wxWindow
*) 0 ;
24938 int arg2
= (int) -1 ;
24939 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24940 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24941 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24942 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24943 long arg5
= (long) wxTR_DEFAULT_STYLE
;
24944 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
24945 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
24946 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
24947 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24948 wxPyTreeCtrl
*result
;
24951 bool temp7
= False
;
24952 PyObject
* obj0
= 0 ;
24953 PyObject
* obj1
= 0 ;
24954 PyObject
* obj2
= 0 ;
24955 PyObject
* obj3
= 0 ;
24956 PyObject
* obj4
= 0 ;
24957 PyObject
* obj5
= 0 ;
24958 PyObject
* obj6
= 0 ;
24959 char *kwnames
[] = {
24960 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24967 arg2
= (int) SWIG_AsInt(obj1
);
24968 if (PyErr_Occurred()) SWIG_fail
;
24973 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24979 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24983 arg5
= (long) SWIG_AsLong(obj4
);
24984 if (PyErr_Occurred()) SWIG_fail
;
24987 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
24988 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24990 if (arg6
== NULL
) {
24991 PyErr_SetString(PyExc_TypeError
,"null reference");
24997 arg7
= wxString_in_helper(obj6
);
24998 if (arg7
== NULL
) SWIG_fail
;
25003 if (!wxPyCheckForApp()) SWIG_fail
;
25004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25005 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
25007 wxPyEndAllowThreads(__tstate
);
25008 if (PyErr_Occurred()) SWIG_fail
;
25011 resultobj
= wxPyMake_wxObject(result
);
25027 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25028 PyObject
*resultobj
;
25029 wxPyTreeCtrl
*result
;
25030 char *kwnames
[] = {
25034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
25036 if (!wxPyCheckForApp()) SWIG_fail
;
25037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25038 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
25040 wxPyEndAllowThreads(__tstate
);
25041 if (PyErr_Occurred()) SWIG_fail
;
25044 resultobj
= wxPyMake_wxObject(result
);
25052 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25053 PyObject
*resultobj
;
25054 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25055 wxWindow
*arg2
= (wxWindow
*) 0 ;
25056 int arg3
= (int) -1 ;
25057 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25058 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25059 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25060 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25061 long arg6
= (long) wxTR_DEFAULT_STYLE
;
25062 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
25063 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
25064 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
25065 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
25069 bool temp8
= False
;
25070 PyObject
* obj0
= 0 ;
25071 PyObject
* obj1
= 0 ;
25072 PyObject
* obj2
= 0 ;
25073 PyObject
* obj3
= 0 ;
25074 PyObject
* obj4
= 0 ;
25075 PyObject
* obj5
= 0 ;
25076 PyObject
* obj6
= 0 ;
25077 PyObject
* obj7
= 0 ;
25078 char *kwnames
[] = {
25079 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
25083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25085 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25088 arg3
= (int) SWIG_AsInt(obj2
);
25089 if (PyErr_Occurred()) SWIG_fail
;
25094 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25100 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25104 arg6
= (long) SWIG_AsLong(obj5
);
25105 if (PyErr_Occurred()) SWIG_fail
;
25108 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
25109 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25111 if (arg7
== NULL
) {
25112 PyErr_SetString(PyExc_TypeError
,"null reference");
25118 arg8
= wxString_in_helper(obj7
);
25119 if (arg8
== NULL
) SWIG_fail
;
25124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25125 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
25127 wxPyEndAllowThreads(__tstate
);
25128 if (PyErr_Occurred()) SWIG_fail
;
25131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25147 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25148 PyObject
*resultobj
;
25149 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25150 PyObject
*arg2
= (PyObject
*) 0 ;
25151 PyObject
*arg3
= (PyObject
*) 0 ;
25152 PyObject
* obj0
= 0 ;
25153 PyObject
* obj1
= 0 ;
25154 PyObject
* obj2
= 0 ;
25155 char *kwnames
[] = {
25156 (char *) "self",(char *) "self",(char *) "_class", NULL
25159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25166 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25168 wxPyEndAllowThreads(__tstate
);
25169 if (PyErr_Occurred()) SWIG_fail
;
25171 Py_INCREF(Py_None
); resultobj
= Py_None
;
25178 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25179 PyObject
*resultobj
;
25180 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25182 PyObject
* obj0
= 0 ;
25183 char *kwnames
[] = {
25184 (char *) "self", NULL
25187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
25188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25192 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
25194 wxPyEndAllowThreads(__tstate
);
25195 if (PyErr_Occurred()) SWIG_fail
;
25197 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25204 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25205 PyObject
*resultobj
;
25206 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25207 unsigned int result
;
25208 PyObject
* obj0
= 0 ;
25209 char *kwnames
[] = {
25210 (char *) "self", NULL
25213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
25214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25218 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
25220 wxPyEndAllowThreads(__tstate
);
25221 if (PyErr_Occurred()) SWIG_fail
;
25223 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
25230 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25231 PyObject
*resultobj
;
25232 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25233 unsigned int arg2
;
25234 PyObject
* obj0
= 0 ;
25235 PyObject
* obj1
= 0 ;
25236 char *kwnames
[] = {
25237 (char *) "self",(char *) "indent", NULL
25240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
25241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25243 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
25244 if (PyErr_Occurred()) SWIG_fail
;
25246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25247 (arg1
)->SetIndent(arg2
);
25249 wxPyEndAllowThreads(__tstate
);
25250 if (PyErr_Occurred()) SWIG_fail
;
25252 Py_INCREF(Py_None
); resultobj
= Py_None
;
25259 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25260 PyObject
*resultobj
;
25261 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25262 unsigned int result
;
25263 PyObject
* obj0
= 0 ;
25264 char *kwnames
[] = {
25265 (char *) "self", NULL
25268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
25269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25273 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
25275 wxPyEndAllowThreads(__tstate
);
25276 if (PyErr_Occurred()) SWIG_fail
;
25278 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
25285 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25286 PyObject
*resultobj
;
25287 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25288 unsigned int arg2
;
25289 PyObject
* obj0
= 0 ;
25290 PyObject
* obj1
= 0 ;
25291 char *kwnames
[] = {
25292 (char *) "self",(char *) "spacing", NULL
25295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
25296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25298 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
25299 if (PyErr_Occurred()) SWIG_fail
;
25301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25302 (arg1
)->SetSpacing(arg2
);
25304 wxPyEndAllowThreads(__tstate
);
25305 if (PyErr_Occurred()) SWIG_fail
;
25307 Py_INCREF(Py_None
); resultobj
= Py_None
;
25314 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25315 PyObject
*resultobj
;
25316 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25317 wxImageList
*result
;
25318 PyObject
* obj0
= 0 ;
25319 char *kwnames
[] = {
25320 (char *) "self", NULL
25323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
25324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25328 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
25330 wxPyEndAllowThreads(__tstate
);
25331 if (PyErr_Occurred()) SWIG_fail
;
25334 resultobj
= wxPyMake_wxObject(result
);
25342 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25343 PyObject
*resultobj
;
25344 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25345 wxImageList
*result
;
25346 PyObject
* obj0
= 0 ;
25347 char *kwnames
[] = {
25348 (char *) "self", NULL
25351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
25352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25356 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
25358 wxPyEndAllowThreads(__tstate
);
25359 if (PyErr_Occurred()) SWIG_fail
;
25362 resultobj
= wxPyMake_wxObject(result
);
25370 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25371 PyObject
*resultobj
;
25372 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25373 wxImageList
*arg2
= (wxImageList
*) 0 ;
25374 PyObject
* obj0
= 0 ;
25375 PyObject
* obj1
= 0 ;
25376 char *kwnames
[] = {
25377 (char *) "self",(char *) "imageList", NULL
25380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25383 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25387 (arg1
)->SetImageList(arg2
);
25389 wxPyEndAllowThreads(__tstate
);
25390 if (PyErr_Occurred()) SWIG_fail
;
25392 Py_INCREF(Py_None
); resultobj
= Py_None
;
25399 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25400 PyObject
*resultobj
;
25401 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25402 wxImageList
*arg2
= (wxImageList
*) 0 ;
25403 PyObject
* obj0
= 0 ;
25404 PyObject
* obj1
= 0 ;
25405 char *kwnames
[] = {
25406 (char *) "self",(char *) "imageList", NULL
25409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25412 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25416 (arg1
)->SetStateImageList(arg2
);
25418 wxPyEndAllowThreads(__tstate
);
25419 if (PyErr_Occurred()) SWIG_fail
;
25421 Py_INCREF(Py_None
); resultobj
= Py_None
;
25428 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25429 PyObject
*resultobj
;
25430 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25431 wxImageList
*arg2
= (wxImageList
*) 0 ;
25432 PyObject
* obj0
= 0 ;
25433 PyObject
* obj1
= 0 ;
25434 char *kwnames
[] = {
25435 (char *) "self",(char *) "imageList", NULL
25438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25441 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25442 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25445 (arg1
)->AssignImageList(arg2
);
25447 wxPyEndAllowThreads(__tstate
);
25448 if (PyErr_Occurred()) SWIG_fail
;
25450 Py_INCREF(Py_None
); resultobj
= Py_None
;
25457 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25458 PyObject
*resultobj
;
25459 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25460 wxImageList
*arg2
= (wxImageList
*) 0 ;
25461 PyObject
* obj0
= 0 ;
25462 PyObject
* obj1
= 0 ;
25463 char *kwnames
[] = {
25464 (char *) "self",(char *) "imageList", NULL
25467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25470 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25471 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25474 (arg1
)->AssignStateImageList(arg2
);
25476 wxPyEndAllowThreads(__tstate
);
25477 if (PyErr_Occurred()) SWIG_fail
;
25479 Py_INCREF(Py_None
); resultobj
= Py_None
;
25486 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25487 PyObject
*resultobj
;
25488 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25489 wxTreeItemId
*arg2
= 0 ;
25491 PyObject
* obj0
= 0 ;
25492 PyObject
* obj1
= 0 ;
25493 char *kwnames
[] = {
25494 (char *) "self",(char *) "item", NULL
25497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
25498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25500 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25501 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25503 if (arg2
== NULL
) {
25504 PyErr_SetString(PyExc_TypeError
,"null reference");
25508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25509 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
25511 wxPyEndAllowThreads(__tstate
);
25512 if (PyErr_Occurred()) SWIG_fail
;
25516 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25518 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25527 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25528 PyObject
*resultobj
;
25529 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25530 wxTreeItemId
*arg2
= 0 ;
25531 int arg3
= (int) wxTreeItemIcon_Normal
;
25533 PyObject
* obj0
= 0 ;
25534 PyObject
* obj1
= 0 ;
25535 PyObject
* obj2
= 0 ;
25536 char *kwnames
[] = {
25537 (char *) "self",(char *) "item",(char *) "which", NULL
25540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25543 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25544 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25546 if (arg2
== NULL
) {
25547 PyErr_SetString(PyExc_TypeError
,"null reference");
25551 arg3
= (wxTreeItemIcon
) SWIG_AsInt(obj2
);
25552 if (PyErr_Occurred()) SWIG_fail
;
25555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25556 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
25558 wxPyEndAllowThreads(__tstate
);
25559 if (PyErr_Occurred()) SWIG_fail
;
25561 resultobj
= SWIG_FromInt((int)result
);
25568 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25569 PyObject
*resultobj
;
25570 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25571 wxTreeItemId
*arg2
= 0 ;
25572 wxPyTreeItemData
*result
;
25573 PyObject
* obj0
= 0 ;
25574 PyObject
* obj1
= 0 ;
25575 char *kwnames
[] = {
25576 (char *) "self",(char *) "item", NULL
25579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
25580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25582 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25583 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25585 if (arg2
== NULL
) {
25586 PyErr_SetString(PyExc_TypeError
,"null reference");
25590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25591 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
25593 wxPyEndAllowThreads(__tstate
);
25594 if (PyErr_Occurred()) SWIG_fail
;
25596 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
25603 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25604 PyObject
*resultobj
;
25605 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25606 wxTreeItemId
*arg2
= 0 ;
25608 PyObject
* obj0
= 0 ;
25609 PyObject
* obj1
= 0 ;
25610 char *kwnames
[] = {
25611 (char *) "self",(char *) "item", NULL
25614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
25615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25617 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25618 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25620 if (arg2
== NULL
) {
25621 PyErr_SetString(PyExc_TypeError
,"null reference");
25625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25626 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
25628 wxPyEndAllowThreads(__tstate
);
25629 if (PyErr_Occurred()) SWIG_fail
;
25631 resultobj
= result
;
25638 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25639 PyObject
*resultobj
;
25640 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25641 wxTreeItemId
*arg2
= 0 ;
25643 PyObject
* obj0
= 0 ;
25644 PyObject
* obj1
= 0 ;
25645 char *kwnames
[] = {
25646 (char *) "self",(char *) "item", NULL
25649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25652 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25653 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25655 if (arg2
== NULL
) {
25656 PyErr_SetString(PyExc_TypeError
,"null reference");
25660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25661 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
25663 wxPyEndAllowThreads(__tstate
);
25664 if (PyErr_Occurred()) SWIG_fail
;
25667 wxColour
* resultptr
;
25668 resultptr
= new wxColour((wxColour
&) result
);
25669 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25677 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25678 PyObject
*resultobj
;
25679 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25680 wxTreeItemId
*arg2
= 0 ;
25682 PyObject
* obj0
= 0 ;
25683 PyObject
* obj1
= 0 ;
25684 char *kwnames
[] = {
25685 (char *) "self",(char *) "item", NULL
25688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25691 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25692 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25694 if (arg2
== NULL
) {
25695 PyErr_SetString(PyExc_TypeError
,"null reference");
25699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25700 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
25702 wxPyEndAllowThreads(__tstate
);
25703 if (PyErr_Occurred()) SWIG_fail
;
25706 wxColour
* resultptr
;
25707 resultptr
= new wxColour((wxColour
&) result
);
25708 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25716 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25717 PyObject
*resultobj
;
25718 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25719 wxTreeItemId
*arg2
= 0 ;
25721 PyObject
* obj0
= 0 ;
25722 PyObject
* obj1
= 0 ;
25723 char *kwnames
[] = {
25724 (char *) "self",(char *) "item", NULL
25727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
25728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25730 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25731 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25733 if (arg2
== NULL
) {
25734 PyErr_SetString(PyExc_TypeError
,"null reference");
25738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25739 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
25741 wxPyEndAllowThreads(__tstate
);
25742 if (PyErr_Occurred()) SWIG_fail
;
25745 wxFont
* resultptr
;
25746 resultptr
= new wxFont((wxFont
&) result
);
25747 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
25755 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25756 PyObject
*resultobj
;
25757 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25758 wxTreeItemId
*arg2
= 0 ;
25759 wxString
*arg3
= 0 ;
25760 bool temp3
= False
;
25761 PyObject
* obj0
= 0 ;
25762 PyObject
* obj1
= 0 ;
25763 PyObject
* obj2
= 0 ;
25764 char *kwnames
[] = {
25765 (char *) "self",(char *) "item",(char *) "text", NULL
25768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25771 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25772 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25774 if (arg2
== NULL
) {
25775 PyErr_SetString(PyExc_TypeError
,"null reference");
25779 arg3
= wxString_in_helper(obj2
);
25780 if (arg3
== NULL
) SWIG_fail
;
25784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25785 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
25787 wxPyEndAllowThreads(__tstate
);
25788 if (PyErr_Occurred()) SWIG_fail
;
25790 Py_INCREF(Py_None
); resultobj
= Py_None
;
25805 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25806 PyObject
*resultobj
;
25807 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25808 wxTreeItemId
*arg2
= 0 ;
25810 int arg4
= (int) wxTreeItemIcon_Normal
;
25811 PyObject
* obj0
= 0 ;
25812 PyObject
* obj1
= 0 ;
25813 PyObject
* obj2
= 0 ;
25814 PyObject
* obj3
= 0 ;
25815 char *kwnames
[] = {
25816 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
25819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25822 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25823 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25825 if (arg2
== NULL
) {
25826 PyErr_SetString(PyExc_TypeError
,"null reference");
25829 arg3
= (int) SWIG_AsInt(obj2
);
25830 if (PyErr_Occurred()) SWIG_fail
;
25832 arg4
= (wxTreeItemIcon
) SWIG_AsInt(obj3
);
25833 if (PyErr_Occurred()) SWIG_fail
;
25836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25837 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
25839 wxPyEndAllowThreads(__tstate
);
25840 if (PyErr_Occurred()) SWIG_fail
;
25842 Py_INCREF(Py_None
); resultobj
= Py_None
;
25849 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25850 PyObject
*resultobj
;
25851 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25852 wxTreeItemId
*arg2
= 0 ;
25853 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
25854 PyObject
* obj0
= 0 ;
25855 PyObject
* obj1
= 0 ;
25856 PyObject
* obj2
= 0 ;
25857 char *kwnames
[] = {
25858 (char *) "self",(char *) "item",(char *) "data", NULL
25861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25864 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25865 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25867 if (arg2
== NULL
) {
25868 PyErr_SetString(PyExc_TypeError
,"null reference");
25871 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
25872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25875 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25877 wxPyEndAllowThreads(__tstate
);
25878 if (PyErr_Occurred()) SWIG_fail
;
25880 Py_INCREF(Py_None
); resultobj
= Py_None
;
25887 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25888 PyObject
*resultobj
;
25889 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25890 wxTreeItemId
*arg2
= 0 ;
25891 PyObject
*arg3
= (PyObject
*) 0 ;
25892 PyObject
* obj0
= 0 ;
25893 PyObject
* obj1
= 0 ;
25894 PyObject
* obj2
= 0 ;
25895 char *kwnames
[] = {
25896 (char *) "self",(char *) "item",(char *) "obj", NULL
25899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25902 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25903 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25905 if (arg2
== NULL
) {
25906 PyErr_SetString(PyExc_TypeError
,"null reference");
25911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25912 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25914 wxPyEndAllowThreads(__tstate
);
25915 if (PyErr_Occurred()) SWIG_fail
;
25917 Py_INCREF(Py_None
); resultobj
= Py_None
;
25924 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25925 PyObject
*resultobj
;
25926 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25927 wxTreeItemId
*arg2
= 0 ;
25928 bool arg3
= (bool) True
;
25929 PyObject
* obj0
= 0 ;
25930 PyObject
* obj1
= 0 ;
25931 PyObject
* obj2
= 0 ;
25932 char *kwnames
[] = {
25933 (char *) "self",(char *) "item",(char *) "has", NULL
25936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25939 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25940 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25942 if (arg2
== NULL
) {
25943 PyErr_SetString(PyExc_TypeError
,"null reference");
25947 arg3
= (bool) SWIG_AsBool(obj2
);
25948 if (PyErr_Occurred()) SWIG_fail
;
25951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25952 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
25954 wxPyEndAllowThreads(__tstate
);
25955 if (PyErr_Occurred()) SWIG_fail
;
25957 Py_INCREF(Py_None
); resultobj
= Py_None
;
25964 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25965 PyObject
*resultobj
;
25966 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25967 wxTreeItemId
*arg2
= 0 ;
25968 bool arg3
= (bool) True
;
25969 PyObject
* obj0
= 0 ;
25970 PyObject
* obj1
= 0 ;
25971 PyObject
* obj2
= 0 ;
25972 char *kwnames
[] = {
25973 (char *) "self",(char *) "item",(char *) "bold", NULL
25976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25979 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25980 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25982 if (arg2
== NULL
) {
25983 PyErr_SetString(PyExc_TypeError
,"null reference");
25987 arg3
= (bool) SWIG_AsBool(obj2
);
25988 if (PyErr_Occurred()) SWIG_fail
;
25991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25992 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
25994 wxPyEndAllowThreads(__tstate
);
25995 if (PyErr_Occurred()) SWIG_fail
;
25997 Py_INCREF(Py_None
); resultobj
= Py_None
;
26004 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26005 PyObject
*resultobj
;
26006 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26007 wxTreeItemId
*arg2
= 0 ;
26008 wxColour
*arg3
= 0 ;
26010 PyObject
* obj0
= 0 ;
26011 PyObject
* obj1
= 0 ;
26012 PyObject
* obj2
= 0 ;
26013 char *kwnames
[] = {
26014 (char *) "self",(char *) "item",(char *) "col", NULL
26017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26020 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26021 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26023 if (arg2
== NULL
) {
26024 PyErr_SetString(PyExc_TypeError
,"null reference");
26029 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26033 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
26035 wxPyEndAllowThreads(__tstate
);
26036 if (PyErr_Occurred()) SWIG_fail
;
26038 Py_INCREF(Py_None
); resultobj
= Py_None
;
26045 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26046 PyObject
*resultobj
;
26047 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26048 wxTreeItemId
*arg2
= 0 ;
26049 wxColour
*arg3
= 0 ;
26051 PyObject
* obj0
= 0 ;
26052 PyObject
* obj1
= 0 ;
26053 PyObject
* obj2
= 0 ;
26054 char *kwnames
[] = {
26055 (char *) "self",(char *) "item",(char *) "col", NULL
26058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26061 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26062 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26064 if (arg2
== NULL
) {
26065 PyErr_SetString(PyExc_TypeError
,"null reference");
26070 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26074 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
26076 wxPyEndAllowThreads(__tstate
);
26077 if (PyErr_Occurred()) SWIG_fail
;
26079 Py_INCREF(Py_None
); resultobj
= Py_None
;
26086 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26087 PyObject
*resultobj
;
26088 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26089 wxTreeItemId
*arg2
= 0 ;
26091 PyObject
* obj0
= 0 ;
26092 PyObject
* obj1
= 0 ;
26093 PyObject
* obj2
= 0 ;
26094 char *kwnames
[] = {
26095 (char *) "self",(char *) "item",(char *) "font", NULL
26098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26101 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26102 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26104 if (arg2
== NULL
) {
26105 PyErr_SetString(PyExc_TypeError
,"null reference");
26108 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
26109 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26111 if (arg3
== NULL
) {
26112 PyErr_SetString(PyExc_TypeError
,"null reference");
26116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26117 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
26119 wxPyEndAllowThreads(__tstate
);
26120 if (PyErr_Occurred()) SWIG_fail
;
26122 Py_INCREF(Py_None
); resultobj
= Py_None
;
26129 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26130 PyObject
*resultobj
;
26131 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26132 wxTreeItemId
*arg2
= 0 ;
26134 PyObject
* obj0
= 0 ;
26135 PyObject
* obj1
= 0 ;
26136 char *kwnames
[] = {
26137 (char *) "self",(char *) "item", NULL
26140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26143 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26144 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26146 if (arg2
== NULL
) {
26147 PyErr_SetString(PyExc_TypeError
,"null reference");
26151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26152 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
26154 wxPyEndAllowThreads(__tstate
);
26155 if (PyErr_Occurred()) SWIG_fail
;
26158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26166 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26167 PyObject
*resultobj
;
26168 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26169 wxTreeItemId
*arg2
= 0 ;
26171 PyObject
* obj0
= 0 ;
26172 PyObject
* obj1
= 0 ;
26173 char *kwnames
[] = {
26174 (char *) "self",(char *) "item", NULL
26177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26180 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26181 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26183 if (arg2
== NULL
) {
26184 PyErr_SetString(PyExc_TypeError
,"null reference");
26188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26189 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
26191 wxPyEndAllowThreads(__tstate
);
26192 if (PyErr_Occurred()) SWIG_fail
;
26195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26203 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26204 PyObject
*resultobj
;
26205 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26206 wxTreeItemId
*arg2
= 0 ;
26208 PyObject
* obj0
= 0 ;
26209 PyObject
* obj1
= 0 ;
26210 char *kwnames
[] = {
26211 (char *) "self",(char *) "item", NULL
26214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
26215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26217 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26218 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26220 if (arg2
== NULL
) {
26221 PyErr_SetString(PyExc_TypeError
,"null reference");
26225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26226 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
26228 wxPyEndAllowThreads(__tstate
);
26229 if (PyErr_Occurred()) SWIG_fail
;
26232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26240 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26241 PyObject
*resultobj
;
26242 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26243 wxTreeItemId
*arg2
= 0 ;
26245 PyObject
* obj0
= 0 ;
26246 PyObject
* obj1
= 0 ;
26247 char *kwnames
[] = {
26248 (char *) "self",(char *) "item", NULL
26251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26254 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26255 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26257 if (arg2
== NULL
) {
26258 PyErr_SetString(PyExc_TypeError
,"null reference");
26262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26263 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
26265 wxPyEndAllowThreads(__tstate
);
26266 if (PyErr_Occurred()) SWIG_fail
;
26269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26277 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26278 PyObject
*resultobj
;
26279 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26280 wxTreeItemId
*arg2
= 0 ;
26282 PyObject
* obj0
= 0 ;
26283 PyObject
* obj1
= 0 ;
26284 char *kwnames
[] = {
26285 (char *) "self",(char *) "item", NULL
26288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
26289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26291 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26292 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26294 if (arg2
== NULL
) {
26295 PyErr_SetString(PyExc_TypeError
,"null reference");
26299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26300 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
26302 wxPyEndAllowThreads(__tstate
);
26303 if (PyErr_Occurred()) SWIG_fail
;
26306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26314 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26315 PyObject
*resultobj
;
26316 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26317 wxTreeItemId
*arg2
= 0 ;
26318 bool arg3
= (bool) True
;
26320 PyObject
* obj0
= 0 ;
26321 PyObject
* obj1
= 0 ;
26322 PyObject
* obj2
= 0 ;
26323 char *kwnames
[] = {
26324 (char *) "self",(char *) "item",(char *) "recursively", NULL
26327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26330 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26331 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26333 if (arg2
== NULL
) {
26334 PyErr_SetString(PyExc_TypeError
,"null reference");
26338 arg3
= (bool) SWIG_AsBool(obj2
);
26339 if (PyErr_Occurred()) SWIG_fail
;
26342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26343 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
26345 wxPyEndAllowThreads(__tstate
);
26346 if (PyErr_Occurred()) SWIG_fail
;
26348 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
26355 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26356 PyObject
*resultobj
;
26357 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26358 wxTreeItemId result
;
26359 PyObject
* obj0
= 0 ;
26360 char *kwnames
[] = {
26361 (char *) "self", NULL
26364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
26365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26369 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
26371 wxPyEndAllowThreads(__tstate
);
26372 if (PyErr_Occurred()) SWIG_fail
;
26375 wxTreeItemId
* resultptr
;
26376 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26377 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26385 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26386 PyObject
*resultobj
;
26387 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26388 wxTreeItemId result
;
26389 PyObject
* obj0
= 0 ;
26390 char *kwnames
[] = {
26391 (char *) "self", NULL
26394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
26395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26399 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
26401 wxPyEndAllowThreads(__tstate
);
26402 if (PyErr_Occurred()) SWIG_fail
;
26405 wxTreeItemId
* resultptr
;
26406 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26407 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26415 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26416 PyObject
*resultobj
;
26417 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26419 PyObject
* obj0
= 0 ;
26420 char *kwnames
[] = {
26421 (char *) "self", NULL
26424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
26425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26429 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
26431 wxPyEndAllowThreads(__tstate
);
26432 if (PyErr_Occurred()) SWIG_fail
;
26434 resultobj
= result
;
26441 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26442 PyObject
*resultobj
;
26443 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26444 wxTreeItemId
*arg2
= 0 ;
26445 wxTreeItemId result
;
26446 PyObject
* obj0
= 0 ;
26447 PyObject
* obj1
= 0 ;
26448 char *kwnames
[] = {
26449 (char *) "self",(char *) "item", NULL
26452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26455 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26456 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26458 if (arg2
== NULL
) {
26459 PyErr_SetString(PyExc_TypeError
,"null reference");
26463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26464 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
26466 wxPyEndAllowThreads(__tstate
);
26467 if (PyErr_Occurred()) SWIG_fail
;
26470 wxTreeItemId
* resultptr
;
26471 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26472 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26480 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26481 PyObject
*resultobj
;
26482 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26483 wxTreeItemId
*arg2
= 0 ;
26485 PyObject
* obj0
= 0 ;
26486 PyObject
* obj1
= 0 ;
26487 char *kwnames
[] = {
26488 (char *) "self",(char *) "item", NULL
26491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26494 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26495 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26497 if (arg2
== NULL
) {
26498 PyErr_SetString(PyExc_TypeError
,"null reference");
26502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26503 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
26505 wxPyEndAllowThreads(__tstate
);
26506 if (PyErr_Occurred()) SWIG_fail
;
26508 resultobj
= result
;
26515 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26516 PyObject
*resultobj
;
26517 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26518 wxTreeItemId
*arg2
= 0 ;
26519 void *arg3
= (void *) 0 ;
26521 PyObject
* obj0
= 0 ;
26522 PyObject
* obj1
= 0 ;
26523 PyObject
* obj2
= 0 ;
26524 char *kwnames
[] = {
26525 (char *) "self",(char *) "item",(char *) "cookie", NULL
26528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26531 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26532 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26534 if (arg2
== NULL
) {
26535 PyErr_SetString(PyExc_TypeError
,"null reference");
26538 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26541 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26543 wxPyEndAllowThreads(__tstate
);
26544 if (PyErr_Occurred()) SWIG_fail
;
26546 resultobj
= result
;
26553 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26554 PyObject
*resultobj
;
26555 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26556 wxTreeItemId
*arg2
= 0 ;
26557 wxTreeItemId result
;
26558 PyObject
* obj0
= 0 ;
26559 PyObject
* obj1
= 0 ;
26560 char *kwnames
[] = {
26561 (char *) "self",(char *) "item", NULL
26564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26567 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26568 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26570 if (arg2
== NULL
) {
26571 PyErr_SetString(PyExc_TypeError
,"null reference");
26575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26576 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
26578 wxPyEndAllowThreads(__tstate
);
26579 if (PyErr_Occurred()) SWIG_fail
;
26582 wxTreeItemId
* resultptr
;
26583 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26584 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26592 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26593 PyObject
*resultobj
;
26594 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26595 wxTreeItemId
*arg2
= 0 ;
26596 wxTreeItemId result
;
26597 PyObject
* obj0
= 0 ;
26598 PyObject
* obj1
= 0 ;
26599 char *kwnames
[] = {
26600 (char *) "self",(char *) "item", NULL
26603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
26604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26606 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26607 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26609 if (arg2
== NULL
) {
26610 PyErr_SetString(PyExc_TypeError
,"null reference");
26614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26615 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
26617 wxPyEndAllowThreads(__tstate
);
26618 if (PyErr_Occurred()) SWIG_fail
;
26621 wxTreeItemId
* resultptr
;
26622 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26623 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26631 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26632 PyObject
*resultobj
;
26633 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26634 wxTreeItemId
*arg2
= 0 ;
26635 wxTreeItemId result
;
26636 PyObject
* obj0
= 0 ;
26637 PyObject
* obj1
= 0 ;
26638 char *kwnames
[] = {
26639 (char *) "self",(char *) "item", NULL
26642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
26643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26645 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26646 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26648 if (arg2
== NULL
) {
26649 PyErr_SetString(PyExc_TypeError
,"null reference");
26653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26654 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
26656 wxPyEndAllowThreads(__tstate
);
26657 if (PyErr_Occurred()) SWIG_fail
;
26660 wxTreeItemId
* resultptr
;
26661 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26662 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26670 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26671 PyObject
*resultobj
;
26672 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26673 wxTreeItemId result
;
26674 PyObject
* obj0
= 0 ;
26675 char *kwnames
[] = {
26676 (char *) "self", NULL
26679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
26680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26684 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
26686 wxPyEndAllowThreads(__tstate
);
26687 if (PyErr_Occurred()) SWIG_fail
;
26690 wxTreeItemId
* resultptr
;
26691 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26692 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26700 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26701 PyObject
*resultobj
;
26702 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26703 wxTreeItemId
*arg2
= 0 ;
26704 wxTreeItemId result
;
26705 PyObject
* obj0
= 0 ;
26706 PyObject
* obj1
= 0 ;
26707 char *kwnames
[] = {
26708 (char *) "self",(char *) "item", NULL
26711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26714 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26715 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26717 if (arg2
== NULL
) {
26718 PyErr_SetString(PyExc_TypeError
,"null reference");
26722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26723 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
26725 wxPyEndAllowThreads(__tstate
);
26726 if (PyErr_Occurred()) SWIG_fail
;
26729 wxTreeItemId
* resultptr
;
26730 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26731 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26739 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26740 PyObject
*resultobj
;
26741 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26742 wxTreeItemId
*arg2
= 0 ;
26743 wxTreeItemId result
;
26744 PyObject
* obj0
= 0 ;
26745 PyObject
* obj1
= 0 ;
26746 char *kwnames
[] = {
26747 (char *) "self",(char *) "item", NULL
26750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26753 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26754 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26756 if (arg2
== NULL
) {
26757 PyErr_SetString(PyExc_TypeError
,"null reference");
26761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26762 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
26764 wxPyEndAllowThreads(__tstate
);
26765 if (PyErr_Occurred()) SWIG_fail
;
26768 wxTreeItemId
* resultptr
;
26769 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26770 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26778 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26779 PyObject
*resultobj
;
26780 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26781 wxString
*arg2
= 0 ;
26782 int arg3
= (int) -1 ;
26783 int arg4
= (int) -1 ;
26784 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
26785 wxTreeItemId result
;
26786 bool temp2
= False
;
26787 PyObject
* obj0
= 0 ;
26788 PyObject
* obj1
= 0 ;
26789 PyObject
* obj2
= 0 ;
26790 PyObject
* obj3
= 0 ;
26791 PyObject
* obj4
= 0 ;
26792 char *kwnames
[] = {
26793 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26800 arg2
= wxString_in_helper(obj1
);
26801 if (arg2
== NULL
) SWIG_fail
;
26805 arg3
= (int) SWIG_AsInt(obj2
);
26806 if (PyErr_Occurred()) SWIG_fail
;
26809 arg4
= (int) SWIG_AsInt(obj3
);
26810 if (PyErr_Occurred()) SWIG_fail
;
26813 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
26814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26818 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
26820 wxPyEndAllowThreads(__tstate
);
26821 if (PyErr_Occurred()) SWIG_fail
;
26824 wxTreeItemId
* resultptr
;
26825 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26826 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26842 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26843 PyObject
*resultobj
;
26844 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26845 wxTreeItemId
*arg2
= 0 ;
26846 wxString
*arg3
= 0 ;
26847 int arg4
= (int) -1 ;
26848 int arg5
= (int) -1 ;
26849 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
26850 wxTreeItemId result
;
26851 bool temp3
= False
;
26852 PyObject
* obj0
= 0 ;
26853 PyObject
* obj1
= 0 ;
26854 PyObject
* obj2
= 0 ;
26855 PyObject
* obj3
= 0 ;
26856 PyObject
* obj4
= 0 ;
26857 PyObject
* obj5
= 0 ;
26858 char *kwnames
[] = {
26859 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26865 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26866 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26868 if (arg2
== NULL
) {
26869 PyErr_SetString(PyExc_TypeError
,"null reference");
26873 arg3
= wxString_in_helper(obj2
);
26874 if (arg3
== NULL
) SWIG_fail
;
26878 arg4
= (int) SWIG_AsInt(obj3
);
26879 if (PyErr_Occurred()) SWIG_fail
;
26882 arg5
= (int) SWIG_AsInt(obj4
);
26883 if (PyErr_Occurred()) SWIG_fail
;
26886 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
26887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26891 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
26893 wxPyEndAllowThreads(__tstate
);
26894 if (PyErr_Occurred()) SWIG_fail
;
26897 wxTreeItemId
* resultptr
;
26898 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26899 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26915 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26916 PyObject
*resultobj
;
26917 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26918 wxTreeItemId
*arg2
= 0 ;
26919 wxTreeItemId
*arg3
= 0 ;
26920 wxString
*arg4
= 0 ;
26921 int arg5
= (int) -1 ;
26922 int arg6
= (int) -1 ;
26923 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
26924 wxTreeItemId result
;
26925 bool temp4
= False
;
26926 PyObject
* obj0
= 0 ;
26927 PyObject
* obj1
= 0 ;
26928 PyObject
* obj2
= 0 ;
26929 PyObject
* obj3
= 0 ;
26930 PyObject
* obj4
= 0 ;
26931 PyObject
* obj5
= 0 ;
26932 PyObject
* obj6
= 0 ;
26933 char *kwnames
[] = {
26934 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26940 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26941 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26943 if (arg2
== NULL
) {
26944 PyErr_SetString(PyExc_TypeError
,"null reference");
26947 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
26948 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26950 if (arg3
== NULL
) {
26951 PyErr_SetString(PyExc_TypeError
,"null reference");
26955 arg4
= wxString_in_helper(obj3
);
26956 if (arg4
== NULL
) SWIG_fail
;
26960 arg5
= (int) SWIG_AsInt(obj4
);
26961 if (PyErr_Occurred()) SWIG_fail
;
26964 arg6
= (int) SWIG_AsInt(obj5
);
26965 if (PyErr_Occurred()) SWIG_fail
;
26968 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
26969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26973 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
26975 wxPyEndAllowThreads(__tstate
);
26976 if (PyErr_Occurred()) SWIG_fail
;
26979 wxTreeItemId
* resultptr
;
26980 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26981 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26997 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26998 PyObject
*resultobj
;
26999 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27000 wxTreeItemId
*arg2
= 0 ;
27002 wxString
*arg4
= 0 ;
27003 int arg5
= (int) -1 ;
27004 int arg6
= (int) -1 ;
27005 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
27006 wxTreeItemId result
;
27007 bool temp4
= False
;
27008 PyObject
* obj0
= 0 ;
27009 PyObject
* obj1
= 0 ;
27010 PyObject
* obj2
= 0 ;
27011 PyObject
* obj3
= 0 ;
27012 PyObject
* obj4
= 0 ;
27013 PyObject
* obj5
= 0 ;
27014 PyObject
* obj6
= 0 ;
27015 char *kwnames
[] = {
27016 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27022 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27023 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27025 if (arg2
== NULL
) {
27026 PyErr_SetString(PyExc_TypeError
,"null reference");
27029 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
27030 if (PyErr_Occurred()) SWIG_fail
;
27032 arg4
= wxString_in_helper(obj3
);
27033 if (arg4
== NULL
) SWIG_fail
;
27037 arg5
= (int) SWIG_AsInt(obj4
);
27038 if (PyErr_Occurred()) SWIG_fail
;
27041 arg6
= (int) SWIG_AsInt(obj5
);
27042 if (PyErr_Occurred()) SWIG_fail
;
27045 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
27046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27050 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
27052 wxPyEndAllowThreads(__tstate
);
27053 if (PyErr_Occurred()) SWIG_fail
;
27056 wxTreeItemId
* resultptr
;
27057 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27058 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27074 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27075 PyObject
*resultobj
;
27076 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27077 wxTreeItemId
*arg2
= 0 ;
27078 wxString
*arg3
= 0 ;
27079 int arg4
= (int) -1 ;
27080 int arg5
= (int) -1 ;
27081 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
27082 wxTreeItemId result
;
27083 bool temp3
= False
;
27084 PyObject
* obj0
= 0 ;
27085 PyObject
* obj1
= 0 ;
27086 PyObject
* obj2
= 0 ;
27087 PyObject
* obj3
= 0 ;
27088 PyObject
* obj4
= 0 ;
27089 PyObject
* obj5
= 0 ;
27090 char *kwnames
[] = {
27091 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27097 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27098 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27100 if (arg2
== NULL
) {
27101 PyErr_SetString(PyExc_TypeError
,"null reference");
27105 arg3
= wxString_in_helper(obj2
);
27106 if (arg3
== NULL
) SWIG_fail
;
27110 arg4
= (int) SWIG_AsInt(obj3
);
27111 if (PyErr_Occurred()) SWIG_fail
;
27114 arg5
= (int) SWIG_AsInt(obj4
);
27115 if (PyErr_Occurred()) SWIG_fail
;
27118 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
27119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27123 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
27125 wxPyEndAllowThreads(__tstate
);
27126 if (PyErr_Occurred()) SWIG_fail
;
27129 wxTreeItemId
* resultptr
;
27130 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27131 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27147 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27148 PyObject
*resultobj
;
27149 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27150 wxTreeItemId
*arg2
= 0 ;
27151 PyObject
* obj0
= 0 ;
27152 PyObject
* obj1
= 0 ;
27153 char *kwnames
[] = {
27154 (char *) "self",(char *) "item", NULL
27157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
27158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27160 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27161 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27163 if (arg2
== NULL
) {
27164 PyErr_SetString(PyExc_TypeError
,"null reference");
27168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27169 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
27171 wxPyEndAllowThreads(__tstate
);
27172 if (PyErr_Occurred()) SWIG_fail
;
27174 Py_INCREF(Py_None
); resultobj
= Py_None
;
27181 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27182 PyObject
*resultobj
;
27183 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27184 wxTreeItemId
*arg2
= 0 ;
27185 PyObject
* obj0
= 0 ;
27186 PyObject
* obj1
= 0 ;
27187 char *kwnames
[] = {
27188 (char *) "self",(char *) "item", NULL
27191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27194 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27195 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27197 if (arg2
== NULL
) {
27198 PyErr_SetString(PyExc_TypeError
,"null reference");
27202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27203 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
27205 wxPyEndAllowThreads(__tstate
);
27206 if (PyErr_Occurred()) SWIG_fail
;
27208 Py_INCREF(Py_None
); resultobj
= Py_None
;
27215 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27216 PyObject
*resultobj
;
27217 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27218 PyObject
* obj0
= 0 ;
27219 char *kwnames
[] = {
27220 (char *) "self", NULL
27223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
27224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27228 (arg1
)->DeleteAllItems();
27230 wxPyEndAllowThreads(__tstate
);
27231 if (PyErr_Occurred()) SWIG_fail
;
27233 Py_INCREF(Py_None
); resultobj
= Py_None
;
27240 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27241 PyObject
*resultobj
;
27242 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27243 wxTreeItemId
*arg2
= 0 ;
27244 PyObject
* obj0
= 0 ;
27245 PyObject
* obj1
= 0 ;
27246 char *kwnames
[] = {
27247 (char *) "self",(char *) "item", NULL
27250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
27251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27253 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27254 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27256 if (arg2
== NULL
) {
27257 PyErr_SetString(PyExc_TypeError
,"null reference");
27261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27262 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
27264 wxPyEndAllowThreads(__tstate
);
27265 if (PyErr_Occurred()) SWIG_fail
;
27267 Py_INCREF(Py_None
); resultobj
= Py_None
;
27274 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27275 PyObject
*resultobj
;
27276 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27277 wxTreeItemId
*arg2
= 0 ;
27278 PyObject
* obj0
= 0 ;
27279 PyObject
* obj1
= 0 ;
27280 char *kwnames
[] = {
27281 (char *) "self",(char *) "item", NULL
27284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
27285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27287 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27288 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27290 if (arg2
== NULL
) {
27291 PyErr_SetString(PyExc_TypeError
,"null reference");
27295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27296 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
27298 wxPyEndAllowThreads(__tstate
);
27299 if (PyErr_Occurred()) SWIG_fail
;
27301 Py_INCREF(Py_None
); resultobj
= Py_None
;
27308 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27309 PyObject
*resultobj
;
27310 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27311 wxTreeItemId
*arg2
= 0 ;
27312 PyObject
* obj0
= 0 ;
27313 PyObject
* obj1
= 0 ;
27314 char *kwnames
[] = {
27315 (char *) "self",(char *) "item", NULL
27318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
27319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27321 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27322 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27324 if (arg2
== NULL
) {
27325 PyErr_SetString(PyExc_TypeError
,"null reference");
27329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27330 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
27332 wxPyEndAllowThreads(__tstate
);
27333 if (PyErr_Occurred()) SWIG_fail
;
27335 Py_INCREF(Py_None
); resultobj
= Py_None
;
27342 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27343 PyObject
*resultobj
;
27344 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27345 wxTreeItemId
*arg2
= 0 ;
27346 PyObject
* obj0
= 0 ;
27347 PyObject
* obj1
= 0 ;
27348 char *kwnames
[] = {
27349 (char *) "self",(char *) "item", NULL
27352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
27353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27355 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27356 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27358 if (arg2
== NULL
) {
27359 PyErr_SetString(PyExc_TypeError
,"null reference");
27363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27364 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
27366 wxPyEndAllowThreads(__tstate
);
27367 if (PyErr_Occurred()) SWIG_fail
;
27369 Py_INCREF(Py_None
); resultobj
= Py_None
;
27376 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27377 PyObject
*resultobj
;
27378 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27379 PyObject
* obj0
= 0 ;
27380 char *kwnames
[] = {
27381 (char *) "self", NULL
27384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
27385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27389 (arg1
)->Unselect();
27391 wxPyEndAllowThreads(__tstate
);
27392 if (PyErr_Occurred()) SWIG_fail
;
27394 Py_INCREF(Py_None
); resultobj
= Py_None
;
27401 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27402 PyObject
*resultobj
;
27403 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27404 wxTreeItemId
*arg2
= 0 ;
27405 PyObject
* obj0
= 0 ;
27406 PyObject
* obj1
= 0 ;
27407 char *kwnames
[] = {
27408 (char *) "self",(char *) "item", NULL
27411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27414 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27415 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27417 if (arg2
== NULL
) {
27418 PyErr_SetString(PyExc_TypeError
,"null reference");
27422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27423 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
27425 wxPyEndAllowThreads(__tstate
);
27426 if (PyErr_Occurred()) SWIG_fail
;
27428 Py_INCREF(Py_None
); resultobj
= Py_None
;
27435 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27436 PyObject
*resultobj
;
27437 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27438 PyObject
* obj0
= 0 ;
27439 char *kwnames
[] = {
27440 (char *) "self", NULL
27443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
27444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27448 (arg1
)->UnselectAll();
27450 wxPyEndAllowThreads(__tstate
);
27451 if (PyErr_Occurred()) SWIG_fail
;
27453 Py_INCREF(Py_None
); resultobj
= Py_None
;
27460 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27461 PyObject
*resultobj
;
27462 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27463 wxTreeItemId
*arg2
= 0 ;
27464 bool arg3
= (bool) True
;
27465 PyObject
* obj0
= 0 ;
27466 PyObject
* obj1
= 0 ;
27467 PyObject
* obj2
= 0 ;
27468 char *kwnames
[] = {
27469 (char *) "self",(char *) "item",(char *) "select", NULL
27472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27475 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27476 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27478 if (arg2
== NULL
) {
27479 PyErr_SetString(PyExc_TypeError
,"null reference");
27483 arg3
= (bool) SWIG_AsBool(obj2
);
27484 if (PyErr_Occurred()) SWIG_fail
;
27487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27488 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
27490 wxPyEndAllowThreads(__tstate
);
27491 if (PyErr_Occurred()) SWIG_fail
;
27493 Py_INCREF(Py_None
); resultobj
= Py_None
;
27500 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27501 PyObject
*resultobj
;
27502 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27503 wxTreeItemId
*arg2
= 0 ;
27504 PyObject
* obj0
= 0 ;
27505 PyObject
* obj1
= 0 ;
27506 char *kwnames
[] = {
27507 (char *) "self",(char *) "item", NULL
27510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27513 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27514 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27516 if (arg2
== NULL
) {
27517 PyErr_SetString(PyExc_TypeError
,"null reference");
27521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27522 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
27524 wxPyEndAllowThreads(__tstate
);
27525 if (PyErr_Occurred()) SWIG_fail
;
27527 Py_INCREF(Py_None
); resultobj
= Py_None
;
27534 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27535 PyObject
*resultobj
;
27536 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27537 wxTreeItemId
*arg2
= 0 ;
27538 PyObject
* obj0
= 0 ;
27539 PyObject
* obj1
= 0 ;
27540 char *kwnames
[] = {
27541 (char *) "self",(char *) "item", NULL
27544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
27545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27547 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27548 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27550 if (arg2
== NULL
) {
27551 PyErr_SetString(PyExc_TypeError
,"null reference");
27555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27556 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
27558 wxPyEndAllowThreads(__tstate
);
27559 if (PyErr_Occurred()) SWIG_fail
;
27561 Py_INCREF(Py_None
); resultobj
= Py_None
;
27568 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27569 PyObject
*resultobj
;
27570 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27571 wxTreeItemId
*arg2
= 0 ;
27572 PyObject
* obj0
= 0 ;
27573 PyObject
* obj1
= 0 ;
27574 char *kwnames
[] = {
27575 (char *) "self",(char *) "item", NULL
27578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
27579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27581 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27582 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27584 if (arg2
== NULL
) {
27585 PyErr_SetString(PyExc_TypeError
,"null reference");
27589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27590 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
27592 wxPyEndAllowThreads(__tstate
);
27593 if (PyErr_Occurred()) SWIG_fail
;
27595 Py_INCREF(Py_None
); resultobj
= Py_None
;
27602 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27603 PyObject
*resultobj
;
27604 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27605 wxTreeItemId
*arg2
= 0 ;
27606 PyObject
* obj0
= 0 ;
27607 PyObject
* obj1
= 0 ;
27608 char *kwnames
[] = {
27609 (char *) "self",(char *) "item", NULL
27612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27615 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27616 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27618 if (arg2
== NULL
) {
27619 PyErr_SetString(PyExc_TypeError
,"null reference");
27623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27624 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
27626 wxPyEndAllowThreads(__tstate
);
27627 if (PyErr_Occurred()) SWIG_fail
;
27629 Py_INCREF(Py_None
); resultobj
= Py_None
;
27636 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27637 PyObject
*resultobj
;
27638 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27639 wxTextCtrl
*result
;
27640 PyObject
* obj0
= 0 ;
27641 char *kwnames
[] = {
27642 (char *) "self", NULL
27645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
27646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27650 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
27652 wxPyEndAllowThreads(__tstate
);
27653 if (PyErr_Occurred()) SWIG_fail
;
27656 resultobj
= wxPyMake_wxObject(result
);
27664 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27665 PyObject
*resultobj
;
27666 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27667 wxTreeItemId
*arg2
= 0 ;
27668 PyObject
* obj0
= 0 ;
27669 PyObject
* obj1
= 0 ;
27670 char *kwnames
[] = {
27671 (char *) "self",(char *) "item", NULL
27674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27677 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27678 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27680 if (arg2
== NULL
) {
27681 PyErr_SetString(PyExc_TypeError
,"null reference");
27685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27686 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
27688 wxPyEndAllowThreads(__tstate
);
27689 if (PyErr_Occurred()) SWIG_fail
;
27691 Py_INCREF(Py_None
); resultobj
= Py_None
;
27698 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27699 PyObject
*resultobj
;
27700 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27701 wxPoint
*arg2
= 0 ;
27703 wxTreeItemId result
;
27706 PyObject
* obj0
= 0 ;
27707 PyObject
* obj1
= 0 ;
27708 char *kwnames
[] = {
27709 (char *) "self",(char *) "point", NULL
27713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
27714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27718 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27722 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
27724 wxPyEndAllowThreads(__tstate
);
27725 if (PyErr_Occurred()) SWIG_fail
;
27728 wxTreeItemId
* resultptr
;
27729 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27730 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27733 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27734 resultobj
= t_output_helper(resultobj
,o
);
27742 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27743 PyObject
*resultobj
;
27744 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27745 wxTreeItemId
*arg2
= 0 ;
27746 bool arg3
= (bool) False
;
27748 PyObject
* obj0
= 0 ;
27749 PyObject
* obj1
= 0 ;
27750 PyObject
* obj2
= 0 ;
27751 char *kwnames
[] = {
27752 (char *) "self",(char *) "item",(char *) "textOnly", NULL
27755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27758 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27759 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27761 if (arg2
== NULL
) {
27762 PyErr_SetString(PyExc_TypeError
,"null reference");
27766 arg3
= (bool) SWIG_AsBool(obj2
);
27767 if (PyErr_Occurred()) SWIG_fail
;
27770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27771 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
27773 wxPyEndAllowThreads(__tstate
);
27774 if (PyErr_Occurred()) SWIG_fail
;
27776 resultobj
= result
;
27783 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27784 PyObject
*resultobj
;
27785 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
27786 wxVisualAttributes result
;
27787 PyObject
* obj0
= 0 ;
27788 char *kwnames
[] = {
27789 (char *) "variant", NULL
27792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
27794 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
27795 if (PyErr_Occurred()) SWIG_fail
;
27798 if (!wxPyCheckForApp()) SWIG_fail
;
27799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27800 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
27802 wxPyEndAllowThreads(__tstate
);
27803 if (PyErr_Occurred()) SWIG_fail
;
27806 wxVisualAttributes
* resultptr
;
27807 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
27808 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
27816 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27818 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27819 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
27821 return Py_BuildValue((char *)"");
27823 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*_val
) {
27824 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
27829 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
27834 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
27836 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
27843 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27844 PyObject
*resultobj
;
27845 wxWindow
*arg1
= (wxWindow
*) 0 ;
27846 int arg2
= (int) (int)-1 ;
27847 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
27848 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
27849 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27850 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27851 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27852 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27853 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
27854 wxString
const &arg7_defvalue
= wxPyEmptyString
;
27855 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27856 int arg8
= (int) 0 ;
27857 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
27858 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
27859 wxGenericDirCtrl
*result
;
27860 bool temp3
= False
;
27863 bool temp7
= False
;
27864 bool temp9
= False
;
27865 PyObject
* obj0
= 0 ;
27866 PyObject
* obj1
= 0 ;
27867 PyObject
* obj2
= 0 ;
27868 PyObject
* obj3
= 0 ;
27869 PyObject
* obj4
= 0 ;
27870 PyObject
* obj5
= 0 ;
27871 PyObject
* obj6
= 0 ;
27872 PyObject
* obj7
= 0 ;
27873 PyObject
* obj8
= 0 ;
27874 char *kwnames
[] = {
27875 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
27879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27882 arg2
= (int const) SWIG_AsInt(obj1
);
27883 if (PyErr_Occurred()) SWIG_fail
;
27887 arg3
= wxString_in_helper(obj2
);
27888 if (arg3
== NULL
) SWIG_fail
;
27895 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27901 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27905 arg6
= (long) SWIG_AsLong(obj5
);
27906 if (PyErr_Occurred()) SWIG_fail
;
27910 arg7
= wxString_in_helper(obj6
);
27911 if (arg7
== NULL
) SWIG_fail
;
27916 arg8
= (int) SWIG_AsInt(obj7
);
27917 if (PyErr_Occurred()) SWIG_fail
;
27921 arg9
= wxString_in_helper(obj8
);
27922 if (arg9
== NULL
) SWIG_fail
;
27927 if (!wxPyCheckForApp()) SWIG_fail
;
27928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27929 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
27931 wxPyEndAllowThreads(__tstate
);
27932 if (PyErr_Occurred()) SWIG_fail
;
27934 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
27965 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27966 PyObject
*resultobj
;
27967 wxGenericDirCtrl
*result
;
27968 char *kwnames
[] = {
27972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
27974 if (!wxPyCheckForApp()) SWIG_fail
;
27975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27976 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
27978 wxPyEndAllowThreads(__tstate
);
27979 if (PyErr_Occurred()) SWIG_fail
;
27981 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
27988 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27989 PyObject
*resultobj
;
27990 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27991 wxWindow
*arg2
= (wxWindow
*) 0 ;
27992 int arg3
= (int) (int)-1 ;
27993 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
27994 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27995 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
27996 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
27997 wxSize
const &arg6_defvalue
= wxDefaultSize
;
27998 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
27999 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
28000 wxString
const &arg8_defvalue
= wxPyEmptyString
;
28001 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28002 int arg9
= (int) 0 ;
28003 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
28004 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
28006 bool temp4
= False
;
28009 bool temp8
= False
;
28010 bool temp10
= False
;
28011 PyObject
* obj0
= 0 ;
28012 PyObject
* obj1
= 0 ;
28013 PyObject
* obj2
= 0 ;
28014 PyObject
* obj3
= 0 ;
28015 PyObject
* obj4
= 0 ;
28016 PyObject
* obj5
= 0 ;
28017 PyObject
* obj6
= 0 ;
28018 PyObject
* obj7
= 0 ;
28019 PyObject
* obj8
= 0 ;
28020 PyObject
* obj9
= 0 ;
28021 char *kwnames
[] = {
28022 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
28026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28028 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28031 arg3
= (int const) SWIG_AsInt(obj2
);
28032 if (PyErr_Occurred()) SWIG_fail
;
28036 arg4
= wxString_in_helper(obj3
);
28037 if (arg4
== NULL
) SWIG_fail
;
28044 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
28050 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
28054 arg7
= (long) SWIG_AsLong(obj6
);
28055 if (PyErr_Occurred()) SWIG_fail
;
28059 arg8
= wxString_in_helper(obj7
);
28060 if (arg8
== NULL
) SWIG_fail
;
28065 arg9
= (int) SWIG_AsInt(obj8
);
28066 if (PyErr_Occurred()) SWIG_fail
;
28070 arg10
= wxString_in_helper(obj9
);
28071 if (arg10
== NULL
) SWIG_fail
;
28076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28077 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
28079 wxPyEndAllowThreads(__tstate
);
28080 if (PyErr_Occurred()) SWIG_fail
;
28083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28115 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28116 PyObject
*resultobj
;
28117 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28118 wxString
*arg2
= 0 ;
28120 bool temp2
= False
;
28121 PyObject
* obj0
= 0 ;
28122 PyObject
* obj1
= 0 ;
28123 char *kwnames
[] = {
28124 (char *) "self",(char *) "path", NULL
28127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28131 arg2
= wxString_in_helper(obj1
);
28132 if (arg2
== NULL
) SWIG_fail
;
28136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28137 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
28139 wxPyEndAllowThreads(__tstate
);
28140 if (PyErr_Occurred()) SWIG_fail
;
28143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28159 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28160 PyObject
*resultobj
;
28161 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28163 PyObject
* obj0
= 0 ;
28164 char *kwnames
[] = {
28165 (char *) "self", NULL
28168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
28169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28173 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
28175 wxPyEndAllowThreads(__tstate
);
28176 if (PyErr_Occurred()) SWIG_fail
;
28180 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28182 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28191 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28192 PyObject
*resultobj
;
28193 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28194 wxString
*arg2
= 0 ;
28195 bool temp2
= False
;
28196 PyObject
* obj0
= 0 ;
28197 PyObject
* obj1
= 0 ;
28198 char *kwnames
[] = {
28199 (char *) "self",(char *) "path", NULL
28202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28206 arg2
= wxString_in_helper(obj1
);
28207 if (arg2
== NULL
) SWIG_fail
;
28211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28212 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
28214 wxPyEndAllowThreads(__tstate
);
28215 if (PyErr_Occurred()) SWIG_fail
;
28217 Py_INCREF(Py_None
); resultobj
= Py_None
;
28232 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28233 PyObject
*resultobj
;
28234 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28236 PyObject
* obj0
= 0 ;
28237 char *kwnames
[] = {
28238 (char *) "self", NULL
28241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
28242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28246 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
28248 wxPyEndAllowThreads(__tstate
);
28249 if (PyErr_Occurred()) SWIG_fail
;
28253 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28255 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28264 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28265 PyObject
*resultobj
;
28266 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28268 PyObject
* obj0
= 0 ;
28269 char *kwnames
[] = {
28270 (char *) "self", NULL
28273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
28274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28278 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
28280 wxPyEndAllowThreads(__tstate
);
28281 if (PyErr_Occurred()) SWIG_fail
;
28285 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28287 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28296 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28297 PyObject
*resultobj
;
28298 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28299 wxString
*arg2
= 0 ;
28300 bool temp2
= False
;
28301 PyObject
* obj0
= 0 ;
28302 PyObject
* obj1
= 0 ;
28303 char *kwnames
[] = {
28304 (char *) "self",(char *) "path", NULL
28307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28311 arg2
= wxString_in_helper(obj1
);
28312 if (arg2
== NULL
) SWIG_fail
;
28316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28317 (arg1
)->SetPath((wxString
const &)*arg2
);
28319 wxPyEndAllowThreads(__tstate
);
28320 if (PyErr_Occurred()) SWIG_fail
;
28322 Py_INCREF(Py_None
); resultobj
= Py_None
;
28337 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28338 PyObject
*resultobj
;
28339 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28341 PyObject
* obj0
= 0 ;
28342 PyObject
* obj1
= 0 ;
28343 char *kwnames
[] = {
28344 (char *) "self",(char *) "show", NULL
28347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
28348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28350 arg2
= (bool) SWIG_AsBool(obj1
);
28351 if (PyErr_Occurred()) SWIG_fail
;
28353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28354 (arg1
)->ShowHidden(arg2
);
28356 wxPyEndAllowThreads(__tstate
);
28357 if (PyErr_Occurred()) SWIG_fail
;
28359 Py_INCREF(Py_None
); resultobj
= Py_None
;
28366 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28367 PyObject
*resultobj
;
28368 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28370 PyObject
* obj0
= 0 ;
28371 char *kwnames
[] = {
28372 (char *) "self", NULL
28375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
28376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28380 result
= (bool)(arg1
)->GetShowHidden();
28382 wxPyEndAllowThreads(__tstate
);
28383 if (PyErr_Occurred()) SWIG_fail
;
28386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28394 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28395 PyObject
*resultobj
;
28396 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28398 PyObject
* obj0
= 0 ;
28399 char *kwnames
[] = {
28400 (char *) "self", NULL
28403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
28404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28408 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
28410 wxPyEndAllowThreads(__tstate
);
28411 if (PyErr_Occurred()) SWIG_fail
;
28415 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28417 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28426 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28427 PyObject
*resultobj
;
28428 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28429 wxString
*arg2
= 0 ;
28430 bool temp2
= False
;
28431 PyObject
* obj0
= 0 ;
28432 PyObject
* obj1
= 0 ;
28433 char *kwnames
[] = {
28434 (char *) "self",(char *) "filter", NULL
28437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
28438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28441 arg2
= wxString_in_helper(obj1
);
28442 if (arg2
== NULL
) SWIG_fail
;
28446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28447 (arg1
)->SetFilter((wxString
const &)*arg2
);
28449 wxPyEndAllowThreads(__tstate
);
28450 if (PyErr_Occurred()) SWIG_fail
;
28452 Py_INCREF(Py_None
); resultobj
= Py_None
;
28467 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28468 PyObject
*resultobj
;
28469 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28471 PyObject
* obj0
= 0 ;
28472 char *kwnames
[] = {
28473 (char *) "self", NULL
28476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
28477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28481 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
28483 wxPyEndAllowThreads(__tstate
);
28484 if (PyErr_Occurred()) SWIG_fail
;
28486 resultobj
= SWIG_FromInt((int)result
);
28493 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28494 PyObject
*resultobj
;
28495 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28497 PyObject
* obj0
= 0 ;
28498 PyObject
* obj1
= 0 ;
28499 char *kwnames
[] = {
28500 (char *) "self",(char *) "n", NULL
28503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
28504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28506 arg2
= (int) SWIG_AsInt(obj1
);
28507 if (PyErr_Occurred()) SWIG_fail
;
28509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28510 (arg1
)->SetFilterIndex(arg2
);
28512 wxPyEndAllowThreads(__tstate
);
28513 if (PyErr_Occurred()) SWIG_fail
;
28515 Py_INCREF(Py_None
); resultobj
= Py_None
;
28522 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28523 PyObject
*resultobj
;
28524 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28525 wxTreeItemId result
;
28526 PyObject
* obj0
= 0 ;
28527 char *kwnames
[] = {
28528 (char *) "self", NULL
28531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
28532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28536 result
= (arg1
)->GetRootId();
28538 wxPyEndAllowThreads(__tstate
);
28539 if (PyErr_Occurred()) SWIG_fail
;
28542 wxTreeItemId
* resultptr
;
28543 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28544 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28552 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28553 PyObject
*resultobj
;
28554 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28555 wxPyTreeCtrl
*result
;
28556 PyObject
* obj0
= 0 ;
28557 char *kwnames
[] = {
28558 (char *) "self", NULL
28561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
28562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28566 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
28568 wxPyEndAllowThreads(__tstate
);
28569 if (PyErr_Occurred()) SWIG_fail
;
28572 resultobj
= wxPyMake_wxObject(result
);
28580 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28581 PyObject
*resultobj
;
28582 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28583 wxDirFilterListCtrl
*result
;
28584 PyObject
* obj0
= 0 ;
28585 char *kwnames
[] = {
28586 (char *) "self", NULL
28589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
28590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28594 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
28596 wxPyEndAllowThreads(__tstate
);
28597 if (PyErr_Occurred()) SWIG_fail
;
28599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
28606 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28607 PyObject
*resultobj
;
28608 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28609 wxTreeItemId arg2
;
28610 wxString
*arg3
= 0 ;
28612 wxTreeItemId result
;
28613 wxTreeItemId
*argp2
;
28614 bool temp3
= False
;
28616 PyObject
* obj0
= 0 ;
28617 PyObject
* obj1
= 0 ;
28618 PyObject
* obj2
= 0 ;
28619 char *kwnames
[] = {
28620 (char *) "self",(char *) "parentId",(char *) "path", NULL
28624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28627 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
28628 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
28631 arg3
= wxString_in_helper(obj2
);
28632 if (arg3
== NULL
) SWIG_fail
;
28636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28637 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
28639 wxPyEndAllowThreads(__tstate
);
28640 if (PyErr_Occurred()) SWIG_fail
;
28643 wxTreeItemId
* resultptr
;
28644 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28645 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28648 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
28649 resultobj
= t_output_helper(resultobj
,o
);
28665 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28666 PyObject
*resultobj
;
28667 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28668 PyObject
* obj0
= 0 ;
28669 char *kwnames
[] = {
28670 (char *) "self", NULL
28673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
28674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28678 (arg1
)->DoResize();
28680 wxPyEndAllowThreads(__tstate
);
28681 if (PyErr_Occurred()) SWIG_fail
;
28683 Py_INCREF(Py_None
); resultobj
= Py_None
;
28690 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28691 PyObject
*resultobj
;
28692 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28693 PyObject
* obj0
= 0 ;
28694 char *kwnames
[] = {
28695 (char *) "self", NULL
28698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
28699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28703 (arg1
)->ReCreateTree();
28705 wxPyEndAllowThreads(__tstate
);
28706 if (PyErr_Occurred()) SWIG_fail
;
28708 Py_INCREF(Py_None
); resultobj
= Py_None
;
28715 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
28717 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28718 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
28720 return Py_BuildValue((char *)"");
28722 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28723 PyObject
*resultobj
;
28724 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28725 int arg2
= (int) (int)-1 ;
28726 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28727 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28728 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28729 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28730 long arg5
= (long) 0 ;
28731 wxDirFilterListCtrl
*result
;
28734 PyObject
* obj0
= 0 ;
28735 PyObject
* obj1
= 0 ;
28736 PyObject
* obj2
= 0 ;
28737 PyObject
* obj3
= 0 ;
28738 PyObject
* obj4
= 0 ;
28739 char *kwnames
[] = {
28740 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28747 arg2
= (int const) SWIG_AsInt(obj1
);
28748 if (PyErr_Occurred()) SWIG_fail
;
28753 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28759 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28763 arg5
= (long) SWIG_AsLong(obj4
);
28764 if (PyErr_Occurred()) SWIG_fail
;
28767 if (!wxPyCheckForApp()) SWIG_fail
;
28768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28769 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
28771 wxPyEndAllowThreads(__tstate
);
28772 if (PyErr_Occurred()) SWIG_fail
;
28774 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
28781 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28782 PyObject
*resultobj
;
28783 wxDirFilterListCtrl
*result
;
28784 char *kwnames
[] = {
28788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
28790 if (!wxPyCheckForApp()) SWIG_fail
;
28791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28792 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
28794 wxPyEndAllowThreads(__tstate
);
28795 if (PyErr_Occurred()) SWIG_fail
;
28797 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
28804 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28805 PyObject
*resultobj
;
28806 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
28807 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
28808 int arg3
= (int) (int)-1 ;
28809 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28810 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28811 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28812 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28813 long arg6
= (long) 0 ;
28817 PyObject
* obj0
= 0 ;
28818 PyObject
* obj1
= 0 ;
28819 PyObject
* obj2
= 0 ;
28820 PyObject
* obj3
= 0 ;
28821 PyObject
* obj4
= 0 ;
28822 PyObject
* obj5
= 0 ;
28823 char *kwnames
[] = {
28824 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
28829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28830 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
28831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28833 arg3
= (int const) SWIG_AsInt(obj2
);
28834 if (PyErr_Occurred()) SWIG_fail
;
28839 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28845 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28849 arg6
= (long) SWIG_AsLong(obj5
);
28850 if (PyErr_Occurred()) SWIG_fail
;
28853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28854 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
28856 wxPyEndAllowThreads(__tstate
);
28857 if (PyErr_Occurred()) SWIG_fail
;
28860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28868 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28869 PyObject
*resultobj
;
28870 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
28871 wxString
*arg2
= 0 ;
28873 bool temp2
= False
;
28874 PyObject
* obj0
= 0 ;
28875 PyObject
* obj1
= 0 ;
28876 PyObject
* obj2
= 0 ;
28877 char *kwnames
[] = {
28878 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
28881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
28883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28885 arg2
= wxString_in_helper(obj1
);
28886 if (arg2
== NULL
) SWIG_fail
;
28889 arg3
= (int) SWIG_AsInt(obj2
);
28890 if (PyErr_Occurred()) SWIG_fail
;
28892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28893 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
28895 wxPyEndAllowThreads(__tstate
);
28896 if (PyErr_Occurred()) SWIG_fail
;
28898 Py_INCREF(Py_None
); resultobj
= Py_None
;
28913 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
28915 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28916 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
28918 return Py_BuildValue((char *)"");
28920 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28921 PyObject
*resultobj
;
28922 wxWindow
*arg1
= (wxWindow
*) 0 ;
28923 int arg2
= (int) (int)-1 ;
28924 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28925 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28926 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28927 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28928 long arg5
= (long) 0 ;
28929 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28930 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28931 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
28932 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28933 wxPyControl
*result
;
28936 bool temp7
= False
;
28937 PyObject
* obj0
= 0 ;
28938 PyObject
* obj1
= 0 ;
28939 PyObject
* obj2
= 0 ;
28940 PyObject
* obj3
= 0 ;
28941 PyObject
* obj4
= 0 ;
28942 PyObject
* obj5
= 0 ;
28943 PyObject
* obj6
= 0 ;
28944 char *kwnames
[] = {
28945 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
28949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28952 arg2
= (int const) SWIG_AsInt(obj1
);
28953 if (PyErr_Occurred()) SWIG_fail
;
28958 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28964 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28968 arg5
= (long) SWIG_AsLong(obj4
);
28969 if (PyErr_Occurred()) SWIG_fail
;
28972 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
28973 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28975 if (arg6
== NULL
) {
28976 PyErr_SetString(PyExc_TypeError
,"null reference");
28982 arg7
= wxString_in_helper(obj6
);
28983 if (arg7
== NULL
) SWIG_fail
;
28988 if (!wxPyCheckForApp()) SWIG_fail
;
28989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28990 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28992 wxPyEndAllowThreads(__tstate
);
28993 if (PyErr_Occurred()) SWIG_fail
;
28995 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
29010 static PyObject
*_wrap_new_PrePyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29011 PyObject
*resultobj
;
29012 wxPyControl
*result
;
29013 char *kwnames
[] = {
29017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
29019 if (!wxPyCheckForApp()) SWIG_fail
;
29020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29021 result
= (wxPyControl
*)new wxPyControl();
29023 wxPyEndAllowThreads(__tstate
);
29024 if (PyErr_Occurred()) SWIG_fail
;
29026 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
29033 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29034 PyObject
*resultobj
;
29035 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29036 PyObject
*arg2
= (PyObject
*) 0 ;
29037 PyObject
*arg3
= (PyObject
*) 0 ;
29038 PyObject
* obj0
= 0 ;
29039 PyObject
* obj1
= 0 ;
29040 PyObject
* obj2
= 0 ;
29041 char *kwnames
[] = {
29042 (char *) "self",(char *) "self",(char *) "_class", NULL
29045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29052 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29054 wxPyEndAllowThreads(__tstate
);
29055 if (PyErr_Occurred()) SWIG_fail
;
29057 Py_INCREF(Py_None
); resultobj
= Py_None
;
29064 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29065 PyObject
*resultobj
;
29066 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29069 PyObject
* obj0
= 0 ;
29070 PyObject
* obj1
= 0 ;
29071 char *kwnames
[] = {
29072 (char *) "self",(char *) "size", NULL
29075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
29076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29080 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29084 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
29086 wxPyEndAllowThreads(__tstate
);
29087 if (PyErr_Occurred()) SWIG_fail
;
29089 Py_INCREF(Py_None
); resultobj
= Py_None
;
29096 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29097 PyObject
*resultobj
;
29098 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29103 PyObject
* obj0
= 0 ;
29104 PyObject
* obj1
= 0 ;
29105 PyObject
* obj2
= 0 ;
29106 PyObject
* obj3
= 0 ;
29107 PyObject
* obj4
= 0 ;
29108 char *kwnames
[] = {
29109 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29115 arg2
= (int) SWIG_AsInt(obj1
);
29116 if (PyErr_Occurred()) SWIG_fail
;
29117 arg3
= (int) SWIG_AsInt(obj2
);
29118 if (PyErr_Occurred()) SWIG_fail
;
29119 arg4
= (int) SWIG_AsInt(obj3
);
29120 if (PyErr_Occurred()) SWIG_fail
;
29121 arg5
= (int) SWIG_AsInt(obj4
);
29122 if (PyErr_Occurred()) SWIG_fail
;
29124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29125 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
29127 wxPyEndAllowThreads(__tstate
);
29128 if (PyErr_Occurred()) SWIG_fail
;
29130 Py_INCREF(Py_None
); resultobj
= Py_None
;
29137 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29138 PyObject
*resultobj
;
29139 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29144 int arg6
= (int) wxSIZE_AUTO
;
29145 PyObject
* obj0
= 0 ;
29146 PyObject
* obj1
= 0 ;
29147 PyObject
* obj2
= 0 ;
29148 PyObject
* obj3
= 0 ;
29149 PyObject
* obj4
= 0 ;
29150 PyObject
* obj5
= 0 ;
29151 char *kwnames
[] = {
29152 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
29155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29158 arg2
= (int) SWIG_AsInt(obj1
);
29159 if (PyErr_Occurred()) SWIG_fail
;
29160 arg3
= (int) SWIG_AsInt(obj2
);
29161 if (PyErr_Occurred()) SWIG_fail
;
29162 arg4
= (int) SWIG_AsInt(obj3
);
29163 if (PyErr_Occurred()) SWIG_fail
;
29164 arg5
= (int) SWIG_AsInt(obj4
);
29165 if (PyErr_Occurred()) SWIG_fail
;
29167 arg6
= (int) SWIG_AsInt(obj5
);
29168 if (PyErr_Occurred()) SWIG_fail
;
29171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29172 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
29174 wxPyEndAllowThreads(__tstate
);
29175 if (PyErr_Occurred()) SWIG_fail
;
29177 Py_INCREF(Py_None
); resultobj
= Py_None
;
29184 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29185 PyObject
*resultobj
;
29186 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29189 PyObject
* obj0
= 0 ;
29190 PyObject
* obj1
= 0 ;
29191 PyObject
* obj2
= 0 ;
29192 char *kwnames
[] = {
29193 (char *) "self",(char *) "width",(char *) "height", NULL
29196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29199 arg2
= (int) SWIG_AsInt(obj1
);
29200 if (PyErr_Occurred()) SWIG_fail
;
29201 arg3
= (int) SWIG_AsInt(obj2
);
29202 if (PyErr_Occurred()) SWIG_fail
;
29204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29205 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
29207 wxPyEndAllowThreads(__tstate
);
29208 if (PyErr_Occurred()) SWIG_fail
;
29210 Py_INCREF(Py_None
); resultobj
= Py_None
;
29217 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29218 PyObject
*resultobj
;
29219 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29222 PyObject
* obj0
= 0 ;
29223 PyObject
* obj1
= 0 ;
29224 PyObject
* obj2
= 0 ;
29225 char *kwnames
[] = {
29226 (char *) "self",(char *) "x",(char *) "y", NULL
29229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29232 arg2
= (int) SWIG_AsInt(obj1
);
29233 if (PyErr_Occurred()) SWIG_fail
;
29234 arg3
= (int) SWIG_AsInt(obj2
);
29235 if (PyErr_Occurred()) SWIG_fail
;
29237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29238 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
29240 wxPyEndAllowThreads(__tstate
);
29241 if (PyErr_Occurred()) SWIG_fail
;
29243 Py_INCREF(Py_None
); resultobj
= Py_None
;
29250 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29251 PyObject
*resultobj
;
29252 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29253 int *arg2
= (int *) 0 ;
29254 int *arg3
= (int *) 0 ;
29257 PyObject
* obj0
= 0 ;
29258 char *kwnames
[] = {
29259 (char *) "self", NULL
29264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
29265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29269 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
29271 wxPyEndAllowThreads(__tstate
);
29272 if (PyErr_Occurred()) SWIG_fail
;
29274 Py_INCREF(Py_None
); resultobj
= Py_None
;
29276 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29277 resultobj
= t_output_helper(resultobj
,o
);
29280 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29281 resultobj
= t_output_helper(resultobj
,o
);
29289 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29290 PyObject
*resultobj
;
29291 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29292 int *arg2
= (int *) 0 ;
29293 int *arg3
= (int *) 0 ;
29296 PyObject
* obj0
= 0 ;
29297 char *kwnames
[] = {
29298 (char *) "self", NULL
29303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
29304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29308 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
29310 wxPyEndAllowThreads(__tstate
);
29311 if (PyErr_Occurred()) SWIG_fail
;
29313 Py_INCREF(Py_None
); resultobj
= Py_None
;
29315 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29316 resultobj
= t_output_helper(resultobj
,o
);
29319 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29320 resultobj
= t_output_helper(resultobj
,o
);
29328 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29329 PyObject
*resultobj
;
29330 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29331 int *arg2
= (int *) 0 ;
29332 int *arg3
= (int *) 0 ;
29335 PyObject
* obj0
= 0 ;
29336 char *kwnames
[] = {
29337 (char *) "self", NULL
29342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
29343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29347 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
29349 wxPyEndAllowThreads(__tstate
);
29350 if (PyErr_Occurred()) SWIG_fail
;
29352 Py_INCREF(Py_None
); resultobj
= Py_None
;
29354 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29355 resultobj
= t_output_helper(resultobj
,o
);
29358 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29359 resultobj
= t_output_helper(resultobj
,o
);
29367 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29368 PyObject
*resultobj
;
29369 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29371 PyObject
* obj0
= 0 ;
29372 char *kwnames
[] = {
29373 (char *) "self", NULL
29376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
29377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29381 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
29383 wxPyEndAllowThreads(__tstate
);
29384 if (PyErr_Occurred()) SWIG_fail
;
29387 wxSize
* resultptr
;
29388 resultptr
= new wxSize((wxSize
&) result
);
29389 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29397 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29398 PyObject
*resultobj
;
29399 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29401 PyObject
* obj0
= 0 ;
29402 char *kwnames
[] = {
29403 (char *) "self", NULL
29406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
29407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29411 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
29413 wxPyEndAllowThreads(__tstate
);
29414 if (PyErr_Occurred()) SWIG_fail
;
29417 wxSize
* resultptr
;
29418 resultptr
= new wxSize((wxSize
&) result
);
29419 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29427 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29428 PyObject
*resultobj
;
29429 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29430 PyObject
* obj0
= 0 ;
29431 char *kwnames
[] = {
29432 (char *) "self", NULL
29435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
29436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29440 (arg1
)->base_InitDialog();
29442 wxPyEndAllowThreads(__tstate
);
29443 if (PyErr_Occurred()) SWIG_fail
;
29445 Py_INCREF(Py_None
); resultobj
= Py_None
;
29452 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29453 PyObject
*resultobj
;
29454 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29456 PyObject
* obj0
= 0 ;
29457 char *kwnames
[] = {
29458 (char *) "self", NULL
29461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
29462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29466 result
= (bool)(arg1
)->base_TransferDataToWindow();
29468 wxPyEndAllowThreads(__tstate
);
29469 if (PyErr_Occurred()) SWIG_fail
;
29472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29480 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29481 PyObject
*resultobj
;
29482 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29484 PyObject
* obj0
= 0 ;
29485 char *kwnames
[] = {
29486 (char *) "self", NULL
29489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
29490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29494 result
= (bool)(arg1
)->base_TransferDataFromWindow();
29496 wxPyEndAllowThreads(__tstate
);
29497 if (PyErr_Occurred()) SWIG_fail
;
29500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29508 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29509 PyObject
*resultobj
;
29510 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29512 PyObject
* obj0
= 0 ;
29513 char *kwnames
[] = {
29514 (char *) "self", NULL
29517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
29518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29522 result
= (bool)(arg1
)->base_Validate();
29524 wxPyEndAllowThreads(__tstate
);
29525 if (PyErr_Occurred()) SWIG_fail
;
29528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29536 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29537 PyObject
*resultobj
;
29538 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29540 PyObject
* obj0
= 0 ;
29541 char *kwnames
[] = {
29542 (char *) "self", NULL
29545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
29546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29550 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
29552 wxPyEndAllowThreads(__tstate
);
29553 if (PyErr_Occurred()) SWIG_fail
;
29556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29564 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29565 PyObject
*resultobj
;
29566 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29568 PyObject
* obj0
= 0 ;
29569 char *kwnames
[] = {
29570 (char *) "self", NULL
29573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
29574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29578 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
29580 wxPyEndAllowThreads(__tstate
);
29581 if (PyErr_Occurred()) SWIG_fail
;
29584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29592 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29593 PyObject
*resultobj
;
29594 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29596 PyObject
* obj0
= 0 ;
29597 char *kwnames
[] = {
29598 (char *) "self", NULL
29601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
29602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29606 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
29608 wxPyEndAllowThreads(__tstate
);
29609 if (PyErr_Occurred()) SWIG_fail
;
29612 wxSize
* resultptr
;
29613 resultptr
= new wxSize((wxSize
&) result
);
29614 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29622 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29623 PyObject
*resultobj
;
29624 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29625 wxWindow
*arg2
= (wxWindow
*) 0 ;
29626 PyObject
* obj0
= 0 ;
29627 PyObject
* obj1
= 0 ;
29628 char *kwnames
[] = {
29629 (char *) "self",(char *) "child", NULL
29632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29635 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29639 (arg1
)->base_AddChild(arg2
);
29641 wxPyEndAllowThreads(__tstate
);
29642 if (PyErr_Occurred()) SWIG_fail
;
29644 Py_INCREF(Py_None
); resultobj
= Py_None
;
29651 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29652 PyObject
*resultobj
;
29653 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29654 wxWindow
*arg2
= (wxWindow
*) 0 ;
29655 PyObject
* obj0
= 0 ;
29656 PyObject
* obj1
= 0 ;
29657 char *kwnames
[] = {
29658 (char *) "self",(char *) "child", NULL
29661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29664 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29668 (arg1
)->base_RemoveChild(arg2
);
29670 wxPyEndAllowThreads(__tstate
);
29671 if (PyErr_Occurred()) SWIG_fail
;
29673 Py_INCREF(Py_None
); resultobj
= Py_None
;
29680 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29681 PyObject
*resultobj
;
29682 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29684 PyObject
* obj0
= 0 ;
29685 char *kwnames
[] = {
29686 (char *) "self", NULL
29689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
29690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29694 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
29696 wxPyEndAllowThreads(__tstate
);
29697 if (PyErr_Occurred()) SWIG_fail
;
29700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29708 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29709 PyObject
*resultobj
;
29710 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29711 wxColour
*arg2
= 0 ;
29713 PyObject
* obj0
= 0 ;
29714 PyObject
* obj1
= 0 ;
29715 char *kwnames
[] = {
29716 (char *) "self",(char *) "c", NULL
29719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
29720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29724 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29728 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
29730 wxPyEndAllowThreads(__tstate
);
29731 if (PyErr_Occurred()) SWIG_fail
;
29733 Py_INCREF(Py_None
); resultobj
= Py_None
;
29740 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29741 PyObject
*resultobj
;
29742 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29743 wxVisualAttributes result
;
29744 PyObject
* obj0
= 0 ;
29745 char *kwnames
[] = {
29746 (char *) "self", NULL
29749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29754 result
= (arg1
)->base_GetDefaultAttributes();
29756 wxPyEndAllowThreads(__tstate
);
29757 if (PyErr_Occurred()) SWIG_fail
;
29760 wxVisualAttributes
* resultptr
;
29761 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
29762 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29770 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
29772 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29773 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
29775 return Py_BuildValue((char *)"");
29777 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29778 PyObject
*resultobj
;
29779 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
29780 int arg2
= (int) 0 ;
29781 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29782 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29783 wxHelpEvent
*result
;
29785 PyObject
* obj0
= 0 ;
29786 PyObject
* obj1
= 0 ;
29787 PyObject
* obj2
= 0 ;
29788 char *kwnames
[] = {
29789 (char *) "type",(char *) "winid",(char *) "pt", NULL
29792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29794 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
29795 if (PyErr_Occurred()) SWIG_fail
;
29798 arg2
= (int) SWIG_AsInt(obj1
);
29799 if (PyErr_Occurred()) SWIG_fail
;
29804 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29809 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
29811 wxPyEndAllowThreads(__tstate
);
29812 if (PyErr_Occurred()) SWIG_fail
;
29814 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
29821 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29822 PyObject
*resultobj
;
29823 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29825 PyObject
* obj0
= 0 ;
29826 char *kwnames
[] = {
29827 (char *) "self", NULL
29830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
29831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29835 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
29837 wxPyEndAllowThreads(__tstate
);
29838 if (PyErr_Occurred()) SWIG_fail
;
29841 wxPoint
* resultptr
;
29842 resultptr
= new wxPoint((wxPoint
&) result
);
29843 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29851 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29852 PyObject
*resultobj
;
29853 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29854 wxPoint
*arg2
= 0 ;
29856 PyObject
* obj0
= 0 ;
29857 PyObject
* obj1
= 0 ;
29858 char *kwnames
[] = {
29859 (char *) "self",(char *) "pos", NULL
29862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
29863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29867 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29871 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
29873 wxPyEndAllowThreads(__tstate
);
29874 if (PyErr_Occurred()) SWIG_fail
;
29876 Py_INCREF(Py_None
); resultobj
= Py_None
;
29883 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29884 PyObject
*resultobj
;
29885 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29887 PyObject
* obj0
= 0 ;
29888 char *kwnames
[] = {
29889 (char *) "self", NULL
29892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
29893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29898 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
29899 result
= (wxString
*) &_result_ref
;
29902 wxPyEndAllowThreads(__tstate
);
29903 if (PyErr_Occurred()) SWIG_fail
;
29907 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29909 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29918 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29919 PyObject
*resultobj
;
29920 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29921 wxString
*arg2
= 0 ;
29922 bool temp2
= False
;
29923 PyObject
* obj0
= 0 ;
29924 PyObject
* obj1
= 0 ;
29925 char *kwnames
[] = {
29926 (char *) "self",(char *) "link", NULL
29929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
29930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29933 arg2
= wxString_in_helper(obj1
);
29934 if (arg2
== NULL
) SWIG_fail
;
29938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29939 (arg1
)->SetLink((wxString
const &)*arg2
);
29941 wxPyEndAllowThreads(__tstate
);
29942 if (PyErr_Occurred()) SWIG_fail
;
29944 Py_INCREF(Py_None
); resultobj
= Py_None
;
29959 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29960 PyObject
*resultobj
;
29961 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29963 PyObject
* obj0
= 0 ;
29964 char *kwnames
[] = {
29965 (char *) "self", NULL
29968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
29969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29974 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
29975 result
= (wxString
*) &_result_ref
;
29978 wxPyEndAllowThreads(__tstate
);
29979 if (PyErr_Occurred()) SWIG_fail
;
29983 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29985 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29994 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29995 PyObject
*resultobj
;
29996 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29997 wxString
*arg2
= 0 ;
29998 bool temp2
= False
;
29999 PyObject
* obj0
= 0 ;
30000 PyObject
* obj1
= 0 ;
30001 char *kwnames
[] = {
30002 (char *) "self",(char *) "target", NULL
30005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
30006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30009 arg2
= wxString_in_helper(obj1
);
30010 if (arg2
== NULL
) SWIG_fail
;
30014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30015 (arg1
)->SetTarget((wxString
const &)*arg2
);
30017 wxPyEndAllowThreads(__tstate
);
30018 if (PyErr_Occurred()) SWIG_fail
;
30020 Py_INCREF(Py_None
); resultobj
= Py_None
;
30035 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
30037 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30038 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
30040 return Py_BuildValue((char *)"");
30042 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30043 PyObject
*resultobj
;
30044 wxWindow
*arg1
= (wxWindow
*) NULL
;
30045 bool arg2
= (bool) True
;
30046 wxContextHelp
*result
;
30047 PyObject
* obj0
= 0 ;
30048 PyObject
* obj1
= 0 ;
30049 char *kwnames
[] = {
30050 (char *) "window",(char *) "doNow", NULL
30053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30059 arg2
= (bool) SWIG_AsBool(obj1
);
30060 if (PyErr_Occurred()) SWIG_fail
;
30063 if (!wxPyCheckForApp()) SWIG_fail
;
30064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30065 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
30067 wxPyEndAllowThreads(__tstate
);
30068 if (PyErr_Occurred()) SWIG_fail
;
30070 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
30077 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30078 PyObject
*resultobj
;
30079 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30080 PyObject
* obj0
= 0 ;
30081 char *kwnames
[] = {
30082 (char *) "self", NULL
30085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
30086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30092 wxPyEndAllowThreads(__tstate
);
30093 if (PyErr_Occurred()) SWIG_fail
;
30095 Py_INCREF(Py_None
); resultobj
= Py_None
;
30102 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30103 PyObject
*resultobj
;
30104 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30105 wxWindow
*arg2
= (wxWindow
*) NULL
;
30107 PyObject
* obj0
= 0 ;
30108 PyObject
* obj1
= 0 ;
30109 char *kwnames
[] = {
30110 (char *) "self",(char *) "window", NULL
30113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30117 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30122 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
30124 wxPyEndAllowThreads(__tstate
);
30125 if (PyErr_Occurred()) SWIG_fail
;
30128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30136 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30137 PyObject
*resultobj
;
30138 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30140 PyObject
* obj0
= 0 ;
30141 char *kwnames
[] = {
30142 (char *) "self", NULL
30145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
30146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30150 result
= (bool)(arg1
)->EndContextHelp();
30152 wxPyEndAllowThreads(__tstate
);
30153 if (PyErr_Occurred()) SWIG_fail
;
30156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30164 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
30166 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30167 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
30169 return Py_BuildValue((char *)"");
30171 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30172 PyObject
*resultobj
;
30173 wxWindow
*arg1
= (wxWindow
*) 0 ;
30174 int arg2
= (int) wxID_CONTEXT_HELP
;
30175 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30176 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30177 wxSize
const &arg4_defvalue
= wxDefaultSize
;
30178 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
30179 long arg5
= (long) wxBU_AUTODRAW
;
30180 wxContextHelpButton
*result
;
30183 PyObject
* obj0
= 0 ;
30184 PyObject
* obj1
= 0 ;
30185 PyObject
* obj2
= 0 ;
30186 PyObject
* obj3
= 0 ;
30187 PyObject
* obj4
= 0 ;
30188 char *kwnames
[] = {
30189 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
30192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30196 arg2
= (int) SWIG_AsInt(obj1
);
30197 if (PyErr_Occurred()) SWIG_fail
;
30202 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30208 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
30212 arg5
= (long) SWIG_AsLong(obj4
);
30213 if (PyErr_Occurred()) SWIG_fail
;
30216 if (!wxPyCheckForApp()) SWIG_fail
;
30217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30218 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
30220 wxPyEndAllowThreads(__tstate
);
30221 if (PyErr_Occurred()) SWIG_fail
;
30223 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
30230 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
30232 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30233 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
30235 return Py_BuildValue((char *)"");
30237 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30238 PyObject
*resultobj
;
30239 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30240 wxHelpProvider
*result
;
30241 PyObject
* obj0
= 0 ;
30242 char *kwnames
[] = {
30243 (char *) "helpProvider", NULL
30246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
30247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30251 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
30253 wxPyEndAllowThreads(__tstate
);
30254 if (PyErr_Occurred()) SWIG_fail
;
30256 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30263 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30264 PyObject
*resultobj
;
30265 wxHelpProvider
*result
;
30266 char *kwnames
[] = {
30270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
30272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30273 result
= (wxHelpProvider
*)wxHelpProvider::Get();
30275 wxPyEndAllowThreads(__tstate
);
30276 if (PyErr_Occurred()) SWIG_fail
;
30278 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30285 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30286 PyObject
*resultobj
;
30287 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30288 wxWindow
*arg2
= (wxWindow
*) 0 ;
30290 PyObject
* obj0
= 0 ;
30291 PyObject
* obj1
= 0 ;
30292 char *kwnames
[] = {
30293 (char *) "self",(char *) "window", NULL
30296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30299 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30303 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
30305 wxPyEndAllowThreads(__tstate
);
30306 if (PyErr_Occurred()) SWIG_fail
;
30310 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30312 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30321 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30322 PyObject
*resultobj
;
30323 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30324 wxWindow
*arg2
= (wxWindow
*) 0 ;
30326 PyObject
* obj0
= 0 ;
30327 PyObject
* obj1
= 0 ;
30328 char *kwnames
[] = {
30329 (char *) "self",(char *) "window", NULL
30332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30335 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30339 result
= (bool)(arg1
)->ShowHelp(arg2
);
30341 wxPyEndAllowThreads(__tstate
);
30342 if (PyErr_Occurred()) SWIG_fail
;
30345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30353 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30354 PyObject
*resultobj
;
30355 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30356 wxWindow
*arg2
= (wxWindow
*) 0 ;
30357 wxString
*arg3
= 0 ;
30358 bool temp3
= False
;
30359 PyObject
* obj0
= 0 ;
30360 PyObject
* obj1
= 0 ;
30361 PyObject
* obj2
= 0 ;
30362 char *kwnames
[] = {
30363 (char *) "self",(char *) "window",(char *) "text", NULL
30366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30369 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30372 arg3
= wxString_in_helper(obj2
);
30373 if (arg3
== NULL
) SWIG_fail
;
30377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30378 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30380 wxPyEndAllowThreads(__tstate
);
30381 if (PyErr_Occurred()) SWIG_fail
;
30383 Py_INCREF(Py_None
); resultobj
= Py_None
;
30398 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30399 PyObject
*resultobj
;
30400 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30402 wxString
*arg3
= 0 ;
30403 bool temp3
= False
;
30404 PyObject
* obj0
= 0 ;
30405 PyObject
* obj1
= 0 ;
30406 PyObject
* obj2
= 0 ;
30407 char *kwnames
[] = {
30408 (char *) "self",(char *) "id",(char *) "text", NULL
30411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30414 arg2
= (int) SWIG_AsInt(obj1
);
30415 if (PyErr_Occurred()) SWIG_fail
;
30417 arg3
= wxString_in_helper(obj2
);
30418 if (arg3
== NULL
) SWIG_fail
;
30422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30423 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30425 wxPyEndAllowThreads(__tstate
);
30426 if (PyErr_Occurred()) SWIG_fail
;
30428 Py_INCREF(Py_None
); resultobj
= Py_None
;
30443 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30444 PyObject
*resultobj
;
30445 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30446 wxWindow
*arg2
= (wxWindow
*) 0 ;
30447 PyObject
* obj0
= 0 ;
30448 PyObject
* obj1
= 0 ;
30449 char *kwnames
[] = {
30450 (char *) "self",(char *) "window", NULL
30453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30456 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30460 (arg1
)->RemoveHelp(arg2
);
30462 wxPyEndAllowThreads(__tstate
);
30463 if (PyErr_Occurred()) SWIG_fail
;
30465 Py_INCREF(Py_None
); resultobj
= Py_None
;
30472 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30473 PyObject
*resultobj
;
30474 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30475 PyObject
* obj0
= 0 ;
30476 char *kwnames
[] = {
30477 (char *) "self", NULL
30480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
30481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30485 wxHelpProvider_Destroy(arg1
);
30487 wxPyEndAllowThreads(__tstate
);
30488 if (PyErr_Occurred()) SWIG_fail
;
30490 Py_INCREF(Py_None
); resultobj
= Py_None
;
30497 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
30499 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30500 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
30502 return Py_BuildValue((char *)"");
30504 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30505 PyObject
*resultobj
;
30506 wxSimpleHelpProvider
*result
;
30507 char *kwnames
[] = {
30511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
30513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30514 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
30516 wxPyEndAllowThreads(__tstate
);
30517 if (PyErr_Occurred()) SWIG_fail
;
30519 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
30526 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
30528 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30529 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
30531 return Py_BuildValue((char *)"");
30533 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30534 PyObject
*resultobj
;
30535 wxBitmap
*arg1
= 0 ;
30536 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30537 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30538 wxGenericDragImage
*result
;
30539 PyObject
* obj0
= 0 ;
30540 PyObject
* obj1
= 0 ;
30541 char *kwnames
[] = {
30542 (char *) "image",(char *) "cursor", NULL
30545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
30546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
30547 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30549 if (arg1
== NULL
) {
30550 PyErr_SetString(PyExc_TypeError
,"null reference");
30554 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30555 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30557 if (arg2
== NULL
) {
30558 PyErr_SetString(PyExc_TypeError
,"null reference");
30563 if (!wxPyCheckForApp()) SWIG_fail
;
30564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30565 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
30567 wxPyEndAllowThreads(__tstate
);
30568 if (PyErr_Occurred()) SWIG_fail
;
30570 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30577 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30578 PyObject
*resultobj
;
30580 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30581 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30582 wxGenericDragImage
*result
;
30583 PyObject
* obj0
= 0 ;
30584 PyObject
* obj1
= 0 ;
30585 char *kwnames
[] = {
30586 (char *) "image",(char *) "cursor", NULL
30589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
30590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
30591 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30593 if (arg1
== NULL
) {
30594 PyErr_SetString(PyExc_TypeError
,"null reference");
30598 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30599 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30601 if (arg2
== NULL
) {
30602 PyErr_SetString(PyExc_TypeError
,"null reference");
30607 if (!wxPyCheckForApp()) SWIG_fail
;
30608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30609 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
30611 wxPyEndAllowThreads(__tstate
);
30612 if (PyErr_Occurred()) SWIG_fail
;
30614 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30621 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30622 PyObject
*resultobj
;
30623 wxString
*arg1
= 0 ;
30624 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30625 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30626 wxGenericDragImage
*result
;
30627 bool temp1
= False
;
30628 PyObject
* obj0
= 0 ;
30629 PyObject
* obj1
= 0 ;
30630 char *kwnames
[] = {
30631 (char *) "str",(char *) "cursor", NULL
30634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
30636 arg1
= wxString_in_helper(obj0
);
30637 if (arg1
== NULL
) SWIG_fail
;
30641 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30642 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30644 if (arg2
== NULL
) {
30645 PyErr_SetString(PyExc_TypeError
,"null reference");
30650 if (!wxPyCheckForApp()) SWIG_fail
;
30651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30652 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
30654 wxPyEndAllowThreads(__tstate
);
30655 if (PyErr_Occurred()) SWIG_fail
;
30657 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30672 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30673 PyObject
*resultobj
;
30674 wxPyTreeCtrl
*arg1
= 0 ;
30675 wxTreeItemId
*arg2
= 0 ;
30676 wxGenericDragImage
*result
;
30677 PyObject
* obj0
= 0 ;
30678 PyObject
* obj1
= 0 ;
30679 char *kwnames
[] = {
30680 (char *) "treeCtrl",(char *) "id", NULL
30683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
30685 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30687 if (arg1
== NULL
) {
30688 PyErr_SetString(PyExc_TypeError
,"null reference");
30691 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
30692 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30694 if (arg2
== NULL
) {
30695 PyErr_SetString(PyExc_TypeError
,"null reference");
30699 if (!wxPyCheckForApp()) SWIG_fail
;
30700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30701 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
30703 wxPyEndAllowThreads(__tstate
);
30704 if (PyErr_Occurred()) SWIG_fail
;
30706 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30713 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30714 PyObject
*resultobj
;
30715 wxPyListCtrl
*arg1
= 0 ;
30717 wxGenericDragImage
*result
;
30718 PyObject
* obj0
= 0 ;
30719 PyObject
* obj1
= 0 ;
30720 char *kwnames
[] = {
30721 (char *) "listCtrl",(char *) "id", NULL
30724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
30726 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30728 if (arg1
== NULL
) {
30729 PyErr_SetString(PyExc_TypeError
,"null reference");
30732 arg2
= (long) SWIG_AsLong(obj1
);
30733 if (PyErr_Occurred()) SWIG_fail
;
30735 if (!wxPyCheckForApp()) SWIG_fail
;
30736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30737 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
30739 wxPyEndAllowThreads(__tstate
);
30740 if (PyErr_Occurred()) SWIG_fail
;
30742 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30749 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30750 PyObject
*resultobj
;
30751 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30752 PyObject
* obj0
= 0 ;
30753 char *kwnames
[] = {
30754 (char *) "self", NULL
30757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
30758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30764 wxPyEndAllowThreads(__tstate
);
30765 if (PyErr_Occurred()) SWIG_fail
;
30767 Py_INCREF(Py_None
); resultobj
= Py_None
;
30774 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30775 PyObject
*resultobj
;
30776 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30777 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
30778 PyObject
* obj0
= 0 ;
30779 PyObject
* obj1
= 0 ;
30780 char *kwnames
[] = {
30781 (char *) "self",(char *) "bitmap", NULL
30784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
30785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30787 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
30788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30791 (arg1
)->SetBackingBitmap(arg2
);
30793 wxPyEndAllowThreads(__tstate
);
30794 if (PyErr_Occurred()) SWIG_fail
;
30796 Py_INCREF(Py_None
); resultobj
= Py_None
;
30803 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30804 PyObject
*resultobj
;
30805 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30806 wxPoint
*arg2
= 0 ;
30807 wxWindow
*arg3
= (wxWindow
*) 0 ;
30808 bool arg4
= (bool) False
;
30809 wxRect
*arg5
= (wxRect
*) NULL
;
30812 PyObject
* obj0
= 0 ;
30813 PyObject
* obj1
= 0 ;
30814 PyObject
* obj2
= 0 ;
30815 PyObject
* obj3
= 0 ;
30816 PyObject
* obj4
= 0 ;
30817 char *kwnames
[] = {
30818 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
30821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30826 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30828 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
30829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30831 arg4
= (bool) SWIG_AsBool(obj3
);
30832 if (PyErr_Occurred()) SWIG_fail
;
30835 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
30836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30840 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
30842 wxPyEndAllowThreads(__tstate
);
30843 if (PyErr_Occurred()) SWIG_fail
;
30846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30854 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30855 PyObject
*resultobj
;
30856 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30857 wxPoint
*arg2
= 0 ;
30858 wxWindow
*arg3
= (wxWindow
*) 0 ;
30859 wxWindow
*arg4
= (wxWindow
*) 0 ;
30862 PyObject
* obj0
= 0 ;
30863 PyObject
* obj1
= 0 ;
30864 PyObject
* obj2
= 0 ;
30865 PyObject
* obj3
= 0 ;
30866 char *kwnames
[] = {
30867 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
30870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30875 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30877 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
30878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30879 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
30880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30883 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
30885 wxPyEndAllowThreads(__tstate
);
30886 if (PyErr_Occurred()) SWIG_fail
;
30889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30897 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30898 PyObject
*resultobj
;
30899 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30901 PyObject
* obj0
= 0 ;
30902 char *kwnames
[] = {
30903 (char *) "self", NULL
30906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
30907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30911 result
= (bool)(arg1
)->EndDrag();
30913 wxPyEndAllowThreads(__tstate
);
30914 if (PyErr_Occurred()) SWIG_fail
;
30917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30925 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30926 PyObject
*resultobj
;
30927 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30928 wxPoint
*arg2
= 0 ;
30931 PyObject
* obj0
= 0 ;
30932 PyObject
* obj1
= 0 ;
30933 char *kwnames
[] = {
30934 (char *) "self",(char *) "pt", NULL
30937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
30938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30942 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30946 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
30948 wxPyEndAllowThreads(__tstate
);
30949 if (PyErr_Occurred()) SWIG_fail
;
30952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30960 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30961 PyObject
*resultobj
;
30962 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30964 PyObject
* obj0
= 0 ;
30965 char *kwnames
[] = {
30966 (char *) "self", NULL
30969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
30970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30974 result
= (bool)(arg1
)->Show();
30976 wxPyEndAllowThreads(__tstate
);
30977 if (PyErr_Occurred()) SWIG_fail
;
30980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30988 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30989 PyObject
*resultobj
;
30990 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30992 PyObject
* obj0
= 0 ;
30993 char *kwnames
[] = {
30994 (char *) "self", NULL
30997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
30998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31002 result
= (bool)(arg1
)->Hide();
31004 wxPyEndAllowThreads(__tstate
);
31005 if (PyErr_Occurred()) SWIG_fail
;
31008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31016 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31017 PyObject
*resultobj
;
31018 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31019 wxPoint
*arg2
= 0 ;
31022 PyObject
* obj0
= 0 ;
31023 PyObject
* obj1
= 0 ;
31024 char *kwnames
[] = {
31025 (char *) "self",(char *) "pos", NULL
31028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
31029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31033 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31037 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
31039 wxPyEndAllowThreads(__tstate
);
31040 if (PyErr_Occurred()) SWIG_fail
;
31043 wxRect
* resultptr
;
31044 resultptr
= new wxRect((wxRect
&) result
);
31045 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
31053 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31054 PyObject
*resultobj
;
31055 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31057 wxPoint
*arg3
= 0 ;
31060 PyObject
* obj0
= 0 ;
31061 PyObject
* obj1
= 0 ;
31062 PyObject
* obj2
= 0 ;
31063 char *kwnames
[] = {
31064 (char *) "self",(char *) "dc",(char *) "pos", NULL
31067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31070 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31071 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31073 if (arg2
== NULL
) {
31074 PyErr_SetString(PyExc_TypeError
,"null reference");
31079 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31083 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
31085 wxPyEndAllowThreads(__tstate
);
31086 if (PyErr_Occurred()) SWIG_fail
;
31089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31097 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31098 PyObject
*resultobj
;
31099 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31101 wxMemoryDC
*arg3
= 0 ;
31107 PyObject
* obj0
= 0 ;
31108 PyObject
* obj1
= 0 ;
31109 PyObject
* obj2
= 0 ;
31110 PyObject
* obj3
= 0 ;
31111 PyObject
* obj4
= 0 ;
31112 char *kwnames
[] = {
31113 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
31116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31119 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31120 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31122 if (arg2
== NULL
) {
31123 PyErr_SetString(PyExc_TypeError
,"null reference");
31126 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
31127 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31129 if (arg3
== NULL
) {
31130 PyErr_SetString(PyExc_TypeError
,"null reference");
31135 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31139 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
31142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31143 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
31145 wxPyEndAllowThreads(__tstate
);
31146 if (PyErr_Occurred()) SWIG_fail
;
31149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31157 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31158 PyObject
*resultobj
;
31159 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31160 wxPoint
*arg2
= 0 ;
31161 wxPoint
*arg3
= 0 ;
31167 PyObject
* obj0
= 0 ;
31168 PyObject
* obj1
= 0 ;
31169 PyObject
* obj2
= 0 ;
31170 PyObject
* obj3
= 0 ;
31171 PyObject
* obj4
= 0 ;
31172 char *kwnames
[] = {
31173 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
31176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31181 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31185 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31187 arg4
= (bool) SWIG_AsBool(obj3
);
31188 if (PyErr_Occurred()) SWIG_fail
;
31189 arg5
= (bool) SWIG_AsBool(obj4
);
31190 if (PyErr_Occurred()) SWIG_fail
;
31192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31193 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
31195 wxPyEndAllowThreads(__tstate
);
31196 if (PyErr_Occurred()) SWIG_fail
;
31199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31207 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
31209 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31210 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
31212 return Py_BuildValue((char *)"");
31214 static PyMethodDef SwigMethods
[] = {
31215 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
31216 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
31217 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
31218 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
31219 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
31220 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31221 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
31222 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
31223 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
31224 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31225 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
31226 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
31227 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
31228 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
31229 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
31230 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
31231 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
31232 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
31233 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31234 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
31235 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
31236 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
31237 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
31238 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
31239 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31240 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31241 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
31242 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31243 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
31244 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
31245 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
31246 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
31247 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31248 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
31249 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
31250 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
31251 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
31252 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31253 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31254 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31255 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31256 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
31257 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
31258 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
31259 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31260 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31261 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31262 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
31263 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
31264 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
31265 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31266 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31267 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
31268 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
31269 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31270 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
31271 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31272 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31273 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
31274 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
31275 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
31276 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31277 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
31278 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
31279 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
31280 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
31281 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31282 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31283 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31284 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31285 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31286 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
31287 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
31288 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
31289 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
31290 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31291 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
31292 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
31293 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
31294 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31295 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31296 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
31297 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
31298 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
31299 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
31300 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31301 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
31302 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31303 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
31304 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
31305 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
31306 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
31307 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31308 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
31309 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31310 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31311 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
31312 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31313 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31314 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
31315 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31316 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
31317 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
31318 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
31319 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31320 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
31321 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
31322 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
31323 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31324 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31325 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
31326 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
31327 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
31328 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31329 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
31330 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
31331 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
31332 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31333 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31334 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
31335 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31336 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31337 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31338 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31339 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
31340 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
31341 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
31342 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31343 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
31344 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
31345 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
31346 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31347 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
31348 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
31349 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
31350 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
31351 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
31352 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31353 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31354 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31355 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31356 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
31357 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31358 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31359 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
31360 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31361 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31362 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
31363 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31364 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
31365 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31366 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31367 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
31368 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31369 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31370 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31371 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31372 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
31373 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31374 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
},
31375 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31376 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
31377 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
31378 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
31379 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
31380 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31381 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31382 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31383 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31384 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31385 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31386 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
31387 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
31388 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
31389 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
31390 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
31391 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
31392 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
31393 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31394 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31395 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
31396 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
31397 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
31398 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
31399 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
31400 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
31401 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
31402 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
31403 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
31404 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
31405 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
31406 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31407 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31408 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
31409 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
31410 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
31411 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
31412 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
31413 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31414 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
31415 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
31416 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
31417 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
31418 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
31419 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
31420 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
31421 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
31422 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
31423 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
31424 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31425 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
31426 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31427 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
31428 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31429 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
31430 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
31431 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
31432 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
31433 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31434 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
31435 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
31436 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
31437 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
31438 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
31439 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
31440 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
31441 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
31442 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
31443 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
31444 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
31445 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31446 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31447 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31448 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
31449 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
31450 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31451 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
31452 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
31453 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
31454 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31455 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31456 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31457 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31458 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31459 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
31460 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
31461 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31462 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31463 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31464 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
31465 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31466 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31467 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31468 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31469 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31470 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
31471 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31472 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31473 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31474 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31475 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31476 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
31477 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
31478 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31479 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31480 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
},
31481 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
31482 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
31483 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31484 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31485 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31486 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31487 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31488 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
31489 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
31490 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
31491 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31492 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
31493 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
31494 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
31495 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
31496 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
31497 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31498 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
31499 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
31500 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
31501 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31502 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31503 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31504 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31505 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
31506 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
31507 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
31508 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
31509 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31510 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31511 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31512 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31513 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31514 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
31515 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
31516 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
31517 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31518 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
31519 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31520 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
31521 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
31522 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
31523 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
31524 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
31525 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
31526 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
31527 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
31528 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
31529 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31530 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31531 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
31532 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
31533 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
31534 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31535 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31536 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31537 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31538 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31539 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
31540 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
31541 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
31542 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31543 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
31544 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
31545 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31546 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31547 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31548 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
31549 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
31550 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31551 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
31552 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
31553 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
31554 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
31555 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
31556 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
31557 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31558 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
31559 { (char *)"BookCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31560 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
31561 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
31562 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31563 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31564 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
31565 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
31566 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
31567 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
31568 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
31569 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
31570 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
31571 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
31572 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
31573 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31574 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
31575 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31576 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
31577 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
31578 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
31579 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
31580 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
31581 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
31582 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31583 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
31584 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
31585 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
31586 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
31587 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
31588 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
31589 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
31590 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
31591 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
31592 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
31593 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
31594 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
31595 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
31596 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31597 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
31598 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31599 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
31600 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
31601 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31602 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31603 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
31604 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
31605 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
31606 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
31607 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31608 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31609 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31610 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31611 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31612 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31613 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
31614 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
31615 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
31616 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31617 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31618 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31619 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31620 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31621 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
31622 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
31623 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
31624 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
31625 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
31626 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
31627 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
31628 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
31629 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
31630 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
31631 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
31632 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
31633 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31634 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31635 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
31636 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
31637 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
31638 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
31639 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
31640 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
31641 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
31642 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
31643 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
31644 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
31645 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
31646 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
31647 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
31648 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31649 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31650 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31651 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31652 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
31653 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31654 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
31655 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
31656 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
31657 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31658 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
31659 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
31660 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
31661 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
31662 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
31663 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
31664 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
31665 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
31666 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
31667 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
31668 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
31669 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31670 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
31671 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31672 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31673 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
31674 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
31675 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31676 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
31677 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
31678 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31679 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31680 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31681 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31682 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31683 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
31684 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31685 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31686 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31687 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31688 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
31689 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
31690 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
31691 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
31692 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31693 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
31694 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
31695 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31696 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
31697 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
31698 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
31699 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
31700 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
31701 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
31702 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
31703 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31704 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31705 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31706 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
31707 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31708 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31709 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
31710 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
31711 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
31712 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31713 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
31714 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
31715 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31716 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31717 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31718 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31719 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31720 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
31721 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
31722 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
31723 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
31724 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
31725 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
31726 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
31727 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
31728 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
31729 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
31730 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
31731 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
31732 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
31733 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
31734 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
31735 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
31736 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
31737 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
31738 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
31739 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
31740 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
31741 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
31742 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
31743 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
31744 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
31745 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
31746 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
31747 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
31748 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
31749 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
31750 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
31751 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
31752 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
31753 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
31754 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
31755 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31756 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31757 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31758 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
31759 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
31760 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31761 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
31762 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31763 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
31764 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
31765 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
31766 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
31767 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
31768 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31769 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31770 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31771 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31772 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31773 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31774 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31775 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31776 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
31777 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
31778 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
31779 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
31780 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31781 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
31782 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31783 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
31784 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
31785 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31786 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31787 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31788 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31789 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31790 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
31791 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
31792 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
31793 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31794 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
31795 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31796 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31797 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31798 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31799 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31800 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
31801 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
31802 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
31803 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
31804 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31805 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31806 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31807 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
},
31808 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
31809 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
31810 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
31811 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
31812 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
31813 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
31814 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
31815 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
31816 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
31817 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
31818 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31819 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
31820 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
31821 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
31822 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31823 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
31824 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31825 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
31826 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31827 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
31828 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
31829 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31830 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
31831 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31832 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31833 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31834 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31835 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
31836 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
31837 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31838 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
31839 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
31840 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
31841 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
31842 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
31843 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
31844 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
31845 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
31846 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
31847 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31848 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
31849 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
31850 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
31851 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
31852 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
31853 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
31854 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
31855 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
31856 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
31857 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
31858 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
31859 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
31860 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31861 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
31862 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31863 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
31864 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31865 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
31866 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
31867 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31868 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
31869 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
31870 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
31871 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31872 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31873 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
31874 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
31875 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
31876 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31877 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31878 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
31879 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
31880 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
31881 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
31882 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31883 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31884 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31885 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31886 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
31887 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
31888 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
31889 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31890 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31891 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31892 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31893 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31894 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31895 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31896 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31897 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31898 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31899 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31900 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
31901 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31902 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31903 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31904 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31905 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31906 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31907 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
31908 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
31909 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
31910 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31911 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31912 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31913 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
31914 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
31915 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
31916 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31917 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
31918 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
31919 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
31920 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31921 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
31922 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
31923 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
31924 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
31925 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
31926 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
31927 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
31928 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
31929 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
31930 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
31931 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
31932 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
31933 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
31934 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
31935 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
31936 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
31937 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
31938 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
31939 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
31940 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
31941 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
31942 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
31943 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
31944 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
},
31945 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
31946 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
31947 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
},
31948 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31949 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
31950 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
31951 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
31952 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
31953 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31954 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
31955 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31956 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
31957 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31958 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31959 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31960 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
31961 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
31962 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
31963 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
31964 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
31965 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
31966 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
31967 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
31968 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
31969 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
31970 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
31971 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
31972 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
31973 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31974 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31975 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
31976 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
31977 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
31978 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
31979 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31980 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31981 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31982 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
31983 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
31984 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
31985 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
},
31986 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31987 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
31988 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
31989 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
31990 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
31991 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
31992 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
31993 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
31994 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31995 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
31996 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
31997 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
31998 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
31999 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
32000 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
32001 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
32002 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
32003 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
32004 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
32005 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
32006 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
32007 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
32008 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
32009 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
32010 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
32011 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
32012 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
32013 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
32014 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
32015 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
32016 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
32017 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
32018 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
32019 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
32020 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
32021 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
32022 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
32023 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
32024 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
32025 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
32026 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
32027 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
32028 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
32029 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
32030 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
32031 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
},
32032 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
32033 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
32034 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
32035 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
32036 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
32037 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
32038 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
32039 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
32040 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
32041 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
32042 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
32043 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
32044 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
32045 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
32046 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
32047 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
32048 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
32049 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
32050 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
32051 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
32052 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
32053 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
32058 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32060 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
32061 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32063 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
32064 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32066 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
32067 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
32069 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
32070 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32072 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
32073 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32075 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
32076 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
32078 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
32079 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32081 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
32082 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
32084 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
32085 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
32087 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
32088 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
32090 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32091 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32093 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32094 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32096 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32097 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32099 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32100 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32102 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32103 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32105 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
32106 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32108 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32109 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32111 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32112 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32114 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32115 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32117 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
32118 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32120 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
32121 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32123 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32124 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32126 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32127 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32129 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
32130 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
32132 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
32133 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32135 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
32136 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32138 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
32139 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
32141 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32142 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32144 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32145 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32147 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32148 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32150 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32151 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32153 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32154 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32156 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32157 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32159 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32160 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32162 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32163 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32165 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32166 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32168 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32169 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32171 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32172 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32174 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32175 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32177 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32178 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32180 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32181 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32183 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32184 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32186 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32187 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32189 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32190 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32192 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32193 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32195 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32196 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32198 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32199 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32201 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32202 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32204 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32205 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32207 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32208 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32210 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32211 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32213 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32214 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32216 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
32217 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32219 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
32220 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
32222 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
32223 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32225 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
32226 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32228 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
32229 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
32231 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
32232 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32234 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
32235 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32237 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
32238 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
32240 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
32241 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32243 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
32244 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32246 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
32247 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32249 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
32250 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
32252 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
32253 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
32255 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
32256 return (void *)((wxControl
*) ((wxComboBox
*) x
));
32258 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
32259 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
32261 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
32262 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
32264 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
32265 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
32267 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
32268 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
32270 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
32271 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32273 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
32274 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
32276 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
32277 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
32279 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
32280 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
32282 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
32283 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
32285 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
32286 return (void *)((wxControl
*) ((wxGauge
*) x
));
32288 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
32289 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
32291 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
32292 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
32294 static void *_p_wxButtonTo_p_wxControl(void *x
) {
32295 return (void *)((wxControl
*) ((wxButton
*) x
));
32297 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
32298 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
32300 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
32301 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32303 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
32304 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
32306 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
32307 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
32309 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
32310 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
32312 static void *_p_wxListbookTo_p_wxControl(void *x
) {
32313 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
32315 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
32316 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
32318 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
32319 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
32321 static void *_p_wxListViewTo_p_wxControl(void *x
) {
32322 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
32324 static void *_p_wxSliderTo_p_wxControl(void *x
) {
32325 return (void *)((wxControl
*) ((wxSlider
*) x
));
32327 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
32328 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
32330 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
32331 return (void *)((wxControl
*) ((wxPyControl
*) x
));
32333 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
32334 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
32336 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
32337 return (void *)((wxControl
*) ((wxStaticText
*) x
));
32339 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
32340 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
32342 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
32343 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32345 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
32346 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32348 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
32349 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32351 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
32352 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
32354 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
32355 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32357 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
32358 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32360 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
32361 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32363 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
32364 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
32366 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32367 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32369 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32370 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32372 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32373 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32375 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
32376 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32378 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32379 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32381 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
32382 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
32384 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
32385 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
32387 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32388 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32390 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32391 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32393 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
32394 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
32396 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
32397 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32399 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
32400 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
32402 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
32403 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32405 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
32406 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
32408 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32409 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32411 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
32412 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32414 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
32415 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
32417 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32418 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32420 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
32421 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
32423 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
32424 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
32426 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
32427 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32429 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
32430 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32432 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
32433 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32435 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
32436 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
32438 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
32439 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32441 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
32442 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32444 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
32445 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32447 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
32448 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32450 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
32451 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
32453 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
32454 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32456 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
32457 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
32459 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
32460 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
32462 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
32463 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
32465 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
32466 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
32468 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
32469 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
32471 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
32472 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
32474 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
32475 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32477 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
32478 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32480 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
32481 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
32483 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
32484 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
32486 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
32487 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
32489 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
32490 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
32492 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
32493 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
32495 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
32496 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32498 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
32499 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32501 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
32502 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
32504 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32505 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32507 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32508 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32510 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32511 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32513 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32514 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32516 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32517 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32519 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
32520 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32522 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
32523 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32525 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32526 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32528 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32529 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32531 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32532 return (void *)((wxObject
*) ((wxSizer
*) x
));
32534 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32535 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32537 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
32538 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32540 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
32541 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32543 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32544 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32546 static void *_p_wxEventTo_p_wxObject(void *x
) {
32547 return (void *)((wxObject
*) ((wxEvent
*) x
));
32549 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32550 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32552 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32553 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32555 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32556 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32558 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
32559 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32561 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
32562 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32564 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
32565 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32567 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32568 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32570 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32571 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32573 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32574 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32576 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32577 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32579 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32580 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32582 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32583 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32585 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
32586 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
32588 static void *_p_wxControlTo_p_wxObject(void *x
) {
32589 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32591 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
32592 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
32594 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
32595 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
32597 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
32598 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
32600 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
32601 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
32603 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
32604 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
32606 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32607 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32609 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
32610 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32612 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32613 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32615 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32616 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32618 static void *_p_wxListViewTo_p_wxObject(void *x
) {
32619 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32621 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
32622 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
32624 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
32625 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32627 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32628 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32630 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32631 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32633 static void *_p_wxListbookTo_p_wxObject(void *x
) {
32634 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32636 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32637 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32639 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
32640 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
32642 static void *_p_wxSliderTo_p_wxObject(void *x
) {
32643 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
32645 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32646 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32648 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32649 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32651 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32652 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32654 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32655 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32657 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32658 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32660 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32661 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32663 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32664 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32666 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32667 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32669 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32670 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32672 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
32673 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
32675 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
32676 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
32678 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32679 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32681 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32682 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32684 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32685 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32687 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32688 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32690 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32691 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32693 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32694 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32696 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32697 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32699 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32700 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32702 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32703 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32705 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32706 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32708 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32709 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32711 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32712 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32714 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32715 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32717 static void *_p_wxListEventTo_p_wxObject(void *x
) {
32718 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
32720 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
32721 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32723 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
32724 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32726 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
32727 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
32729 static void *_p_wxButtonTo_p_wxObject(void *x
) {
32730 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
32732 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
32733 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32735 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
32736 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
32738 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
32739 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32741 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32742 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32744 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
32745 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
32747 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
32748 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
32750 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
32751 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
32753 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
32754 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
32756 static void *_p_wxListItemTo_p_wxObject(void *x
) {
32757 return (void *)((wxObject
*) ((wxListItem
*) x
));
32759 static void *_p_wxImageTo_p_wxObject(void *x
) {
32760 return (void *)((wxObject
*) ((wxImage
*) x
));
32762 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
32763 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
32765 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32766 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32768 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
32769 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32771 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
32772 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
32774 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
32775 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
32777 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
32778 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32780 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
32781 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32783 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32784 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32786 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32787 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32789 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32790 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32792 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32793 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32795 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32796 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32798 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32799 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32801 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32802 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32804 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32805 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32807 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32808 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32810 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32811 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32813 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32814 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32816 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32817 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32819 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32820 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32822 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
32823 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32825 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32826 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32828 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32829 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32831 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
32832 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
32834 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32835 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32837 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32838 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32840 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32841 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32843 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32844 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32846 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
32847 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
32849 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
32850 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32852 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32853 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32855 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32856 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32858 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
32859 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
32861 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
32862 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
32864 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32865 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32867 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
32868 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32870 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
32871 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
32873 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
32874 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
32876 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
32877 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
32879 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32880 return (void *)((wxWindow
*) ((wxControl
*) x
));
32882 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
32883 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
32885 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
32886 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32888 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
32889 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
32891 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
32892 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
32894 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
32895 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
32897 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
32898 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
32900 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32901 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32903 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
32904 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
32906 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
32907 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
32909 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
32910 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32912 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
32913 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
32915 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
32916 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
32918 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
32919 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
32921 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
32922 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32924 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
32925 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32927 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
32928 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32930 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
32931 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32933 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
32934 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32936 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
32937 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
32939 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
32940 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
32942 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
32943 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
32945 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
32946 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
32948 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
32949 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
32951 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
32952 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
32954 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
32955 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
32957 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
32958 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32960 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
32961 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32963 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
32964 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
32966 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
32967 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32969 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
32970 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32972 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
32973 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32975 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
32976 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
32978 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
32979 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32981 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
32982 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32984 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
32985 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32987 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
32988 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32990 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
32991 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32993 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
32994 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
32996 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
32997 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32999 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
33000 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
33002 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
33003 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
33005 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
33006 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
33008 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
33009 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33011 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
33012 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33014 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
33015 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33017 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
33018 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
33020 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
33021 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
33023 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
33024 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
33026 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
33027 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
33029 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}};
33030 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}};
33031 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}};
33032 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}};
33033 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}};
33034 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}};
33035 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}};
33036 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}};
33037 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}};
33038 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}};
33039 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}};
33040 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}};
33041 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}};
33042 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}};
33043 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}};
33044 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}};
33045 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}};
33046 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}};
33047 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}};
33048 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}};
33049 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}};
33050 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}};
33051 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}};
33052 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}};
33053 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}};
33054 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}};
33055 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}};
33056 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}};
33057 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}};
33058 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}};
33059 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}};
33060 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}};
33061 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}};
33062 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}};
33063 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}};
33064 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}};
33065 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}};
33066 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}};
33067 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}};
33068 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}};
33069 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}};
33070 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}};
33071 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}};
33072 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}};
33073 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}};
33074 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}};
33075 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}};
33076 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}};
33077 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}};
33078 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}};
33079 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}};
33080 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}};
33081 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}};
33082 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}};
33083 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}};
33084 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}};
33085 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}};
33086 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}};
33087 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}};
33088 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}};
33089 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}};
33090 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}};
33091 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}};
33092 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}};
33093 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}};
33094 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}};
33095 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}};
33096 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}};
33097 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}};
33098 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}};
33099 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}};
33100 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}};
33101 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}};
33102 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}};
33103 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}};
33104 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}};
33105 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}};
33106 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}};
33107 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}};
33108 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}};
33109 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}};
33110 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}};
33111 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}};
33112 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}};
33113 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}};
33115 static swig_type_info
*swig_types_initial
[] = {
33116 _swigt__p_wxTextUrlEvent
,
33117 _swigt__p_wxBookCtrlEvent
,
33119 _swigt__p_wxCheckBox
,
33120 _swigt__p_wxPyTreeCtrl
,
33122 _swigt__p_wxGenericDirCtrl
,
33124 _swigt__p_wxPyTreeItemData
,
33125 _swigt__p_wxItemContainer
,
33126 _swigt__p_wxPyListCtrl
,
33127 _swigt__p_wxDirFilterListCtrl
,
33128 _swigt__p_wxStaticLine
,
33129 _swigt__p_wxControl
,
33130 _swigt__p_wxPyControl
,
33132 _swigt__p_wxToolBarBase
,
33134 _swigt__p_wxToggleButton
,
33135 _swigt__p_wxRadioButton
,
33136 _swigt__p_wxChoice
,
33137 _swigt__p_wxMemoryDC
,
33138 _swigt__p_wxListItemAttr
,
33143 _swigt__p_wxListView
,
33145 _swigt__p_wxVisualAttributes
,
33146 _swigt__p_wxTextCtrl
,
33147 _swigt__p_wxNotebook
,
33148 _swigt__p_wxNotifyEvent
,
33149 _swigt__p_wxArrayString
,
33150 _swigt__p_wxListbook
,
33151 _swigt__p_wxStaticBitmap
,
33152 _swigt__p_wxSlider
,
33153 _swigt__p_wxStaticBox
,
33154 _swigt__p_wxArrayInt
,
33155 _swigt__p_wxContextHelp
,
33157 _swigt__p_wxEvtHandler
,
33158 _swigt__p_wxListEvent
,
33159 _swigt__p_wxCheckListBox
,
33160 _swigt__p_wxListBox
,
33161 _swigt__p_wxBookCtrl
,
33162 _swigt__p_wxSpinButton
,
33163 _swigt__p_wxButton
,
33164 _swigt__p_wxBitmapButton
,
33166 _swigt__p_wxContextHelpButton
,
33167 _swigt__p_wxRadioBox
,
33168 _swigt__p_wxScrollBar
,
33170 _swigt__p_wxTreeItemId
,
33171 _swigt__p_wxComboBox
,
33172 _swigt__p_wxHelpEvent
,
33173 _swigt__p_wxListItem
,
33174 _swigt__p_wxNotebookSizer
,
33175 _swigt__p_wxSpinEvent
,
33176 _swigt__p_wxGenericDragImage
,
33177 _swigt__p_wxSpinCtrl
,
33178 _swigt__p_wxImageList
,
33179 _swigt__p_wxHelpProvider
,
33180 _swigt__p_wxTextAttr
,
33181 _swigt__p_wxSimpleHelpProvider
,
33183 _swigt__p_wxListbookEvent
,
33184 _swigt__p_wxNotebookEvent
,
33185 _swigt__p_wxObject
,
33186 _swigt__p_wxCursor
,
33187 _swigt__p_wxKeyEvent
,
33188 _swigt__p_wxWindow
,
33189 _swigt__p_wxString
,
33190 _swigt__p_wxBitmap
,
33191 _swigt__p_wxTreeEvent
,
33192 _swigt__p_wxMouseEvent
,
33193 _swigt__p_wxCommandEvent
,
33194 _swigt__p_wxStaticText
,
33195 _swigt__p_wxControlWithItems
,
33196 _swigt__p_wxToolBarToolBase
,
33197 _swigt__p_wxColour
,
33198 _swigt__p_wxToolBar
,
33199 _swigt__p_wxBookCtrlSizer
,
33200 _swigt__p_wxValidator
,
33205 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33207 static swig_const_info swig_const_table
[] = {
33217 SWIGEXPORT(void) SWIG_init(void) {
33218 static PyObject
*SWIG_globals
= 0;
33219 static int typeinit
= 0;
33222 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
33223 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33224 d
= PyModule_GetDict(m
);
33227 for (i
= 0; swig_types_initial
[i
]; i
++) {
33228 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
33232 SWIG_InstallConstants(d
,swig_const_table
);
33234 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
33235 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
33236 PyDict_SetItemString(d
,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT
));
33237 PyDict_SetItemString(d
,"BU_TOP", SWIG_FromInt((int)wxBU_TOP
));
33238 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT
));
33239 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM
));
33240 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT
));
33241 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW
));
33242 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
33243 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE
));
33244 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE
));
33245 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
33246 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED
));
33247 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED
));
33248 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED
));
33249 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
33250 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
33251 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
33252 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL
));
33253 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL
));
33254 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH
));
33255 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR
));
33256 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
33257 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
33258 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
33259 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
33260 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
33261 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL
));
33262 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL
));
33263 PyDict_SetItemString(d
,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY
));
33264 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE
));
33265 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB
));
33266 PyDict_SetItemString(d
,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT
));
33267 PyDict_SetItemString(d
,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER
));
33268 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT
));
33269 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE
));
33270 PyDict_SetItemString(d
,"TE_RICH", SWIG_FromInt((int)wxTE_RICH
));
33271 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER
));
33272 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD
));
33273 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL
));
33274 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL
));
33275 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP
));
33276 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP
));
33277 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP
));
33278 PyDict_SetItemString(d
,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2
));
33279 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT
));
33280 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT
));
33281 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE
));
33282 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER
));
33283 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT
));
33284 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
33285 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR
));
33286 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
33287 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE
));
33288 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE
));
33289 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT
));
33290 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC
));
33291 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE
));
33292 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT
));
33293 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT
));
33294 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT
));
33295 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT
));
33296 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS
));
33297 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN
));
33298 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE
));
33299 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT
));
33300 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW
));
33301 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND
));
33302 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
33303 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
33304 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
33305 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
33306 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
33307 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
33308 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
33309 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL
));
33310 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL
));
33311 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS
));
33312 PyDict_SetItemString(d
,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP
));
33313 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
33314 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
33315 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
33316 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
33317 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
33318 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
33319 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
33320 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH
));
33321 PyDict_SetItemString(d
,"NB_TOP", SWIG_FromInt((int)wxNB_TOP
));
33322 PyDict_SetItemString(d
,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT
));
33323 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT
));
33324 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM
));
33325 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE
));
33326 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE
));
33327 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON
));
33328 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL
));
33329 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM
));
33330 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
33331 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
33332 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT
));
33333 PyDict_SetItemString(d
,"LB_TOP", SWIG_FromInt((int)wxLB_TOP
));
33334 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM
));
33335 PyDict_SetItemString(d
,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT
));
33336 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT
));
33337 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK
));
33338 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
33339 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
33340 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON
));
33341 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR
));
33342 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL
));
33343 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL
));
33344 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL
));
33345 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS
));
33346 PyDict_SetItemString(d
,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT
));
33347 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE
));
33348 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS
));
33349 PyDict_SetItemString(d
,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT
));
33350 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER
));
33351 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN
));
33352 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT
));
33353 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT
));
33354 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
33355 PyDict_SetItemString(d
,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES
));
33356 PyDict_SetItemString(d
,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES
));
33357 PyDict_SetItemString(d
,"LC_ICON", SWIG_FromInt((int)wxLC_ICON
));
33358 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON
));
33359 PyDict_SetItemString(d
,"LC_LIST", SWIG_FromInt((int)wxLC_LIST
));
33360 PyDict_SetItemString(d
,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT
));
33361 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP
));
33362 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT
));
33363 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE
));
33364 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL
));
33365 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS
));
33366 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER
));
33367 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER
));
33368 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL
));
33369 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING
));
33370 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING
));
33371 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE
));
33372 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN
));
33373 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT
));
33374 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE
));
33375 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT
));
33376 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE
));
33377 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA
));
33378 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM
));
33379 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH
));
33380 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT
));
33381 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE
));
33382 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED
));
33383 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED
));
33384 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED
));
33385 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT
));
33386 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED
));
33387 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED
));
33388 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE
));
33389 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED
));
33390 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE
));
33391 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE
));
33392 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW
));
33393 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE
));
33394 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON
));
33395 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL
));
33396 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT
));
33397 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON
));
33398 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT
));
33399 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT
));
33400 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM
));
33401 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE
));
33402 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL
));
33403 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW
));
33404 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT
));
33405 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT
));
33406 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT
));
33407 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT
));
33408 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP
));
33409 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID
));
33410 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT
));
33411 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT
));
33412 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE
));
33413 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER
));
33414 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE
));
33415 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER
));
33416 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS
));
33417 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON
));
33418 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL
));
33419 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP
));
33420 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN
));
33421 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT
));
33422 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT
));
33423 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
33424 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
33425 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
33426 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
33427 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
33428 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
33429 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
33430 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
33431 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
33432 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
33433 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
33434 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
33435 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
33436 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
33437 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
33438 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
33439 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
33440 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
33441 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
33442 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
33443 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
33444 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
33446 // Map renamed classes back to their common name for OOR
33447 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
33449 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
33450 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS
));
33451 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS
));
33452 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES
));
33453 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT
));
33454 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE
));
33455 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE
));
33456 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED
));
33457 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
33458 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS
));
33459 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT
));
33460 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES
));
33461 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT
));
33462 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE
));
33463 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS
));
33464 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS
));
33465 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS
));
33466 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal
));
33467 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected
));
33468 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded
));
33469 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded
));
33470 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max
));
33471 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE
));
33472 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW
));
33473 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE
));
33474 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON
));
33475 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON
));
33476 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT
));
33477 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL
));
33478 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT
));
33479 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON
));
33480 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT
));
33481 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT
));
33482 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART
));
33483 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART
));
33484 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM
));
33485 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
33486 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
33487 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
33488 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
33489 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
33490 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
33491 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
33492 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
33493 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
33494 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
33495 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
33496 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
33497 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
33498 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
33499 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
33500 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
33501 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
33502 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
33503 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
33504 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
33506 // Map renamed classes back to their common name for OOR
33507 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
33508 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
33510 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
33511 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY
));
33512 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST
));
33513 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS
));
33514 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL
));
33515 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS
));
33516 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP
));
33517 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP
));
33518 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
33519 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
33521 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");