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
;
1129 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
1152 static PyObject
*_wrap_new_PreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1153 PyObject
*resultobj
;
1159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
1161 if (!wxPyCheckForApp()) SWIG_fail
;
1162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1163 result
= (wxButton
*)new wxButton();
1165 wxPyEndAllowThreads(__tstate
);
1166 if (PyErr_Occurred()) SWIG_fail
;
1168 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
1175 static PyObject
*_wrap_Button_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1176 PyObject
*resultobj
;
1177 wxButton
*arg1
= (wxButton
*) 0 ;
1178 wxWindow
*arg2
= (wxWindow
*) 0 ;
1179 int arg3
= (int) -1 ;
1180 wxString
const &arg4_defvalue
= wxPyEmptyString
;
1181 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
1182 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1183 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1184 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1185 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1186 long arg7
= (long) 0 ;
1187 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1188 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1189 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1190 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1192 bool temp4
= False
;
1195 bool temp9
= False
;
1196 PyObject
* obj0
= 0 ;
1197 PyObject
* obj1
= 0 ;
1198 PyObject
* obj2
= 0 ;
1199 PyObject
* obj3
= 0 ;
1200 PyObject
* obj4
= 0 ;
1201 PyObject
* obj5
= 0 ;
1202 PyObject
* obj6
= 0 ;
1203 PyObject
* obj7
= 0 ;
1204 PyObject
* obj8
= 0 ;
1206 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1212 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1215 arg3
= (int) SWIG_AsInt(obj2
);
1216 if (PyErr_Occurred()) SWIG_fail
;
1220 arg4
= wxString_in_helper(obj3
);
1221 if (arg4
== NULL
) SWIG_fail
;
1228 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1234 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1238 arg7
= (long) SWIG_AsLong(obj6
);
1239 if (PyErr_Occurred()) SWIG_fail
;
1242 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1243 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1246 PyErr_SetString(PyExc_TypeError
,"null reference");
1252 arg9
= wxString_in_helper(obj8
);
1253 if (arg9
== NULL
) SWIG_fail
;
1258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1259 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1261 wxPyEndAllowThreads(__tstate
);
1262 if (PyErr_Occurred()) SWIG_fail
;
1265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1289 static PyObject
*_wrap_Button_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1290 PyObject
*resultobj
;
1291 wxButton
*arg1
= (wxButton
*) 0 ;
1292 PyObject
* obj0
= 0 ;
1294 (char *) "self", NULL
1297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1302 (arg1
)->SetDefault();
1304 wxPyEndAllowThreads(__tstate
);
1305 if (PyErr_Occurred()) SWIG_fail
;
1307 Py_INCREF(Py_None
); resultobj
= Py_None
;
1314 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1315 PyObject
*resultobj
;
1321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1324 result
= wxButton::GetDefaultSize();
1326 wxPyEndAllowThreads(__tstate
);
1327 if (PyErr_Occurred()) SWIG_fail
;
1331 resultptr
= new wxSize((wxSize
&) result
);
1332 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
1340 static PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1341 PyObject
*resultobj
;
1342 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
1343 wxVisualAttributes result
;
1344 PyObject
* obj0
= 0 ;
1346 (char *) "variant", NULL
1349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
1351 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
1352 if (PyErr_Occurred()) SWIG_fail
;
1355 if (!wxPyCheckForApp()) SWIG_fail
;
1356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1357 result
= wxButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
1359 wxPyEndAllowThreads(__tstate
);
1360 if (PyErr_Occurred()) SWIG_fail
;
1363 wxVisualAttributes
* resultptr
;
1364 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
1365 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
1373 static PyObject
* Button_swigregister(PyObject
*self
, PyObject
*args
) {
1375 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1376 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1378 return Py_BuildValue((char *)"");
1380 static PyObject
*_wrap_new_BitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1381 PyObject
*resultobj
;
1382 wxWindow
*arg1
= (wxWindow
*) 0 ;
1383 int arg2
= (int) -1 ;
1384 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
1385 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
1386 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1387 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1388 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1389 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1390 long arg6
= (long) wxBU_AUTODRAW
;
1391 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1392 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1393 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1394 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1395 wxBitmapButton
*result
;
1398 bool temp8
= False
;
1399 PyObject
* obj0
= 0 ;
1400 PyObject
* obj1
= 0 ;
1401 PyObject
* obj2
= 0 ;
1402 PyObject
* obj3
= 0 ;
1403 PyObject
* obj4
= 0 ;
1404 PyObject
* obj5
= 0 ;
1405 PyObject
* obj6
= 0 ;
1406 PyObject
* obj7
= 0 ;
1408 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1415 arg2
= (int) SWIG_AsInt(obj1
);
1416 if (PyErr_Occurred()) SWIG_fail
;
1419 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
1420 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1423 PyErr_SetString(PyExc_TypeError
,"null reference");
1430 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1436 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1440 arg6
= (long) SWIG_AsLong(obj5
);
1441 if (PyErr_Occurred()) SWIG_fail
;
1444 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1445 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1448 PyErr_SetString(PyExc_TypeError
,"null reference");
1454 arg8
= wxString_in_helper(obj7
);
1455 if (arg8
== NULL
) SWIG_fail
;
1460 if (!wxPyCheckForApp()) SWIG_fail
;
1461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1462 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1464 wxPyEndAllowThreads(__tstate
);
1465 if (PyErr_Occurred()) SWIG_fail
;
1467 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
1482 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1483 PyObject
*resultobj
;
1484 wxBitmapButton
*result
;
1489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1491 if (!wxPyCheckForApp()) SWIG_fail
;
1492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1493 result
= (wxBitmapButton
*)new wxBitmapButton();
1495 wxPyEndAllowThreads(__tstate
);
1496 if (PyErr_Occurred()) SWIG_fail
;
1498 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
1505 static PyObject
*_wrap_BitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1506 PyObject
*resultobj
;
1507 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1508 wxWindow
*arg2
= (wxWindow
*) 0 ;
1509 int arg3
= (int) -1 ;
1510 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
1511 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
1512 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1513 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1514 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1515 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1516 long arg7
= (long) wxBU_AUTODRAW
;
1517 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1518 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1519 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1520 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1524 bool temp9
= False
;
1525 PyObject
* obj0
= 0 ;
1526 PyObject
* obj1
= 0 ;
1527 PyObject
* obj2
= 0 ;
1528 PyObject
* obj3
= 0 ;
1529 PyObject
* obj4
= 0 ;
1530 PyObject
* obj5
= 0 ;
1531 PyObject
* obj6
= 0 ;
1532 PyObject
* obj7
= 0 ;
1533 PyObject
* obj8
= 0 ;
1535 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1541 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1544 arg3
= (int) SWIG_AsInt(obj2
);
1545 if (PyErr_Occurred()) SWIG_fail
;
1548 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
1549 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1552 PyErr_SetString(PyExc_TypeError
,"null reference");
1559 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1565 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1569 arg7
= (long) SWIG_AsLong(obj6
);
1570 if (PyErr_Occurred()) SWIG_fail
;
1573 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1574 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1577 PyErr_SetString(PyExc_TypeError
,"null reference");
1583 arg9
= wxString_in_helper(obj8
);
1584 if (arg9
== NULL
) SWIG_fail
;
1589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1590 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1592 wxPyEndAllowThreads(__tstate
);
1593 if (PyErr_Occurred()) SWIG_fail
;
1596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1612 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1613 PyObject
*resultobj
;
1614 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1616 PyObject
* obj0
= 0 ;
1618 (char *) "self", NULL
1621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1626 result
= (arg1
)->GetBitmapLabel();
1628 wxPyEndAllowThreads(__tstate
);
1629 if (PyErr_Occurred()) SWIG_fail
;
1632 wxBitmap
* resultptr
;
1633 resultptr
= new wxBitmap((wxBitmap
&) result
);
1634 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1642 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1643 PyObject
*resultobj
;
1644 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1646 PyObject
* obj0
= 0 ;
1648 (char *) "self", NULL
1651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1656 result
= (arg1
)->GetBitmapDisabled();
1658 wxPyEndAllowThreads(__tstate
);
1659 if (PyErr_Occurred()) SWIG_fail
;
1662 wxBitmap
* resultptr
;
1663 resultptr
= new wxBitmap((wxBitmap
&) result
);
1664 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1672 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1673 PyObject
*resultobj
;
1674 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1676 PyObject
* obj0
= 0 ;
1678 (char *) "self", NULL
1681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1686 result
= (arg1
)->GetBitmapFocus();
1688 wxPyEndAllowThreads(__tstate
);
1689 if (PyErr_Occurred()) SWIG_fail
;
1692 wxBitmap
* resultptr
;
1693 resultptr
= new wxBitmap((wxBitmap
&) result
);
1694 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1702 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1703 PyObject
*resultobj
;
1704 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1706 PyObject
* obj0
= 0 ;
1708 (char *) "self", NULL
1711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1716 result
= (arg1
)->GetBitmapSelected();
1718 wxPyEndAllowThreads(__tstate
);
1719 if (PyErr_Occurred()) SWIG_fail
;
1722 wxBitmap
* resultptr
;
1723 resultptr
= new wxBitmap((wxBitmap
&) result
);
1724 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1732 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1733 PyObject
*resultobj
;
1734 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1735 wxBitmap
*arg2
= 0 ;
1736 PyObject
* obj0
= 0 ;
1737 PyObject
* obj1
= 0 ;
1739 (char *) "self",(char *) "bitmap", NULL
1742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1745 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1746 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1749 PyErr_SetString(PyExc_TypeError
,"null reference");
1753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1754 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1756 wxPyEndAllowThreads(__tstate
);
1757 if (PyErr_Occurred()) SWIG_fail
;
1759 Py_INCREF(Py_None
); resultobj
= Py_None
;
1766 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1767 PyObject
*resultobj
;
1768 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1769 wxBitmap
*arg2
= 0 ;
1770 PyObject
* obj0
= 0 ;
1771 PyObject
* obj1
= 0 ;
1773 (char *) "self",(char *) "bitmap", NULL
1776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1779 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1780 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1783 PyErr_SetString(PyExc_TypeError
,"null reference");
1787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1788 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1790 wxPyEndAllowThreads(__tstate
);
1791 if (PyErr_Occurred()) SWIG_fail
;
1793 Py_INCREF(Py_None
); resultobj
= Py_None
;
1800 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1801 PyObject
*resultobj
;
1802 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1803 wxBitmap
*arg2
= 0 ;
1804 PyObject
* obj0
= 0 ;
1805 PyObject
* obj1
= 0 ;
1807 (char *) "self",(char *) "bitmap", NULL
1810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1813 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1814 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1817 PyErr_SetString(PyExc_TypeError
,"null reference");
1821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1822 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1824 wxPyEndAllowThreads(__tstate
);
1825 if (PyErr_Occurred()) SWIG_fail
;
1827 Py_INCREF(Py_None
); resultobj
= Py_None
;
1834 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1835 PyObject
*resultobj
;
1836 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1837 wxBitmap
*arg2
= 0 ;
1838 PyObject
* obj0
= 0 ;
1839 PyObject
* obj1
= 0 ;
1841 (char *) "self",(char *) "bitmap", NULL
1844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1847 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1848 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1851 PyErr_SetString(PyExc_TypeError
,"null reference");
1855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1856 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1858 wxPyEndAllowThreads(__tstate
);
1859 if (PyErr_Occurred()) SWIG_fail
;
1861 Py_INCREF(Py_None
); resultobj
= Py_None
;
1868 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1869 PyObject
*resultobj
;
1870 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1873 PyObject
* obj0
= 0 ;
1874 PyObject
* obj1
= 0 ;
1875 PyObject
* obj2
= 0 ;
1877 (char *) "self",(char *) "x",(char *) "y", NULL
1880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1883 arg2
= (int) SWIG_AsInt(obj1
);
1884 if (PyErr_Occurred()) SWIG_fail
;
1885 arg3
= (int) SWIG_AsInt(obj2
);
1886 if (PyErr_Occurred()) SWIG_fail
;
1888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1889 (arg1
)->SetMargins(arg2
,arg3
);
1891 wxPyEndAllowThreads(__tstate
);
1892 if (PyErr_Occurred()) SWIG_fail
;
1894 Py_INCREF(Py_None
); resultobj
= Py_None
;
1901 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1902 PyObject
*resultobj
;
1903 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1905 PyObject
* obj0
= 0 ;
1907 (char *) "self", NULL
1910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1915 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1917 wxPyEndAllowThreads(__tstate
);
1918 if (PyErr_Occurred()) SWIG_fail
;
1920 resultobj
= SWIG_FromInt((int)result
);
1927 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1928 PyObject
*resultobj
;
1929 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1931 PyObject
* obj0
= 0 ;
1933 (char *) "self", NULL
1936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1941 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1943 wxPyEndAllowThreads(__tstate
);
1944 if (PyErr_Occurred()) SWIG_fail
;
1946 resultobj
= SWIG_FromInt((int)result
);
1953 static PyObject
* BitmapButton_swigregister(PyObject
*self
, PyObject
*args
) {
1955 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1956 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1958 return Py_BuildValue((char *)"");
1960 static int _wrap_CheckBoxNameStr_set(PyObject
*_val
) {
1961 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
1966 static PyObject
*_wrap_CheckBoxNameStr_get() {
1971 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1973 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1980 static PyObject
*_wrap_new_CheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1981 PyObject
*resultobj
;
1982 wxWindow
*arg1
= (wxWindow
*) 0 ;
1983 int arg2
= (int) -1 ;
1984 wxString
const &arg3_defvalue
= wxPyEmptyString
;
1985 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
1986 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1987 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1988 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1989 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1990 long arg6
= (long) 0 ;
1991 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1992 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1993 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
1994 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1996 bool temp3
= False
;
1999 bool temp8
= False
;
2000 PyObject
* obj0
= 0 ;
2001 PyObject
* obj1
= 0 ;
2002 PyObject
* obj2
= 0 ;
2003 PyObject
* obj3
= 0 ;
2004 PyObject
* obj4
= 0 ;
2005 PyObject
* obj5
= 0 ;
2006 PyObject
* obj6
= 0 ;
2007 PyObject
* obj7
= 0 ;
2009 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2016 arg2
= (int) SWIG_AsInt(obj1
);
2017 if (PyErr_Occurred()) SWIG_fail
;
2021 arg3
= wxString_in_helper(obj2
);
2022 if (arg3
== NULL
) SWIG_fail
;
2029 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2035 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2039 arg6
= (long) SWIG_AsLong(obj5
);
2040 if (PyErr_Occurred()) SWIG_fail
;
2043 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2044 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2047 PyErr_SetString(PyExc_TypeError
,"null reference");
2053 arg8
= wxString_in_helper(obj7
);
2054 if (arg8
== NULL
) SWIG_fail
;
2059 if (!wxPyCheckForApp()) SWIG_fail
;
2060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2061 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2063 wxPyEndAllowThreads(__tstate
);
2064 if (PyErr_Occurred()) SWIG_fail
;
2066 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2089 static PyObject
*_wrap_new_PreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2090 PyObject
*resultobj
;
2096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
2098 if (!wxPyCheckForApp()) SWIG_fail
;
2099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2100 result
= (wxCheckBox
*)new wxCheckBox();
2102 wxPyEndAllowThreads(__tstate
);
2103 if (PyErr_Occurred()) SWIG_fail
;
2105 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2112 static PyObject
*_wrap_CheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2113 PyObject
*resultobj
;
2114 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2115 wxWindow
*arg2
= (wxWindow
*) 0 ;
2116 int arg3
= (int) -1 ;
2117 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2118 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2119 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2120 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2121 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2122 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2123 long arg7
= (long) 0 ;
2124 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2125 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2126 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
2127 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2129 bool temp4
= False
;
2132 bool temp9
= False
;
2133 PyObject
* obj0
= 0 ;
2134 PyObject
* obj1
= 0 ;
2135 PyObject
* obj2
= 0 ;
2136 PyObject
* obj3
= 0 ;
2137 PyObject
* obj4
= 0 ;
2138 PyObject
* obj5
= 0 ;
2139 PyObject
* obj6
= 0 ;
2140 PyObject
* obj7
= 0 ;
2141 PyObject
* obj8
= 0 ;
2143 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2149 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2152 arg3
= (int) SWIG_AsInt(obj2
);
2153 if (PyErr_Occurred()) SWIG_fail
;
2157 arg4
= wxString_in_helper(obj3
);
2158 if (arg4
== NULL
) SWIG_fail
;
2165 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2171 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2175 arg7
= (long) SWIG_AsLong(obj6
);
2176 if (PyErr_Occurred()) SWIG_fail
;
2179 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2180 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2183 PyErr_SetString(PyExc_TypeError
,"null reference");
2189 arg9
= wxString_in_helper(obj8
);
2190 if (arg9
== NULL
) SWIG_fail
;
2195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2196 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2198 wxPyEndAllowThreads(__tstate
);
2199 if (PyErr_Occurred()) SWIG_fail
;
2202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2226 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2227 PyObject
*resultobj
;
2228 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2230 PyObject
* obj0
= 0 ;
2232 (char *) "self", NULL
2235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
2236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2240 result
= (bool)(arg1
)->GetValue();
2242 wxPyEndAllowThreads(__tstate
);
2243 if (PyErr_Occurred()) SWIG_fail
;
2246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2254 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2255 PyObject
*resultobj
;
2256 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2258 PyObject
* obj0
= 0 ;
2260 (char *) "self", NULL
2263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2268 result
= (bool)(arg1
)->IsChecked();
2270 wxPyEndAllowThreads(__tstate
);
2271 if (PyErr_Occurred()) SWIG_fail
;
2274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2282 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2283 PyObject
*resultobj
;
2284 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2286 PyObject
* obj0
= 0 ;
2287 PyObject
* obj1
= 0 ;
2289 (char *) "self",(char *) "state", NULL
2292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2295 arg2
= (bool const) SWIG_AsBool(obj1
);
2296 if (PyErr_Occurred()) SWIG_fail
;
2298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2299 (arg1
)->SetValue(arg2
);
2301 wxPyEndAllowThreads(__tstate
);
2302 if (PyErr_Occurred()) SWIG_fail
;
2304 Py_INCREF(Py_None
); resultobj
= Py_None
;
2311 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2312 PyObject
*resultobj
;
2313 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2315 PyObject
* obj0
= 0 ;
2317 (char *) "self", NULL
2320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2325 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2327 wxPyEndAllowThreads(__tstate
);
2328 if (PyErr_Occurred()) SWIG_fail
;
2330 resultobj
= SWIG_FromInt((int)result
);
2337 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2338 PyObject
*resultobj
;
2339 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2341 PyObject
* obj0
= 0 ;
2342 PyObject
* obj1
= 0 ;
2344 (char *) "self",(char *) "state", NULL
2347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2350 arg2
= (wxCheckBoxState
) SWIG_AsInt(obj1
);
2351 if (PyErr_Occurred()) SWIG_fail
;
2353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2354 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2356 wxPyEndAllowThreads(__tstate
);
2357 if (PyErr_Occurred()) SWIG_fail
;
2359 Py_INCREF(Py_None
); resultobj
= Py_None
;
2366 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2367 PyObject
*resultobj
;
2368 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2370 PyObject
* obj0
= 0 ;
2372 (char *) "self", NULL
2375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2380 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2382 wxPyEndAllowThreads(__tstate
);
2383 if (PyErr_Occurred()) SWIG_fail
;
2386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2394 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2395 PyObject
*resultobj
;
2396 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2398 PyObject
* obj0
= 0 ;
2400 (char *) "self", NULL
2403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2408 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2410 wxPyEndAllowThreads(__tstate
);
2411 if (PyErr_Occurred()) SWIG_fail
;
2414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2422 static PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2423 PyObject
*resultobj
;
2424 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2425 wxVisualAttributes result
;
2426 PyObject
* obj0
= 0 ;
2428 (char *) "variant", NULL
2431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2433 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2434 if (PyErr_Occurred()) SWIG_fail
;
2437 if (!wxPyCheckForApp()) SWIG_fail
;
2438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2439 result
= wxCheckBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2441 wxPyEndAllowThreads(__tstate
);
2442 if (PyErr_Occurred()) SWIG_fail
;
2445 wxVisualAttributes
* resultptr
;
2446 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2447 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2455 static PyObject
* CheckBox_swigregister(PyObject
*self
, PyObject
*args
) {
2457 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2458 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2460 return Py_BuildValue((char *)"");
2462 static int _wrap_ChoiceNameStr_set(PyObject
*_val
) {
2463 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2468 static PyObject
*_wrap_ChoiceNameStr_get() {
2473 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2475 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2482 static PyObject
*_wrap_new_Choice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2483 PyObject
*resultobj
;
2484 wxWindow
*arg1
= (wxWindow
*) 0 ;
2485 int arg2
= (int) -1 ;
2486 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2487 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2488 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2489 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2490 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
2491 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
2492 long arg6
= (long) 0 ;
2493 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2494 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2495 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
2496 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2500 bool temp5
= False
;
2501 bool temp8
= False
;
2502 PyObject
* obj0
= 0 ;
2503 PyObject
* obj1
= 0 ;
2504 PyObject
* obj2
= 0 ;
2505 PyObject
* obj3
= 0 ;
2506 PyObject
* obj4
= 0 ;
2507 PyObject
* obj5
= 0 ;
2508 PyObject
* obj6
= 0 ;
2509 PyObject
* obj7
= 0 ;
2511 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2518 arg2
= (int) SWIG_AsInt(obj1
);
2519 if (PyErr_Occurred()) SWIG_fail
;
2524 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2530 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2535 if (! PySequence_Check(obj4
)) {
2536 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2539 arg5
= new wxArrayString
;
2541 int i
, len
=PySequence_Length(obj4
);
2542 for (i
=0; i
<len
; i
++) {
2543 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2545 PyObject
* str
= PyObject_Unicode(item
);
2547 PyObject
* str
= PyObject_Str(item
);
2549 if (PyErr_Occurred()) SWIG_fail
;
2550 arg5
->Add(Py2wxString(str
));
2557 arg6
= (long) SWIG_AsLong(obj5
);
2558 if (PyErr_Occurred()) SWIG_fail
;
2561 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2562 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2565 PyErr_SetString(PyExc_TypeError
,"null reference");
2571 arg8
= wxString_in_helper(obj7
);
2572 if (arg8
== NULL
) SWIG_fail
;
2577 if (!wxPyCheckForApp()) SWIG_fail
;
2578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2579 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2581 wxPyEndAllowThreads(__tstate
);
2582 if (PyErr_Occurred()) SWIG_fail
;
2584 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2586 if (temp5
) delete arg5
;
2595 if (temp5
) delete arg5
;
2605 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2606 PyObject
*resultobj
;
2612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2614 if (!wxPyCheckForApp()) SWIG_fail
;
2615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2616 result
= (wxChoice
*)new wxChoice();
2618 wxPyEndAllowThreads(__tstate
);
2619 if (PyErr_Occurred()) SWIG_fail
;
2621 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2628 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2629 PyObject
*resultobj
;
2630 wxChoice
*arg1
= (wxChoice
*) 0 ;
2631 wxWindow
*arg2
= (wxWindow
*) 0 ;
2632 int arg3
= (int) -1 ;
2633 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2634 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2635 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2636 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2637 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2638 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2639 long arg7
= (long) 0 ;
2640 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2641 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2642 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2643 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2647 bool temp6
= False
;
2648 bool temp9
= False
;
2649 PyObject
* obj0
= 0 ;
2650 PyObject
* obj1
= 0 ;
2651 PyObject
* obj2
= 0 ;
2652 PyObject
* obj3
= 0 ;
2653 PyObject
* obj4
= 0 ;
2654 PyObject
* obj5
= 0 ;
2655 PyObject
* obj6
= 0 ;
2656 PyObject
* obj7
= 0 ;
2657 PyObject
* obj8
= 0 ;
2659 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2665 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2668 arg3
= (int) SWIG_AsInt(obj2
);
2669 if (PyErr_Occurred()) SWIG_fail
;
2674 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2680 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2685 if (! PySequence_Check(obj5
)) {
2686 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2689 arg6
= new wxArrayString
;
2691 int i
, len
=PySequence_Length(obj5
);
2692 for (i
=0; i
<len
; i
++) {
2693 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2695 PyObject
* str
= PyObject_Unicode(item
);
2697 PyObject
* str
= PyObject_Str(item
);
2699 if (PyErr_Occurred()) SWIG_fail
;
2700 arg6
->Add(Py2wxString(str
));
2707 arg7
= (long) SWIG_AsLong(obj6
);
2708 if (PyErr_Occurred()) SWIG_fail
;
2711 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2712 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2715 PyErr_SetString(PyExc_TypeError
,"null reference");
2721 arg9
= wxString_in_helper(obj8
);
2722 if (arg9
== NULL
) SWIG_fail
;
2727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2728 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2730 wxPyEndAllowThreads(__tstate
);
2731 if (PyErr_Occurred()) SWIG_fail
;
2734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2737 if (temp6
) delete arg6
;
2746 if (temp6
) delete arg6
;
2756 static PyObject
*_wrap_Choice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2757 PyObject
*resultobj
;
2758 wxChoice
*arg1
= (wxChoice
*) 0 ;
2760 PyObject
* obj0
= 0 ;
2761 PyObject
* obj1
= 0 ;
2763 (char *) "self",(char *) "n", NULL
2766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2769 arg2
= (int const) SWIG_AsInt(obj1
);
2770 if (PyErr_Occurred()) SWIG_fail
;
2772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2773 (arg1
)->SetSelection(arg2
);
2775 wxPyEndAllowThreads(__tstate
);
2776 if (PyErr_Occurred()) SWIG_fail
;
2778 Py_INCREF(Py_None
); resultobj
= Py_None
;
2785 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2786 PyObject
*resultobj
;
2787 wxChoice
*arg1
= (wxChoice
*) 0 ;
2788 wxString
*arg2
= 0 ;
2790 bool temp2
= False
;
2791 PyObject
* obj0
= 0 ;
2792 PyObject
* obj1
= 0 ;
2794 (char *) "self",(char *) "string", NULL
2797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2801 arg2
= wxString_in_helper(obj1
);
2802 if (arg2
== NULL
) SWIG_fail
;
2806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2807 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
2809 wxPyEndAllowThreads(__tstate
);
2810 if (PyErr_Occurred()) SWIG_fail
;
2813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2829 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2830 PyObject
*resultobj
;
2831 wxChoice
*arg1
= (wxChoice
*) 0 ;
2833 wxString
*arg3
= 0 ;
2834 bool temp3
= False
;
2835 PyObject
* obj0
= 0 ;
2836 PyObject
* obj1
= 0 ;
2837 PyObject
* obj2
= 0 ;
2839 (char *) "self",(char *) "n",(char *) "string", NULL
2842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2845 arg2
= (int) SWIG_AsInt(obj1
);
2846 if (PyErr_Occurred()) SWIG_fail
;
2848 arg3
= wxString_in_helper(obj2
);
2849 if (arg3
== NULL
) SWIG_fail
;
2853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2854 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2856 wxPyEndAllowThreads(__tstate
);
2857 if (PyErr_Occurred()) SWIG_fail
;
2859 Py_INCREF(Py_None
); resultobj
= Py_None
;
2874 static PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2875 PyObject
*resultobj
;
2876 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2877 wxVisualAttributes result
;
2878 PyObject
* obj0
= 0 ;
2880 (char *) "variant", NULL
2883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2885 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2886 if (PyErr_Occurred()) SWIG_fail
;
2889 if (!wxPyCheckForApp()) SWIG_fail
;
2890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2891 result
= wxChoice::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2893 wxPyEndAllowThreads(__tstate
);
2894 if (PyErr_Occurred()) SWIG_fail
;
2897 wxVisualAttributes
* resultptr
;
2898 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2899 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2907 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2909 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2910 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2912 return Py_BuildValue((char *)"");
2914 static int _wrap_ComboBoxNameStr_set(PyObject
*_val
) {
2915 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2920 static PyObject
*_wrap_ComboBoxNameStr_get() {
2925 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2927 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2934 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2935 PyObject
*resultobj
;
2936 wxWindow
*arg1
= (wxWindow
*) 0 ;
2937 int arg2
= (int) -1 ;
2938 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2939 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2940 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2941 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2942 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2943 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2944 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2945 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2946 long arg7
= (long) 0 ;
2947 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2948 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2949 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
2950 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2952 bool temp3
= False
;
2955 bool temp6
= False
;
2956 bool temp9
= False
;
2957 PyObject
* obj0
= 0 ;
2958 PyObject
* obj1
= 0 ;
2959 PyObject
* obj2
= 0 ;
2960 PyObject
* obj3
= 0 ;
2961 PyObject
* obj4
= 0 ;
2962 PyObject
* obj5
= 0 ;
2963 PyObject
* obj6
= 0 ;
2964 PyObject
* obj7
= 0 ;
2965 PyObject
* obj8
= 0 ;
2967 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2974 arg2
= (int) SWIG_AsInt(obj1
);
2975 if (PyErr_Occurred()) SWIG_fail
;
2979 arg3
= wxString_in_helper(obj2
);
2980 if (arg3
== NULL
) SWIG_fail
;
2987 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2993 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2998 if (! PySequence_Check(obj5
)) {
2999 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3002 arg6
= new wxArrayString
;
3004 int i
, len
=PySequence_Length(obj5
);
3005 for (i
=0; i
<len
; i
++) {
3006 PyObject
* item
= PySequence_GetItem(obj5
, i
);
3008 PyObject
* str
= PyObject_Unicode(item
);
3010 PyObject
* str
= PyObject_Str(item
);
3012 if (PyErr_Occurred()) SWIG_fail
;
3013 arg6
->Add(Py2wxString(str
));
3020 arg7
= (long) SWIG_AsLong(obj6
);
3021 if (PyErr_Occurred()) SWIG_fail
;
3024 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
3025 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3028 PyErr_SetString(PyExc_TypeError
,"null reference");
3034 arg9
= wxString_in_helper(obj8
);
3035 if (arg9
== NULL
) SWIG_fail
;
3040 if (!wxPyCheckForApp()) SWIG_fail
;
3041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3042 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
);
3044 wxPyEndAllowThreads(__tstate
);
3045 if (PyErr_Occurred()) SWIG_fail
;
3047 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3053 if (temp6
) delete arg6
;
3066 if (temp6
) delete arg6
;
3076 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3077 PyObject
*resultobj
;
3083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
3085 if (!wxPyCheckForApp()) SWIG_fail
;
3086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3087 result
= (wxComboBox
*)new wxComboBox();
3089 wxPyEndAllowThreads(__tstate
);
3090 if (PyErr_Occurred()) SWIG_fail
;
3092 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3099 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3100 PyObject
*resultobj
;
3101 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3102 wxWindow
*arg2
= (wxWindow
*) 0 ;
3103 int arg3
= (int) -1 ;
3104 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3105 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3106 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3107 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3108 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3109 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3110 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
3111 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
3112 long arg8
= (long) 0 ;
3113 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
3114 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
3115 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
3116 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
3118 bool temp4
= False
;
3121 bool temp7
= False
;
3122 bool temp10
= False
;
3123 PyObject
* obj0
= 0 ;
3124 PyObject
* obj1
= 0 ;
3125 PyObject
* obj2
= 0 ;
3126 PyObject
* obj3
= 0 ;
3127 PyObject
* obj4
= 0 ;
3128 PyObject
* obj5
= 0 ;
3129 PyObject
* obj6
= 0 ;
3130 PyObject
* obj7
= 0 ;
3131 PyObject
* obj8
= 0 ;
3132 PyObject
* obj9
= 0 ;
3134 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
3138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3140 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3143 arg3
= (int) SWIG_AsInt(obj2
);
3144 if (PyErr_Occurred()) SWIG_fail
;
3148 arg4
= wxString_in_helper(obj3
);
3149 if (arg4
== NULL
) SWIG_fail
;
3156 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3162 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3167 if (! PySequence_Check(obj6
)) {
3168 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3171 arg7
= new wxArrayString
;
3173 int i
, len
=PySequence_Length(obj6
);
3174 for (i
=0; i
<len
; i
++) {
3175 PyObject
* item
= PySequence_GetItem(obj6
, i
);
3177 PyObject
* str
= PyObject_Unicode(item
);
3179 PyObject
* str
= PyObject_Str(item
);
3181 if (PyErr_Occurred()) SWIG_fail
;
3182 arg7
->Add(Py2wxString(str
));
3189 arg8
= (long) SWIG_AsLong(obj7
);
3190 if (PyErr_Occurred()) SWIG_fail
;
3193 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
3194 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3197 PyErr_SetString(PyExc_TypeError
,"null reference");
3203 arg10
= wxString_in_helper(obj9
);
3204 if (arg10
== NULL
) SWIG_fail
;
3209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3210 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
);
3212 wxPyEndAllowThreads(__tstate
);
3213 if (PyErr_Occurred()) SWIG_fail
;
3216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3223 if (temp7
) delete arg7
;
3236 if (temp7
) delete arg7
;
3246 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3247 PyObject
*resultobj
;
3248 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3250 PyObject
* obj0
= 0 ;
3252 (char *) "self", NULL
3255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
3256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3260 result
= ((wxComboBox
const *)arg1
)->GetValue();
3262 wxPyEndAllowThreads(__tstate
);
3263 if (PyErr_Occurred()) SWIG_fail
;
3267 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3269 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3278 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3279 PyObject
*resultobj
;
3280 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3281 wxString
*arg2
= 0 ;
3282 bool temp2
= False
;
3283 PyObject
* obj0
= 0 ;
3284 PyObject
* obj1
= 0 ;
3286 (char *) "self",(char *) "value", NULL
3289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3293 arg2
= wxString_in_helper(obj1
);
3294 if (arg2
== NULL
) SWIG_fail
;
3298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3299 (arg1
)->SetValue((wxString
const &)*arg2
);
3301 wxPyEndAllowThreads(__tstate
);
3302 if (PyErr_Occurred()) SWIG_fail
;
3304 Py_INCREF(Py_None
); resultobj
= Py_None
;
3319 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3320 PyObject
*resultobj
;
3321 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3322 PyObject
* obj0
= 0 ;
3324 (char *) "self", NULL
3327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
3328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3334 wxPyEndAllowThreads(__tstate
);
3335 if (PyErr_Occurred()) SWIG_fail
;
3337 Py_INCREF(Py_None
); resultobj
= Py_None
;
3344 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3345 PyObject
*resultobj
;
3346 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3347 PyObject
* obj0
= 0 ;
3349 (char *) "self", NULL
3352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3359 wxPyEndAllowThreads(__tstate
);
3360 if (PyErr_Occurred()) SWIG_fail
;
3362 Py_INCREF(Py_None
); resultobj
= Py_None
;
3369 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3370 PyObject
*resultobj
;
3371 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3372 PyObject
* obj0
= 0 ;
3374 (char *) "self", NULL
3377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3384 wxPyEndAllowThreads(__tstate
);
3385 if (PyErr_Occurred()) SWIG_fail
;
3387 Py_INCREF(Py_None
); resultobj
= Py_None
;
3394 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3395 PyObject
*resultobj
;
3396 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3398 PyObject
* obj0
= 0 ;
3399 PyObject
* obj1
= 0 ;
3401 (char *) "self",(char *) "pos", NULL
3404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3407 arg2
= (long) SWIG_AsLong(obj1
);
3408 if (PyErr_Occurred()) SWIG_fail
;
3410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3411 (arg1
)->SetInsertionPoint(arg2
);
3413 wxPyEndAllowThreads(__tstate
);
3414 if (PyErr_Occurred()) SWIG_fail
;
3416 Py_INCREF(Py_None
); resultobj
= Py_None
;
3423 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3424 PyObject
*resultobj
;
3425 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3427 PyObject
* obj0
= 0 ;
3429 (char *) "self", NULL
3432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3437 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3439 wxPyEndAllowThreads(__tstate
);
3440 if (PyErr_Occurred()) SWIG_fail
;
3442 resultobj
= SWIG_FromLong((long)result
);
3449 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3450 PyObject
*resultobj
;
3451 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3453 PyObject
* obj0
= 0 ;
3455 (char *) "self", NULL
3458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3463 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3465 wxPyEndAllowThreads(__tstate
);
3466 if (PyErr_Occurred()) SWIG_fail
;
3468 resultobj
= SWIG_FromLong((long)result
);
3475 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3476 PyObject
*resultobj
;
3477 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3480 wxString
*arg4
= 0 ;
3481 bool temp4
= False
;
3482 PyObject
* obj0
= 0 ;
3483 PyObject
* obj1
= 0 ;
3484 PyObject
* obj2
= 0 ;
3485 PyObject
* obj3
= 0 ;
3487 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3493 arg2
= (long) SWIG_AsLong(obj1
);
3494 if (PyErr_Occurred()) SWIG_fail
;
3495 arg3
= (long) SWIG_AsLong(obj2
);
3496 if (PyErr_Occurred()) SWIG_fail
;
3498 arg4
= wxString_in_helper(obj3
);
3499 if (arg4
== NULL
) SWIG_fail
;
3503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3504 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3506 wxPyEndAllowThreads(__tstate
);
3507 if (PyErr_Occurred()) SWIG_fail
;
3509 Py_INCREF(Py_None
); resultobj
= Py_None
;
3524 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3525 PyObject
*resultobj
;
3526 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3528 PyObject
* obj0
= 0 ;
3529 PyObject
* obj1
= 0 ;
3531 (char *) "self",(char *) "n", NULL
3534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3537 arg2
= (int) SWIG_AsInt(obj1
);
3538 if (PyErr_Occurred()) SWIG_fail
;
3540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3541 (arg1
)->SetSelection(arg2
);
3543 wxPyEndAllowThreads(__tstate
);
3544 if (PyErr_Occurred()) SWIG_fail
;
3546 Py_INCREF(Py_None
); resultobj
= Py_None
;
3553 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3554 PyObject
*resultobj
;
3555 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3558 PyObject
* obj0
= 0 ;
3559 PyObject
* obj1
= 0 ;
3560 PyObject
* obj2
= 0 ;
3562 (char *) "self",(char *) "from",(char *) "to", NULL
3565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3568 arg2
= (long) SWIG_AsLong(obj1
);
3569 if (PyErr_Occurred()) SWIG_fail
;
3570 arg3
= (long) SWIG_AsLong(obj2
);
3571 if (PyErr_Occurred()) SWIG_fail
;
3573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3574 (arg1
)->SetSelection(arg2
,arg3
);
3576 wxPyEndAllowThreads(__tstate
);
3577 if (PyErr_Occurred()) SWIG_fail
;
3579 Py_INCREF(Py_None
); resultobj
= Py_None
;
3586 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3587 PyObject
*resultobj
;
3588 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3589 wxString
*arg2
= 0 ;
3591 bool temp2
= False
;
3592 PyObject
* obj0
= 0 ;
3593 PyObject
* obj1
= 0 ;
3595 (char *) "self",(char *) "string", NULL
3598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3602 arg2
= wxString_in_helper(obj1
);
3603 if (arg2
== NULL
) SWIG_fail
;
3607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3608 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
3610 wxPyEndAllowThreads(__tstate
);
3611 if (PyErr_Occurred()) SWIG_fail
;
3614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3630 static PyObject
*_wrap_ComboBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3631 PyObject
*resultobj
;
3632 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3634 wxString
*arg3
= 0 ;
3635 bool temp3
= False
;
3636 PyObject
* obj0
= 0 ;
3637 PyObject
* obj1
= 0 ;
3638 PyObject
* obj2
= 0 ;
3640 (char *) "self",(char *) "n",(char *) "string", NULL
3643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3646 arg2
= (int) SWIG_AsInt(obj1
);
3647 if (PyErr_Occurred()) SWIG_fail
;
3649 arg3
= wxString_in_helper(obj2
);
3650 if (arg3
== NULL
) SWIG_fail
;
3654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3655 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
3657 wxPyEndAllowThreads(__tstate
);
3658 if (PyErr_Occurred()) SWIG_fail
;
3660 Py_INCREF(Py_None
); resultobj
= Py_None
;
3675 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3676 PyObject
*resultobj
;
3677 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3679 PyObject
* obj0
= 0 ;
3680 PyObject
* obj1
= 0 ;
3682 (char *) "self",(char *) "editable", NULL
3685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3688 arg2
= (bool) SWIG_AsBool(obj1
);
3689 if (PyErr_Occurred()) SWIG_fail
;
3691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3692 (arg1
)->SetEditable(arg2
);
3694 wxPyEndAllowThreads(__tstate
);
3695 if (PyErr_Occurred()) SWIG_fail
;
3697 Py_INCREF(Py_None
); resultobj
= Py_None
;
3704 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3705 PyObject
*resultobj
;
3706 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3707 PyObject
* obj0
= 0 ;
3709 (char *) "self", NULL
3712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3717 (arg1
)->SetInsertionPointEnd();
3719 wxPyEndAllowThreads(__tstate
);
3720 if (PyErr_Occurred()) SWIG_fail
;
3722 Py_INCREF(Py_None
); resultobj
= Py_None
;
3729 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3730 PyObject
*resultobj
;
3731 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3734 PyObject
* obj0
= 0 ;
3735 PyObject
* obj1
= 0 ;
3736 PyObject
* obj2
= 0 ;
3738 (char *) "self",(char *) "from",(char *) "to", NULL
3741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3744 arg2
= (long) SWIG_AsLong(obj1
);
3745 if (PyErr_Occurred()) SWIG_fail
;
3746 arg3
= (long) SWIG_AsLong(obj2
);
3747 if (PyErr_Occurred()) SWIG_fail
;
3749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3750 (arg1
)->Remove(arg2
,arg3
);
3752 wxPyEndAllowThreads(__tstate
);
3753 if (PyErr_Occurred()) SWIG_fail
;
3755 Py_INCREF(Py_None
); resultobj
= Py_None
;
3762 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3763 PyObject
*resultobj
;
3764 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
3765 wxVisualAttributes result
;
3766 PyObject
* obj0
= 0 ;
3768 (char *) "variant", NULL
3771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3773 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
3774 if (PyErr_Occurred()) SWIG_fail
;
3777 if (!wxPyCheckForApp()) SWIG_fail
;
3778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3779 result
= wxComboBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3781 wxPyEndAllowThreads(__tstate
);
3782 if (PyErr_Occurred()) SWIG_fail
;
3785 wxVisualAttributes
* resultptr
;
3786 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
3787 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3795 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
3797 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3798 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3800 return Py_BuildValue((char *)"");
3802 static int _wrap_GaugeNameStr_set(PyObject
*_val
) {
3803 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3808 static PyObject
*_wrap_GaugeNameStr_get() {
3813 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3815 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3822 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3823 PyObject
*resultobj
;
3824 wxWindow
*arg1
= (wxWindow
*) 0 ;
3825 int arg2
= (int) -1 ;
3826 int arg3
= (int) 100 ;
3827 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3828 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3829 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3830 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3831 long arg6
= (long) wxGA_HORIZONTAL
;
3832 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3833 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3834 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3835 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3839 bool temp8
= False
;
3840 PyObject
* obj0
= 0 ;
3841 PyObject
* obj1
= 0 ;
3842 PyObject
* obj2
= 0 ;
3843 PyObject
* obj3
= 0 ;
3844 PyObject
* obj4
= 0 ;
3845 PyObject
* obj5
= 0 ;
3846 PyObject
* obj6
= 0 ;
3847 PyObject
* obj7
= 0 ;
3849 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3856 arg2
= (int) SWIG_AsInt(obj1
);
3857 if (PyErr_Occurred()) SWIG_fail
;
3860 arg3
= (int) SWIG_AsInt(obj2
);
3861 if (PyErr_Occurred()) SWIG_fail
;
3866 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3872 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3876 arg6
= (long) SWIG_AsLong(obj5
);
3877 if (PyErr_Occurred()) SWIG_fail
;
3880 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
3881 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3884 PyErr_SetString(PyExc_TypeError
,"null reference");
3890 arg8
= wxString_in_helper(obj7
);
3891 if (arg8
== NULL
) SWIG_fail
;
3896 if (!wxPyCheckForApp()) SWIG_fail
;
3897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3898 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3900 wxPyEndAllowThreads(__tstate
);
3901 if (PyErr_Occurred()) SWIG_fail
;
3903 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3918 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3919 PyObject
*resultobj
;
3925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3927 if (!wxPyCheckForApp()) SWIG_fail
;
3928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3929 result
= (wxGauge
*)new wxGauge();
3931 wxPyEndAllowThreads(__tstate
);
3932 if (PyErr_Occurred()) SWIG_fail
;
3934 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3941 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3942 PyObject
*resultobj
;
3943 wxGauge
*arg1
= (wxGauge
*) 0 ;
3944 wxWindow
*arg2
= (wxWindow
*) 0 ;
3945 int arg3
= (int) -1 ;
3946 int arg4
= (int) 100 ;
3947 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3948 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3949 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3950 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3951 long arg7
= (long) wxGA_HORIZONTAL
;
3952 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3953 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3954 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3955 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3959 bool temp9
= False
;
3960 PyObject
* obj0
= 0 ;
3961 PyObject
* obj1
= 0 ;
3962 PyObject
* obj2
= 0 ;
3963 PyObject
* obj3
= 0 ;
3964 PyObject
* obj4
= 0 ;
3965 PyObject
* obj5
= 0 ;
3966 PyObject
* obj6
= 0 ;
3967 PyObject
* obj7
= 0 ;
3968 PyObject
* obj8
= 0 ;
3970 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3976 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3979 arg3
= (int) SWIG_AsInt(obj2
);
3980 if (PyErr_Occurred()) SWIG_fail
;
3983 arg4
= (int) SWIG_AsInt(obj3
);
3984 if (PyErr_Occurred()) SWIG_fail
;
3989 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3995 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3999 arg7
= (long) SWIG_AsLong(obj6
);
4000 if (PyErr_Occurred()) SWIG_fail
;
4003 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
4004 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4007 PyErr_SetString(PyExc_TypeError
,"null reference");
4013 arg9
= wxString_in_helper(obj8
);
4014 if (arg9
== NULL
) SWIG_fail
;
4019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4020 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4022 wxPyEndAllowThreads(__tstate
);
4023 if (PyErr_Occurred()) SWIG_fail
;
4026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4042 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4043 PyObject
*resultobj
;
4044 wxGauge
*arg1
= (wxGauge
*) 0 ;
4046 PyObject
* obj0
= 0 ;
4047 PyObject
* obj1
= 0 ;
4049 (char *) "self",(char *) "range", NULL
4052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
4053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4055 arg2
= (int) SWIG_AsInt(obj1
);
4056 if (PyErr_Occurred()) SWIG_fail
;
4058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4059 (arg1
)->SetRange(arg2
);
4061 wxPyEndAllowThreads(__tstate
);
4062 if (PyErr_Occurred()) SWIG_fail
;
4064 Py_INCREF(Py_None
); resultobj
= Py_None
;
4071 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4072 PyObject
*resultobj
;
4073 wxGauge
*arg1
= (wxGauge
*) 0 ;
4075 PyObject
* obj0
= 0 ;
4077 (char *) "self", NULL
4080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
4081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4085 result
= (int)((wxGauge
const *)arg1
)->GetRange();
4087 wxPyEndAllowThreads(__tstate
);
4088 if (PyErr_Occurred()) SWIG_fail
;
4090 resultobj
= SWIG_FromInt((int)result
);
4097 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4098 PyObject
*resultobj
;
4099 wxGauge
*arg1
= (wxGauge
*) 0 ;
4101 PyObject
* obj0
= 0 ;
4102 PyObject
* obj1
= 0 ;
4104 (char *) "self",(char *) "pos", NULL
4107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
4108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4110 arg2
= (int) SWIG_AsInt(obj1
);
4111 if (PyErr_Occurred()) SWIG_fail
;
4113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4114 (arg1
)->SetValue(arg2
);
4116 wxPyEndAllowThreads(__tstate
);
4117 if (PyErr_Occurred()) SWIG_fail
;
4119 Py_INCREF(Py_None
); resultobj
= Py_None
;
4126 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4127 PyObject
*resultobj
;
4128 wxGauge
*arg1
= (wxGauge
*) 0 ;
4130 PyObject
* obj0
= 0 ;
4132 (char *) "self", NULL
4135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
4136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4140 result
= (int)((wxGauge
const *)arg1
)->GetValue();
4142 wxPyEndAllowThreads(__tstate
);
4143 if (PyErr_Occurred()) SWIG_fail
;
4145 resultobj
= SWIG_FromInt((int)result
);
4152 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4153 PyObject
*resultobj
;
4154 wxGauge
*arg1
= (wxGauge
*) 0 ;
4156 PyObject
* obj0
= 0 ;
4158 (char *) "self", NULL
4161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
4162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4166 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
4168 wxPyEndAllowThreads(__tstate
);
4169 if (PyErr_Occurred()) SWIG_fail
;
4172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4180 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4181 PyObject
*resultobj
;
4182 wxGauge
*arg1
= (wxGauge
*) 0 ;
4184 PyObject
* obj0
= 0 ;
4185 PyObject
* obj1
= 0 ;
4187 (char *) "self",(char *) "w", NULL
4190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4193 arg2
= (int) SWIG_AsInt(obj1
);
4194 if (PyErr_Occurred()) SWIG_fail
;
4196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4197 (arg1
)->SetShadowWidth(arg2
);
4199 wxPyEndAllowThreads(__tstate
);
4200 if (PyErr_Occurred()) SWIG_fail
;
4202 Py_INCREF(Py_None
); resultobj
= Py_None
;
4209 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4210 PyObject
*resultobj
;
4211 wxGauge
*arg1
= (wxGauge
*) 0 ;
4213 PyObject
* obj0
= 0 ;
4215 (char *) "self", NULL
4218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
4219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4223 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
4225 wxPyEndAllowThreads(__tstate
);
4226 if (PyErr_Occurred()) SWIG_fail
;
4228 resultobj
= SWIG_FromInt((int)result
);
4235 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4236 PyObject
*resultobj
;
4237 wxGauge
*arg1
= (wxGauge
*) 0 ;
4239 PyObject
* obj0
= 0 ;
4240 PyObject
* obj1
= 0 ;
4242 (char *) "self",(char *) "w", NULL
4245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
4246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4248 arg2
= (int) SWIG_AsInt(obj1
);
4249 if (PyErr_Occurred()) SWIG_fail
;
4251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4252 (arg1
)->SetBezelFace(arg2
);
4254 wxPyEndAllowThreads(__tstate
);
4255 if (PyErr_Occurred()) SWIG_fail
;
4257 Py_INCREF(Py_None
); resultobj
= Py_None
;
4264 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4265 PyObject
*resultobj
;
4266 wxGauge
*arg1
= (wxGauge
*) 0 ;
4268 PyObject
* obj0
= 0 ;
4270 (char *) "self", NULL
4273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
4274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4278 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
4280 wxPyEndAllowThreads(__tstate
);
4281 if (PyErr_Occurred()) SWIG_fail
;
4283 resultobj
= SWIG_FromInt((int)result
);
4290 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4291 PyObject
*resultobj
;
4292 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4293 wxVisualAttributes result
;
4294 PyObject
* obj0
= 0 ;
4296 (char *) "variant", NULL
4299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4301 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4302 if (PyErr_Occurred()) SWIG_fail
;
4305 if (!wxPyCheckForApp()) SWIG_fail
;
4306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4307 result
= wxGauge::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4309 wxPyEndAllowThreads(__tstate
);
4310 if (PyErr_Occurred()) SWIG_fail
;
4313 wxVisualAttributes
* resultptr
;
4314 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4315 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4323 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
4325 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4326 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
4328 return Py_BuildValue((char *)"");
4330 static int _wrap_StaticBitmapNameStr_set(PyObject
*_val
) {
4331 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
4336 static PyObject
*_wrap_StaticBitmapNameStr_get() {
4341 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4343 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4350 static int _wrap_StaticBoxNameStr_set(PyObject
*_val
) {
4351 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
4356 static PyObject
*_wrap_StaticBoxNameStr_get() {
4361 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4363 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4370 static int _wrap_StaticTextNameStr_set(PyObject
*_val
) {
4371 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
4376 static PyObject
*_wrap_StaticTextNameStr_get() {
4381 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4383 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4390 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4391 PyObject
*resultobj
;
4392 wxWindow
*arg1
= (wxWindow
*) 0 ;
4393 int arg2
= (int) -1 ;
4394 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4395 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4396 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4397 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4398 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4399 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4400 long arg6
= (long) 0 ;
4401 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
4402 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4403 wxStaticBox
*result
;
4404 bool temp3
= False
;
4407 bool temp7
= False
;
4408 PyObject
* obj0
= 0 ;
4409 PyObject
* obj1
= 0 ;
4410 PyObject
* obj2
= 0 ;
4411 PyObject
* obj3
= 0 ;
4412 PyObject
* obj4
= 0 ;
4413 PyObject
* obj5
= 0 ;
4414 PyObject
* obj6
= 0 ;
4416 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4423 arg2
= (int) SWIG_AsInt(obj1
);
4424 if (PyErr_Occurred()) SWIG_fail
;
4428 arg3
= wxString_in_helper(obj2
);
4429 if (arg3
== NULL
) SWIG_fail
;
4436 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4442 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4446 arg6
= (long) SWIG_AsLong(obj5
);
4447 if (PyErr_Occurred()) SWIG_fail
;
4451 arg7
= wxString_in_helper(obj6
);
4452 if (arg7
== NULL
) SWIG_fail
;
4457 if (!wxPyCheckForApp()) SWIG_fail
;
4458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4459 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4461 wxPyEndAllowThreads(__tstate
);
4462 if (PyErr_Occurred()) SWIG_fail
;
4464 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
4487 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4488 PyObject
*resultobj
;
4489 wxStaticBox
*result
;
4494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4496 if (!wxPyCheckForApp()) SWIG_fail
;
4497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4498 result
= (wxStaticBox
*)new wxStaticBox();
4500 wxPyEndAllowThreads(__tstate
);
4501 if (PyErr_Occurred()) SWIG_fail
;
4503 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
4510 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4511 PyObject
*resultobj
;
4512 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4513 wxWindow
*arg2
= (wxWindow
*) 0 ;
4514 int arg3
= (int) -1 ;
4515 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4516 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4517 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4518 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4519 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4520 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4521 long arg7
= (long) 0 ;
4522 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4523 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4525 bool temp4
= False
;
4528 bool temp8
= False
;
4529 PyObject
* obj0
= 0 ;
4530 PyObject
* obj1
= 0 ;
4531 PyObject
* obj2
= 0 ;
4532 PyObject
* obj3
= 0 ;
4533 PyObject
* obj4
= 0 ;
4534 PyObject
* obj5
= 0 ;
4535 PyObject
* obj6
= 0 ;
4536 PyObject
* obj7
= 0 ;
4538 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
4543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4544 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4547 arg3
= (int) SWIG_AsInt(obj2
);
4548 if (PyErr_Occurred()) SWIG_fail
;
4552 arg4
= wxString_in_helper(obj3
);
4553 if (arg4
== NULL
) SWIG_fail
;
4560 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4566 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4570 arg7
= (long) SWIG_AsLong(obj6
);
4571 if (PyErr_Occurred()) SWIG_fail
;
4575 arg8
= wxString_in_helper(obj7
);
4576 if (arg8
== NULL
) SWIG_fail
;
4581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4582 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4584 wxPyEndAllowThreads(__tstate
);
4585 if (PyErr_Occurred()) SWIG_fail
;
4588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4612 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4613 PyObject
*resultobj
;
4614 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4615 wxVisualAttributes result
;
4616 PyObject
* obj0
= 0 ;
4618 (char *) "variant", NULL
4621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4623 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4624 if (PyErr_Occurred()) SWIG_fail
;
4627 if (!wxPyCheckForApp()) SWIG_fail
;
4628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4629 result
= wxStaticBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4631 wxPyEndAllowThreads(__tstate
);
4632 if (PyErr_Occurred()) SWIG_fail
;
4635 wxVisualAttributes
* resultptr
;
4636 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4637 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4645 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
4647 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4648 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4650 return Py_BuildValue((char *)"");
4652 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4653 PyObject
*resultobj
;
4654 wxWindow
*arg1
= (wxWindow
*) 0 ;
4655 int arg2
= (int) -1 ;
4656 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4657 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4658 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4659 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4660 long arg5
= (long) wxLI_HORIZONTAL
;
4661 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4662 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4663 wxStaticLine
*result
;
4666 bool temp6
= False
;
4667 PyObject
* obj0
= 0 ;
4668 PyObject
* obj1
= 0 ;
4669 PyObject
* obj2
= 0 ;
4670 PyObject
* obj3
= 0 ;
4671 PyObject
* obj4
= 0 ;
4672 PyObject
* obj5
= 0 ;
4674 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4681 arg2
= (int) SWIG_AsInt(obj1
);
4682 if (PyErr_Occurred()) SWIG_fail
;
4687 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4693 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4697 arg5
= (long) SWIG_AsLong(obj4
);
4698 if (PyErr_Occurred()) SWIG_fail
;
4702 arg6
= wxString_in_helper(obj5
);
4703 if (arg6
== NULL
) SWIG_fail
;
4708 if (!wxPyCheckForApp()) SWIG_fail
;
4709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4710 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4712 wxPyEndAllowThreads(__tstate
);
4713 if (PyErr_Occurred()) SWIG_fail
;
4715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4730 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4731 PyObject
*resultobj
;
4732 wxStaticLine
*result
;
4737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4739 if (!wxPyCheckForApp()) SWIG_fail
;
4740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4741 result
= (wxStaticLine
*)new wxStaticLine();
4743 wxPyEndAllowThreads(__tstate
);
4744 if (PyErr_Occurred()) SWIG_fail
;
4746 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4753 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4754 PyObject
*resultobj
;
4755 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4756 wxWindow
*arg2
= (wxWindow
*) 0 ;
4757 int arg3
= (int) -1 ;
4758 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4759 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4760 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4761 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4762 long arg6
= (long) wxLI_HORIZONTAL
;
4763 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4764 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4768 bool temp7
= False
;
4769 PyObject
* obj0
= 0 ;
4770 PyObject
* obj1
= 0 ;
4771 PyObject
* obj2
= 0 ;
4772 PyObject
* obj3
= 0 ;
4773 PyObject
* obj4
= 0 ;
4774 PyObject
* obj5
= 0 ;
4775 PyObject
* obj6
= 0 ;
4777 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4783 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4786 arg3
= (int) SWIG_AsInt(obj2
);
4787 if (PyErr_Occurred()) SWIG_fail
;
4792 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4798 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4802 arg6
= (long) SWIG_AsLong(obj5
);
4803 if (PyErr_Occurred()) SWIG_fail
;
4807 arg7
= wxString_in_helper(obj6
);
4808 if (arg7
== NULL
) SWIG_fail
;
4813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4814 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4816 wxPyEndAllowThreads(__tstate
);
4817 if (PyErr_Occurred()) SWIG_fail
;
4820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4836 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4837 PyObject
*resultobj
;
4838 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4840 PyObject
* obj0
= 0 ;
4842 (char *) "self", NULL
4845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4850 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4852 wxPyEndAllowThreads(__tstate
);
4853 if (PyErr_Occurred()) SWIG_fail
;
4856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4864 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4865 PyObject
*resultobj
;
4871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
4873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4874 result
= (int)wxStaticLine::GetDefaultSize();
4876 wxPyEndAllowThreads(__tstate
);
4877 if (PyErr_Occurred()) SWIG_fail
;
4879 resultobj
= SWIG_FromInt((int)result
);
4886 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4887 PyObject
*resultobj
;
4888 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4889 wxVisualAttributes result
;
4890 PyObject
* obj0
= 0 ;
4892 (char *) "variant", NULL
4895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4897 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4898 if (PyErr_Occurred()) SWIG_fail
;
4901 if (!wxPyCheckForApp()) SWIG_fail
;
4902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4903 result
= wxStaticLine::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4905 wxPyEndAllowThreads(__tstate
);
4906 if (PyErr_Occurred()) SWIG_fail
;
4909 wxVisualAttributes
* resultptr
;
4910 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4911 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4919 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
4921 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4922 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
4924 return Py_BuildValue((char *)"");
4926 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4927 PyObject
*resultobj
;
4928 wxWindow
*arg1
= (wxWindow
*) 0 ;
4929 int arg2
= (int) -1 ;
4930 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4931 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4932 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4933 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4934 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4935 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4936 long arg6
= (long) 0 ;
4937 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4938 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4939 wxStaticText
*result
;
4940 bool temp3
= False
;
4943 bool temp7
= False
;
4944 PyObject
* obj0
= 0 ;
4945 PyObject
* obj1
= 0 ;
4946 PyObject
* obj2
= 0 ;
4947 PyObject
* obj3
= 0 ;
4948 PyObject
* obj4
= 0 ;
4949 PyObject
* obj5
= 0 ;
4950 PyObject
* obj6
= 0 ;
4952 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4959 arg2
= (int) SWIG_AsInt(obj1
);
4960 if (PyErr_Occurred()) SWIG_fail
;
4964 arg3
= wxString_in_helper(obj2
);
4965 if (arg3
== NULL
) SWIG_fail
;
4972 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4978 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4982 arg6
= (long) SWIG_AsLong(obj5
);
4983 if (PyErr_Occurred()) SWIG_fail
;
4987 arg7
= wxString_in_helper(obj6
);
4988 if (arg7
== NULL
) SWIG_fail
;
4993 if (!wxPyCheckForApp()) SWIG_fail
;
4994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4995 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4997 wxPyEndAllowThreads(__tstate
);
4998 if (PyErr_Occurred()) SWIG_fail
;
5000 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
5023 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5024 PyObject
*resultobj
;
5025 wxStaticText
*result
;
5030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
5032 if (!wxPyCheckForApp()) SWIG_fail
;
5033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5034 result
= (wxStaticText
*)new wxStaticText();
5036 wxPyEndAllowThreads(__tstate
);
5037 if (PyErr_Occurred()) SWIG_fail
;
5039 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
5046 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5047 PyObject
*resultobj
;
5048 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
5049 wxWindow
*arg2
= (wxWindow
*) 0 ;
5050 int arg3
= (int) -1 ;
5051 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5052 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5053 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5054 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5055 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5056 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5057 long arg7
= (long) 0 ;
5058 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
5059 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5061 bool temp4
= False
;
5064 bool temp8
= False
;
5065 PyObject
* obj0
= 0 ;
5066 PyObject
* obj1
= 0 ;
5067 PyObject
* obj2
= 0 ;
5068 PyObject
* obj3
= 0 ;
5069 PyObject
* obj4
= 0 ;
5070 PyObject
* obj5
= 0 ;
5071 PyObject
* obj6
= 0 ;
5072 PyObject
* obj7
= 0 ;
5074 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticText
,
5079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5080 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5083 arg3
= (int) SWIG_AsInt(obj2
);
5084 if (PyErr_Occurred()) SWIG_fail
;
5088 arg4
= wxString_in_helper(obj3
);
5089 if (arg4
== NULL
) SWIG_fail
;
5096 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5102 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5106 arg7
= (long) SWIG_AsLong(obj6
);
5107 if (PyErr_Occurred()) SWIG_fail
;
5111 arg8
= wxString_in_helper(obj7
);
5112 if (arg8
== NULL
) SWIG_fail
;
5117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5118 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5120 wxPyEndAllowThreads(__tstate
);
5121 if (PyErr_Occurred()) SWIG_fail
;
5124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5148 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5149 PyObject
*resultobj
;
5150 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5151 wxVisualAttributes result
;
5152 PyObject
* obj0
= 0 ;
5154 (char *) "variant", NULL
5157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5159 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
5160 if (PyErr_Occurred()) SWIG_fail
;
5163 if (!wxPyCheckForApp()) SWIG_fail
;
5164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5165 result
= wxStaticText::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5167 wxPyEndAllowThreads(__tstate
);
5168 if (PyErr_Occurred()) SWIG_fail
;
5171 wxVisualAttributes
* resultptr
;
5172 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5173 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5181 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
5183 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5184 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
5186 return Py_BuildValue((char *)"");
5188 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5189 PyObject
*resultobj
;
5190 wxWindow
*arg1
= (wxWindow
*) 0 ;
5191 int arg2
= (int) -1 ;
5192 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
5193 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
5194 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5195 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5196 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5197 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5198 long arg6
= (long) 0 ;
5199 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
5200 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5201 wxStaticBitmap
*result
;
5204 bool temp7
= False
;
5205 PyObject
* obj0
= 0 ;
5206 PyObject
* obj1
= 0 ;
5207 PyObject
* obj2
= 0 ;
5208 PyObject
* obj3
= 0 ;
5209 PyObject
* obj4
= 0 ;
5210 PyObject
* obj5
= 0 ;
5211 PyObject
* obj6
= 0 ;
5213 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5220 arg2
= (int) SWIG_AsInt(obj1
);
5221 if (PyErr_Occurred()) SWIG_fail
;
5224 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
5225 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5228 PyErr_SetString(PyExc_TypeError
,"null reference");
5235 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5241 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5245 arg6
= (long) SWIG_AsLong(obj5
);
5246 if (PyErr_Occurred()) SWIG_fail
;
5250 arg7
= wxString_in_helper(obj6
);
5251 if (arg7
== NULL
) SWIG_fail
;
5256 if (!wxPyCheckForApp()) SWIG_fail
;
5257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5258 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5260 wxPyEndAllowThreads(__tstate
);
5261 if (PyErr_Occurred()) SWIG_fail
;
5263 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5278 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5279 PyObject
*resultobj
;
5280 wxStaticBitmap
*result
;
5285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
5287 if (!wxPyCheckForApp()) SWIG_fail
;
5288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5289 result
= (wxStaticBitmap
*)new wxStaticBitmap();
5291 wxPyEndAllowThreads(__tstate
);
5292 if (PyErr_Occurred()) SWIG_fail
;
5294 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5301 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5302 PyObject
*resultobj
;
5303 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5304 wxWindow
*arg2
= (wxWindow
*) 0 ;
5305 int arg3
= (int) -1 ;
5306 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
5307 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
5308 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5309 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5310 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5311 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5312 long arg7
= (long) 0 ;
5313 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
5314 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5318 bool temp8
= False
;
5319 PyObject
* obj0
= 0 ;
5320 PyObject
* obj1
= 0 ;
5321 PyObject
* obj2
= 0 ;
5322 PyObject
* obj3
= 0 ;
5323 PyObject
* obj4
= 0 ;
5324 PyObject
* obj5
= 0 ;
5325 PyObject
* obj6
= 0 ;
5326 PyObject
* obj7
= 0 ;
5328 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5334 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5337 arg3
= (int) SWIG_AsInt(obj2
);
5338 if (PyErr_Occurred()) SWIG_fail
;
5341 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
5342 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5345 PyErr_SetString(PyExc_TypeError
,"null reference");
5352 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5358 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5362 arg7
= (long) SWIG_AsLong(obj6
);
5363 if (PyErr_Occurred()) SWIG_fail
;
5367 arg8
= wxString_in_helper(obj7
);
5368 if (arg8
== NULL
) SWIG_fail
;
5373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5374 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5376 wxPyEndAllowThreads(__tstate
);
5377 if (PyErr_Occurred()) SWIG_fail
;
5380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5396 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5397 PyObject
*resultobj
;
5398 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5400 PyObject
* obj0
= 0 ;
5402 (char *) "self", NULL
5405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
5406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5410 result
= (arg1
)->GetBitmap();
5412 wxPyEndAllowThreads(__tstate
);
5413 if (PyErr_Occurred()) SWIG_fail
;
5416 wxBitmap
* resultptr
;
5417 resultptr
= new wxBitmap((wxBitmap
&) result
);
5418 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5426 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5427 PyObject
*resultobj
;
5428 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5429 wxBitmap
*arg2
= 0 ;
5430 PyObject
* obj0
= 0 ;
5431 PyObject
* obj1
= 0 ;
5433 (char *) "self",(char *) "bitmap", NULL
5436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5439 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5440 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5443 PyErr_SetString(PyExc_TypeError
,"null reference");
5447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5448 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
5450 wxPyEndAllowThreads(__tstate
);
5451 if (PyErr_Occurred()) SWIG_fail
;
5453 Py_INCREF(Py_None
); resultobj
= Py_None
;
5460 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5461 PyObject
*resultobj
;
5462 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5464 PyObject
* obj0
= 0 ;
5465 PyObject
* obj1
= 0 ;
5467 (char *) "self",(char *) "icon", NULL
5470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5473 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
5474 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5477 PyErr_SetString(PyExc_TypeError
,"null reference");
5481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5482 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5484 wxPyEndAllowThreads(__tstate
);
5485 if (PyErr_Occurred()) SWIG_fail
;
5487 Py_INCREF(Py_None
); resultobj
= Py_None
;
5494 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5495 PyObject
*resultobj
;
5496 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5497 wxVisualAttributes result
;
5498 PyObject
* obj0
= 0 ;
5500 (char *) "variant", NULL
5503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5505 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
5506 if (PyErr_Occurred()) SWIG_fail
;
5509 if (!wxPyCheckForApp()) SWIG_fail
;
5510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5511 result
= wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5513 wxPyEndAllowThreads(__tstate
);
5514 if (PyErr_Occurred()) SWIG_fail
;
5517 wxVisualAttributes
* resultptr
;
5518 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5519 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5527 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
5529 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5530 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
5532 return Py_BuildValue((char *)"");
5534 static int _wrap_ListBoxNameStr_set(PyObject
*_val
) {
5535 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
5540 static PyObject
*_wrap_ListBoxNameStr_get() {
5545 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5547 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5554 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5555 PyObject
*resultobj
;
5556 wxWindow
*arg1
= (wxWindow
*) 0 ;
5557 int arg2
= (int) -1 ;
5558 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5559 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5560 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5561 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5562 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5563 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5564 long arg6
= (long) 0 ;
5565 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5566 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5567 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5568 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5572 bool temp5
= False
;
5573 bool temp8
= False
;
5574 PyObject
* obj0
= 0 ;
5575 PyObject
* obj1
= 0 ;
5576 PyObject
* obj2
= 0 ;
5577 PyObject
* obj3
= 0 ;
5578 PyObject
* obj4
= 0 ;
5579 PyObject
* obj5
= 0 ;
5580 PyObject
* obj6
= 0 ;
5581 PyObject
* obj7
= 0 ;
5583 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5590 arg2
= (int) SWIG_AsInt(obj1
);
5591 if (PyErr_Occurred()) SWIG_fail
;
5596 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5602 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5607 if (! PySequence_Check(obj4
)) {
5608 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5611 arg5
= new wxArrayString
;
5613 int i
, len
=PySequence_Length(obj4
);
5614 for (i
=0; i
<len
; i
++) {
5615 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5617 PyObject
* str
= PyObject_Unicode(item
);
5619 PyObject
* str
= PyObject_Str(item
);
5621 if (PyErr_Occurred()) SWIG_fail
;
5622 arg5
->Add(Py2wxString(str
));
5629 arg6
= (long) SWIG_AsLong(obj5
);
5630 if (PyErr_Occurred()) SWIG_fail
;
5633 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
5634 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5637 PyErr_SetString(PyExc_TypeError
,"null reference");
5643 arg8
= wxString_in_helper(obj7
);
5644 if (arg8
== NULL
) SWIG_fail
;
5649 if (!wxPyCheckForApp()) SWIG_fail
;
5650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5651 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5653 wxPyEndAllowThreads(__tstate
);
5654 if (PyErr_Occurred()) SWIG_fail
;
5656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5658 if (temp5
) delete arg5
;
5667 if (temp5
) delete arg5
;
5677 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5678 PyObject
*resultobj
;
5684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5686 if (!wxPyCheckForApp()) SWIG_fail
;
5687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5688 result
= (wxListBox
*)new wxListBox();
5690 wxPyEndAllowThreads(__tstate
);
5691 if (PyErr_Occurred()) SWIG_fail
;
5693 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5700 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5701 PyObject
*resultobj
;
5702 wxListBox
*arg1
= (wxListBox
*) 0 ;
5703 wxWindow
*arg2
= (wxWindow
*) 0 ;
5704 int arg3
= (int) -1 ;
5705 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5706 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5707 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5708 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5709 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5710 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5711 long arg7
= (long) 0 ;
5712 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5713 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5714 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5715 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5719 bool temp6
= False
;
5720 bool temp9
= False
;
5721 PyObject
* obj0
= 0 ;
5722 PyObject
* obj1
= 0 ;
5723 PyObject
* obj2
= 0 ;
5724 PyObject
* obj3
= 0 ;
5725 PyObject
* obj4
= 0 ;
5726 PyObject
* obj5
= 0 ;
5727 PyObject
* obj6
= 0 ;
5728 PyObject
* obj7
= 0 ;
5729 PyObject
* obj8
= 0 ;
5731 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5737 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5740 arg3
= (int) SWIG_AsInt(obj2
);
5741 if (PyErr_Occurred()) SWIG_fail
;
5746 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5752 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5757 if (! PySequence_Check(obj5
)) {
5758 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5761 arg6
= new wxArrayString
;
5763 int i
, len
=PySequence_Length(obj5
);
5764 for (i
=0; i
<len
; i
++) {
5765 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5767 PyObject
* str
= PyObject_Unicode(item
);
5769 PyObject
* str
= PyObject_Str(item
);
5771 if (PyErr_Occurred()) SWIG_fail
;
5772 arg6
->Add(Py2wxString(str
));
5779 arg7
= (long) SWIG_AsLong(obj6
);
5780 if (PyErr_Occurred()) SWIG_fail
;
5783 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
5784 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5787 PyErr_SetString(PyExc_TypeError
,"null reference");
5793 arg9
= wxString_in_helper(obj8
);
5794 if (arg9
== NULL
) SWIG_fail
;
5799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5800 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5802 wxPyEndAllowThreads(__tstate
);
5803 if (PyErr_Occurred()) SWIG_fail
;
5806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5809 if (temp6
) delete arg6
;
5818 if (temp6
) delete arg6
;
5828 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5829 PyObject
*resultobj
;
5830 wxListBox
*arg1
= (wxListBox
*) 0 ;
5831 wxString
*arg2
= 0 ;
5833 PyObject
*arg4
= (PyObject
*) NULL
;
5834 bool temp2
= False
;
5835 PyObject
* obj0
= 0 ;
5836 PyObject
* obj1
= 0 ;
5837 PyObject
* obj2
= 0 ;
5838 PyObject
* obj3
= 0 ;
5840 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5847 arg2
= wxString_in_helper(obj1
);
5848 if (arg2
== NULL
) SWIG_fail
;
5851 arg3
= (int) SWIG_AsInt(obj2
);
5852 if (PyErr_Occurred()) SWIG_fail
;
5857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5858 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5860 wxPyEndAllowThreads(__tstate
);
5861 if (PyErr_Occurred()) SWIG_fail
;
5863 Py_INCREF(Py_None
); resultobj
= Py_None
;
5878 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5879 PyObject
*resultobj
;
5880 wxListBox
*arg1
= (wxListBox
*) 0 ;
5881 wxArrayString
*arg2
= 0 ;
5883 bool temp2
= False
;
5884 PyObject
* obj0
= 0 ;
5885 PyObject
* obj1
= 0 ;
5886 PyObject
* obj2
= 0 ;
5888 (char *) "self",(char *) "items",(char *) "pos", NULL
5891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5895 if (! PySequence_Check(obj1
)) {
5896 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5899 arg2
= new wxArrayString
;
5901 int i
, len
=PySequence_Length(obj1
);
5902 for (i
=0; i
<len
; i
++) {
5903 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5905 PyObject
* str
= PyObject_Unicode(item
);
5907 PyObject
* str
= PyObject_Str(item
);
5909 if (PyErr_Occurred()) SWIG_fail
;
5910 arg2
->Add(Py2wxString(str
));
5915 arg3
= (int) SWIG_AsInt(obj2
);
5916 if (PyErr_Occurred()) SWIG_fail
;
5918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5919 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
5921 wxPyEndAllowThreads(__tstate
);
5922 if (PyErr_Occurred()) SWIG_fail
;
5924 Py_INCREF(Py_None
); resultobj
= Py_None
;
5926 if (temp2
) delete arg2
;
5931 if (temp2
) delete arg2
;
5937 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5938 PyObject
*resultobj
;
5939 wxListBox
*arg1
= (wxListBox
*) 0 ;
5940 wxArrayString
*arg2
= 0 ;
5941 bool temp2
= False
;
5942 PyObject
* obj0
= 0 ;
5943 PyObject
* obj1
= 0 ;
5945 (char *) "self",(char *) "items", NULL
5948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
5949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5952 if (! PySequence_Check(obj1
)) {
5953 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5956 arg2
= new wxArrayString
;
5958 int i
, len
=PySequence_Length(obj1
);
5959 for (i
=0; i
<len
; i
++) {
5960 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5962 PyObject
* str
= PyObject_Unicode(item
);
5964 PyObject
* str
= PyObject_Str(item
);
5966 if (PyErr_Occurred()) SWIG_fail
;
5967 arg2
->Add(Py2wxString(str
));
5973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5974 (arg1
)->Set((wxArrayString
const &)*arg2
);
5976 wxPyEndAllowThreads(__tstate
);
5977 if (PyErr_Occurred()) SWIG_fail
;
5979 Py_INCREF(Py_None
); resultobj
= Py_None
;
5981 if (temp2
) delete arg2
;
5986 if (temp2
) delete arg2
;
5992 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5993 PyObject
*resultobj
;
5994 wxListBox
*arg1
= (wxListBox
*) 0 ;
5997 PyObject
* obj0
= 0 ;
5998 PyObject
* obj1
= 0 ;
6000 (char *) "self",(char *) "n", NULL
6003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
6004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6006 arg2
= (int) SWIG_AsInt(obj1
);
6007 if (PyErr_Occurred()) SWIG_fail
;
6009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6010 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
6012 wxPyEndAllowThreads(__tstate
);
6013 if (PyErr_Occurred()) SWIG_fail
;
6016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6024 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6025 PyObject
*resultobj
;
6026 wxListBox
*arg1
= (wxListBox
*) 0 ;
6028 bool arg3
= (bool) True
;
6029 PyObject
* obj0
= 0 ;
6030 PyObject
* obj1
= 0 ;
6031 PyObject
* obj2
= 0 ;
6033 (char *) "self",(char *) "n",(char *) "select", NULL
6036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6039 arg2
= (int) SWIG_AsInt(obj1
);
6040 if (PyErr_Occurred()) SWIG_fail
;
6042 arg3
= (bool) SWIG_AsBool(obj2
);
6043 if (PyErr_Occurred()) SWIG_fail
;
6046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6047 (arg1
)->SetSelection(arg2
,arg3
);
6049 wxPyEndAllowThreads(__tstate
);
6050 if (PyErr_Occurred()) SWIG_fail
;
6052 Py_INCREF(Py_None
); resultobj
= Py_None
;
6059 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6060 PyObject
*resultobj
;
6061 wxListBox
*arg1
= (wxListBox
*) 0 ;
6063 PyObject
* obj0
= 0 ;
6064 PyObject
* obj1
= 0 ;
6066 (char *) "self",(char *) "n", NULL
6069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
6070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6072 arg2
= (int) SWIG_AsInt(obj1
);
6073 if (PyErr_Occurred()) SWIG_fail
;
6075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6076 (arg1
)->Select(arg2
);
6078 wxPyEndAllowThreads(__tstate
);
6079 if (PyErr_Occurred()) SWIG_fail
;
6081 Py_INCREF(Py_None
); resultobj
= Py_None
;
6088 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6089 PyObject
*resultobj
;
6090 wxListBox
*arg1
= (wxListBox
*) 0 ;
6092 PyObject
* obj0
= 0 ;
6093 PyObject
* obj1
= 0 ;
6095 (char *) "self",(char *) "n", NULL
6098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
6099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6101 arg2
= (int) SWIG_AsInt(obj1
);
6102 if (PyErr_Occurred()) SWIG_fail
;
6104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6105 (arg1
)->Deselect(arg2
);
6107 wxPyEndAllowThreads(__tstate
);
6108 if (PyErr_Occurred()) SWIG_fail
;
6110 Py_INCREF(Py_None
); resultobj
= Py_None
;
6117 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6118 PyObject
*resultobj
;
6119 wxListBox
*arg1
= (wxListBox
*) 0 ;
6120 int arg2
= (int) -1 ;
6121 PyObject
* obj0
= 0 ;
6122 PyObject
* obj1
= 0 ;
6124 (char *) "self",(char *) "itemToLeaveSelected", NULL
6127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
6128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6131 arg2
= (int) SWIG_AsInt(obj1
);
6132 if (PyErr_Occurred()) SWIG_fail
;
6135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6136 (arg1
)->DeselectAll(arg2
);
6138 wxPyEndAllowThreads(__tstate
);
6139 if (PyErr_Occurred()) SWIG_fail
;
6141 Py_INCREF(Py_None
); resultobj
= Py_None
;
6148 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6149 PyObject
*resultobj
;
6150 wxListBox
*arg1
= (wxListBox
*) 0 ;
6151 wxString
*arg2
= 0 ;
6152 bool arg3
= (bool) True
;
6154 bool temp2
= False
;
6155 PyObject
* obj0
= 0 ;
6156 PyObject
* obj1
= 0 ;
6157 PyObject
* obj2
= 0 ;
6159 (char *) "self",(char *) "s",(char *) "select", NULL
6162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6166 arg2
= wxString_in_helper(obj1
);
6167 if (arg2
== NULL
) SWIG_fail
;
6171 arg3
= (bool) SWIG_AsBool(obj2
);
6172 if (PyErr_Occurred()) SWIG_fail
;
6175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6176 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
6178 wxPyEndAllowThreads(__tstate
);
6179 if (PyErr_Occurred()) SWIG_fail
;
6182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6198 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6199 PyObject
*resultobj
;
6200 wxListBox
*arg1
= (wxListBox
*) 0 ;
6202 PyObject
* obj0
= 0 ;
6204 (char *) "self", NULL
6207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
6208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6212 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
6214 wxPyEndAllowThreads(__tstate
);
6215 if (PyErr_Occurred()) SWIG_fail
;
6224 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6225 PyObject
*resultobj
;
6226 wxListBox
*arg1
= (wxListBox
*) 0 ;
6228 PyObject
* obj0
= 0 ;
6229 PyObject
* obj1
= 0 ;
6231 (char *) "self",(char *) "n", NULL
6234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
6235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6237 arg2
= (int) SWIG_AsInt(obj1
);
6238 if (PyErr_Occurred()) SWIG_fail
;
6240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6241 (arg1
)->SetFirstItem(arg2
);
6243 wxPyEndAllowThreads(__tstate
);
6244 if (PyErr_Occurred()) SWIG_fail
;
6246 Py_INCREF(Py_None
); resultobj
= Py_None
;
6253 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6254 PyObject
*resultobj
;
6255 wxListBox
*arg1
= (wxListBox
*) 0 ;
6256 wxString
*arg2
= 0 ;
6257 bool temp2
= False
;
6258 PyObject
* obj0
= 0 ;
6259 PyObject
* obj1
= 0 ;
6261 (char *) "self",(char *) "s", NULL
6264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
6265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6268 arg2
= wxString_in_helper(obj1
);
6269 if (arg2
== NULL
) SWIG_fail
;
6273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6274 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
6276 wxPyEndAllowThreads(__tstate
);
6277 if (PyErr_Occurred()) SWIG_fail
;
6279 Py_INCREF(Py_None
); resultobj
= Py_None
;
6294 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6295 PyObject
*resultobj
;
6296 wxListBox
*arg1
= (wxListBox
*) 0 ;
6298 PyObject
* obj0
= 0 ;
6299 PyObject
* obj1
= 0 ;
6301 (char *) "self",(char *) "n", NULL
6304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6307 arg2
= (int) SWIG_AsInt(obj1
);
6308 if (PyErr_Occurred()) SWIG_fail
;
6310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6311 (arg1
)->EnsureVisible(arg2
);
6313 wxPyEndAllowThreads(__tstate
);
6314 if (PyErr_Occurred()) SWIG_fail
;
6316 Py_INCREF(Py_None
); resultobj
= Py_None
;
6323 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6324 PyObject
*resultobj
;
6325 wxListBox
*arg1
= (wxListBox
*) 0 ;
6326 wxString
*arg2
= 0 ;
6327 bool temp2
= False
;
6328 PyObject
* obj0
= 0 ;
6329 PyObject
* obj1
= 0 ;
6331 (char *) "self",(char *) "s", NULL
6334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6338 arg2
= wxString_in_helper(obj1
);
6339 if (arg2
== NULL
) SWIG_fail
;
6343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6344 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
6346 wxPyEndAllowThreads(__tstate
);
6347 if (PyErr_Occurred()) SWIG_fail
;
6349 Py_INCREF(Py_None
); resultobj
= Py_None
;
6364 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6365 PyObject
*resultobj
;
6366 wxListBox
*arg1
= (wxListBox
*) 0 ;
6368 PyObject
* obj0
= 0 ;
6370 (char *) "self", NULL
6373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
6374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6378 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
6380 wxPyEndAllowThreads(__tstate
);
6381 if (PyErr_Occurred()) SWIG_fail
;
6384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6392 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6393 PyObject
*resultobj
;
6394 wxListBox
*arg1
= (wxListBox
*) 0 ;
6396 wxColour
*arg3
= 0 ;
6398 PyObject
* obj0
= 0 ;
6399 PyObject
* obj1
= 0 ;
6400 PyObject
* obj2
= 0 ;
6402 (char *) "self",(char *) "item",(char *) "c", NULL
6405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6408 arg2
= (int) SWIG_AsInt(obj1
);
6409 if (PyErr_Occurred()) SWIG_fail
;
6412 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6416 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6418 wxPyEndAllowThreads(__tstate
);
6419 if (PyErr_Occurred()) SWIG_fail
;
6421 Py_INCREF(Py_None
); resultobj
= Py_None
;
6428 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6429 PyObject
*resultobj
;
6430 wxListBox
*arg1
= (wxListBox
*) 0 ;
6432 wxColour
*arg3
= 0 ;
6434 PyObject
* obj0
= 0 ;
6435 PyObject
* obj1
= 0 ;
6436 PyObject
* obj2
= 0 ;
6438 (char *) "self",(char *) "item",(char *) "c", NULL
6441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6444 arg2
= (int) SWIG_AsInt(obj1
);
6445 if (PyErr_Occurred()) SWIG_fail
;
6448 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6452 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6454 wxPyEndAllowThreads(__tstate
);
6455 if (PyErr_Occurred()) SWIG_fail
;
6457 Py_INCREF(Py_None
); resultobj
= Py_None
;
6464 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6465 PyObject
*resultobj
;
6466 wxListBox
*arg1
= (wxListBox
*) 0 ;
6469 PyObject
* obj0
= 0 ;
6470 PyObject
* obj1
= 0 ;
6471 PyObject
* obj2
= 0 ;
6473 (char *) "self",(char *) "item",(char *) "f", NULL
6476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6479 arg2
= (int) SWIG_AsInt(obj1
);
6480 if (PyErr_Occurred()) SWIG_fail
;
6481 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6482 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6485 PyErr_SetString(PyExc_TypeError
,"null reference");
6489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6490 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
6492 wxPyEndAllowThreads(__tstate
);
6493 if (PyErr_Occurred()) SWIG_fail
;
6495 Py_INCREF(Py_None
); resultobj
= Py_None
;
6502 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6503 PyObject
*resultobj
;
6504 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6505 wxVisualAttributes result
;
6506 PyObject
* obj0
= 0 ;
6508 (char *) "variant", NULL
6511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6513 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
6514 if (PyErr_Occurred()) SWIG_fail
;
6517 if (!wxPyCheckForApp()) SWIG_fail
;
6518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6519 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6521 wxPyEndAllowThreads(__tstate
);
6522 if (PyErr_Occurred()) SWIG_fail
;
6525 wxVisualAttributes
* resultptr
;
6526 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6527 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6535 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6537 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6538 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
6540 return Py_BuildValue((char *)"");
6542 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6543 PyObject
*resultobj
;
6544 wxWindow
*arg1
= (wxWindow
*) 0 ;
6545 int arg2
= (int) -1 ;
6546 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6547 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6548 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6549 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6550 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
6551 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
6552 long arg6
= (long) 0 ;
6553 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6554 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6555 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
6556 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6557 wxCheckListBox
*result
;
6560 bool temp5
= False
;
6561 bool temp8
= False
;
6562 PyObject
* obj0
= 0 ;
6563 PyObject
* obj1
= 0 ;
6564 PyObject
* obj2
= 0 ;
6565 PyObject
* obj3
= 0 ;
6566 PyObject
* obj4
= 0 ;
6567 PyObject
* obj5
= 0 ;
6568 PyObject
* obj6
= 0 ;
6569 PyObject
* obj7
= 0 ;
6571 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6578 arg2
= (int) SWIG_AsInt(obj1
);
6579 if (PyErr_Occurred()) SWIG_fail
;
6584 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6590 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6595 if (! PySequence_Check(obj4
)) {
6596 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6599 arg5
= new wxArrayString
;
6601 int i
, len
=PySequence_Length(obj4
);
6602 for (i
=0; i
<len
; i
++) {
6603 PyObject
* item
= PySequence_GetItem(obj4
, i
);
6605 PyObject
* str
= PyObject_Unicode(item
);
6607 PyObject
* str
= PyObject_Str(item
);
6609 if (PyErr_Occurred()) SWIG_fail
;
6610 arg5
->Add(Py2wxString(str
));
6617 arg6
= (long) SWIG_AsLong(obj5
);
6618 if (PyErr_Occurred()) SWIG_fail
;
6621 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
6622 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6625 PyErr_SetString(PyExc_TypeError
,"null reference");
6631 arg8
= wxString_in_helper(obj7
);
6632 if (arg8
== NULL
) SWIG_fail
;
6637 if (!wxPyCheckForApp()) SWIG_fail
;
6638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6639 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6641 wxPyEndAllowThreads(__tstate
);
6642 if (PyErr_Occurred()) SWIG_fail
;
6644 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6646 if (temp5
) delete arg5
;
6655 if (temp5
) delete arg5
;
6665 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6666 PyObject
*resultobj
;
6667 wxCheckListBox
*result
;
6672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
6674 if (!wxPyCheckForApp()) SWIG_fail
;
6675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6676 result
= (wxCheckListBox
*)new wxCheckListBox();
6678 wxPyEndAllowThreads(__tstate
);
6679 if (PyErr_Occurred()) SWIG_fail
;
6681 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6688 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6689 PyObject
*resultobj
;
6690 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6691 wxWindow
*arg2
= (wxWindow
*) 0 ;
6692 int arg3
= (int) -1 ;
6693 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6694 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6695 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6696 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6697 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
6698 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
6699 long arg7
= (long) 0 ;
6700 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6701 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6702 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
6703 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6707 bool temp6
= False
;
6708 bool temp9
= False
;
6709 PyObject
* obj0
= 0 ;
6710 PyObject
* obj1
= 0 ;
6711 PyObject
* obj2
= 0 ;
6712 PyObject
* obj3
= 0 ;
6713 PyObject
* obj4
= 0 ;
6714 PyObject
* obj5
= 0 ;
6715 PyObject
* obj6
= 0 ;
6716 PyObject
* obj7
= 0 ;
6717 PyObject
* obj8
= 0 ;
6719 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
6723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6725 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6728 arg3
= (int) SWIG_AsInt(obj2
);
6729 if (PyErr_Occurred()) SWIG_fail
;
6734 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6740 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6745 if (! PySequence_Check(obj5
)) {
6746 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6749 arg6
= new wxArrayString
;
6751 int i
, len
=PySequence_Length(obj5
);
6752 for (i
=0; i
<len
; i
++) {
6753 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6755 PyObject
* str
= PyObject_Unicode(item
);
6757 PyObject
* str
= PyObject_Str(item
);
6759 if (PyErr_Occurred()) SWIG_fail
;
6760 arg6
->Add(Py2wxString(str
));
6767 arg7
= (long) SWIG_AsLong(obj6
);
6768 if (PyErr_Occurred()) SWIG_fail
;
6771 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
6772 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6775 PyErr_SetString(PyExc_TypeError
,"null reference");
6781 arg9
= wxString_in_helper(obj8
);
6782 if (arg9
== NULL
) SWIG_fail
;
6787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6788 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6790 wxPyEndAllowThreads(__tstate
);
6791 if (PyErr_Occurred()) SWIG_fail
;
6794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6797 if (temp6
) delete arg6
;
6806 if (temp6
) delete arg6
;
6816 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6817 PyObject
*resultobj
;
6818 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6821 PyObject
* obj0
= 0 ;
6822 PyObject
* obj1
= 0 ;
6824 (char *) "self",(char *) "index", NULL
6827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6830 arg2
= (int) SWIG_AsInt(obj1
);
6831 if (PyErr_Occurred()) SWIG_fail
;
6833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6834 result
= (bool)(arg1
)->IsChecked(arg2
);
6836 wxPyEndAllowThreads(__tstate
);
6837 if (PyErr_Occurred()) SWIG_fail
;
6840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6848 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6849 PyObject
*resultobj
;
6850 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6852 int arg3
= (int) True
;
6853 PyObject
* obj0
= 0 ;
6854 PyObject
* obj1
= 0 ;
6855 PyObject
* obj2
= 0 ;
6857 (char *) "self",(char *) "index",(char *) "check", NULL
6860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6863 arg2
= (int) SWIG_AsInt(obj1
);
6864 if (PyErr_Occurred()) SWIG_fail
;
6866 arg3
= (int) SWIG_AsInt(obj2
);
6867 if (PyErr_Occurred()) SWIG_fail
;
6870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6871 (arg1
)->Check(arg2
,arg3
);
6873 wxPyEndAllowThreads(__tstate
);
6874 if (PyErr_Occurred()) SWIG_fail
;
6876 Py_INCREF(Py_None
); resultobj
= Py_None
;
6883 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6884 PyObject
*resultobj
;
6885 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6887 PyObject
* obj0
= 0 ;
6889 (char *) "self", NULL
6892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
6893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6897 result
= (int)(arg1
)->GetItemHeight();
6899 wxPyEndAllowThreads(__tstate
);
6900 if (PyErr_Occurred()) SWIG_fail
;
6902 resultobj
= SWIG_FromInt((int)result
);
6909 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6910 PyObject
*resultobj
;
6911 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6915 PyObject
* obj0
= 0 ;
6916 PyObject
* obj1
= 0 ;
6918 (char *) "self",(char *) "pt", NULL
6921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
6922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6926 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6930 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
6932 wxPyEndAllowThreads(__tstate
);
6933 if (PyErr_Occurred()) SWIG_fail
;
6935 resultobj
= SWIG_FromInt((int)result
);
6942 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6943 PyObject
*resultobj
;
6944 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6948 PyObject
* obj0
= 0 ;
6949 PyObject
* obj1
= 0 ;
6950 PyObject
* obj2
= 0 ;
6952 (char *) "self",(char *) "x",(char *) "y", NULL
6955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6958 arg2
= (int) SWIG_AsInt(obj1
);
6959 if (PyErr_Occurred()) SWIG_fail
;
6960 arg3
= (int) SWIG_AsInt(obj2
);
6961 if (PyErr_Occurred()) SWIG_fail
;
6963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6964 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
6966 wxPyEndAllowThreads(__tstate
);
6967 if (PyErr_Occurred()) SWIG_fail
;
6969 resultobj
= SWIG_FromInt((int)result
);
6976 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6978 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6979 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
6981 return Py_BuildValue((char *)"");
6983 static int _wrap_TextCtrlNameStr_set(PyObject
*_val
) {
6984 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
6989 static PyObject
*_wrap_TextCtrlNameStr_get() {
6994 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6996 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
7003 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7004 PyObject
*resultobj
;
7005 wxColour
const &arg1_defvalue
= wxNullColour
;
7006 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
7007 wxColour
const &arg2_defvalue
= wxNullColour
;
7008 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
7009 wxFont
const &arg3_defvalue
= wxNullFont
;
7010 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
7011 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
7015 PyObject
* obj0
= 0 ;
7016 PyObject
* obj1
= 0 ;
7017 PyObject
* obj2
= 0 ;
7018 PyObject
* obj3
= 0 ;
7020 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
7023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7027 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
7033 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7037 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
7038 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7041 PyErr_SetString(PyExc_TypeError
,"null reference");
7046 arg4
= (wxTextAttrAlignment
) SWIG_AsInt(obj3
);
7047 if (PyErr_Occurred()) SWIG_fail
;
7050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7051 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
7053 wxPyEndAllowThreads(__tstate
);
7054 if (PyErr_Occurred()) SWIG_fail
;
7056 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
7063 static PyObject
*_wrap_delete_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7064 PyObject
*resultobj
;
7065 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7066 PyObject
* obj0
= 0 ;
7068 (char *) "self", NULL
7071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
7072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7078 wxPyEndAllowThreads(__tstate
);
7079 if (PyErr_Occurred()) SWIG_fail
;
7081 Py_INCREF(Py_None
); resultobj
= Py_None
;
7088 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7089 PyObject
*resultobj
;
7090 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7091 PyObject
* obj0
= 0 ;
7093 (char *) "self", NULL
7096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
7097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7103 wxPyEndAllowThreads(__tstate
);
7104 if (PyErr_Occurred()) SWIG_fail
;
7106 Py_INCREF(Py_None
); resultobj
= Py_None
;
7113 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7114 PyObject
*resultobj
;
7115 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7116 wxColour
*arg2
= 0 ;
7118 PyObject
* obj0
= 0 ;
7119 PyObject
* obj1
= 0 ;
7121 (char *) "self",(char *) "colText", NULL
7124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7129 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7133 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
7135 wxPyEndAllowThreads(__tstate
);
7136 if (PyErr_Occurred()) SWIG_fail
;
7138 Py_INCREF(Py_None
); resultobj
= Py_None
;
7145 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7146 PyObject
*resultobj
;
7147 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7148 wxColour
*arg2
= 0 ;
7150 PyObject
* obj0
= 0 ;
7151 PyObject
* obj1
= 0 ;
7153 (char *) "self",(char *) "colBack", NULL
7156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7161 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7165 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
7167 wxPyEndAllowThreads(__tstate
);
7168 if (PyErr_Occurred()) SWIG_fail
;
7170 Py_INCREF(Py_None
); resultobj
= Py_None
;
7177 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7178 PyObject
*resultobj
;
7179 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7181 long arg3
= (long) wxTEXT_ATTR_FONT
;
7182 PyObject
* obj0
= 0 ;
7183 PyObject
* obj1
= 0 ;
7184 PyObject
* obj2
= 0 ;
7186 (char *) "self",(char *) "font",(char *) "flags", NULL
7189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7192 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7193 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7196 PyErr_SetString(PyExc_TypeError
,"null reference");
7200 arg3
= (long) SWIG_AsLong(obj2
);
7201 if (PyErr_Occurred()) SWIG_fail
;
7204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7205 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
7207 wxPyEndAllowThreads(__tstate
);
7208 if (PyErr_Occurred()) SWIG_fail
;
7210 Py_INCREF(Py_None
); resultobj
= Py_None
;
7217 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7218 PyObject
*resultobj
;
7219 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7221 PyObject
* obj0
= 0 ;
7222 PyObject
* obj1
= 0 ;
7224 (char *) "self",(char *) "alignment", NULL
7227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7230 arg2
= (wxTextAttrAlignment
) SWIG_AsInt(obj1
);
7231 if (PyErr_Occurred()) SWIG_fail
;
7233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7234 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
7236 wxPyEndAllowThreads(__tstate
);
7237 if (PyErr_Occurred()) SWIG_fail
;
7239 Py_INCREF(Py_None
); resultobj
= Py_None
;
7246 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7247 PyObject
*resultobj
;
7248 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7249 wxArrayInt
*arg2
= 0 ;
7250 bool temp2
= False
;
7251 PyObject
* obj0
= 0 ;
7252 PyObject
* obj1
= 0 ;
7254 (char *) "self",(char *) "tabs", NULL
7257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
7258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7261 if (! PySequence_Check(obj1
)) {
7262 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
7265 arg2
= new wxArrayInt
;
7267 int i
, len
=PySequence_Length(obj1
);
7268 for (i
=0; i
<len
; i
++) {
7269 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7270 PyObject
* number
= PyNumber_Int(item
);
7271 arg2
->Add(PyInt_AS_LONG(number
));
7277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7278 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
7280 wxPyEndAllowThreads(__tstate
);
7281 if (PyErr_Occurred()) SWIG_fail
;
7283 Py_INCREF(Py_None
); resultobj
= Py_None
;
7285 if (temp2
) delete arg2
;
7290 if (temp2
) delete arg2
;
7296 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7297 PyObject
*resultobj
;
7298 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7300 int arg3
= (int) 0 ;
7301 PyObject
* obj0
= 0 ;
7302 PyObject
* obj1
= 0 ;
7303 PyObject
* obj2
= 0 ;
7305 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
7308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7311 arg2
= (int) SWIG_AsInt(obj1
);
7312 if (PyErr_Occurred()) SWIG_fail
;
7314 arg3
= (int) SWIG_AsInt(obj2
);
7315 if (PyErr_Occurred()) SWIG_fail
;
7318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7319 (arg1
)->SetLeftIndent(arg2
,arg3
);
7321 wxPyEndAllowThreads(__tstate
);
7322 if (PyErr_Occurred()) SWIG_fail
;
7324 Py_INCREF(Py_None
); resultobj
= Py_None
;
7331 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7332 PyObject
*resultobj
;
7333 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7335 PyObject
* obj0
= 0 ;
7336 PyObject
* obj1
= 0 ;
7338 (char *) "self",(char *) "indent", NULL
7341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
7342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7344 arg2
= (int) SWIG_AsInt(obj1
);
7345 if (PyErr_Occurred()) SWIG_fail
;
7347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7348 (arg1
)->SetRightIndent(arg2
);
7350 wxPyEndAllowThreads(__tstate
);
7351 if (PyErr_Occurred()) SWIG_fail
;
7353 Py_INCREF(Py_None
); resultobj
= Py_None
;
7360 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7361 PyObject
*resultobj
;
7362 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7364 PyObject
* obj0
= 0 ;
7365 PyObject
* obj1
= 0 ;
7367 (char *) "self",(char *) "flags", NULL
7370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7373 arg2
= (long) SWIG_AsLong(obj1
);
7374 if (PyErr_Occurred()) SWIG_fail
;
7376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7377 (arg1
)->SetFlags(arg2
);
7379 wxPyEndAllowThreads(__tstate
);
7380 if (PyErr_Occurred()) SWIG_fail
;
7382 Py_INCREF(Py_None
); resultobj
= Py_None
;
7389 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7390 PyObject
*resultobj
;
7391 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7393 PyObject
* obj0
= 0 ;
7395 (char *) "self", NULL
7398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
7399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7403 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
7405 wxPyEndAllowThreads(__tstate
);
7406 if (PyErr_Occurred()) SWIG_fail
;
7409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7417 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7418 PyObject
*resultobj
;
7419 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7421 PyObject
* obj0
= 0 ;
7423 (char *) "self", NULL
7426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
7427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7431 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
7433 wxPyEndAllowThreads(__tstate
);
7434 if (PyErr_Occurred()) SWIG_fail
;
7437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7445 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7446 PyObject
*resultobj
;
7447 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7449 PyObject
* obj0
= 0 ;
7451 (char *) "self", NULL
7454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
7455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7459 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
7461 wxPyEndAllowThreads(__tstate
);
7462 if (PyErr_Occurred()) SWIG_fail
;
7465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7473 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7474 PyObject
*resultobj
;
7475 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7477 PyObject
* obj0
= 0 ;
7479 (char *) "self", NULL
7482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
7483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7487 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
7489 wxPyEndAllowThreads(__tstate
);
7490 if (PyErr_Occurred()) SWIG_fail
;
7493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7501 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7502 PyObject
*resultobj
;
7503 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7505 PyObject
* obj0
= 0 ;
7507 (char *) "self", NULL
7510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
7511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7515 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
7517 wxPyEndAllowThreads(__tstate
);
7518 if (PyErr_Occurred()) SWIG_fail
;
7521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7529 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7530 PyObject
*resultobj
;
7531 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7533 PyObject
* obj0
= 0 ;
7535 (char *) "self", NULL
7538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
7539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7543 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
7545 wxPyEndAllowThreads(__tstate
);
7546 if (PyErr_Occurred()) SWIG_fail
;
7549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7557 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7558 PyObject
*resultobj
;
7559 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7561 PyObject
* obj0
= 0 ;
7563 (char *) "self", NULL
7566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
7567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7571 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
7573 wxPyEndAllowThreads(__tstate
);
7574 if (PyErr_Occurred()) SWIG_fail
;
7577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7585 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7586 PyObject
*resultobj
;
7587 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7590 PyObject
* obj0
= 0 ;
7591 PyObject
* obj1
= 0 ;
7593 (char *) "self",(char *) "flag", NULL
7596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
7597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7599 arg2
= (long) SWIG_AsLong(obj1
);
7600 if (PyErr_Occurred()) SWIG_fail
;
7602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7603 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
7605 wxPyEndAllowThreads(__tstate
);
7606 if (PyErr_Occurred()) SWIG_fail
;
7609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7617 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7618 PyObject
*resultobj
;
7619 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7621 PyObject
* obj0
= 0 ;
7623 (char *) "self", NULL
7626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
7627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7632 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
7633 result
= (wxColour
*) &_result_ref
;
7636 wxPyEndAllowThreads(__tstate
);
7637 if (PyErr_Occurred()) SWIG_fail
;
7639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7646 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7647 PyObject
*resultobj
;
7648 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7650 PyObject
* obj0
= 0 ;
7652 (char *) "self", NULL
7655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
7656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7661 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
7662 result
= (wxColour
*) &_result_ref
;
7665 wxPyEndAllowThreads(__tstate
);
7666 if (PyErr_Occurred()) SWIG_fail
;
7668 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7675 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7676 PyObject
*resultobj
;
7677 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7679 PyObject
* obj0
= 0 ;
7681 (char *) "self", NULL
7684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
7685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7690 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7691 result
= (wxFont
*) &_result_ref
;
7694 wxPyEndAllowThreads(__tstate
);
7695 if (PyErr_Occurred()) SWIG_fail
;
7698 wxFont
* resultptr
= new wxFont(*result
);
7699 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
7707 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7708 PyObject
*resultobj
;
7709 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7711 PyObject
* obj0
= 0 ;
7713 (char *) "self", NULL
7716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7721 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7723 wxPyEndAllowThreads(__tstate
);
7724 if (PyErr_Occurred()) SWIG_fail
;
7726 resultobj
= SWIG_FromInt((int)result
);
7733 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7734 PyObject
*resultobj
;
7735 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7737 PyObject
* obj0
= 0 ;
7739 (char *) "self", NULL
7742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7748 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7749 result
= (wxArrayInt
*) &_result_ref
;
7752 wxPyEndAllowThreads(__tstate
);
7753 if (PyErr_Occurred()) SWIG_fail
;
7756 resultobj
= PyList_New(0);
7758 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7759 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7760 PyList_Append(resultobj
, val
);
7770 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7771 PyObject
*resultobj
;
7772 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7774 PyObject
* obj0
= 0 ;
7776 (char *) "self", NULL
7779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7784 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7786 wxPyEndAllowThreads(__tstate
);
7787 if (PyErr_Occurred()) SWIG_fail
;
7789 resultobj
= SWIG_FromLong((long)result
);
7796 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7797 PyObject
*resultobj
;
7798 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7800 PyObject
* obj0
= 0 ;
7802 (char *) "self", NULL
7805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftSubIndent",kwnames
,&obj0
)) goto fail
;
7806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7810 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
7812 wxPyEndAllowThreads(__tstate
);
7813 if (PyErr_Occurred()) SWIG_fail
;
7815 resultobj
= SWIG_FromLong((long)result
);
7822 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7823 PyObject
*resultobj
;
7824 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7826 PyObject
* obj0
= 0 ;
7828 (char *) "self", NULL
7831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7836 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7838 wxPyEndAllowThreads(__tstate
);
7839 if (PyErr_Occurred()) SWIG_fail
;
7841 resultobj
= SWIG_FromLong((long)result
);
7848 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7849 PyObject
*resultobj
;
7850 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7852 PyObject
* obj0
= 0 ;
7854 (char *) "self", NULL
7857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
7858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7862 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7864 wxPyEndAllowThreads(__tstate
);
7865 if (PyErr_Occurred()) SWIG_fail
;
7867 resultobj
= SWIG_FromLong((long)result
);
7874 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7875 PyObject
*resultobj
;
7876 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7878 PyObject
* obj0
= 0 ;
7880 (char *) "self", NULL
7883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
7884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7888 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
7890 wxPyEndAllowThreads(__tstate
);
7891 if (PyErr_Occurred()) SWIG_fail
;
7894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7902 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7903 PyObject
*resultobj
;
7904 wxTextAttr
*arg1
= 0 ;
7905 wxTextAttr
*arg2
= 0 ;
7906 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
7908 PyObject
* obj0
= 0 ;
7909 PyObject
* obj1
= 0 ;
7910 PyObject
* obj2
= 0 ;
7912 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7917 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7920 PyErr_SetString(PyExc_TypeError
,"null reference");
7923 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
7924 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7927 PyErr_SetString(PyExc_TypeError
,"null reference");
7930 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
,
7931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7934 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
7936 wxPyEndAllowThreads(__tstate
);
7937 if (PyErr_Occurred()) SWIG_fail
;
7940 wxTextAttr
* resultptr
;
7941 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
7942 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
7950 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
7952 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7953 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
7955 return Py_BuildValue((char *)"");
7957 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7958 PyObject
*resultobj
;
7959 wxWindow
*arg1
= (wxWindow
*) 0 ;
7960 int arg2
= (int) -1 ;
7961 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7962 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7963 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7964 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7965 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7966 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7967 long arg6
= (long) 0 ;
7968 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7969 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7970 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
7971 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7973 bool temp3
= False
;
7976 bool temp8
= False
;
7977 PyObject
* obj0
= 0 ;
7978 PyObject
* obj1
= 0 ;
7979 PyObject
* obj2
= 0 ;
7980 PyObject
* obj3
= 0 ;
7981 PyObject
* obj4
= 0 ;
7982 PyObject
* obj5
= 0 ;
7983 PyObject
* obj6
= 0 ;
7984 PyObject
* obj7
= 0 ;
7986 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7993 arg2
= (int) SWIG_AsInt(obj1
);
7994 if (PyErr_Occurred()) SWIG_fail
;
7998 arg3
= wxString_in_helper(obj2
);
7999 if (arg3
== NULL
) SWIG_fail
;
8006 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8012 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8016 arg6
= (long) SWIG_AsLong(obj5
);
8017 if (PyErr_Occurred()) SWIG_fail
;
8020 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
8021 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8024 PyErr_SetString(PyExc_TypeError
,"null reference");
8030 arg8
= wxString_in_helper(obj7
);
8031 if (arg8
== NULL
) SWIG_fail
;
8036 if (!wxPyCheckForApp()) SWIG_fail
;
8037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8038 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8040 wxPyEndAllowThreads(__tstate
);
8041 if (PyErr_Occurred()) SWIG_fail
;
8043 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
8066 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8067 PyObject
*resultobj
;
8073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
8075 if (!wxPyCheckForApp()) SWIG_fail
;
8076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8077 result
= (wxTextCtrl
*)new wxTextCtrl();
8079 wxPyEndAllowThreads(__tstate
);
8080 if (PyErr_Occurred()) SWIG_fail
;
8082 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
8089 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8090 PyObject
*resultobj
;
8091 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8092 wxWindow
*arg2
= (wxWindow
*) 0 ;
8093 int arg3
= (int) -1 ;
8094 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8095 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8096 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8097 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8098 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8099 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8100 long arg7
= (long) 0 ;
8101 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8102 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8103 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
8104 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8106 bool temp4
= False
;
8109 bool temp9
= False
;
8110 PyObject
* obj0
= 0 ;
8111 PyObject
* obj1
= 0 ;
8112 PyObject
* obj2
= 0 ;
8113 PyObject
* obj3
= 0 ;
8114 PyObject
* obj4
= 0 ;
8115 PyObject
* obj5
= 0 ;
8116 PyObject
* obj6
= 0 ;
8117 PyObject
* obj7
= 0 ;
8118 PyObject
* obj8
= 0 ;
8120 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8126 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8129 arg3
= (int) SWIG_AsInt(obj2
);
8130 if (PyErr_Occurred()) SWIG_fail
;
8134 arg4
= wxString_in_helper(obj3
);
8135 if (arg4
== NULL
) SWIG_fail
;
8142 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8148 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8152 arg7
= (long) SWIG_AsLong(obj6
);
8153 if (PyErr_Occurred()) SWIG_fail
;
8156 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
8157 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8160 PyErr_SetString(PyExc_TypeError
,"null reference");
8166 arg9
= wxString_in_helper(obj8
);
8167 if (arg9
== NULL
) SWIG_fail
;
8172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8173 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8175 wxPyEndAllowThreads(__tstate
);
8176 if (PyErr_Occurred()) SWIG_fail
;
8179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8203 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8204 PyObject
*resultobj
;
8205 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8207 PyObject
* obj0
= 0 ;
8209 (char *) "self", NULL
8212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
8213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8217 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
8219 wxPyEndAllowThreads(__tstate
);
8220 if (PyErr_Occurred()) SWIG_fail
;
8224 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8226 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8235 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8236 PyObject
*resultobj
;
8237 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8238 wxString
*arg2
= 0 ;
8239 bool temp2
= False
;
8240 PyObject
* obj0
= 0 ;
8241 PyObject
* obj1
= 0 ;
8243 (char *) "self",(char *) "value", NULL
8246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
8247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8250 arg2
= wxString_in_helper(obj1
);
8251 if (arg2
== NULL
) SWIG_fail
;
8255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8256 (arg1
)->SetValue((wxString
const &)*arg2
);
8258 wxPyEndAllowThreads(__tstate
);
8259 if (PyErr_Occurred()) SWIG_fail
;
8261 Py_INCREF(Py_None
); resultobj
= Py_None
;
8276 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8277 PyObject
*resultobj
;
8278 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8282 PyObject
* obj0
= 0 ;
8283 PyObject
* obj1
= 0 ;
8284 PyObject
* obj2
= 0 ;
8286 (char *) "self",(char *) "from",(char *) "to", NULL
8289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8292 arg2
= (long) SWIG_AsLong(obj1
);
8293 if (PyErr_Occurred()) SWIG_fail
;
8294 arg3
= (long) SWIG_AsLong(obj2
);
8295 if (PyErr_Occurred()) SWIG_fail
;
8297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8298 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
8300 wxPyEndAllowThreads(__tstate
);
8301 if (PyErr_Occurred()) SWIG_fail
;
8305 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8307 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8316 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8317 PyObject
*resultobj
;
8318 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8321 PyObject
* obj0
= 0 ;
8322 PyObject
* obj1
= 0 ;
8324 (char *) "self",(char *) "lineNo", NULL
8327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8330 arg2
= (long) SWIG_AsLong(obj1
);
8331 if (PyErr_Occurred()) SWIG_fail
;
8333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8334 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
8336 wxPyEndAllowThreads(__tstate
);
8337 if (PyErr_Occurred()) SWIG_fail
;
8339 resultobj
= SWIG_FromInt((int)result
);
8346 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8347 PyObject
*resultobj
;
8348 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8351 PyObject
* obj0
= 0 ;
8352 PyObject
* obj1
= 0 ;
8354 (char *) "self",(char *) "lineNo", NULL
8357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
8358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8360 arg2
= (long) SWIG_AsLong(obj1
);
8361 if (PyErr_Occurred()) SWIG_fail
;
8363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8364 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
8366 wxPyEndAllowThreads(__tstate
);
8367 if (PyErr_Occurred()) SWIG_fail
;
8371 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8373 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8382 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8383 PyObject
*resultobj
;
8384 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8386 PyObject
* obj0
= 0 ;
8388 (char *) "self", NULL
8391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
8392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8396 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
8398 wxPyEndAllowThreads(__tstate
);
8399 if (PyErr_Occurred()) SWIG_fail
;
8401 resultobj
= SWIG_FromInt((int)result
);
8408 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8409 PyObject
*resultobj
;
8410 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8412 PyObject
* obj0
= 0 ;
8414 (char *) "self", NULL
8417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
8418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8422 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
8424 wxPyEndAllowThreads(__tstate
);
8425 if (PyErr_Occurred()) SWIG_fail
;
8428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8436 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8437 PyObject
*resultobj
;
8438 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8440 PyObject
* obj0
= 0 ;
8442 (char *) "self", NULL
8445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
8446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8450 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
8452 wxPyEndAllowThreads(__tstate
);
8453 if (PyErr_Occurred()) SWIG_fail
;
8456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8464 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8465 PyObject
*resultobj
;
8466 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8468 PyObject
* obj0
= 0 ;
8470 (char *) "self", NULL
8473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
8474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8478 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
8480 wxPyEndAllowThreads(__tstate
);
8481 if (PyErr_Occurred()) SWIG_fail
;
8484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8492 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8493 PyObject
*resultobj
;
8494 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8496 PyObject
* obj0
= 0 ;
8498 (char *) "self", NULL
8501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
8502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8506 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
8508 wxPyEndAllowThreads(__tstate
);
8509 if (PyErr_Occurred()) SWIG_fail
;
8512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8520 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8521 PyObject
*resultobj
;
8522 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8523 long *arg2
= (long *) 0 ;
8524 long *arg3
= (long *) 0 ;
8527 PyObject
* obj0
= 0 ;
8529 (char *) "self", NULL
8534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
8535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8539 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
8541 wxPyEndAllowThreads(__tstate
);
8542 if (PyErr_Occurred()) SWIG_fail
;
8544 Py_INCREF(Py_None
); resultobj
= Py_None
;
8546 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8547 resultobj
= t_output_helper(resultobj
,o
);
8550 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8551 resultobj
= t_output_helper(resultobj
,o
);
8559 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8560 PyObject
*resultobj
;
8561 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8563 PyObject
* obj0
= 0 ;
8565 (char *) "self", NULL
8568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
8569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8573 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
8575 wxPyEndAllowThreads(__tstate
);
8576 if (PyErr_Occurred()) SWIG_fail
;
8580 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8582 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8591 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8592 PyObject
*resultobj
;
8593 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8594 PyObject
* obj0
= 0 ;
8596 (char *) "self", NULL
8599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
8600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8606 wxPyEndAllowThreads(__tstate
);
8607 if (PyErr_Occurred()) SWIG_fail
;
8609 Py_INCREF(Py_None
); resultobj
= Py_None
;
8616 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8617 PyObject
*resultobj
;
8618 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8621 wxString
*arg4
= 0 ;
8622 bool temp4
= False
;
8623 PyObject
* obj0
= 0 ;
8624 PyObject
* obj1
= 0 ;
8625 PyObject
* obj2
= 0 ;
8626 PyObject
* obj3
= 0 ;
8628 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8634 arg2
= (long) SWIG_AsLong(obj1
);
8635 if (PyErr_Occurred()) SWIG_fail
;
8636 arg3
= (long) SWIG_AsLong(obj2
);
8637 if (PyErr_Occurred()) SWIG_fail
;
8639 arg4
= wxString_in_helper(obj3
);
8640 if (arg4
== NULL
) SWIG_fail
;
8644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8645 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
8647 wxPyEndAllowThreads(__tstate
);
8648 if (PyErr_Occurred()) SWIG_fail
;
8650 Py_INCREF(Py_None
); resultobj
= Py_None
;
8665 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8666 PyObject
*resultobj
;
8667 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8670 PyObject
* obj0
= 0 ;
8671 PyObject
* obj1
= 0 ;
8672 PyObject
* obj2
= 0 ;
8674 (char *) "self",(char *) "from",(char *) "to", NULL
8677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8680 arg2
= (long) SWIG_AsLong(obj1
);
8681 if (PyErr_Occurred()) SWIG_fail
;
8682 arg3
= (long) SWIG_AsLong(obj2
);
8683 if (PyErr_Occurred()) SWIG_fail
;
8685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8686 (arg1
)->Remove(arg2
,arg3
);
8688 wxPyEndAllowThreads(__tstate
);
8689 if (PyErr_Occurred()) SWIG_fail
;
8691 Py_INCREF(Py_None
); resultobj
= Py_None
;
8698 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8699 PyObject
*resultobj
;
8700 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8701 wxString
*arg2
= 0 ;
8703 bool temp2
= False
;
8704 PyObject
* obj0
= 0 ;
8705 PyObject
* obj1
= 0 ;
8707 (char *) "self",(char *) "file", NULL
8710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8714 arg2
= wxString_in_helper(obj1
);
8715 if (arg2
== NULL
) SWIG_fail
;
8719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8720 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
8722 wxPyEndAllowThreads(__tstate
);
8723 if (PyErr_Occurred()) SWIG_fail
;
8726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8742 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8743 PyObject
*resultobj
;
8744 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8745 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8746 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8748 bool temp2
= False
;
8749 PyObject
* obj0
= 0 ;
8750 PyObject
* obj1
= 0 ;
8752 (char *) "self",(char *) "file", NULL
8755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8760 arg2
= wxString_in_helper(obj1
);
8761 if (arg2
== NULL
) SWIG_fail
;
8766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8767 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8769 wxPyEndAllowThreads(__tstate
);
8770 if (PyErr_Occurred()) SWIG_fail
;
8773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8789 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8790 PyObject
*resultobj
;
8791 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8792 PyObject
* obj0
= 0 ;
8794 (char *) "self", NULL
8797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8802 (arg1
)->MarkDirty();
8804 wxPyEndAllowThreads(__tstate
);
8805 if (PyErr_Occurred()) SWIG_fail
;
8807 Py_INCREF(Py_None
); resultobj
= Py_None
;
8814 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8815 PyObject
*resultobj
;
8816 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8817 PyObject
* obj0
= 0 ;
8819 (char *) "self", NULL
8822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8827 (arg1
)->DiscardEdits();
8829 wxPyEndAllowThreads(__tstate
);
8830 if (PyErr_Occurred()) SWIG_fail
;
8832 Py_INCREF(Py_None
); resultobj
= Py_None
;
8839 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8840 PyObject
*resultobj
;
8841 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8842 unsigned long arg2
;
8843 PyObject
* obj0
= 0 ;
8844 PyObject
* obj1
= 0 ;
8846 (char *) "self",(char *) "len", NULL
8849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8852 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
8853 if (PyErr_Occurred()) SWIG_fail
;
8855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8856 (arg1
)->SetMaxLength(arg2
);
8858 wxPyEndAllowThreads(__tstate
);
8859 if (PyErr_Occurred()) SWIG_fail
;
8861 Py_INCREF(Py_None
); resultobj
= Py_None
;
8868 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8869 PyObject
*resultobj
;
8870 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8871 wxString
*arg2
= 0 ;
8872 bool temp2
= False
;
8873 PyObject
* obj0
= 0 ;
8874 PyObject
* obj1
= 0 ;
8876 (char *) "self",(char *) "text", NULL
8879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8883 arg2
= wxString_in_helper(obj1
);
8884 if (arg2
== NULL
) SWIG_fail
;
8888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8889 (arg1
)->WriteText((wxString
const &)*arg2
);
8891 wxPyEndAllowThreads(__tstate
);
8892 if (PyErr_Occurred()) SWIG_fail
;
8894 Py_INCREF(Py_None
); resultobj
= Py_None
;
8909 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8910 PyObject
*resultobj
;
8911 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8912 wxString
*arg2
= 0 ;
8913 bool temp2
= False
;
8914 PyObject
* obj0
= 0 ;
8915 PyObject
* obj1
= 0 ;
8917 (char *) "self",(char *) "text", NULL
8920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
8921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8924 arg2
= wxString_in_helper(obj1
);
8925 if (arg2
== NULL
) SWIG_fail
;
8929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8930 (arg1
)->AppendText((wxString
const &)*arg2
);
8932 wxPyEndAllowThreads(__tstate
);
8933 if (PyErr_Occurred()) SWIG_fail
;
8935 Py_INCREF(Py_None
); resultobj
= Py_None
;
8950 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8951 PyObject
*resultobj
;
8952 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8953 wxKeyEvent
*arg2
= 0 ;
8955 PyObject
* obj0
= 0 ;
8956 PyObject
* obj1
= 0 ;
8958 (char *) "self",(char *) "event", NULL
8961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
8962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8964 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
8965 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8968 PyErr_SetString(PyExc_TypeError
,"null reference");
8972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8973 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
8975 wxPyEndAllowThreads(__tstate
);
8976 if (PyErr_Occurred()) SWIG_fail
;
8979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8987 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8988 PyObject
*resultobj
;
8989 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8992 wxTextAttr
*arg4
= 0 ;
8994 PyObject
* obj0
= 0 ;
8995 PyObject
* obj1
= 0 ;
8996 PyObject
* obj2
= 0 ;
8997 PyObject
* obj3
= 0 ;
8999 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
9002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9005 arg2
= (long) SWIG_AsLong(obj1
);
9006 if (PyErr_Occurred()) SWIG_fail
;
9007 arg3
= (long) SWIG_AsLong(obj2
);
9008 if (PyErr_Occurred()) SWIG_fail
;
9009 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
,
9010 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9013 PyErr_SetString(PyExc_TypeError
,"null reference");
9017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9018 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
9020 wxPyEndAllowThreads(__tstate
);
9021 if (PyErr_Occurred()) SWIG_fail
;
9024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9032 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9033 PyObject
*resultobj
;
9034 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9036 wxTextAttr
*arg3
= 0 ;
9038 PyObject
* obj0
= 0 ;
9039 PyObject
* obj1
= 0 ;
9040 PyObject
* obj2
= 0 ;
9042 (char *) "self",(char *) "position",(char *) "style", NULL
9045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9048 arg2
= (long) SWIG_AsLong(obj1
);
9049 if (PyErr_Occurred()) SWIG_fail
;
9050 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
,
9051 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9054 PyErr_SetString(PyExc_TypeError
,"null reference");
9058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9059 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
9061 wxPyEndAllowThreads(__tstate
);
9062 if (PyErr_Occurred()) SWIG_fail
;
9065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9073 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9074 PyObject
*resultobj
;
9075 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9076 wxTextAttr
*arg2
= 0 ;
9078 PyObject
* obj0
= 0 ;
9079 PyObject
* obj1
= 0 ;
9081 (char *) "self",(char *) "style", NULL
9084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
9085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9087 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
9088 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9091 PyErr_SetString(PyExc_TypeError
,"null reference");
9095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9096 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
9098 wxPyEndAllowThreads(__tstate
);
9099 if (PyErr_Occurred()) SWIG_fail
;
9102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9110 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9111 PyObject
*resultobj
;
9112 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9114 PyObject
* obj0
= 0 ;
9116 (char *) "self", NULL
9119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
9120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9125 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
9126 result
= (wxTextAttr
*) &_result_ref
;
9129 wxPyEndAllowThreads(__tstate
);
9130 if (PyErr_Occurred()) SWIG_fail
;
9132 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
9139 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9140 PyObject
*resultobj
;
9141 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9145 PyObject
* obj0
= 0 ;
9146 PyObject
* obj1
= 0 ;
9147 PyObject
* obj2
= 0 ;
9149 (char *) "self",(char *) "x",(char *) "y", NULL
9152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9155 arg2
= (long) SWIG_AsLong(obj1
);
9156 if (PyErr_Occurred()) SWIG_fail
;
9157 arg3
= (long) SWIG_AsLong(obj2
);
9158 if (PyErr_Occurred()) SWIG_fail
;
9160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9161 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
9163 wxPyEndAllowThreads(__tstate
);
9164 if (PyErr_Occurred()) SWIG_fail
;
9166 resultobj
= SWIG_FromLong((long)result
);
9173 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9174 PyObject
*resultobj
;
9175 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9177 long *arg3
= (long *) 0 ;
9178 long *arg4
= (long *) 0 ;
9181 PyObject
* obj0
= 0 ;
9182 PyObject
* obj1
= 0 ;
9184 (char *) "self",(char *) "pos", NULL
9189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
9190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9192 arg2
= (long) SWIG_AsLong(obj1
);
9193 if (PyErr_Occurred()) SWIG_fail
;
9195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9196 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
9198 wxPyEndAllowThreads(__tstate
);
9199 if (PyErr_Occurred()) SWIG_fail
;
9201 Py_INCREF(Py_None
); resultobj
= Py_None
;
9203 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9204 resultobj
= t_output_helper(resultobj
,o
);
9207 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9208 resultobj
= t_output_helper(resultobj
,o
);
9216 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9217 PyObject
*resultobj
;
9218 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9220 PyObject
* obj0
= 0 ;
9221 PyObject
* obj1
= 0 ;
9223 (char *) "self",(char *) "pos", NULL
9226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9229 arg2
= (long) SWIG_AsLong(obj1
);
9230 if (PyErr_Occurred()) SWIG_fail
;
9232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9233 (arg1
)->ShowPosition(arg2
);
9235 wxPyEndAllowThreads(__tstate
);
9236 if (PyErr_Occurred()) SWIG_fail
;
9238 Py_INCREF(Py_None
); resultobj
= Py_None
;
9245 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9246 PyObject
*resultobj
;
9247 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9249 long *arg3
= (long *) 0 ;
9250 long *arg4
= (long *) 0 ;
9255 PyObject
* obj0
= 0 ;
9256 PyObject
* obj1
= 0 ;
9258 (char *) "self",(char *) "pt", NULL
9263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9268 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9272 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
9274 wxPyEndAllowThreads(__tstate
);
9275 if (PyErr_Occurred()) SWIG_fail
;
9277 resultobj
= SWIG_FromInt((int)result
);
9279 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9280 resultobj
= t_output_helper(resultobj
,o
);
9283 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9284 resultobj
= t_output_helper(resultobj
,o
);
9292 static PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9293 PyObject
*resultobj
;
9294 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9296 long *arg3
= (long *) 0 ;
9300 PyObject
* obj0
= 0 ;
9301 PyObject
* obj1
= 0 ;
9303 (char *) "self",(char *) "pt", NULL
9307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) goto fail
;
9308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9312 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9316 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
9318 wxPyEndAllowThreads(__tstate
);
9319 if (PyErr_Occurred()) SWIG_fail
;
9321 resultobj
= SWIG_FromInt((int)result
);
9323 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9324 resultobj
= t_output_helper(resultobj
,o
);
9332 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9333 PyObject
*resultobj
;
9334 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9335 PyObject
* obj0
= 0 ;
9337 (char *) "self", NULL
9340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
9341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9347 wxPyEndAllowThreads(__tstate
);
9348 if (PyErr_Occurred()) SWIG_fail
;
9350 Py_INCREF(Py_None
); resultobj
= Py_None
;
9357 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9358 PyObject
*resultobj
;
9359 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9360 PyObject
* obj0
= 0 ;
9362 (char *) "self", NULL
9365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
9366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9372 wxPyEndAllowThreads(__tstate
);
9373 if (PyErr_Occurred()) SWIG_fail
;
9375 Py_INCREF(Py_None
); resultobj
= Py_None
;
9382 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9383 PyObject
*resultobj
;
9384 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9385 PyObject
* obj0
= 0 ;
9387 (char *) "self", NULL
9390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
9391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9397 wxPyEndAllowThreads(__tstate
);
9398 if (PyErr_Occurred()) SWIG_fail
;
9400 Py_INCREF(Py_None
); resultobj
= Py_None
;
9407 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9408 PyObject
*resultobj
;
9409 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9411 PyObject
* obj0
= 0 ;
9413 (char *) "self", NULL
9416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
9417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9421 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
9423 wxPyEndAllowThreads(__tstate
);
9424 if (PyErr_Occurred()) SWIG_fail
;
9427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9435 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9436 PyObject
*resultobj
;
9437 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9439 PyObject
* obj0
= 0 ;
9441 (char *) "self", NULL
9444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
9445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9449 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
9451 wxPyEndAllowThreads(__tstate
);
9452 if (PyErr_Occurred()) SWIG_fail
;
9455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9463 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9464 PyObject
*resultobj
;
9465 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9467 PyObject
* obj0
= 0 ;
9469 (char *) "self", NULL
9472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
9473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9477 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
9479 wxPyEndAllowThreads(__tstate
);
9480 if (PyErr_Occurred()) SWIG_fail
;
9483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9491 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9492 PyObject
*resultobj
;
9493 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9494 PyObject
* obj0
= 0 ;
9496 (char *) "self", NULL
9499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
9500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9506 wxPyEndAllowThreads(__tstate
);
9507 if (PyErr_Occurred()) SWIG_fail
;
9509 Py_INCREF(Py_None
); resultobj
= Py_None
;
9516 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9517 PyObject
*resultobj
;
9518 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9519 PyObject
* obj0
= 0 ;
9521 (char *) "self", NULL
9524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
9525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9531 wxPyEndAllowThreads(__tstate
);
9532 if (PyErr_Occurred()) SWIG_fail
;
9534 Py_INCREF(Py_None
); resultobj
= Py_None
;
9541 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9542 PyObject
*resultobj
;
9543 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9545 PyObject
* obj0
= 0 ;
9547 (char *) "self", NULL
9550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
9551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9555 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
9557 wxPyEndAllowThreads(__tstate
);
9558 if (PyErr_Occurred()) SWIG_fail
;
9561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9569 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9570 PyObject
*resultobj
;
9571 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9573 PyObject
* obj0
= 0 ;
9575 (char *) "self", NULL
9578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
9579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9583 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
9585 wxPyEndAllowThreads(__tstate
);
9586 if (PyErr_Occurred()) SWIG_fail
;
9589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9597 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9598 PyObject
*resultobj
;
9599 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9601 PyObject
* obj0
= 0 ;
9602 PyObject
* obj1
= 0 ;
9604 (char *) "self",(char *) "pos", NULL
9607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
9608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9610 arg2
= (long) SWIG_AsLong(obj1
);
9611 if (PyErr_Occurred()) SWIG_fail
;
9613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9614 (arg1
)->SetInsertionPoint(arg2
);
9616 wxPyEndAllowThreads(__tstate
);
9617 if (PyErr_Occurred()) SWIG_fail
;
9619 Py_INCREF(Py_None
); resultobj
= Py_None
;
9626 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9627 PyObject
*resultobj
;
9628 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9629 PyObject
* obj0
= 0 ;
9631 (char *) "self", NULL
9634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
9635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9639 (arg1
)->SetInsertionPointEnd();
9641 wxPyEndAllowThreads(__tstate
);
9642 if (PyErr_Occurred()) SWIG_fail
;
9644 Py_INCREF(Py_None
); resultobj
= Py_None
;
9651 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9652 PyObject
*resultobj
;
9653 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9655 PyObject
* obj0
= 0 ;
9657 (char *) "self", NULL
9660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
9661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9665 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
9667 wxPyEndAllowThreads(__tstate
);
9668 if (PyErr_Occurred()) SWIG_fail
;
9670 resultobj
= SWIG_FromLong((long)result
);
9677 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9678 PyObject
*resultobj
;
9679 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9681 PyObject
* obj0
= 0 ;
9683 (char *) "self", NULL
9686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
9687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9691 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
9693 wxPyEndAllowThreads(__tstate
);
9694 if (PyErr_Occurred()) SWIG_fail
;
9696 resultobj
= SWIG_FromLong((long)result
);
9703 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9704 PyObject
*resultobj
;
9705 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9708 PyObject
* obj0
= 0 ;
9709 PyObject
* obj1
= 0 ;
9710 PyObject
* obj2
= 0 ;
9712 (char *) "self",(char *) "from",(char *) "to", NULL
9715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9718 arg2
= (long) SWIG_AsLong(obj1
);
9719 if (PyErr_Occurred()) SWIG_fail
;
9720 arg3
= (long) SWIG_AsLong(obj2
);
9721 if (PyErr_Occurred()) SWIG_fail
;
9723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9724 (arg1
)->SetSelection(arg2
,arg3
);
9726 wxPyEndAllowThreads(__tstate
);
9727 if (PyErr_Occurred()) SWIG_fail
;
9729 Py_INCREF(Py_None
); resultobj
= Py_None
;
9736 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9737 PyObject
*resultobj
;
9738 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9739 PyObject
* obj0
= 0 ;
9741 (char *) "self", NULL
9744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
9745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9749 (arg1
)->SelectAll();
9751 wxPyEndAllowThreads(__tstate
);
9752 if (PyErr_Occurred()) SWIG_fail
;
9754 Py_INCREF(Py_None
); resultobj
= Py_None
;
9761 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9762 PyObject
*resultobj
;
9763 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9765 PyObject
* obj0
= 0 ;
9766 PyObject
* obj1
= 0 ;
9768 (char *) "self",(char *) "editable", NULL
9771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
9772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9774 arg2
= (bool) SWIG_AsBool(obj1
);
9775 if (PyErr_Occurred()) SWIG_fail
;
9777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9778 (arg1
)->SetEditable(arg2
);
9780 wxPyEndAllowThreads(__tstate
);
9781 if (PyErr_Occurred()) SWIG_fail
;
9783 Py_INCREF(Py_None
); resultobj
= Py_None
;
9790 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9791 PyObject
*resultobj
;
9792 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9793 wxString
*arg2
= 0 ;
9794 bool temp2
= False
;
9795 PyObject
* obj0
= 0 ;
9796 PyObject
* obj1
= 0 ;
9798 (char *) "self",(char *) "text", NULL
9801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9805 arg2
= wxString_in_helper(obj1
);
9806 if (arg2
== NULL
) SWIG_fail
;
9810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9811 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
9813 wxPyEndAllowThreads(__tstate
);
9814 if (PyErr_Occurred()) SWIG_fail
;
9816 Py_INCREF(Py_None
); resultobj
= Py_None
;
9831 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9832 PyObject
*resultobj
;
9833 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9837 PyObject
* obj0
= 0 ;
9838 PyObject
* obj1
= 0 ;
9839 PyObject
* obj2
= 0 ;
9841 (char *) "self",(char *) "from",(char *) "to", NULL
9844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9847 arg2
= (long) SWIG_AsLong(obj1
);
9848 if (PyErr_Occurred()) SWIG_fail
;
9849 arg3
= (long) SWIG_AsLong(obj2
);
9850 if (PyErr_Occurred()) SWIG_fail
;
9852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9853 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9855 wxPyEndAllowThreads(__tstate
);
9856 if (PyErr_Occurred()) SWIG_fail
;
9860 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9862 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9871 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9872 PyObject
*resultobj
;
9873 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
9874 wxVisualAttributes result
;
9875 PyObject
* obj0
= 0 ;
9877 (char *) "variant", NULL
9880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
9882 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
9883 if (PyErr_Occurred()) SWIG_fail
;
9886 if (!wxPyCheckForApp()) SWIG_fail
;
9887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9888 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
9890 wxPyEndAllowThreads(__tstate
);
9891 if (PyErr_Occurred()) SWIG_fail
;
9894 wxVisualAttributes
* resultptr
;
9895 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
9896 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
9904 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9906 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9907 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
9909 return Py_BuildValue((char *)"");
9911 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9912 PyObject
*resultobj
;
9914 wxMouseEvent
*arg2
= 0 ;
9917 wxTextUrlEvent
*result
;
9918 PyObject
* obj0
= 0 ;
9919 PyObject
* obj1
= 0 ;
9920 PyObject
* obj2
= 0 ;
9921 PyObject
* obj3
= 0 ;
9923 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9927 arg1
= (int) SWIG_AsInt(obj0
);
9928 if (PyErr_Occurred()) SWIG_fail
;
9929 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
9930 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9933 PyErr_SetString(PyExc_TypeError
,"null reference");
9936 arg3
= (long) SWIG_AsLong(obj2
);
9937 if (PyErr_Occurred()) SWIG_fail
;
9938 arg4
= (long) SWIG_AsLong(obj3
);
9939 if (PyErr_Occurred()) SWIG_fail
;
9941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9942 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
9944 wxPyEndAllowThreads(__tstate
);
9945 if (PyErr_Occurred()) SWIG_fail
;
9947 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
9954 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9955 PyObject
*resultobj
;
9956 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9957 wxMouseEvent
*result
;
9958 PyObject
* obj0
= 0 ;
9960 (char *) "self", NULL
9963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
9964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9969 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
9970 result
= (wxMouseEvent
*) &_result_ref
;
9973 wxPyEndAllowThreads(__tstate
);
9974 if (PyErr_Occurred()) SWIG_fail
;
9976 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
9983 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9984 PyObject
*resultobj
;
9985 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9987 PyObject
* obj0
= 0 ;
9989 (char *) "self", NULL
9992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
9993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9997 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
9999 wxPyEndAllowThreads(__tstate
);
10000 if (PyErr_Occurred()) SWIG_fail
;
10002 resultobj
= SWIG_FromLong((long)result
);
10009 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10010 PyObject
*resultobj
;
10011 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
10013 PyObject
* obj0
= 0 ;
10014 char *kwnames
[] = {
10015 (char *) "self", NULL
10018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
10019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
10020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10023 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
10025 wxPyEndAllowThreads(__tstate
);
10026 if (PyErr_Occurred()) SWIG_fail
;
10028 resultobj
= SWIG_FromLong((long)result
);
10035 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10037 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10038 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
10040 return Py_BuildValue((char *)"");
10042 static int _wrap_ScrollBarNameStr_set(PyObject
*_val
) {
10043 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
10048 static PyObject
*_wrap_ScrollBarNameStr_get() {
10053 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
10055 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
10062 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10063 PyObject
*resultobj
;
10064 wxWindow
*arg1
= (wxWindow
*) 0 ;
10065 int arg2
= (int) -1 ;
10066 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10067 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10068 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10069 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10070 long arg5
= (long) wxSB_HORIZONTAL
;
10071 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
10072 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
10073 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
10074 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10075 wxScrollBar
*result
;
10078 bool temp7
= False
;
10079 PyObject
* obj0
= 0 ;
10080 PyObject
* obj1
= 0 ;
10081 PyObject
* obj2
= 0 ;
10082 PyObject
* obj3
= 0 ;
10083 PyObject
* obj4
= 0 ;
10084 PyObject
* obj5
= 0 ;
10085 PyObject
* obj6
= 0 ;
10086 char *kwnames
[] = {
10087 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10094 arg2
= (int) SWIG_AsInt(obj1
);
10095 if (PyErr_Occurred()) SWIG_fail
;
10100 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10106 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10110 arg5
= (long) SWIG_AsLong(obj4
);
10111 if (PyErr_Occurred()) SWIG_fail
;
10114 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
10115 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10117 if (arg6
== NULL
) {
10118 PyErr_SetString(PyExc_TypeError
,"null reference");
10124 arg7
= wxString_in_helper(obj6
);
10125 if (arg7
== NULL
) SWIG_fail
;
10130 if (!wxPyCheckForApp()) SWIG_fail
;
10131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10132 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
10134 wxPyEndAllowThreads(__tstate
);
10135 if (PyErr_Occurred()) SWIG_fail
;
10137 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10152 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10153 PyObject
*resultobj
;
10154 wxScrollBar
*result
;
10155 char *kwnames
[] = {
10159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
10161 if (!wxPyCheckForApp()) SWIG_fail
;
10162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10163 result
= (wxScrollBar
*)new wxScrollBar();
10165 wxPyEndAllowThreads(__tstate
);
10166 if (PyErr_Occurred()) SWIG_fail
;
10168 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10175 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10176 PyObject
*resultobj
;
10177 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10178 wxWindow
*arg2
= (wxWindow
*) 0 ;
10179 int arg3
= (int) -1 ;
10180 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10181 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10182 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10183 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10184 long arg6
= (long) wxSB_HORIZONTAL
;
10185 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10186 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10187 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
10188 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10192 bool temp8
= False
;
10193 PyObject
* obj0
= 0 ;
10194 PyObject
* obj1
= 0 ;
10195 PyObject
* obj2
= 0 ;
10196 PyObject
* obj3
= 0 ;
10197 PyObject
* obj4
= 0 ;
10198 PyObject
* obj5
= 0 ;
10199 PyObject
* obj6
= 0 ;
10200 PyObject
* obj7
= 0 ;
10201 char *kwnames
[] = {
10202 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
10206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10208 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10211 arg3
= (int) SWIG_AsInt(obj2
);
10212 if (PyErr_Occurred()) SWIG_fail
;
10217 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10223 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10227 arg6
= (long) SWIG_AsLong(obj5
);
10228 if (PyErr_Occurred()) SWIG_fail
;
10231 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
10232 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10234 if (arg7
== NULL
) {
10235 PyErr_SetString(PyExc_TypeError
,"null reference");
10241 arg8
= wxString_in_helper(obj7
);
10242 if (arg8
== NULL
) SWIG_fail
;
10247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10248 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10250 wxPyEndAllowThreads(__tstate
);
10251 if (PyErr_Occurred()) SWIG_fail
;
10254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10270 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10271 PyObject
*resultobj
;
10272 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10274 PyObject
* obj0
= 0 ;
10275 char *kwnames
[] = {
10276 (char *) "self", NULL
10279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
10280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10284 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
10286 wxPyEndAllowThreads(__tstate
);
10287 if (PyErr_Occurred()) SWIG_fail
;
10289 resultobj
= SWIG_FromInt((int)result
);
10296 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10297 PyObject
*resultobj
;
10298 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10300 PyObject
* obj0
= 0 ;
10301 char *kwnames
[] = {
10302 (char *) "self", NULL
10305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
10306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10310 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
10312 wxPyEndAllowThreads(__tstate
);
10313 if (PyErr_Occurred()) SWIG_fail
;
10315 resultobj
= SWIG_FromInt((int)result
);
10322 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10323 PyObject
*resultobj
;
10324 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10326 PyObject
* obj0
= 0 ;
10327 char *kwnames
[] = {
10328 (char *) "self", NULL
10331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
10332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10336 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
10338 wxPyEndAllowThreads(__tstate
);
10339 if (PyErr_Occurred()) SWIG_fail
;
10341 resultobj
= SWIG_FromInt((int)result
);
10348 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10349 PyObject
*resultobj
;
10350 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10352 PyObject
* obj0
= 0 ;
10353 char *kwnames
[] = {
10354 (char *) "self", NULL
10357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
10358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10362 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
10364 wxPyEndAllowThreads(__tstate
);
10365 if (PyErr_Occurred()) SWIG_fail
;
10367 resultobj
= SWIG_FromInt((int)result
);
10374 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10375 PyObject
*resultobj
;
10376 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10378 PyObject
* obj0
= 0 ;
10379 char *kwnames
[] = {
10380 (char *) "self", NULL
10383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
10384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10388 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
10390 wxPyEndAllowThreads(__tstate
);
10391 if (PyErr_Occurred()) SWIG_fail
;
10394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10402 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10403 PyObject
*resultobj
;
10404 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10406 PyObject
* obj0
= 0 ;
10407 PyObject
* obj1
= 0 ;
10408 char *kwnames
[] = {
10409 (char *) "self",(char *) "viewStart", NULL
10412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10415 arg2
= (int) SWIG_AsInt(obj1
);
10416 if (PyErr_Occurred()) SWIG_fail
;
10418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10419 (arg1
)->SetThumbPosition(arg2
);
10421 wxPyEndAllowThreads(__tstate
);
10422 if (PyErr_Occurred()) SWIG_fail
;
10424 Py_INCREF(Py_None
); resultobj
= Py_None
;
10431 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10432 PyObject
*resultobj
;
10433 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10438 bool arg6
= (bool) True
;
10439 PyObject
* obj0
= 0 ;
10440 PyObject
* obj1
= 0 ;
10441 PyObject
* obj2
= 0 ;
10442 PyObject
* obj3
= 0 ;
10443 PyObject
* obj4
= 0 ;
10444 PyObject
* obj5
= 0 ;
10445 char *kwnames
[] = {
10446 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
10449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10452 arg2
= (int) SWIG_AsInt(obj1
);
10453 if (PyErr_Occurred()) SWIG_fail
;
10454 arg3
= (int) SWIG_AsInt(obj2
);
10455 if (PyErr_Occurred()) SWIG_fail
;
10456 arg4
= (int) SWIG_AsInt(obj3
);
10457 if (PyErr_Occurred()) SWIG_fail
;
10458 arg5
= (int) SWIG_AsInt(obj4
);
10459 if (PyErr_Occurred()) SWIG_fail
;
10461 arg6
= (bool) SWIG_AsBool(obj5
);
10462 if (PyErr_Occurred()) SWIG_fail
;
10465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10466 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
10468 wxPyEndAllowThreads(__tstate
);
10469 if (PyErr_Occurred()) SWIG_fail
;
10471 Py_INCREF(Py_None
); resultobj
= Py_None
;
10478 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10479 PyObject
*resultobj
;
10480 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10481 wxVisualAttributes result
;
10482 PyObject
* obj0
= 0 ;
10483 char *kwnames
[] = {
10484 (char *) "variant", NULL
10487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10489 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
10490 if (PyErr_Occurred()) SWIG_fail
;
10493 if (!wxPyCheckForApp()) SWIG_fail
;
10494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10495 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10497 wxPyEndAllowThreads(__tstate
);
10498 if (PyErr_Occurred()) SWIG_fail
;
10501 wxVisualAttributes
* resultptr
;
10502 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10503 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10511 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
10513 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10514 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
10516 return Py_BuildValue((char *)"");
10518 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*_val
) {
10519 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
10524 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
10529 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10531 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10538 static int _wrap_SpinCtrlNameStr_set(PyObject
*_val
) {
10539 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
10544 static PyObject
*_wrap_SpinCtrlNameStr_get() {
10549 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10551 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10558 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10559 PyObject
*resultobj
;
10560 wxWindow
*arg1
= (wxWindow
*) 0 ;
10561 int arg2
= (int) -1 ;
10562 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10563 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10564 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10565 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10566 long arg5
= (long) wxSP_HORIZONTAL
;
10567 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
10568 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10569 wxSpinButton
*result
;
10572 bool temp6
= False
;
10573 PyObject
* obj0
= 0 ;
10574 PyObject
* obj1
= 0 ;
10575 PyObject
* obj2
= 0 ;
10576 PyObject
* obj3
= 0 ;
10577 PyObject
* obj4
= 0 ;
10578 PyObject
* obj5
= 0 ;
10579 char *kwnames
[] = {
10580 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10587 arg2
= (int) SWIG_AsInt(obj1
);
10588 if (PyErr_Occurred()) SWIG_fail
;
10593 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10599 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10603 arg5
= (long) SWIG_AsLong(obj4
);
10604 if (PyErr_Occurred()) SWIG_fail
;
10608 arg6
= wxString_in_helper(obj5
);
10609 if (arg6
== NULL
) SWIG_fail
;
10614 if (!wxPyCheckForApp()) SWIG_fail
;
10615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10616 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10618 wxPyEndAllowThreads(__tstate
);
10619 if (PyErr_Occurred()) SWIG_fail
;
10621 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10636 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10637 PyObject
*resultobj
;
10638 wxSpinButton
*result
;
10639 char *kwnames
[] = {
10643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
10645 if (!wxPyCheckForApp()) SWIG_fail
;
10646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10647 result
= (wxSpinButton
*)new wxSpinButton();
10649 wxPyEndAllowThreads(__tstate
);
10650 if (PyErr_Occurred()) SWIG_fail
;
10652 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10659 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10660 PyObject
*resultobj
;
10661 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10662 wxWindow
*arg2
= (wxWindow
*) 0 ;
10663 int arg3
= (int) -1 ;
10664 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10665 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10666 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10667 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10668 long arg6
= (long) wxSP_HORIZONTAL
;
10669 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
10670 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10674 bool temp7
= False
;
10675 PyObject
* obj0
= 0 ;
10676 PyObject
* obj1
= 0 ;
10677 PyObject
* obj2
= 0 ;
10678 PyObject
* obj3
= 0 ;
10679 PyObject
* obj4
= 0 ;
10680 PyObject
* obj5
= 0 ;
10681 PyObject
* obj6
= 0 ;
10682 char *kwnames
[] = {
10683 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10689 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10692 arg3
= (int) SWIG_AsInt(obj2
);
10693 if (PyErr_Occurred()) SWIG_fail
;
10698 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10704 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10708 arg6
= (long) SWIG_AsLong(obj5
);
10709 if (PyErr_Occurred()) SWIG_fail
;
10713 arg7
= wxString_in_helper(obj6
);
10714 if (arg7
== NULL
) SWIG_fail
;
10719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10720 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10722 wxPyEndAllowThreads(__tstate
);
10723 if (PyErr_Occurred()) SWIG_fail
;
10726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10742 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10743 PyObject
*resultobj
;
10744 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10746 PyObject
* obj0
= 0 ;
10747 char *kwnames
[] = {
10748 (char *) "self", NULL
10751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
10752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10756 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
10758 wxPyEndAllowThreads(__tstate
);
10759 if (PyErr_Occurred()) SWIG_fail
;
10761 resultobj
= SWIG_FromInt((int)result
);
10768 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10769 PyObject
*resultobj
;
10770 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10772 PyObject
* obj0
= 0 ;
10773 char *kwnames
[] = {
10774 (char *) "self", NULL
10777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
10778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10782 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
10784 wxPyEndAllowThreads(__tstate
);
10785 if (PyErr_Occurred()) SWIG_fail
;
10787 resultobj
= SWIG_FromInt((int)result
);
10794 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10795 PyObject
*resultobj
;
10796 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10798 PyObject
* obj0
= 0 ;
10799 char *kwnames
[] = {
10800 (char *) "self", NULL
10803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
10804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10808 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
10810 wxPyEndAllowThreads(__tstate
);
10811 if (PyErr_Occurred()) SWIG_fail
;
10813 resultobj
= SWIG_FromInt((int)result
);
10820 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10821 PyObject
*resultobj
;
10822 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10824 PyObject
* obj0
= 0 ;
10825 PyObject
* obj1
= 0 ;
10826 char *kwnames
[] = {
10827 (char *) "self",(char *) "val", NULL
10830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10833 arg2
= (int) SWIG_AsInt(obj1
);
10834 if (PyErr_Occurred()) SWIG_fail
;
10836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10837 (arg1
)->SetValue(arg2
);
10839 wxPyEndAllowThreads(__tstate
);
10840 if (PyErr_Occurred()) SWIG_fail
;
10842 Py_INCREF(Py_None
); resultobj
= Py_None
;
10849 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10850 PyObject
*resultobj
;
10851 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10853 PyObject
* obj0
= 0 ;
10854 PyObject
* obj1
= 0 ;
10855 char *kwnames
[] = {
10856 (char *) "self",(char *) "minVal", NULL
10859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
10860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10862 arg2
= (int) SWIG_AsInt(obj1
);
10863 if (PyErr_Occurred()) SWIG_fail
;
10865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10866 (arg1
)->SetMin(arg2
);
10868 wxPyEndAllowThreads(__tstate
);
10869 if (PyErr_Occurred()) SWIG_fail
;
10871 Py_INCREF(Py_None
); resultobj
= Py_None
;
10878 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10879 PyObject
*resultobj
;
10880 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10882 PyObject
* obj0
= 0 ;
10883 PyObject
* obj1
= 0 ;
10884 char *kwnames
[] = {
10885 (char *) "self",(char *) "maxVal", NULL
10888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
10889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10891 arg2
= (int) SWIG_AsInt(obj1
);
10892 if (PyErr_Occurred()) SWIG_fail
;
10894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10895 (arg1
)->SetMax(arg2
);
10897 wxPyEndAllowThreads(__tstate
);
10898 if (PyErr_Occurred()) SWIG_fail
;
10900 Py_INCREF(Py_None
); resultobj
= Py_None
;
10907 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10908 PyObject
*resultobj
;
10909 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10912 PyObject
* obj0
= 0 ;
10913 PyObject
* obj1
= 0 ;
10914 PyObject
* obj2
= 0 ;
10915 char *kwnames
[] = {
10916 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10922 arg2
= (int) SWIG_AsInt(obj1
);
10923 if (PyErr_Occurred()) SWIG_fail
;
10924 arg3
= (int) SWIG_AsInt(obj2
);
10925 if (PyErr_Occurred()) SWIG_fail
;
10927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10928 (arg1
)->SetRange(arg2
,arg3
);
10930 wxPyEndAllowThreads(__tstate
);
10931 if (PyErr_Occurred()) SWIG_fail
;
10933 Py_INCREF(Py_None
); resultobj
= Py_None
;
10940 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10941 PyObject
*resultobj
;
10942 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10944 PyObject
* obj0
= 0 ;
10945 char *kwnames
[] = {
10946 (char *) "self", NULL
10949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
10950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10954 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
10956 wxPyEndAllowThreads(__tstate
);
10957 if (PyErr_Occurred()) SWIG_fail
;
10960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10968 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10969 PyObject
*resultobj
;
10970 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10971 wxVisualAttributes result
;
10972 PyObject
* obj0
= 0 ;
10973 char *kwnames
[] = {
10974 (char *) "variant", NULL
10977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10979 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
10980 if (PyErr_Occurred()) SWIG_fail
;
10983 if (!wxPyCheckForApp()) SWIG_fail
;
10984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10985 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10987 wxPyEndAllowThreads(__tstate
);
10988 if (PyErr_Occurred()) SWIG_fail
;
10991 wxVisualAttributes
* resultptr
;
10992 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10993 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11001 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
11003 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11004 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
11006 return Py_BuildValue((char *)"");
11008 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11009 PyObject
*resultobj
;
11010 wxWindow
*arg1
= (wxWindow
*) 0 ;
11011 int arg2
= (int) -1 ;
11012 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11013 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11014 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11015 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11016 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11017 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11018 long arg6
= (long) wxSP_ARROW_KEYS
;
11019 int arg7
= (int) 0 ;
11020 int arg8
= (int) 100 ;
11021 int arg9
= (int) 0 ;
11022 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
11023 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11024 wxSpinCtrl
*result
;
11025 bool temp3
= False
;
11028 bool temp10
= False
;
11029 PyObject
* obj0
= 0 ;
11030 PyObject
* obj1
= 0 ;
11031 PyObject
* obj2
= 0 ;
11032 PyObject
* obj3
= 0 ;
11033 PyObject
* obj4
= 0 ;
11034 PyObject
* obj5
= 0 ;
11035 PyObject
* obj6
= 0 ;
11036 PyObject
* obj7
= 0 ;
11037 PyObject
* obj8
= 0 ;
11038 PyObject
* obj9
= 0 ;
11039 char *kwnames
[] = {
11040 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11047 arg2
= (int) SWIG_AsInt(obj1
);
11048 if (PyErr_Occurred()) SWIG_fail
;
11052 arg3
= wxString_in_helper(obj2
);
11053 if (arg3
== NULL
) SWIG_fail
;
11060 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11066 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11070 arg6
= (long) SWIG_AsLong(obj5
);
11071 if (PyErr_Occurred()) SWIG_fail
;
11074 arg7
= (int) SWIG_AsInt(obj6
);
11075 if (PyErr_Occurred()) SWIG_fail
;
11078 arg8
= (int) SWIG_AsInt(obj7
);
11079 if (PyErr_Occurred()) SWIG_fail
;
11082 arg9
= (int) SWIG_AsInt(obj8
);
11083 if (PyErr_Occurred()) SWIG_fail
;
11087 arg10
= wxString_in_helper(obj9
);
11088 if (arg10
== NULL
) SWIG_fail
;
11093 if (!wxPyCheckForApp()) SWIG_fail
;
11094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11095 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
11097 wxPyEndAllowThreads(__tstate
);
11098 if (PyErr_Occurred()) SWIG_fail
;
11100 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11123 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11124 PyObject
*resultobj
;
11125 wxSpinCtrl
*result
;
11126 char *kwnames
[] = {
11130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
11132 if (!wxPyCheckForApp()) SWIG_fail
;
11133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11134 result
= (wxSpinCtrl
*)new wxSpinCtrl();
11136 wxPyEndAllowThreads(__tstate
);
11137 if (PyErr_Occurred()) SWIG_fail
;
11139 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11146 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11147 PyObject
*resultobj
;
11148 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11149 wxWindow
*arg2
= (wxWindow
*) 0 ;
11150 int arg3
= (int) -1 ;
11151 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11152 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11153 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11154 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11155 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11156 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11157 long arg7
= (long) wxSP_ARROW_KEYS
;
11158 int arg8
= (int) 0 ;
11159 int arg9
= (int) 100 ;
11160 int arg10
= (int) 0 ;
11161 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
11162 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11164 bool temp4
= False
;
11167 bool temp11
= False
;
11168 PyObject
* obj0
= 0 ;
11169 PyObject
* obj1
= 0 ;
11170 PyObject
* obj2
= 0 ;
11171 PyObject
* obj3
= 0 ;
11172 PyObject
* obj4
= 0 ;
11173 PyObject
* obj5
= 0 ;
11174 PyObject
* obj6
= 0 ;
11175 PyObject
* obj7
= 0 ;
11176 PyObject
* obj8
= 0 ;
11177 PyObject
* obj9
= 0 ;
11178 PyObject
* obj10
= 0 ;
11179 char *kwnames
[] = {
11180 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11186 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11189 arg3
= (int) SWIG_AsInt(obj2
);
11190 if (PyErr_Occurred()) SWIG_fail
;
11194 arg4
= wxString_in_helper(obj3
);
11195 if (arg4
== NULL
) SWIG_fail
;
11202 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11208 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11212 arg7
= (long) SWIG_AsLong(obj6
);
11213 if (PyErr_Occurred()) SWIG_fail
;
11216 arg8
= (int) SWIG_AsInt(obj7
);
11217 if (PyErr_Occurred()) SWIG_fail
;
11220 arg9
= (int) SWIG_AsInt(obj8
);
11221 if (PyErr_Occurred()) SWIG_fail
;
11224 arg10
= (int) SWIG_AsInt(obj9
);
11225 if (PyErr_Occurred()) SWIG_fail
;
11229 arg11
= wxString_in_helper(obj10
);
11230 if (arg11
== NULL
) SWIG_fail
;
11235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11236 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
11238 wxPyEndAllowThreads(__tstate
);
11239 if (PyErr_Occurred()) SWIG_fail
;
11242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11266 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11267 PyObject
*resultobj
;
11268 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11270 PyObject
* obj0
= 0 ;
11271 char *kwnames
[] = {
11272 (char *) "self", NULL
11275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
11276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11280 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
11282 wxPyEndAllowThreads(__tstate
);
11283 if (PyErr_Occurred()) SWIG_fail
;
11285 resultobj
= SWIG_FromInt((int)result
);
11292 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11293 PyObject
*resultobj
;
11294 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11296 PyObject
* obj0
= 0 ;
11297 PyObject
* obj1
= 0 ;
11298 char *kwnames
[] = {
11299 (char *) "self",(char *) "value", NULL
11302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11305 arg2
= (int) SWIG_AsInt(obj1
);
11306 if (PyErr_Occurred()) SWIG_fail
;
11308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11309 (arg1
)->SetValue(arg2
);
11311 wxPyEndAllowThreads(__tstate
);
11312 if (PyErr_Occurred()) SWIG_fail
;
11314 Py_INCREF(Py_None
); resultobj
= Py_None
;
11321 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11322 PyObject
*resultobj
;
11323 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11324 wxString
*arg2
= 0 ;
11325 bool temp2
= False
;
11326 PyObject
* obj0
= 0 ;
11327 PyObject
* obj1
= 0 ;
11328 char *kwnames
[] = {
11329 (char *) "self",(char *) "text", NULL
11332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
11333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11336 arg2
= wxString_in_helper(obj1
);
11337 if (arg2
== NULL
) SWIG_fail
;
11341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11342 (arg1
)->SetValue((wxString
const &)*arg2
);
11344 wxPyEndAllowThreads(__tstate
);
11345 if (PyErr_Occurred()) SWIG_fail
;
11347 Py_INCREF(Py_None
); resultobj
= Py_None
;
11362 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11363 PyObject
*resultobj
;
11364 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11367 PyObject
* obj0
= 0 ;
11368 PyObject
* obj1
= 0 ;
11369 PyObject
* obj2
= 0 ;
11370 char *kwnames
[] = {
11371 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11377 arg2
= (int) SWIG_AsInt(obj1
);
11378 if (PyErr_Occurred()) SWIG_fail
;
11379 arg3
= (int) SWIG_AsInt(obj2
);
11380 if (PyErr_Occurred()) SWIG_fail
;
11382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11383 (arg1
)->SetRange(arg2
,arg3
);
11385 wxPyEndAllowThreads(__tstate
);
11386 if (PyErr_Occurred()) SWIG_fail
;
11388 Py_INCREF(Py_None
); resultobj
= Py_None
;
11395 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11396 PyObject
*resultobj
;
11397 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11399 PyObject
* obj0
= 0 ;
11400 char *kwnames
[] = {
11401 (char *) "self", NULL
11404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
11405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11409 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
11411 wxPyEndAllowThreads(__tstate
);
11412 if (PyErr_Occurred()) SWIG_fail
;
11414 resultobj
= SWIG_FromInt((int)result
);
11421 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11422 PyObject
*resultobj
;
11423 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11425 PyObject
* obj0
= 0 ;
11426 char *kwnames
[] = {
11427 (char *) "self", NULL
11430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
11431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11435 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
11437 wxPyEndAllowThreads(__tstate
);
11438 if (PyErr_Occurred()) SWIG_fail
;
11440 resultobj
= SWIG_FromInt((int)result
);
11447 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11448 PyObject
*resultobj
;
11449 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11452 PyObject
* obj0
= 0 ;
11453 PyObject
* obj1
= 0 ;
11454 PyObject
* obj2
= 0 ;
11455 char *kwnames
[] = {
11456 (char *) "self",(char *) "from",(char *) "to", NULL
11459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11462 arg2
= (long) SWIG_AsLong(obj1
);
11463 if (PyErr_Occurred()) SWIG_fail
;
11464 arg3
= (long) SWIG_AsLong(obj2
);
11465 if (PyErr_Occurred()) SWIG_fail
;
11467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11468 (arg1
)->SetSelection(arg2
,arg3
);
11470 wxPyEndAllowThreads(__tstate
);
11471 if (PyErr_Occurred()) SWIG_fail
;
11473 Py_INCREF(Py_None
); resultobj
= Py_None
;
11480 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11481 PyObject
*resultobj
;
11482 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
11483 wxVisualAttributes result
;
11484 PyObject
* obj0
= 0 ;
11485 char *kwnames
[] = {
11486 (char *) "variant", NULL
11489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11491 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
11492 if (PyErr_Occurred()) SWIG_fail
;
11495 if (!wxPyCheckForApp()) SWIG_fail
;
11496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11497 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11499 wxPyEndAllowThreads(__tstate
);
11500 if (PyErr_Occurred()) SWIG_fail
;
11503 wxVisualAttributes
* resultptr
;
11504 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
11505 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11513 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
11515 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11516 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
11518 return Py_BuildValue((char *)"");
11520 static PyObject
*_wrap_new_SpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11521 PyObject
*resultobj
;
11522 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11523 int arg2
= (int) 0 ;
11524 wxSpinEvent
*result
;
11525 PyObject
* obj0
= 0 ;
11526 PyObject
* obj1
= 0 ;
11527 char *kwnames
[] = {
11528 (char *) "commandType",(char *) "winid", NULL
11531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11533 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
11534 if (PyErr_Occurred()) SWIG_fail
;
11537 arg2
= (int) SWIG_AsInt(obj1
);
11538 if (PyErr_Occurred()) SWIG_fail
;
11541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11542 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
11544 wxPyEndAllowThreads(__tstate
);
11545 if (PyErr_Occurred()) SWIG_fail
;
11547 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
11554 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11555 PyObject
*resultobj
;
11556 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11558 PyObject
* obj0
= 0 ;
11559 char *kwnames
[] = {
11560 (char *) "self", NULL
11563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11568 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
11570 wxPyEndAllowThreads(__tstate
);
11571 if (PyErr_Occurred()) SWIG_fail
;
11573 resultobj
= SWIG_FromInt((int)result
);
11580 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11581 PyObject
*resultobj
;
11582 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11584 PyObject
* obj0
= 0 ;
11585 PyObject
* obj1
= 0 ;
11586 char *kwnames
[] = {
11587 (char *) "self",(char *) "pos", NULL
11590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11593 arg2
= (int) SWIG_AsInt(obj1
);
11594 if (PyErr_Occurred()) SWIG_fail
;
11596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11597 (arg1
)->SetPosition(arg2
);
11599 wxPyEndAllowThreads(__tstate
);
11600 if (PyErr_Occurred()) SWIG_fail
;
11602 Py_INCREF(Py_None
); resultobj
= Py_None
;
11609 static PyObject
* SpinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11611 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11612 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
11614 return Py_BuildValue((char *)"");
11616 static int _wrap_RadioBoxNameStr_set(PyObject
*_val
) {
11617 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
11622 static PyObject
*_wrap_RadioBoxNameStr_get() {
11627 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11629 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11636 static int _wrap_RadioButtonNameStr_set(PyObject
*_val
) {
11637 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
11642 static PyObject
*_wrap_RadioButtonNameStr_get() {
11647 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11649 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11656 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11657 PyObject
*resultobj
;
11658 wxWindow
*arg1
= (wxWindow
*) 0 ;
11659 int arg2
= (int) -1 ;
11660 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11661 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11662 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11663 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11664 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11665 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11666 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
11667 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
11668 int arg7
= (int) 0 ;
11669 long arg8
= (long) wxRA_HORIZONTAL
;
11670 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11671 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11672 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
11673 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11674 wxRadioBox
*result
;
11675 bool temp3
= False
;
11678 bool temp6
= False
;
11679 bool temp10
= False
;
11680 PyObject
* obj0
= 0 ;
11681 PyObject
* obj1
= 0 ;
11682 PyObject
* obj2
= 0 ;
11683 PyObject
* obj3
= 0 ;
11684 PyObject
* obj4
= 0 ;
11685 PyObject
* obj5
= 0 ;
11686 PyObject
* obj6
= 0 ;
11687 PyObject
* obj7
= 0 ;
11688 PyObject
* obj8
= 0 ;
11689 PyObject
* obj9
= 0 ;
11690 char *kwnames
[] = {
11691 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11698 arg2
= (int) SWIG_AsInt(obj1
);
11699 if (PyErr_Occurred()) SWIG_fail
;
11703 arg3
= wxString_in_helper(obj2
);
11704 if (arg3
== NULL
) SWIG_fail
;
11711 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11717 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11722 if (! PySequence_Check(obj5
)) {
11723 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11726 arg6
= new wxArrayString
;
11728 int i
, len
=PySequence_Length(obj5
);
11729 for (i
=0; i
<len
; i
++) {
11730 PyObject
* item
= PySequence_GetItem(obj5
, i
);
11732 PyObject
* str
= PyObject_Unicode(item
);
11734 PyObject
* str
= PyObject_Str(item
);
11736 if (PyErr_Occurred()) SWIG_fail
;
11737 arg6
->Add(Py2wxString(str
));
11744 arg7
= (int) SWIG_AsInt(obj6
);
11745 if (PyErr_Occurred()) SWIG_fail
;
11748 arg8
= (long) SWIG_AsLong(obj7
);
11749 if (PyErr_Occurred()) SWIG_fail
;
11752 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
11753 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11755 if (arg9
== NULL
) {
11756 PyErr_SetString(PyExc_TypeError
,"null reference");
11762 arg10
= wxString_in_helper(obj9
);
11763 if (arg10
== NULL
) SWIG_fail
;
11768 if (!wxPyCheckForApp()) SWIG_fail
;
11769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11770 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
);
11772 wxPyEndAllowThreads(__tstate
);
11773 if (PyErr_Occurred()) SWIG_fail
;
11775 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11781 if (temp6
) delete arg6
;
11794 if (temp6
) delete arg6
;
11804 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11805 PyObject
*resultobj
;
11806 wxRadioBox
*result
;
11807 char *kwnames
[] = {
11811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
11813 if (!wxPyCheckForApp()) SWIG_fail
;
11814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11815 result
= (wxRadioBox
*)new wxRadioBox();
11817 wxPyEndAllowThreads(__tstate
);
11818 if (PyErr_Occurred()) SWIG_fail
;
11820 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11827 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11828 PyObject
*resultobj
;
11829 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11830 wxWindow
*arg2
= (wxWindow
*) 0 ;
11831 int arg3
= (int) -1 ;
11832 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11833 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11834 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11835 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11836 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11837 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11838 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
11839 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
11840 int arg8
= (int) 0 ;
11841 long arg9
= (long) wxRA_HORIZONTAL
;
11842 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11843 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11844 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
11845 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11847 bool temp4
= False
;
11850 bool temp7
= False
;
11851 bool temp11
= False
;
11852 PyObject
* obj0
= 0 ;
11853 PyObject
* obj1
= 0 ;
11854 PyObject
* obj2
= 0 ;
11855 PyObject
* obj3
= 0 ;
11856 PyObject
* obj4
= 0 ;
11857 PyObject
* obj5
= 0 ;
11858 PyObject
* obj6
= 0 ;
11859 PyObject
* obj7
= 0 ;
11860 PyObject
* obj8
= 0 ;
11861 PyObject
* obj9
= 0 ;
11862 PyObject
* obj10
= 0 ;
11863 char *kwnames
[] = {
11864 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11870 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11873 arg3
= (int) SWIG_AsInt(obj2
);
11874 if (PyErr_Occurred()) SWIG_fail
;
11878 arg4
= wxString_in_helper(obj3
);
11879 if (arg4
== NULL
) SWIG_fail
;
11886 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11892 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11897 if (! PySequence_Check(obj6
)) {
11898 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11901 arg7
= new wxArrayString
;
11903 int i
, len
=PySequence_Length(obj6
);
11904 for (i
=0; i
<len
; i
++) {
11905 PyObject
* item
= PySequence_GetItem(obj6
, i
);
11907 PyObject
* str
= PyObject_Unicode(item
);
11909 PyObject
* str
= PyObject_Str(item
);
11911 if (PyErr_Occurred()) SWIG_fail
;
11912 arg7
->Add(Py2wxString(str
));
11919 arg8
= (int) SWIG_AsInt(obj7
);
11920 if (PyErr_Occurred()) SWIG_fail
;
11923 arg9
= (long) SWIG_AsLong(obj8
);
11924 if (PyErr_Occurred()) SWIG_fail
;
11927 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
11928 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11930 if (arg10
== NULL
) {
11931 PyErr_SetString(PyExc_TypeError
,"null reference");
11937 arg11
= wxString_in_helper(obj10
);
11938 if (arg11
== NULL
) SWIG_fail
;
11943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11944 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
);
11946 wxPyEndAllowThreads(__tstate
);
11947 if (PyErr_Occurred()) SWIG_fail
;
11950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11957 if (temp7
) delete arg7
;
11970 if (temp7
) delete arg7
;
11980 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11981 PyObject
*resultobj
;
11982 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11984 PyObject
* obj0
= 0 ;
11985 PyObject
* obj1
= 0 ;
11986 char *kwnames
[] = {
11987 (char *) "self",(char *) "n", NULL
11990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11993 arg2
= (int) SWIG_AsInt(obj1
);
11994 if (PyErr_Occurred()) SWIG_fail
;
11996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11997 (arg1
)->SetSelection(arg2
);
11999 wxPyEndAllowThreads(__tstate
);
12000 if (PyErr_Occurred()) SWIG_fail
;
12002 Py_INCREF(Py_None
); resultobj
= Py_None
;
12009 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12010 PyObject
*resultobj
;
12011 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12013 PyObject
* obj0
= 0 ;
12014 char *kwnames
[] = {
12015 (char *) "self", NULL
12018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
12019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12023 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
12025 wxPyEndAllowThreads(__tstate
);
12026 if (PyErr_Occurred()) SWIG_fail
;
12028 resultobj
= SWIG_FromInt((int)result
);
12035 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12036 PyObject
*resultobj
;
12037 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12039 PyObject
* obj0
= 0 ;
12040 char *kwnames
[] = {
12041 (char *) "self", NULL
12044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12049 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
12051 wxPyEndAllowThreads(__tstate
);
12052 if (PyErr_Occurred()) SWIG_fail
;
12056 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12058 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12067 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12068 PyObject
*resultobj
;
12069 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12070 wxString
*arg2
= 0 ;
12072 bool temp2
= False
;
12073 PyObject
* obj0
= 0 ;
12074 PyObject
* obj1
= 0 ;
12075 char *kwnames
[] = {
12076 (char *) "self",(char *) "s", NULL
12079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12083 arg2
= wxString_in_helper(obj1
);
12084 if (arg2
== NULL
) SWIG_fail
;
12088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12089 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
12091 wxPyEndAllowThreads(__tstate
);
12092 if (PyErr_Occurred()) SWIG_fail
;
12095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12111 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12112 PyObject
*resultobj
;
12113 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12115 PyObject
* obj0
= 0 ;
12116 char *kwnames
[] = {
12117 (char *) "self", NULL
12120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
12121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12125 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
12127 wxPyEndAllowThreads(__tstate
);
12128 if (PyErr_Occurred()) SWIG_fail
;
12130 resultobj
= SWIG_FromInt((int)result
);
12137 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12138 PyObject
*resultobj
;
12139 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12140 wxString
*arg2
= 0 ;
12142 bool temp2
= False
;
12143 PyObject
* obj0
= 0 ;
12144 PyObject
* obj1
= 0 ;
12145 char *kwnames
[] = {
12146 (char *) "self",(char *) "s", NULL
12149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
12150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12153 arg2
= wxString_in_helper(obj1
);
12154 if (arg2
== NULL
) SWIG_fail
;
12158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12159 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
12161 wxPyEndAllowThreads(__tstate
);
12162 if (PyErr_Occurred()) SWIG_fail
;
12164 resultobj
= SWIG_FromInt((int)result
);
12179 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12180 PyObject
*resultobj
;
12181 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12184 PyObject
* obj0
= 0 ;
12185 PyObject
* obj1
= 0 ;
12186 char *kwnames
[] = {
12187 (char *) "self",(char *) "n", NULL
12190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12193 arg2
= (int) SWIG_AsInt(obj1
);
12194 if (PyErr_Occurred()) SWIG_fail
;
12196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12197 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
12199 wxPyEndAllowThreads(__tstate
);
12200 if (PyErr_Occurred()) SWIG_fail
;
12204 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12206 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12215 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12216 PyObject
*resultobj
;
12217 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12219 wxString
*arg3
= 0 ;
12220 bool temp3
= False
;
12221 PyObject
* obj0
= 0 ;
12222 PyObject
* obj1
= 0 ;
12223 PyObject
* obj2
= 0 ;
12224 char *kwnames
[] = {
12225 (char *) "self",(char *) "n",(char *) "label", NULL
12228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12231 arg2
= (int) SWIG_AsInt(obj1
);
12232 if (PyErr_Occurred()) SWIG_fail
;
12234 arg3
= wxString_in_helper(obj2
);
12235 if (arg3
== NULL
) SWIG_fail
;
12239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12240 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
12242 wxPyEndAllowThreads(__tstate
);
12243 if (PyErr_Occurred()) SWIG_fail
;
12245 Py_INCREF(Py_None
); resultobj
= Py_None
;
12260 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12261 PyObject
*resultobj
;
12262 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12264 bool arg3
= (bool) True
;
12265 PyObject
* obj0
= 0 ;
12266 PyObject
* obj1
= 0 ;
12267 PyObject
* obj2
= 0 ;
12268 char *kwnames
[] = {
12269 (char *) "self",(char *) "n",(char *) "enable", NULL
12272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12275 arg2
= (int) SWIG_AsInt(obj1
);
12276 if (PyErr_Occurred()) SWIG_fail
;
12278 arg3
= (bool) SWIG_AsBool(obj2
);
12279 if (PyErr_Occurred()) SWIG_fail
;
12282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12283 (arg1
)->Enable(arg2
,arg3
);
12285 wxPyEndAllowThreads(__tstate
);
12286 if (PyErr_Occurred()) SWIG_fail
;
12288 Py_INCREF(Py_None
); resultobj
= Py_None
;
12295 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12296 PyObject
*resultobj
;
12297 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12299 bool arg3
= (bool) True
;
12300 PyObject
* obj0
= 0 ;
12301 PyObject
* obj1
= 0 ;
12302 PyObject
* obj2
= 0 ;
12303 char *kwnames
[] = {
12304 (char *) "self",(char *) "n",(char *) "show", NULL
12307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12310 arg2
= (int) SWIG_AsInt(obj1
);
12311 if (PyErr_Occurred()) SWIG_fail
;
12313 arg3
= (bool) SWIG_AsBool(obj2
);
12314 if (PyErr_Occurred()) SWIG_fail
;
12317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12318 (arg1
)->Show(arg2
,arg3
);
12320 wxPyEndAllowThreads(__tstate
);
12321 if (PyErr_Occurred()) SWIG_fail
;
12323 Py_INCREF(Py_None
); resultobj
= Py_None
;
12330 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12331 PyObject
*resultobj
;
12332 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12334 PyObject
* obj0
= 0 ;
12335 char *kwnames
[] = {
12336 (char *) "self", NULL
12339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
12340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12344 result
= (int)wxRadioBox_GetColumnCount((wxRadioBox
const *)arg1
);
12346 wxPyEndAllowThreads(__tstate
);
12347 if (PyErr_Occurred()) SWIG_fail
;
12349 resultobj
= SWIG_FromInt((int)result
);
12356 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12357 PyObject
*resultobj
;
12358 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12360 PyObject
* obj0
= 0 ;
12361 char *kwnames
[] = {
12362 (char *) "self", NULL
12365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
12366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12370 result
= (int)wxRadioBox_GetRowCount((wxRadioBox
const *)arg1
);
12372 wxPyEndAllowThreads(__tstate
);
12373 if (PyErr_Occurred()) SWIG_fail
;
12375 resultobj
= SWIG_FromInt((int)result
);
12382 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12383 PyObject
*resultobj
;
12384 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12389 PyObject
* obj0
= 0 ;
12390 PyObject
* obj1
= 0 ;
12391 PyObject
* obj2
= 0 ;
12392 PyObject
* obj3
= 0 ;
12393 char *kwnames
[] = {
12394 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
12397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12400 arg2
= (int) SWIG_AsInt(obj1
);
12401 if (PyErr_Occurred()) SWIG_fail
;
12402 arg3
= (wxDirection
) SWIG_AsInt(obj2
);
12403 if (PyErr_Occurred()) SWIG_fail
;
12404 arg4
= (long) SWIG_AsLong(obj3
);
12405 if (PyErr_Occurred()) SWIG_fail
;
12407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12408 result
= (int)wxRadioBox_GetNextItem((wxRadioBox
const *)arg1
,arg2
,(wxDirection
)arg3
,arg4
);
12410 wxPyEndAllowThreads(__tstate
);
12411 if (PyErr_Occurred()) SWIG_fail
;
12413 resultobj
= SWIG_FromInt((int)result
);
12420 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12421 PyObject
*resultobj
;
12422 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12423 wxVisualAttributes result
;
12424 PyObject
* obj0
= 0 ;
12425 char *kwnames
[] = {
12426 (char *) "variant", NULL
12429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12431 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
12432 if (PyErr_Occurred()) SWIG_fail
;
12435 if (!wxPyCheckForApp()) SWIG_fail
;
12436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12437 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12439 wxPyEndAllowThreads(__tstate
);
12440 if (PyErr_Occurred()) SWIG_fail
;
12443 wxVisualAttributes
* resultptr
;
12444 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12445 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12453 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
12455 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12456 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
12458 return Py_BuildValue((char *)"");
12460 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12461 PyObject
*resultobj
;
12462 wxWindow
*arg1
= (wxWindow
*) 0 ;
12463 int arg2
= (int) -1 ;
12464 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12465 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12466 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12467 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12468 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12469 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12470 long arg6
= (long) 0 ;
12471 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12472 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12473 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
12474 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12475 wxRadioButton
*result
;
12476 bool temp3
= False
;
12479 bool temp8
= False
;
12480 PyObject
* obj0
= 0 ;
12481 PyObject
* obj1
= 0 ;
12482 PyObject
* obj2
= 0 ;
12483 PyObject
* obj3
= 0 ;
12484 PyObject
* obj4
= 0 ;
12485 PyObject
* obj5
= 0 ;
12486 PyObject
* obj6
= 0 ;
12487 PyObject
* obj7
= 0 ;
12488 char *kwnames
[] = {
12489 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12496 arg2
= (int) SWIG_AsInt(obj1
);
12497 if (PyErr_Occurred()) SWIG_fail
;
12501 arg3
= wxString_in_helper(obj2
);
12502 if (arg3
== NULL
) SWIG_fail
;
12509 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12515 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12519 arg6
= (long) SWIG_AsLong(obj5
);
12520 if (PyErr_Occurred()) SWIG_fail
;
12523 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
12524 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12526 if (arg7
== NULL
) {
12527 PyErr_SetString(PyExc_TypeError
,"null reference");
12533 arg8
= wxString_in_helper(obj7
);
12534 if (arg8
== NULL
) SWIG_fail
;
12539 if (!wxPyCheckForApp()) SWIG_fail
;
12540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12541 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12543 wxPyEndAllowThreads(__tstate
);
12544 if (PyErr_Occurred()) SWIG_fail
;
12546 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12569 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12570 PyObject
*resultobj
;
12571 wxRadioButton
*result
;
12572 char *kwnames
[] = {
12576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
12578 if (!wxPyCheckForApp()) SWIG_fail
;
12579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12580 result
= (wxRadioButton
*)new wxRadioButton();
12582 wxPyEndAllowThreads(__tstate
);
12583 if (PyErr_Occurred()) SWIG_fail
;
12585 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12592 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12593 PyObject
*resultobj
;
12594 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12595 wxWindow
*arg2
= (wxWindow
*) 0 ;
12596 int arg3
= (int) -1 ;
12597 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12598 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12599 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12600 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12601 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12602 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12603 long arg7
= (long) 0 ;
12604 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
12605 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
12606 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
12607 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
12609 bool temp4
= False
;
12612 bool temp9
= False
;
12613 PyObject
* obj0
= 0 ;
12614 PyObject
* obj1
= 0 ;
12615 PyObject
* obj2
= 0 ;
12616 PyObject
* obj3
= 0 ;
12617 PyObject
* obj4
= 0 ;
12618 PyObject
* obj5
= 0 ;
12619 PyObject
* obj6
= 0 ;
12620 PyObject
* obj7
= 0 ;
12621 PyObject
* obj8
= 0 ;
12622 char *kwnames
[] = {
12623 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
12627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12629 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12632 arg3
= (int) SWIG_AsInt(obj2
);
12633 if (PyErr_Occurred()) SWIG_fail
;
12637 arg4
= wxString_in_helper(obj3
);
12638 if (arg4
== NULL
) SWIG_fail
;
12645 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12651 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12655 arg7
= (long) SWIG_AsLong(obj6
);
12656 if (PyErr_Occurred()) SWIG_fail
;
12659 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
12660 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12662 if (arg8
== NULL
) {
12663 PyErr_SetString(PyExc_TypeError
,"null reference");
12669 arg9
= wxString_in_helper(obj8
);
12670 if (arg9
== NULL
) SWIG_fail
;
12675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12676 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
12678 wxPyEndAllowThreads(__tstate
);
12679 if (PyErr_Occurred()) SWIG_fail
;
12682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12706 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12707 PyObject
*resultobj
;
12708 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12710 PyObject
* obj0
= 0 ;
12711 char *kwnames
[] = {
12712 (char *) "self", NULL
12715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
12716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12720 result
= (bool)(arg1
)->GetValue();
12722 wxPyEndAllowThreads(__tstate
);
12723 if (PyErr_Occurred()) SWIG_fail
;
12726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12734 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12735 PyObject
*resultobj
;
12736 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12738 PyObject
* obj0
= 0 ;
12739 PyObject
* obj1
= 0 ;
12740 char *kwnames
[] = {
12741 (char *) "self",(char *) "value", NULL
12744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12747 arg2
= (bool) SWIG_AsBool(obj1
);
12748 if (PyErr_Occurred()) SWIG_fail
;
12750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12751 (arg1
)->SetValue(arg2
);
12753 wxPyEndAllowThreads(__tstate
);
12754 if (PyErr_Occurred()) SWIG_fail
;
12756 Py_INCREF(Py_None
); resultobj
= Py_None
;
12763 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12764 PyObject
*resultobj
;
12765 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12766 wxVisualAttributes result
;
12767 PyObject
* obj0
= 0 ;
12768 char *kwnames
[] = {
12769 (char *) "variant", NULL
12772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12774 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
12775 if (PyErr_Occurred()) SWIG_fail
;
12778 if (!wxPyCheckForApp()) SWIG_fail
;
12779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12780 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12782 wxPyEndAllowThreads(__tstate
);
12783 if (PyErr_Occurred()) SWIG_fail
;
12786 wxVisualAttributes
* resultptr
;
12787 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12788 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12796 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
12798 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12799 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
12801 return Py_BuildValue((char *)"");
12803 static int _wrap_SliderNameStr_set(PyObject
*_val
) {
12804 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
12809 static PyObject
*_wrap_SliderNameStr_get() {
12814 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12816 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12823 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12824 PyObject
*resultobj
;
12825 wxWindow
*arg1
= (wxWindow
*) 0 ;
12826 int arg2
= (int) -1 ;
12827 int arg3
= (int) 0 ;
12828 int arg4
= (int) 0 ;
12829 int arg5
= (int) 100 ;
12830 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12831 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12832 wxSize
const &arg7_defvalue
= wxDefaultSize
;
12833 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
12834 long arg8
= (long) wxSL_HORIZONTAL
;
12835 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
12836 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
12837 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
12838 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12842 bool temp10
= False
;
12843 PyObject
* obj0
= 0 ;
12844 PyObject
* obj1
= 0 ;
12845 PyObject
* obj2
= 0 ;
12846 PyObject
* obj3
= 0 ;
12847 PyObject
* obj4
= 0 ;
12848 PyObject
* obj5
= 0 ;
12849 PyObject
* obj6
= 0 ;
12850 PyObject
* obj7
= 0 ;
12851 PyObject
* obj8
= 0 ;
12852 PyObject
* obj9
= 0 ;
12853 char *kwnames
[] = {
12854 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12861 arg2
= (int) SWIG_AsInt(obj1
);
12862 if (PyErr_Occurred()) SWIG_fail
;
12865 arg3
= (int) SWIG_AsInt(obj2
);
12866 if (PyErr_Occurred()) SWIG_fail
;
12869 arg4
= (int) SWIG_AsInt(obj3
);
12870 if (PyErr_Occurred()) SWIG_fail
;
12873 arg5
= (int) SWIG_AsInt(obj4
);
12874 if (PyErr_Occurred()) SWIG_fail
;
12879 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12885 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
12889 arg8
= (long) SWIG_AsLong(obj7
);
12890 if (PyErr_Occurred()) SWIG_fail
;
12893 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
12894 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12896 if (arg9
== NULL
) {
12897 PyErr_SetString(PyExc_TypeError
,"null reference");
12903 arg10
= wxString_in_helper(obj9
);
12904 if (arg10
== NULL
) SWIG_fail
;
12909 if (!wxPyCheckForApp()) SWIG_fail
;
12910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12911 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
12913 wxPyEndAllowThreads(__tstate
);
12914 if (PyErr_Occurred()) SWIG_fail
;
12916 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12931 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12932 PyObject
*resultobj
;
12934 char *kwnames
[] = {
12938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
12940 if (!wxPyCheckForApp()) SWIG_fail
;
12941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12942 result
= (wxSlider
*)new wxSlider();
12944 wxPyEndAllowThreads(__tstate
);
12945 if (PyErr_Occurred()) SWIG_fail
;
12947 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12954 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12955 PyObject
*resultobj
;
12956 wxSlider
*arg1
= (wxSlider
*) 0 ;
12957 wxWindow
*arg2
= (wxWindow
*) 0 ;
12958 int arg3
= (int) -1 ;
12959 int arg4
= (int) 0 ;
12960 int arg5
= (int) 0 ;
12961 int arg6
= (int) 100 ;
12962 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12963 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12964 wxSize
const &arg8_defvalue
= wxDefaultSize
;
12965 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
12966 long arg9
= (long) wxSL_HORIZONTAL
;
12967 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
12968 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
12969 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
12970 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12974 bool temp11
= False
;
12975 PyObject
* obj0
= 0 ;
12976 PyObject
* obj1
= 0 ;
12977 PyObject
* obj2
= 0 ;
12978 PyObject
* obj3
= 0 ;
12979 PyObject
* obj4
= 0 ;
12980 PyObject
* obj5
= 0 ;
12981 PyObject
* obj6
= 0 ;
12982 PyObject
* obj7
= 0 ;
12983 PyObject
* obj8
= 0 ;
12984 PyObject
* obj9
= 0 ;
12985 PyObject
* obj10
= 0 ;
12986 char *kwnames
[] = {
12987 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12993 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12996 arg3
= (int) SWIG_AsInt(obj2
);
12997 if (PyErr_Occurred()) SWIG_fail
;
13000 arg4
= (int) SWIG_AsInt(obj3
);
13001 if (PyErr_Occurred()) SWIG_fail
;
13004 arg5
= (int) SWIG_AsInt(obj4
);
13005 if (PyErr_Occurred()) SWIG_fail
;
13008 arg6
= (int) SWIG_AsInt(obj5
);
13009 if (PyErr_Occurred()) SWIG_fail
;
13014 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
13020 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
13024 arg9
= (long) SWIG_AsLong(obj8
);
13025 if (PyErr_Occurred()) SWIG_fail
;
13028 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
13029 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13031 if (arg10
== NULL
) {
13032 PyErr_SetString(PyExc_TypeError
,"null reference");
13038 arg11
= wxString_in_helper(obj10
);
13039 if (arg11
== NULL
) SWIG_fail
;
13044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13045 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
13047 wxPyEndAllowThreads(__tstate
);
13048 if (PyErr_Occurred()) SWIG_fail
;
13051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13067 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13068 PyObject
*resultobj
;
13069 wxSlider
*arg1
= (wxSlider
*) 0 ;
13071 PyObject
* obj0
= 0 ;
13072 char *kwnames
[] = {
13073 (char *) "self", NULL
13076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
13077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13081 result
= (int)((wxSlider
const *)arg1
)->GetValue();
13083 wxPyEndAllowThreads(__tstate
);
13084 if (PyErr_Occurred()) SWIG_fail
;
13086 resultobj
= SWIG_FromInt((int)result
);
13093 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13094 PyObject
*resultobj
;
13095 wxSlider
*arg1
= (wxSlider
*) 0 ;
13097 PyObject
* obj0
= 0 ;
13098 PyObject
* obj1
= 0 ;
13099 char *kwnames
[] = {
13100 (char *) "self",(char *) "value", NULL
13103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13106 arg2
= (int) SWIG_AsInt(obj1
);
13107 if (PyErr_Occurred()) SWIG_fail
;
13109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13110 (arg1
)->SetValue(arg2
);
13112 wxPyEndAllowThreads(__tstate
);
13113 if (PyErr_Occurred()) SWIG_fail
;
13115 Py_INCREF(Py_None
); resultobj
= Py_None
;
13122 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13123 PyObject
*resultobj
;
13124 wxSlider
*arg1
= (wxSlider
*) 0 ;
13127 PyObject
* obj0
= 0 ;
13128 PyObject
* obj1
= 0 ;
13129 PyObject
* obj2
= 0 ;
13130 char *kwnames
[] = {
13131 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
13134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13137 arg2
= (int) SWIG_AsInt(obj1
);
13138 if (PyErr_Occurred()) SWIG_fail
;
13139 arg3
= (int) SWIG_AsInt(obj2
);
13140 if (PyErr_Occurred()) SWIG_fail
;
13142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13143 (arg1
)->SetRange(arg2
,arg3
);
13145 wxPyEndAllowThreads(__tstate
);
13146 if (PyErr_Occurred()) SWIG_fail
;
13148 Py_INCREF(Py_None
); resultobj
= Py_None
;
13155 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13156 PyObject
*resultobj
;
13157 wxSlider
*arg1
= (wxSlider
*) 0 ;
13159 PyObject
* obj0
= 0 ;
13160 char *kwnames
[] = {
13161 (char *) "self", NULL
13164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
13165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13169 result
= (int)((wxSlider
const *)arg1
)->GetMin();
13171 wxPyEndAllowThreads(__tstate
);
13172 if (PyErr_Occurred()) SWIG_fail
;
13174 resultobj
= SWIG_FromInt((int)result
);
13181 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13182 PyObject
*resultobj
;
13183 wxSlider
*arg1
= (wxSlider
*) 0 ;
13185 PyObject
* obj0
= 0 ;
13186 char *kwnames
[] = {
13187 (char *) "self", NULL
13190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
13191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13195 result
= (int)((wxSlider
const *)arg1
)->GetMax();
13197 wxPyEndAllowThreads(__tstate
);
13198 if (PyErr_Occurred()) SWIG_fail
;
13200 resultobj
= SWIG_FromInt((int)result
);
13207 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13208 PyObject
*resultobj
;
13209 wxSlider
*arg1
= (wxSlider
*) 0 ;
13211 PyObject
* obj0
= 0 ;
13212 PyObject
* obj1
= 0 ;
13213 char *kwnames
[] = {
13214 (char *) "self",(char *) "minValue", NULL
13217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
13218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13220 arg2
= (int) SWIG_AsInt(obj1
);
13221 if (PyErr_Occurred()) SWIG_fail
;
13223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13224 (arg1
)->SetMin(arg2
);
13226 wxPyEndAllowThreads(__tstate
);
13227 if (PyErr_Occurred()) SWIG_fail
;
13229 Py_INCREF(Py_None
); resultobj
= Py_None
;
13236 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13237 PyObject
*resultobj
;
13238 wxSlider
*arg1
= (wxSlider
*) 0 ;
13240 PyObject
* obj0
= 0 ;
13241 PyObject
* obj1
= 0 ;
13242 char *kwnames
[] = {
13243 (char *) "self",(char *) "maxValue", NULL
13246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
13247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13249 arg2
= (int) SWIG_AsInt(obj1
);
13250 if (PyErr_Occurred()) SWIG_fail
;
13252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13253 (arg1
)->SetMax(arg2
);
13255 wxPyEndAllowThreads(__tstate
);
13256 if (PyErr_Occurred()) SWIG_fail
;
13258 Py_INCREF(Py_None
); resultobj
= Py_None
;
13265 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13266 PyObject
*resultobj
;
13267 wxSlider
*arg1
= (wxSlider
*) 0 ;
13269 PyObject
* obj0
= 0 ;
13270 PyObject
* obj1
= 0 ;
13271 char *kwnames
[] = {
13272 (char *) "self",(char *) "lineSize", NULL
13275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13278 arg2
= (int) SWIG_AsInt(obj1
);
13279 if (PyErr_Occurred()) SWIG_fail
;
13281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13282 (arg1
)->SetLineSize(arg2
);
13284 wxPyEndAllowThreads(__tstate
);
13285 if (PyErr_Occurred()) SWIG_fail
;
13287 Py_INCREF(Py_None
); resultobj
= Py_None
;
13294 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13295 PyObject
*resultobj
;
13296 wxSlider
*arg1
= (wxSlider
*) 0 ;
13298 PyObject
* obj0
= 0 ;
13299 PyObject
* obj1
= 0 ;
13300 char *kwnames
[] = {
13301 (char *) "self",(char *) "pageSize", NULL
13304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13307 arg2
= (int) SWIG_AsInt(obj1
);
13308 if (PyErr_Occurred()) SWIG_fail
;
13310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13311 (arg1
)->SetPageSize(arg2
);
13313 wxPyEndAllowThreads(__tstate
);
13314 if (PyErr_Occurred()) SWIG_fail
;
13316 Py_INCREF(Py_None
); resultobj
= Py_None
;
13323 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13324 PyObject
*resultobj
;
13325 wxSlider
*arg1
= (wxSlider
*) 0 ;
13327 PyObject
* obj0
= 0 ;
13328 char *kwnames
[] = {
13329 (char *) "self", NULL
13332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
13333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13337 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
13339 wxPyEndAllowThreads(__tstate
);
13340 if (PyErr_Occurred()) SWIG_fail
;
13342 resultobj
= SWIG_FromInt((int)result
);
13349 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13350 PyObject
*resultobj
;
13351 wxSlider
*arg1
= (wxSlider
*) 0 ;
13353 PyObject
* obj0
= 0 ;
13354 char *kwnames
[] = {
13355 (char *) "self", NULL
13358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
13359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13363 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
13365 wxPyEndAllowThreads(__tstate
);
13366 if (PyErr_Occurred()) SWIG_fail
;
13368 resultobj
= SWIG_FromInt((int)result
);
13375 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13376 PyObject
*resultobj
;
13377 wxSlider
*arg1
= (wxSlider
*) 0 ;
13379 PyObject
* obj0
= 0 ;
13380 PyObject
* obj1
= 0 ;
13381 char *kwnames
[] = {
13382 (char *) "self",(char *) "lenPixels", NULL
13385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
13386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13388 arg2
= (int) SWIG_AsInt(obj1
);
13389 if (PyErr_Occurred()) SWIG_fail
;
13391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13392 (arg1
)->SetThumbLength(arg2
);
13394 wxPyEndAllowThreads(__tstate
);
13395 if (PyErr_Occurred()) SWIG_fail
;
13397 Py_INCREF(Py_None
); resultobj
= Py_None
;
13404 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13405 PyObject
*resultobj
;
13406 wxSlider
*arg1
= (wxSlider
*) 0 ;
13408 PyObject
* obj0
= 0 ;
13409 char *kwnames
[] = {
13410 (char *) "self", NULL
13413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
13414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13418 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
13420 wxPyEndAllowThreads(__tstate
);
13421 if (PyErr_Occurred()) SWIG_fail
;
13423 resultobj
= SWIG_FromInt((int)result
);
13430 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13431 PyObject
*resultobj
;
13432 wxSlider
*arg1
= (wxSlider
*) 0 ;
13434 int arg3
= (int) 1 ;
13435 PyObject
* obj0
= 0 ;
13436 PyObject
* obj1
= 0 ;
13437 PyObject
* obj2
= 0 ;
13438 char *kwnames
[] = {
13439 (char *) "self",(char *) "n",(char *) "pos", NULL
13442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13445 arg2
= (int) SWIG_AsInt(obj1
);
13446 if (PyErr_Occurred()) SWIG_fail
;
13448 arg3
= (int) SWIG_AsInt(obj2
);
13449 if (PyErr_Occurred()) SWIG_fail
;
13452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13453 (arg1
)->SetTickFreq(arg2
,arg3
);
13455 wxPyEndAllowThreads(__tstate
);
13456 if (PyErr_Occurred()) SWIG_fail
;
13458 Py_INCREF(Py_None
); resultobj
= Py_None
;
13465 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13466 PyObject
*resultobj
;
13467 wxSlider
*arg1
= (wxSlider
*) 0 ;
13469 PyObject
* obj0
= 0 ;
13470 char *kwnames
[] = {
13471 (char *) "self", NULL
13474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
13475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13479 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
13481 wxPyEndAllowThreads(__tstate
);
13482 if (PyErr_Occurred()) SWIG_fail
;
13484 resultobj
= SWIG_FromInt((int)result
);
13491 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13492 PyObject
*resultobj
;
13493 wxSlider
*arg1
= (wxSlider
*) 0 ;
13494 PyObject
* obj0
= 0 ;
13495 char *kwnames
[] = {
13496 (char *) "self", NULL
13499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
13500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13504 (arg1
)->ClearTicks();
13506 wxPyEndAllowThreads(__tstate
);
13507 if (PyErr_Occurred()) SWIG_fail
;
13509 Py_INCREF(Py_None
); resultobj
= Py_None
;
13516 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13517 PyObject
*resultobj
;
13518 wxSlider
*arg1
= (wxSlider
*) 0 ;
13520 PyObject
* obj0
= 0 ;
13521 PyObject
* obj1
= 0 ;
13522 char *kwnames
[] = {
13523 (char *) "self",(char *) "tickPos", NULL
13526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
13527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13529 arg2
= (int) SWIG_AsInt(obj1
);
13530 if (PyErr_Occurred()) SWIG_fail
;
13532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13533 (arg1
)->SetTick(arg2
);
13535 wxPyEndAllowThreads(__tstate
);
13536 if (PyErr_Occurred()) SWIG_fail
;
13538 Py_INCREF(Py_None
); resultobj
= Py_None
;
13545 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13546 PyObject
*resultobj
;
13547 wxSlider
*arg1
= (wxSlider
*) 0 ;
13548 PyObject
* obj0
= 0 ;
13549 char *kwnames
[] = {
13550 (char *) "self", NULL
13553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
13554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13558 (arg1
)->ClearSel();
13560 wxPyEndAllowThreads(__tstate
);
13561 if (PyErr_Occurred()) SWIG_fail
;
13563 Py_INCREF(Py_None
); resultobj
= Py_None
;
13570 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13571 PyObject
*resultobj
;
13572 wxSlider
*arg1
= (wxSlider
*) 0 ;
13574 PyObject
* obj0
= 0 ;
13575 char *kwnames
[] = {
13576 (char *) "self", NULL
13579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
13580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13584 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
13586 wxPyEndAllowThreads(__tstate
);
13587 if (PyErr_Occurred()) SWIG_fail
;
13589 resultobj
= SWIG_FromInt((int)result
);
13596 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13597 PyObject
*resultobj
;
13598 wxSlider
*arg1
= (wxSlider
*) 0 ;
13600 PyObject
* obj0
= 0 ;
13601 char *kwnames
[] = {
13602 (char *) "self", NULL
13605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
13606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13610 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
13612 wxPyEndAllowThreads(__tstate
);
13613 if (PyErr_Occurred()) SWIG_fail
;
13615 resultobj
= SWIG_FromInt((int)result
);
13622 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13623 PyObject
*resultobj
;
13624 wxSlider
*arg1
= (wxSlider
*) 0 ;
13627 PyObject
* obj0
= 0 ;
13628 PyObject
* obj1
= 0 ;
13629 PyObject
* obj2
= 0 ;
13630 char *kwnames
[] = {
13631 (char *) "self",(char *) "min",(char *) "max", NULL
13634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13637 arg2
= (int) SWIG_AsInt(obj1
);
13638 if (PyErr_Occurred()) SWIG_fail
;
13639 arg3
= (int) SWIG_AsInt(obj2
);
13640 if (PyErr_Occurred()) SWIG_fail
;
13642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13643 (arg1
)->SetSelection(arg2
,arg3
);
13645 wxPyEndAllowThreads(__tstate
);
13646 if (PyErr_Occurred()) SWIG_fail
;
13648 Py_INCREF(Py_None
); resultobj
= Py_None
;
13655 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13656 PyObject
*resultobj
;
13657 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
13658 wxVisualAttributes result
;
13659 PyObject
* obj0
= 0 ;
13660 char *kwnames
[] = {
13661 (char *) "variant", NULL
13664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13666 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
13667 if (PyErr_Occurred()) SWIG_fail
;
13670 if (!wxPyCheckForApp()) SWIG_fail
;
13671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13672 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13674 wxPyEndAllowThreads(__tstate
);
13675 if (PyErr_Occurred()) SWIG_fail
;
13678 wxVisualAttributes
* resultptr
;
13679 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
13680 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13688 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
13690 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13691 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
13693 return Py_BuildValue((char *)"");
13695 static int _wrap_ToggleButtonNameStr_set(PyObject
*_val
) {
13696 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
13701 static PyObject
*_wrap_ToggleButtonNameStr_get() {
13706 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13708 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13715 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13716 PyObject
*resultobj
;
13717 wxWindow
*arg1
= (wxWindow
*) 0 ;
13718 int arg2
= (int) -1 ;
13719 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13720 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13721 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13722 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13723 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13724 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13725 long arg6
= (long) 0 ;
13726 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
13727 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
13728 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
13729 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13730 wxToggleButton
*result
;
13731 bool temp3
= False
;
13734 bool temp8
= False
;
13735 PyObject
* obj0
= 0 ;
13736 PyObject
* obj1
= 0 ;
13737 PyObject
* obj2
= 0 ;
13738 PyObject
* obj3
= 0 ;
13739 PyObject
* obj4
= 0 ;
13740 PyObject
* obj5
= 0 ;
13741 PyObject
* obj6
= 0 ;
13742 PyObject
* obj7
= 0 ;
13743 char *kwnames
[] = {
13744 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
13748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13751 arg2
= (int) SWIG_AsInt(obj1
);
13752 if (PyErr_Occurred()) SWIG_fail
;
13756 arg3
= wxString_in_helper(obj2
);
13757 if (arg3
== NULL
) SWIG_fail
;
13764 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13770 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13774 arg6
= (long) SWIG_AsLong(obj5
);
13775 if (PyErr_Occurred()) SWIG_fail
;
13778 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
13779 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13781 if (arg7
== NULL
) {
13782 PyErr_SetString(PyExc_TypeError
,"null reference");
13788 arg8
= wxString_in_helper(obj7
);
13789 if (arg8
== NULL
) SWIG_fail
;
13794 if (!wxPyCheckForApp()) SWIG_fail
;
13795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13796 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
13798 wxPyEndAllowThreads(__tstate
);
13799 if (PyErr_Occurred()) SWIG_fail
;
13801 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13824 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13825 PyObject
*resultobj
;
13826 wxToggleButton
*result
;
13827 char *kwnames
[] = {
13831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
13833 if (!wxPyCheckForApp()) SWIG_fail
;
13834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13835 result
= (wxToggleButton
*)new wxToggleButton();
13837 wxPyEndAllowThreads(__tstate
);
13838 if (PyErr_Occurred()) SWIG_fail
;
13840 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13847 static PyObject
*_wrap_ToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13848 PyObject
*resultobj
;
13849 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13850 wxWindow
*arg2
= (wxWindow
*) 0 ;
13851 int arg3
= (int) -1 ;
13852 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13853 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13854 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13855 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13856 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13857 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13858 long arg7
= (long) 0 ;
13859 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
13860 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
13861 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
13862 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
13864 bool temp4
= False
;
13867 bool temp9
= False
;
13868 PyObject
* obj0
= 0 ;
13869 PyObject
* obj1
= 0 ;
13870 PyObject
* obj2
= 0 ;
13871 PyObject
* obj3
= 0 ;
13872 PyObject
* obj4
= 0 ;
13873 PyObject
* obj5
= 0 ;
13874 PyObject
* obj6
= 0 ;
13875 PyObject
* obj7
= 0 ;
13876 PyObject
* obj8
= 0 ;
13877 char *kwnames
[] = {
13878 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
13882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13884 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13887 arg3
= (int) SWIG_AsInt(obj2
);
13888 if (PyErr_Occurred()) SWIG_fail
;
13892 arg4
= wxString_in_helper(obj3
);
13893 if (arg4
== NULL
) SWIG_fail
;
13900 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13906 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13910 arg7
= (long) SWIG_AsLong(obj6
);
13911 if (PyErr_Occurred()) SWIG_fail
;
13914 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
13915 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13917 if (arg8
== NULL
) {
13918 PyErr_SetString(PyExc_TypeError
,"null reference");
13924 arg9
= wxString_in_helper(obj8
);
13925 if (arg9
== NULL
) SWIG_fail
;
13930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13931 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
13933 wxPyEndAllowThreads(__tstate
);
13934 if (PyErr_Occurred()) SWIG_fail
;
13937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13961 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13962 PyObject
*resultobj
;
13963 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13965 PyObject
* obj0
= 0 ;
13966 PyObject
* obj1
= 0 ;
13967 char *kwnames
[] = {
13968 (char *) "self",(char *) "value", NULL
13971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13974 arg2
= (bool) SWIG_AsBool(obj1
);
13975 if (PyErr_Occurred()) SWIG_fail
;
13977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13978 (arg1
)->SetValue(arg2
);
13980 wxPyEndAllowThreads(__tstate
);
13981 if (PyErr_Occurred()) SWIG_fail
;
13983 Py_INCREF(Py_None
); resultobj
= Py_None
;
13990 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13991 PyObject
*resultobj
;
13992 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13994 PyObject
* obj0
= 0 ;
13995 char *kwnames
[] = {
13996 (char *) "self", NULL
13999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
14000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14004 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
14006 wxPyEndAllowThreads(__tstate
);
14007 if (PyErr_Occurred()) SWIG_fail
;
14010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14018 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14019 PyObject
*resultobj
;
14020 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14021 wxString
*arg2
= 0 ;
14022 bool temp2
= False
;
14023 PyObject
* obj0
= 0 ;
14024 PyObject
* obj1
= 0 ;
14025 char *kwnames
[] = {
14026 (char *) "self",(char *) "label", NULL
14029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
14030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14033 arg2
= wxString_in_helper(obj1
);
14034 if (arg2
== NULL
) SWIG_fail
;
14038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14039 (arg1
)->SetLabel((wxString
const &)*arg2
);
14041 wxPyEndAllowThreads(__tstate
);
14042 if (PyErr_Occurred()) SWIG_fail
;
14044 Py_INCREF(Py_None
); resultobj
= Py_None
;
14059 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14060 PyObject
*resultobj
;
14061 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14062 wxVisualAttributes result
;
14063 PyObject
* obj0
= 0 ;
14064 char *kwnames
[] = {
14065 (char *) "variant", NULL
14068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14070 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
14071 if (PyErr_Occurred()) SWIG_fail
;
14074 if (!wxPyCheckForApp()) SWIG_fail
;
14075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14076 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14078 wxPyEndAllowThreads(__tstate
);
14079 if (PyErr_Occurred()) SWIG_fail
;
14082 wxVisualAttributes
* resultptr
;
14083 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14084 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14092 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
14094 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14095 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
14097 return Py_BuildValue((char *)"");
14099 static int _wrap_NOTEBOOK_NAME_set(PyObject
*_val
) {
14100 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
14105 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
14110 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
14112 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
14119 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14120 PyObject
*resultobj
;
14121 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14123 PyObject
* obj0
= 0 ;
14124 char *kwnames
[] = {
14125 (char *) "self", NULL
14128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
14129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14133 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
14135 wxPyEndAllowThreads(__tstate
);
14136 if (PyErr_Occurred()) SWIG_fail
;
14138 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14145 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14146 PyObject
*resultobj
;
14147 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14150 PyObject
* obj0
= 0 ;
14151 PyObject
* obj1
= 0 ;
14152 char *kwnames
[] = {
14153 (char *) "self",(char *) "n", NULL
14156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14159 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14160 if (PyErr_Occurred()) SWIG_fail
;
14162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14163 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
14165 wxPyEndAllowThreads(__tstate
);
14166 if (PyErr_Occurred()) SWIG_fail
;
14169 resultobj
= wxPyMake_wxObject(result
, 0);
14177 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14178 PyObject
*resultobj
;
14179 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14181 PyObject
* obj0
= 0 ;
14182 char *kwnames
[] = {
14183 (char *) "self", NULL
14186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
14187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14191 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
14193 wxPyEndAllowThreads(__tstate
);
14194 if (PyErr_Occurred()) SWIG_fail
;
14196 resultobj
= SWIG_FromInt((int)result
);
14203 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14204 PyObject
*resultobj
;
14205 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14207 wxString
*arg3
= 0 ;
14209 bool temp3
= False
;
14210 PyObject
* obj0
= 0 ;
14211 PyObject
* obj1
= 0 ;
14212 PyObject
* obj2
= 0 ;
14213 char *kwnames
[] = {
14214 (char *) "self",(char *) "n",(char *) "strText", NULL
14217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14220 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14221 if (PyErr_Occurred()) SWIG_fail
;
14223 arg3
= wxString_in_helper(obj2
);
14224 if (arg3
== NULL
) SWIG_fail
;
14228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14229 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
14231 wxPyEndAllowThreads(__tstate
);
14232 if (PyErr_Occurred()) SWIG_fail
;
14235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14251 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14252 PyObject
*resultobj
;
14253 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14256 PyObject
* obj0
= 0 ;
14257 PyObject
* obj1
= 0 ;
14258 char *kwnames
[] = {
14259 (char *) "self",(char *) "n", NULL
14262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
14263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14265 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14266 if (PyErr_Occurred()) SWIG_fail
;
14268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14269 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
14271 wxPyEndAllowThreads(__tstate
);
14272 if (PyErr_Occurred()) SWIG_fail
;
14276 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14278 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14287 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14288 PyObject
*resultobj
;
14289 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14290 wxImageList
*arg2
= (wxImageList
*) 0 ;
14291 PyObject
* obj0
= 0 ;
14292 PyObject
* obj1
= 0 ;
14293 char *kwnames
[] = {
14294 (char *) "self",(char *) "imageList", NULL
14297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14300 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14304 (arg1
)->SetImageList(arg2
);
14306 wxPyEndAllowThreads(__tstate
);
14307 if (PyErr_Occurred()) SWIG_fail
;
14309 Py_INCREF(Py_None
); resultobj
= Py_None
;
14316 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14317 PyObject
*resultobj
;
14318 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14319 wxImageList
*arg2
= (wxImageList
*) 0 ;
14320 PyObject
* obj0
= 0 ;
14321 PyObject
* obj1
= 0 ;
14322 char *kwnames
[] = {
14323 (char *) "self",(char *) "imageList", NULL
14326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14329 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14330 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
14332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14333 (arg1
)->AssignImageList(arg2
);
14335 wxPyEndAllowThreads(__tstate
);
14336 if (PyErr_Occurred()) SWIG_fail
;
14338 Py_INCREF(Py_None
); resultobj
= Py_None
;
14345 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14346 PyObject
*resultobj
;
14347 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14348 wxImageList
*result
;
14349 PyObject
* obj0
= 0 ;
14350 char *kwnames
[] = {
14351 (char *) "self", NULL
14354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
14355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14359 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
14361 wxPyEndAllowThreads(__tstate
);
14362 if (PyErr_Occurred()) SWIG_fail
;
14365 resultobj
= wxPyMake_wxObject(result
, 0);
14373 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14374 PyObject
*resultobj
;
14375 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14378 PyObject
* obj0
= 0 ;
14379 PyObject
* obj1
= 0 ;
14380 char *kwnames
[] = {
14381 (char *) "self",(char *) "n", NULL
14384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
14385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14387 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14388 if (PyErr_Occurred()) SWIG_fail
;
14390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14391 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
14393 wxPyEndAllowThreads(__tstate
);
14394 if (PyErr_Occurred()) SWIG_fail
;
14396 resultobj
= SWIG_FromInt((int)result
);
14403 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14404 PyObject
*resultobj
;
14405 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14409 PyObject
* obj0
= 0 ;
14410 PyObject
* obj1
= 0 ;
14411 PyObject
* obj2
= 0 ;
14412 char *kwnames
[] = {
14413 (char *) "self",(char *) "n",(char *) "imageId", NULL
14416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14419 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14420 if (PyErr_Occurred()) SWIG_fail
;
14421 arg3
= (int) SWIG_AsInt(obj2
);
14422 if (PyErr_Occurred()) SWIG_fail
;
14424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14425 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
14427 wxPyEndAllowThreads(__tstate
);
14428 if (PyErr_Occurred()) SWIG_fail
;
14431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14439 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14440 PyObject
*resultobj
;
14441 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14444 PyObject
* obj0
= 0 ;
14445 PyObject
* obj1
= 0 ;
14446 char *kwnames
[] = {
14447 (char *) "self",(char *) "size", NULL
14450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14455 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14459 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
14461 wxPyEndAllowThreads(__tstate
);
14462 if (PyErr_Occurred()) SWIG_fail
;
14464 Py_INCREF(Py_None
); resultobj
= Py_None
;
14471 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14472 PyObject
*resultobj
;
14473 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14477 PyObject
* obj0
= 0 ;
14478 PyObject
* obj1
= 0 ;
14479 char *kwnames
[] = {
14480 (char *) "self",(char *) "sizePage", NULL
14483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14488 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14492 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14494 wxPyEndAllowThreads(__tstate
);
14495 if (PyErr_Occurred()) SWIG_fail
;
14498 wxSize
* resultptr
;
14499 resultptr
= new wxSize((wxSize
&) result
);
14500 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14508 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14509 PyObject
*resultobj
;
14510 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14513 PyObject
* obj0
= 0 ;
14514 PyObject
* obj1
= 0 ;
14515 char *kwnames
[] = {
14516 (char *) "self",(char *) "n", NULL
14519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14522 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14523 if (PyErr_Occurred()) SWIG_fail
;
14525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14526 result
= (bool)(arg1
)->DeletePage(arg2
);
14528 wxPyEndAllowThreads(__tstate
);
14529 if (PyErr_Occurred()) SWIG_fail
;
14532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14540 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14541 PyObject
*resultobj
;
14542 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14545 PyObject
* obj0
= 0 ;
14546 PyObject
* obj1
= 0 ;
14547 char *kwnames
[] = {
14548 (char *) "self",(char *) "n", NULL
14551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14554 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14555 if (PyErr_Occurred()) SWIG_fail
;
14557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14558 result
= (bool)(arg1
)->RemovePage(arg2
);
14560 wxPyEndAllowThreads(__tstate
);
14561 if (PyErr_Occurred()) SWIG_fail
;
14564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14572 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14573 PyObject
*resultobj
;
14574 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14576 PyObject
* obj0
= 0 ;
14577 char *kwnames
[] = {
14578 (char *) "self", NULL
14581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
14582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14586 result
= (bool)(arg1
)->DeleteAllPages();
14588 wxPyEndAllowThreads(__tstate
);
14589 if (PyErr_Occurred()) SWIG_fail
;
14592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14600 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14601 PyObject
*resultobj
;
14602 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14603 wxWindow
*arg2
= (wxWindow
*) 0 ;
14604 wxString
*arg3
= 0 ;
14605 bool arg4
= (bool) False
;
14606 int arg5
= (int) -1 ;
14608 bool temp3
= False
;
14609 PyObject
* obj0
= 0 ;
14610 PyObject
* obj1
= 0 ;
14611 PyObject
* obj2
= 0 ;
14612 PyObject
* obj3
= 0 ;
14613 PyObject
* obj4
= 0 ;
14614 char *kwnames
[] = {
14615 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14621 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14624 arg3
= wxString_in_helper(obj2
);
14625 if (arg3
== NULL
) SWIG_fail
;
14629 arg4
= (bool) SWIG_AsBool(obj3
);
14630 if (PyErr_Occurred()) SWIG_fail
;
14633 arg5
= (int) SWIG_AsInt(obj4
);
14634 if (PyErr_Occurred()) SWIG_fail
;
14637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14638 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
14640 wxPyEndAllowThreads(__tstate
);
14641 if (PyErr_Occurred()) SWIG_fail
;
14644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14660 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14661 PyObject
*resultobj
;
14662 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14664 wxWindow
*arg3
= (wxWindow
*) 0 ;
14665 wxString
*arg4
= 0 ;
14666 bool arg5
= (bool) False
;
14667 int arg6
= (int) -1 ;
14669 bool temp4
= False
;
14670 PyObject
* obj0
= 0 ;
14671 PyObject
* obj1
= 0 ;
14672 PyObject
* obj2
= 0 ;
14673 PyObject
* obj3
= 0 ;
14674 PyObject
* obj4
= 0 ;
14675 PyObject
* obj5
= 0 ;
14676 char *kwnames
[] = {
14677 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14683 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14684 if (PyErr_Occurred()) SWIG_fail
;
14685 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
14686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14688 arg4
= wxString_in_helper(obj3
);
14689 if (arg4
== NULL
) SWIG_fail
;
14693 arg5
= (bool) SWIG_AsBool(obj4
);
14694 if (PyErr_Occurred()) SWIG_fail
;
14697 arg6
= (int) SWIG_AsInt(obj5
);
14698 if (PyErr_Occurred()) SWIG_fail
;
14701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14702 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
14704 wxPyEndAllowThreads(__tstate
);
14705 if (PyErr_Occurred()) SWIG_fail
;
14708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14724 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14725 PyObject
*resultobj
;
14726 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14729 PyObject
* obj0
= 0 ;
14730 PyObject
* obj1
= 0 ;
14731 char *kwnames
[] = {
14732 (char *) "self",(char *) "n", NULL
14735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14738 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14739 if (PyErr_Occurred()) SWIG_fail
;
14741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14742 result
= (int)(arg1
)->SetSelection(arg2
);
14744 wxPyEndAllowThreads(__tstate
);
14745 if (PyErr_Occurred()) SWIG_fail
;
14747 resultobj
= SWIG_FromInt((int)result
);
14754 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14755 PyObject
*resultobj
;
14756 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14757 bool arg2
= (bool) True
;
14758 PyObject
* obj0
= 0 ;
14759 PyObject
* obj1
= 0 ;
14760 char *kwnames
[] = {
14761 (char *) "self",(char *) "forward", NULL
14764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14768 arg2
= (bool) SWIG_AsBool(obj1
);
14769 if (PyErr_Occurred()) SWIG_fail
;
14772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14773 (arg1
)->AdvanceSelection(arg2
);
14775 wxPyEndAllowThreads(__tstate
);
14776 if (PyErr_Occurred()) SWIG_fail
;
14778 Py_INCREF(Py_None
); resultobj
= Py_None
;
14785 static PyObject
*_wrap_BookCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14786 PyObject
*resultobj
;
14787 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14788 wxVisualAttributes result
;
14789 PyObject
* obj0
= 0 ;
14790 char *kwnames
[] = {
14791 (char *) "variant", NULL
14794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14796 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
14797 if (PyErr_Occurred()) SWIG_fail
;
14800 if (!wxPyCheckForApp()) SWIG_fail
;
14801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14802 result
= wxBookCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14804 wxPyEndAllowThreads(__tstate
);
14805 if (PyErr_Occurred()) SWIG_fail
;
14808 wxVisualAttributes
* resultptr
;
14809 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14810 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14818 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
14820 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14821 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
14823 return Py_BuildValue((char *)"");
14825 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14826 PyObject
*resultobj
;
14827 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14828 int arg2
= (int) 0 ;
14829 int arg3
= (int) -1 ;
14830 int arg4
= (int) -1 ;
14831 wxBookCtrlEvent
*result
;
14832 PyObject
* obj0
= 0 ;
14833 PyObject
* obj1
= 0 ;
14834 PyObject
* obj2
= 0 ;
14835 PyObject
* obj3
= 0 ;
14836 char *kwnames
[] = {
14837 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14842 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14843 if (PyErr_Occurred()) SWIG_fail
;
14846 arg2
= (int) SWIG_AsInt(obj1
);
14847 if (PyErr_Occurred()) SWIG_fail
;
14850 arg3
= (int) SWIG_AsInt(obj2
);
14851 if (PyErr_Occurred()) SWIG_fail
;
14854 arg4
= (int) SWIG_AsInt(obj3
);
14855 if (PyErr_Occurred()) SWIG_fail
;
14858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14859 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
14861 wxPyEndAllowThreads(__tstate
);
14862 if (PyErr_Occurred()) SWIG_fail
;
14864 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlEvent
, 1);
14871 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14872 PyObject
*resultobj
;
14873 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14875 PyObject
* obj0
= 0 ;
14876 char *kwnames
[] = {
14877 (char *) "self", NULL
14880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
14881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14885 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
14887 wxPyEndAllowThreads(__tstate
);
14888 if (PyErr_Occurred()) SWIG_fail
;
14890 resultobj
= SWIG_FromInt((int)result
);
14897 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14898 PyObject
*resultobj
;
14899 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14901 PyObject
* obj0
= 0 ;
14902 PyObject
* obj1
= 0 ;
14903 char *kwnames
[] = {
14904 (char *) "self",(char *) "nSel", NULL
14907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14910 arg2
= (int) SWIG_AsInt(obj1
);
14911 if (PyErr_Occurred()) SWIG_fail
;
14913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14914 (arg1
)->SetSelection(arg2
);
14916 wxPyEndAllowThreads(__tstate
);
14917 if (PyErr_Occurred()) SWIG_fail
;
14919 Py_INCREF(Py_None
); resultobj
= Py_None
;
14926 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14927 PyObject
*resultobj
;
14928 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14930 PyObject
* obj0
= 0 ;
14931 char *kwnames
[] = {
14932 (char *) "self", NULL
14935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
14936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14940 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
14942 wxPyEndAllowThreads(__tstate
);
14943 if (PyErr_Occurred()) SWIG_fail
;
14945 resultobj
= SWIG_FromInt((int)result
);
14952 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14953 PyObject
*resultobj
;
14954 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14956 PyObject
* obj0
= 0 ;
14957 PyObject
* obj1
= 0 ;
14958 char *kwnames
[] = {
14959 (char *) "self",(char *) "nOldSel", NULL
14962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14965 arg2
= (int) SWIG_AsInt(obj1
);
14966 if (PyErr_Occurred()) SWIG_fail
;
14968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14969 (arg1
)->SetOldSelection(arg2
);
14971 wxPyEndAllowThreads(__tstate
);
14972 if (PyErr_Occurred()) SWIG_fail
;
14974 Py_INCREF(Py_None
); resultobj
= Py_None
;
14981 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14983 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14984 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
14986 return Py_BuildValue((char *)"");
14988 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14989 PyObject
*resultobj
;
14990 wxWindow
*arg1
= (wxWindow
*) 0 ;
14991 int arg2
= (int) -1 ;
14992 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14993 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14994 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14995 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14996 long arg5
= (long) 0 ;
14997 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
14998 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14999 wxNotebook
*result
;
15002 bool temp6
= False
;
15003 PyObject
* obj0
= 0 ;
15004 PyObject
* obj1
= 0 ;
15005 PyObject
* obj2
= 0 ;
15006 PyObject
* obj3
= 0 ;
15007 PyObject
* obj4
= 0 ;
15008 PyObject
* obj5
= 0 ;
15009 char *kwnames
[] = {
15010 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15017 arg2
= (int) SWIG_AsInt(obj1
);
15018 if (PyErr_Occurred()) SWIG_fail
;
15023 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15029 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15033 arg5
= (long) SWIG_AsLong(obj4
);
15034 if (PyErr_Occurred()) SWIG_fail
;
15038 arg6
= wxString_in_helper(obj5
);
15039 if (arg6
== NULL
) SWIG_fail
;
15044 if (!wxPyCheckForApp()) SWIG_fail
;
15045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15046 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15048 wxPyEndAllowThreads(__tstate
);
15049 if (PyErr_Occurred()) SWIG_fail
;
15051 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
15066 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15067 PyObject
*resultobj
;
15068 wxNotebook
*result
;
15069 char *kwnames
[] = {
15073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
15075 if (!wxPyCheckForApp()) SWIG_fail
;
15076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15077 result
= (wxNotebook
*)new wxNotebook();
15079 wxPyEndAllowThreads(__tstate
);
15080 if (PyErr_Occurred()) SWIG_fail
;
15082 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
15089 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15090 PyObject
*resultobj
;
15091 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15092 wxWindow
*arg2
= (wxWindow
*) 0 ;
15093 int arg3
= (int) -1 ;
15094 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15095 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15096 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15097 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15098 long arg6
= (long) 0 ;
15099 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
15100 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15104 bool temp7
= False
;
15105 PyObject
* obj0
= 0 ;
15106 PyObject
* obj1
= 0 ;
15107 PyObject
* obj2
= 0 ;
15108 PyObject
* obj3
= 0 ;
15109 PyObject
* obj4
= 0 ;
15110 PyObject
* obj5
= 0 ;
15111 PyObject
* obj6
= 0 ;
15112 char *kwnames
[] = {
15113 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15119 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15122 arg3
= (int) SWIG_AsInt(obj2
);
15123 if (PyErr_Occurred()) SWIG_fail
;
15128 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15134 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15138 arg6
= (long) SWIG_AsLong(obj5
);
15139 if (PyErr_Occurred()) SWIG_fail
;
15143 arg7
= wxString_in_helper(obj6
);
15144 if (arg7
== NULL
) SWIG_fail
;
15149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15150 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15152 wxPyEndAllowThreads(__tstate
);
15153 if (PyErr_Occurred()) SWIG_fail
;
15156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15172 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15173 PyObject
*resultobj
;
15174 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15176 PyObject
* obj0
= 0 ;
15177 char *kwnames
[] = {
15178 (char *) "self", NULL
15181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
15182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15186 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
15188 wxPyEndAllowThreads(__tstate
);
15189 if (PyErr_Occurred()) SWIG_fail
;
15191 resultobj
= SWIG_FromInt((int)result
);
15198 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15199 PyObject
*resultobj
;
15200 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15203 PyObject
* obj0
= 0 ;
15204 PyObject
* obj1
= 0 ;
15205 char *kwnames
[] = {
15206 (char *) "self",(char *) "padding", NULL
15209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
15210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15214 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15218 (arg1
)->SetPadding((wxSize
const &)*arg2
);
15220 wxPyEndAllowThreads(__tstate
);
15221 if (PyErr_Occurred()) SWIG_fail
;
15223 Py_INCREF(Py_None
); resultobj
= Py_None
;
15230 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15231 PyObject
*resultobj
;
15232 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15235 PyObject
* obj0
= 0 ;
15236 PyObject
* obj1
= 0 ;
15237 char *kwnames
[] = {
15238 (char *) "self",(char *) "sz", NULL
15241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15246 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15250 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
15252 wxPyEndAllowThreads(__tstate
);
15253 if (PyErr_Occurred()) SWIG_fail
;
15255 Py_INCREF(Py_None
); resultobj
= Py_None
;
15262 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15263 PyObject
*resultobj
;
15264 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15265 wxPoint
*arg2
= 0 ;
15266 long *arg3
= (long *) 0 ;
15270 PyObject
* obj0
= 0 ;
15271 PyObject
* obj1
= 0 ;
15272 char *kwnames
[] = {
15273 (char *) "self",(char *) "pt", NULL
15277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
15278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15282 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15286 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
15288 wxPyEndAllowThreads(__tstate
);
15289 if (PyErr_Occurred()) SWIG_fail
;
15291 resultobj
= SWIG_FromInt((int)result
);
15293 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15294 resultobj
= t_output_helper(resultobj
,o
);
15302 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15303 PyObject
*resultobj
;
15304 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15308 PyObject
* obj0
= 0 ;
15309 PyObject
* obj1
= 0 ;
15310 char *kwnames
[] = {
15311 (char *) "self",(char *) "sizePage", NULL
15314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
15315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15319 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15323 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
15325 wxPyEndAllowThreads(__tstate
);
15326 if (PyErr_Occurred()) SWIG_fail
;
15329 wxSize
* resultptr
;
15330 resultptr
= new wxSize((wxSize
&) result
);
15331 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15339 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15340 PyObject
*resultobj
;
15341 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
15342 wxVisualAttributes result
;
15343 PyObject
* obj0
= 0 ;
15344 char *kwnames
[] = {
15345 (char *) "variant", NULL
15348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15350 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
15351 if (PyErr_Occurred()) SWIG_fail
;
15354 if (!wxPyCheckForApp()) SWIG_fail
;
15355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15356 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15358 wxPyEndAllowThreads(__tstate
);
15359 if (PyErr_Occurred()) SWIG_fail
;
15362 wxVisualAttributes
* resultptr
;
15363 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
15364 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15372 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
15374 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15375 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
15377 return Py_BuildValue((char *)"");
15379 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15380 PyObject
*resultobj
;
15381 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15382 int arg2
= (int) 0 ;
15383 int arg3
= (int) -1 ;
15384 int arg4
= (int) -1 ;
15385 wxNotebookEvent
*result
;
15386 PyObject
* obj0
= 0 ;
15387 PyObject
* obj1
= 0 ;
15388 PyObject
* obj2
= 0 ;
15389 PyObject
* obj3
= 0 ;
15390 char *kwnames
[] = {
15391 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15396 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15397 if (PyErr_Occurred()) SWIG_fail
;
15400 arg2
= (int) SWIG_AsInt(obj1
);
15401 if (PyErr_Occurred()) SWIG_fail
;
15404 arg3
= (int) SWIG_AsInt(obj2
);
15405 if (PyErr_Occurred()) SWIG_fail
;
15408 arg4
= (int) SWIG_AsInt(obj3
);
15409 if (PyErr_Occurred()) SWIG_fail
;
15412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15413 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
15415 wxPyEndAllowThreads(__tstate
);
15416 if (PyErr_Occurred()) SWIG_fail
;
15418 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
15425 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15427 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15428 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
15430 return Py_BuildValue((char *)"");
15432 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15433 PyObject
*resultobj
;
15434 wxWindow
*arg1
= (wxWindow
*) 0 ;
15435 int arg2
= (int) -1 ;
15436 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15437 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15438 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15439 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15440 long arg5
= (long) 0 ;
15441 wxString
const &arg6_defvalue
= wxPyEmptyString
;
15442 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15443 wxListbook
*result
;
15446 bool temp6
= False
;
15447 PyObject
* obj0
= 0 ;
15448 PyObject
* obj1
= 0 ;
15449 PyObject
* obj2
= 0 ;
15450 PyObject
* obj3
= 0 ;
15451 PyObject
* obj4
= 0 ;
15452 PyObject
* obj5
= 0 ;
15453 char *kwnames
[] = {
15454 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15461 arg2
= (int) SWIG_AsInt(obj1
);
15462 if (PyErr_Occurred()) SWIG_fail
;
15467 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15473 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15477 arg5
= (long) SWIG_AsLong(obj4
);
15478 if (PyErr_Occurred()) SWIG_fail
;
15482 arg6
= wxString_in_helper(obj5
);
15483 if (arg6
== NULL
) SWIG_fail
;
15488 if (!wxPyCheckForApp()) SWIG_fail
;
15489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15490 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15492 wxPyEndAllowThreads(__tstate
);
15493 if (PyErr_Occurred()) SWIG_fail
;
15495 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15510 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15511 PyObject
*resultobj
;
15512 wxListbook
*result
;
15513 char *kwnames
[] = {
15517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
15519 if (!wxPyCheckForApp()) SWIG_fail
;
15520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15521 result
= (wxListbook
*)new wxListbook();
15523 wxPyEndAllowThreads(__tstate
);
15524 if (PyErr_Occurred()) SWIG_fail
;
15526 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15533 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15534 PyObject
*resultobj
;
15535 wxListbook
*arg1
= (wxListbook
*) 0 ;
15536 wxWindow
*arg2
= (wxWindow
*) 0 ;
15537 int arg3
= (int) -1 ;
15538 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15539 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15540 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15541 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15542 long arg6
= (long) 0 ;
15543 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15544 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15548 bool temp7
= False
;
15549 PyObject
* obj0
= 0 ;
15550 PyObject
* obj1
= 0 ;
15551 PyObject
* obj2
= 0 ;
15552 PyObject
* obj3
= 0 ;
15553 PyObject
* obj4
= 0 ;
15554 PyObject
* obj5
= 0 ;
15555 PyObject
* obj6
= 0 ;
15556 char *kwnames
[] = {
15557 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15563 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15566 arg3
= (int) SWIG_AsInt(obj2
);
15567 if (PyErr_Occurred()) SWIG_fail
;
15572 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15578 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15582 arg6
= (long) SWIG_AsLong(obj5
);
15583 if (PyErr_Occurred()) SWIG_fail
;
15587 arg7
= wxString_in_helper(obj6
);
15588 if (arg7
== NULL
) SWIG_fail
;
15593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15594 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15596 wxPyEndAllowThreads(__tstate
);
15597 if (PyErr_Occurred()) SWIG_fail
;
15600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15616 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15617 PyObject
*resultobj
;
15618 wxListbook
*arg1
= (wxListbook
*) 0 ;
15620 PyObject
* obj0
= 0 ;
15621 char *kwnames
[] = {
15622 (char *) "self", NULL
15625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
15626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15630 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
15632 wxPyEndAllowThreads(__tstate
);
15633 if (PyErr_Occurred()) SWIG_fail
;
15636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15644 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
15646 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15647 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
15649 return Py_BuildValue((char *)"");
15651 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15652 PyObject
*resultobj
;
15653 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15654 int arg2
= (int) 0 ;
15655 int arg3
= (int) -1 ;
15656 int arg4
= (int) -1 ;
15657 wxListbookEvent
*result
;
15658 PyObject
* obj0
= 0 ;
15659 PyObject
* obj1
= 0 ;
15660 PyObject
* obj2
= 0 ;
15661 PyObject
* obj3
= 0 ;
15662 char *kwnames
[] = {
15663 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15668 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15669 if (PyErr_Occurred()) SWIG_fail
;
15672 arg2
= (int) SWIG_AsInt(obj1
);
15673 if (PyErr_Occurred()) SWIG_fail
;
15676 arg3
= (int) SWIG_AsInt(obj2
);
15677 if (PyErr_Occurred()) SWIG_fail
;
15680 arg4
= (int) SWIG_AsInt(obj3
);
15681 if (PyErr_Occurred()) SWIG_fail
;
15684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15685 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
15687 wxPyEndAllowThreads(__tstate
);
15688 if (PyErr_Occurred()) SWIG_fail
;
15690 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
15697 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15699 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15700 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
15702 return Py_BuildValue((char *)"");
15704 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15705 PyObject
*resultobj
;
15706 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
15707 wxBookCtrlSizer
*result
;
15708 PyObject
* obj0
= 0 ;
15709 char *kwnames
[] = {
15710 (char *) "nb", NULL
15713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
15714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
15715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15718 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
15720 wxPyEndAllowThreads(__tstate
);
15721 if (PyErr_Occurred()) SWIG_fail
;
15723 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
15730 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15731 PyObject
*resultobj
;
15732 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15733 PyObject
* obj0
= 0 ;
15734 char *kwnames
[] = {
15735 (char *) "self", NULL
15738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15743 (arg1
)->RecalcSizes();
15745 wxPyEndAllowThreads(__tstate
);
15746 if (PyErr_Occurred()) SWIG_fail
;
15748 Py_INCREF(Py_None
); resultobj
= Py_None
;
15755 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15756 PyObject
*resultobj
;
15757 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15759 PyObject
* obj0
= 0 ;
15760 char *kwnames
[] = {
15761 (char *) "self", NULL
15764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
15765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15769 result
= (arg1
)->CalcMin();
15771 wxPyEndAllowThreads(__tstate
);
15772 if (PyErr_Occurred()) SWIG_fail
;
15775 wxSize
* resultptr
;
15776 resultptr
= new wxSize((wxSize
&) result
);
15777 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15785 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15786 PyObject
*resultobj
;
15787 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15788 wxBookCtrl
*result
;
15789 PyObject
* obj0
= 0 ;
15790 char *kwnames
[] = {
15791 (char *) "self", NULL
15794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
15795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15799 result
= (wxBookCtrl
*)(arg1
)->GetControl();
15801 wxPyEndAllowThreads(__tstate
);
15802 if (PyErr_Occurred()) SWIG_fail
;
15804 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrl
, 0);
15811 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
15813 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15814 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
15816 return Py_BuildValue((char *)"");
15818 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15819 PyObject
*resultobj
;
15820 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15821 wxNotebookSizer
*result
;
15822 PyObject
* obj0
= 0 ;
15823 char *kwnames
[] = {
15824 (char *) "nb", NULL
15827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
15828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15832 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
15834 wxPyEndAllowThreads(__tstate
);
15835 if (PyErr_Occurred()) SWIG_fail
;
15837 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
15844 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15845 PyObject
*resultobj
;
15846 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15847 PyObject
* obj0
= 0 ;
15848 char *kwnames
[] = {
15849 (char *) "self", NULL
15852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15857 (arg1
)->RecalcSizes();
15859 wxPyEndAllowThreads(__tstate
);
15860 if (PyErr_Occurred()) SWIG_fail
;
15862 Py_INCREF(Py_None
); resultobj
= Py_None
;
15869 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15870 PyObject
*resultobj
;
15871 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15873 PyObject
* obj0
= 0 ;
15874 char *kwnames
[] = {
15875 (char *) "self", NULL
15878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
15879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15883 result
= (arg1
)->CalcMin();
15885 wxPyEndAllowThreads(__tstate
);
15886 if (PyErr_Occurred()) SWIG_fail
;
15889 wxSize
* resultptr
;
15890 resultptr
= new wxSize((wxSize
&) result
);
15891 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15899 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15900 PyObject
*resultobj
;
15901 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15902 wxNotebook
*result
;
15903 PyObject
* obj0
= 0 ;
15904 char *kwnames
[] = {
15905 (char *) "self", NULL
15908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
15909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15913 result
= (wxNotebook
*)(arg1
)->GetNotebook();
15915 wxPyEndAllowThreads(__tstate
);
15916 if (PyErr_Occurred()) SWIG_fail
;
15919 resultobj
= wxPyMake_wxObject(result
, 0);
15927 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
15929 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15930 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
15932 return Py_BuildValue((char *)"");
15934 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15935 PyObject
*resultobj
;
15936 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15938 PyObject
* obj0
= 0 ;
15939 char *kwnames
[] = {
15940 (char *) "self", NULL
15943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
15944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15948 result
= (int)(arg1
)->GetId();
15950 wxPyEndAllowThreads(__tstate
);
15951 if (PyErr_Occurred()) SWIG_fail
;
15953 resultobj
= SWIG_FromInt((int)result
);
15960 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15961 PyObject
*resultobj
;
15962 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15964 PyObject
* obj0
= 0 ;
15965 char *kwnames
[] = {
15966 (char *) "self", NULL
15969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
15970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15974 result
= (wxControl
*)(arg1
)->GetControl();
15976 wxPyEndAllowThreads(__tstate
);
15977 if (PyErr_Occurred()) SWIG_fail
;
15980 resultobj
= wxPyMake_wxObject(result
, 0);
15988 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15989 PyObject
*resultobj
;
15990 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15991 wxToolBarBase
*result
;
15992 PyObject
* obj0
= 0 ;
15993 char *kwnames
[] = {
15994 (char *) "self", NULL
15997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
15998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16002 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
16004 wxPyEndAllowThreads(__tstate
);
16005 if (PyErr_Occurred()) SWIG_fail
;
16008 resultobj
= wxPyMake_wxObject(result
, 0);
16016 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16017 PyObject
*resultobj
;
16018 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16020 PyObject
* obj0
= 0 ;
16021 char *kwnames
[] = {
16022 (char *) "self", NULL
16025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
16026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16030 result
= (int)(arg1
)->IsButton();
16032 wxPyEndAllowThreads(__tstate
);
16033 if (PyErr_Occurred()) SWIG_fail
;
16035 resultobj
= SWIG_FromInt((int)result
);
16042 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16043 PyObject
*resultobj
;
16044 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16046 PyObject
* obj0
= 0 ;
16047 char *kwnames
[] = {
16048 (char *) "self", NULL
16051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
16052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16056 result
= (int)(arg1
)->IsControl();
16058 wxPyEndAllowThreads(__tstate
);
16059 if (PyErr_Occurred()) SWIG_fail
;
16061 resultobj
= SWIG_FromInt((int)result
);
16068 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16069 PyObject
*resultobj
;
16070 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16072 PyObject
* obj0
= 0 ;
16073 char *kwnames
[] = {
16074 (char *) "self", NULL
16077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
16078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16082 result
= (int)(arg1
)->IsSeparator();
16084 wxPyEndAllowThreads(__tstate
);
16085 if (PyErr_Occurred()) SWIG_fail
;
16087 resultobj
= SWIG_FromInt((int)result
);
16094 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16095 PyObject
*resultobj
;
16096 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16098 PyObject
* obj0
= 0 ;
16099 char *kwnames
[] = {
16100 (char *) "self", NULL
16103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16108 result
= (int)(arg1
)->GetStyle();
16110 wxPyEndAllowThreads(__tstate
);
16111 if (PyErr_Occurred()) SWIG_fail
;
16113 resultobj
= SWIG_FromInt((int)result
);
16120 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16121 PyObject
*resultobj
;
16122 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16124 PyObject
* obj0
= 0 ;
16125 char *kwnames
[] = {
16126 (char *) "self", NULL
16129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
16130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16134 result
= (int)(arg1
)->GetKind();
16136 wxPyEndAllowThreads(__tstate
);
16137 if (PyErr_Occurred()) SWIG_fail
;
16139 resultobj
= SWIG_FromInt((int)result
);
16146 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16147 PyObject
*resultobj
;
16148 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16150 PyObject
* obj0
= 0 ;
16151 char *kwnames
[] = {
16152 (char *) "self", NULL
16155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
16156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16160 result
= (bool)(arg1
)->IsEnabled();
16162 wxPyEndAllowThreads(__tstate
);
16163 if (PyErr_Occurred()) SWIG_fail
;
16166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16174 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16175 PyObject
*resultobj
;
16176 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16178 PyObject
* obj0
= 0 ;
16179 char *kwnames
[] = {
16180 (char *) "self", NULL
16183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
16184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16188 result
= (bool)(arg1
)->IsToggled();
16190 wxPyEndAllowThreads(__tstate
);
16191 if (PyErr_Occurred()) SWIG_fail
;
16194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16202 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16203 PyObject
*resultobj
;
16204 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16206 PyObject
* obj0
= 0 ;
16207 char *kwnames
[] = {
16208 (char *) "self", NULL
16211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
16212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16216 result
= (bool)(arg1
)->CanBeToggled();
16218 wxPyEndAllowThreads(__tstate
);
16219 if (PyErr_Occurred()) SWIG_fail
;
16222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16230 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16231 PyObject
*resultobj
;
16232 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16234 PyObject
* obj0
= 0 ;
16235 char *kwnames
[] = {
16236 (char *) "self", NULL
16239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
16240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16245 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
16246 result
= (wxBitmap
*) &_result_ref
;
16249 wxPyEndAllowThreads(__tstate
);
16250 if (PyErr_Occurred()) SWIG_fail
;
16253 wxBitmap
* resultptr
= new wxBitmap(*result
);
16254 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16262 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16263 PyObject
*resultobj
;
16264 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16266 PyObject
* obj0
= 0 ;
16267 char *kwnames
[] = {
16268 (char *) "self", NULL
16271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
16272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16277 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
16278 result
= (wxBitmap
*) &_result_ref
;
16281 wxPyEndAllowThreads(__tstate
);
16282 if (PyErr_Occurred()) SWIG_fail
;
16285 wxBitmap
* resultptr
= new wxBitmap(*result
);
16286 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16294 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16295 PyObject
*resultobj
;
16296 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16298 PyObject
* obj0
= 0 ;
16299 char *kwnames
[] = {
16300 (char *) "self", NULL
16303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
16304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16308 result
= (arg1
)->GetBitmap();
16310 wxPyEndAllowThreads(__tstate
);
16311 if (PyErr_Occurred()) SWIG_fail
;
16314 wxBitmap
* resultptr
;
16315 resultptr
= new wxBitmap((wxBitmap
&) result
);
16316 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16324 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16325 PyObject
*resultobj
;
16326 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16328 PyObject
* obj0
= 0 ;
16329 char *kwnames
[] = {
16330 (char *) "self", NULL
16333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
16334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16338 result
= (arg1
)->GetLabel();
16340 wxPyEndAllowThreads(__tstate
);
16341 if (PyErr_Occurred()) SWIG_fail
;
16345 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16347 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16356 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16357 PyObject
*resultobj
;
16358 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16360 PyObject
* obj0
= 0 ;
16361 char *kwnames
[] = {
16362 (char *) "self", NULL
16365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
16366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16370 result
= (arg1
)->GetShortHelp();
16372 wxPyEndAllowThreads(__tstate
);
16373 if (PyErr_Occurred()) SWIG_fail
;
16377 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16379 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16388 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16389 PyObject
*resultobj
;
16390 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16392 PyObject
* obj0
= 0 ;
16393 char *kwnames
[] = {
16394 (char *) "self", NULL
16397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
16398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16402 result
= (arg1
)->GetLongHelp();
16404 wxPyEndAllowThreads(__tstate
);
16405 if (PyErr_Occurred()) SWIG_fail
;
16409 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16411 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16420 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16421 PyObject
*resultobj
;
16422 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16425 PyObject
* obj0
= 0 ;
16426 PyObject
* obj1
= 0 ;
16427 char *kwnames
[] = {
16428 (char *) "self",(char *) "enable", NULL
16431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
16432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16434 arg2
= (bool) SWIG_AsBool(obj1
);
16435 if (PyErr_Occurred()) SWIG_fail
;
16437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16438 result
= (bool)(arg1
)->Enable(arg2
);
16440 wxPyEndAllowThreads(__tstate
);
16441 if (PyErr_Occurred()) SWIG_fail
;
16444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16452 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16453 PyObject
*resultobj
;
16454 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16455 PyObject
* obj0
= 0 ;
16456 char *kwnames
[] = {
16457 (char *) "self", NULL
16460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
16461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16467 wxPyEndAllowThreads(__tstate
);
16468 if (PyErr_Occurred()) SWIG_fail
;
16470 Py_INCREF(Py_None
); resultobj
= Py_None
;
16477 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16478 PyObject
*resultobj
;
16479 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16482 PyObject
* obj0
= 0 ;
16483 PyObject
* obj1
= 0 ;
16484 char *kwnames
[] = {
16485 (char *) "self",(char *) "toggle", NULL
16488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
16489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16491 arg2
= (bool) SWIG_AsBool(obj1
);
16492 if (PyErr_Occurred()) SWIG_fail
;
16494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16495 result
= (bool)(arg1
)->SetToggle(arg2
);
16497 wxPyEndAllowThreads(__tstate
);
16498 if (PyErr_Occurred()) SWIG_fail
;
16501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16509 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16510 PyObject
*resultobj
;
16511 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16512 wxString
*arg2
= 0 ;
16514 bool temp2
= False
;
16515 PyObject
* obj0
= 0 ;
16516 PyObject
* obj1
= 0 ;
16517 char *kwnames
[] = {
16518 (char *) "self",(char *) "help", NULL
16521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16525 arg2
= wxString_in_helper(obj1
);
16526 if (arg2
== NULL
) SWIG_fail
;
16530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16531 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
16533 wxPyEndAllowThreads(__tstate
);
16534 if (PyErr_Occurred()) SWIG_fail
;
16537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16553 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16554 PyObject
*resultobj
;
16555 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16556 wxString
*arg2
= 0 ;
16558 bool temp2
= False
;
16559 PyObject
* obj0
= 0 ;
16560 PyObject
* obj1
= 0 ;
16561 char *kwnames
[] = {
16562 (char *) "self",(char *) "help", NULL
16565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16569 arg2
= wxString_in_helper(obj1
);
16570 if (arg2
== NULL
) SWIG_fail
;
16574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16575 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
16577 wxPyEndAllowThreads(__tstate
);
16578 if (PyErr_Occurred()) SWIG_fail
;
16581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16597 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16598 PyObject
*resultobj
;
16599 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16600 wxBitmap
*arg2
= 0 ;
16601 PyObject
* obj0
= 0 ;
16602 PyObject
* obj1
= 0 ;
16603 char *kwnames
[] = {
16604 (char *) "self",(char *) "bmp", NULL
16607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
16608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16610 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16611 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16613 if (arg2
== NULL
) {
16614 PyErr_SetString(PyExc_TypeError
,"null reference");
16618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16619 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
16621 wxPyEndAllowThreads(__tstate
);
16622 if (PyErr_Occurred()) SWIG_fail
;
16624 Py_INCREF(Py_None
); resultobj
= Py_None
;
16631 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16632 PyObject
*resultobj
;
16633 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16634 wxBitmap
*arg2
= 0 ;
16635 PyObject
* obj0
= 0 ;
16636 PyObject
* obj1
= 0 ;
16637 char *kwnames
[] = {
16638 (char *) "self",(char *) "bmp", NULL
16641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
16642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16644 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16645 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16647 if (arg2
== NULL
) {
16648 PyErr_SetString(PyExc_TypeError
,"null reference");
16652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16653 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
16655 wxPyEndAllowThreads(__tstate
);
16656 if (PyErr_Occurred()) SWIG_fail
;
16658 Py_INCREF(Py_None
); resultobj
= Py_None
;
16665 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16666 PyObject
*resultobj
;
16667 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16668 wxString
*arg2
= 0 ;
16669 bool temp2
= False
;
16670 PyObject
* obj0
= 0 ;
16671 PyObject
* obj1
= 0 ;
16672 char *kwnames
[] = {
16673 (char *) "self",(char *) "label", NULL
16676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
16677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16680 arg2
= wxString_in_helper(obj1
);
16681 if (arg2
== NULL
) SWIG_fail
;
16685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16686 (arg1
)->SetLabel((wxString
const &)*arg2
);
16688 wxPyEndAllowThreads(__tstate
);
16689 if (PyErr_Occurred()) SWIG_fail
;
16691 Py_INCREF(Py_None
); resultobj
= Py_None
;
16706 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16707 PyObject
*resultobj
;
16708 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16709 PyObject
* obj0
= 0 ;
16710 char *kwnames
[] = {
16711 (char *) "self", NULL
16714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
16715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16721 wxPyEndAllowThreads(__tstate
);
16722 if (PyErr_Occurred()) SWIG_fail
;
16724 Py_INCREF(Py_None
); resultobj
= Py_None
;
16731 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16732 PyObject
*resultobj
;
16733 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16734 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
16735 PyObject
* obj0
= 0 ;
16736 PyObject
* obj1
= 0 ;
16737 char *kwnames
[] = {
16738 (char *) "self",(char *) "tbar", NULL
16741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
16742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16744 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
16745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16748 (arg1
)->Attach(arg2
);
16750 wxPyEndAllowThreads(__tstate
);
16751 if (PyErr_Occurred()) SWIG_fail
;
16753 Py_INCREF(Py_None
); resultobj
= Py_None
;
16760 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16761 PyObject
*resultobj
;
16762 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16764 PyObject
* obj0
= 0 ;
16765 char *kwnames
[] = {
16766 (char *) "self", NULL
16769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
16770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16774 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
16776 wxPyEndAllowThreads(__tstate
);
16777 if (PyErr_Occurred()) SWIG_fail
;
16779 resultobj
= result
;
16786 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16787 PyObject
*resultobj
;
16788 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16789 PyObject
*arg2
= (PyObject
*) 0 ;
16790 PyObject
* obj0
= 0 ;
16791 PyObject
* obj1
= 0 ;
16792 char *kwnames
[] = {
16793 (char *) "self",(char *) "clientData", NULL
16796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16802 wxToolBarToolBase_SetClientData(arg1
,arg2
);
16804 wxPyEndAllowThreads(__tstate
);
16805 if (PyErr_Occurred()) SWIG_fail
;
16807 Py_INCREF(Py_None
); resultobj
= Py_None
;
16814 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
16816 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16817 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
16819 return Py_BuildValue((char *)"");
16821 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16822 PyObject
*resultobj
;
16823 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16825 wxString
*arg3
= 0 ;
16826 wxBitmap
*arg4
= 0 ;
16827 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
16828 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
16829 int arg6
= (int) wxITEM_NORMAL
;
16830 wxString
const &arg7_defvalue
= wxPyEmptyString
;
16831 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16832 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16833 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16834 PyObject
*arg9
= (PyObject
*) NULL
;
16835 wxToolBarToolBase
*result
;
16836 bool temp3
= False
;
16837 bool temp7
= False
;
16838 bool temp8
= False
;
16839 PyObject
* obj0
= 0 ;
16840 PyObject
* obj1
= 0 ;
16841 PyObject
* obj2
= 0 ;
16842 PyObject
* obj3
= 0 ;
16843 PyObject
* obj4
= 0 ;
16844 PyObject
* obj5
= 0 ;
16845 PyObject
* obj6
= 0 ;
16846 PyObject
* obj7
= 0 ;
16847 PyObject
* obj8
= 0 ;
16848 char *kwnames
[] = {
16849 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
16853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16855 arg2
= (int) SWIG_AsInt(obj1
);
16856 if (PyErr_Occurred()) SWIG_fail
;
16858 arg3
= wxString_in_helper(obj2
);
16859 if (arg3
== NULL
) SWIG_fail
;
16862 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
16863 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16865 if (arg4
== NULL
) {
16866 PyErr_SetString(PyExc_TypeError
,"null reference");
16870 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16871 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16873 if (arg5
== NULL
) {
16874 PyErr_SetString(PyExc_TypeError
,"null reference");
16879 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
16880 if (PyErr_Occurred()) SWIG_fail
;
16884 arg7
= wxString_in_helper(obj6
);
16885 if (arg7
== NULL
) SWIG_fail
;
16891 arg8
= wxString_in_helper(obj7
);
16892 if (arg8
== NULL
) SWIG_fail
;
16900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16901 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
16903 wxPyEndAllowThreads(__tstate
);
16904 if (PyErr_Occurred()) SWIG_fail
;
16907 resultobj
= wxPyMake_wxObject(result
, 0);
16939 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16940 PyObject
*resultobj
;
16941 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16944 wxString
*arg4
= 0 ;
16945 wxBitmap
*arg5
= 0 ;
16946 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
16947 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
16948 int arg7
= (int) wxITEM_NORMAL
;
16949 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16950 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16951 wxString
const &arg9_defvalue
= wxPyEmptyString
;
16952 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
16953 PyObject
*arg10
= (PyObject
*) NULL
;
16954 wxToolBarToolBase
*result
;
16955 bool temp4
= False
;
16956 bool temp8
= False
;
16957 bool temp9
= False
;
16958 PyObject
* obj0
= 0 ;
16959 PyObject
* obj1
= 0 ;
16960 PyObject
* obj2
= 0 ;
16961 PyObject
* obj3
= 0 ;
16962 PyObject
* obj4
= 0 ;
16963 PyObject
* obj5
= 0 ;
16964 PyObject
* obj6
= 0 ;
16965 PyObject
* obj7
= 0 ;
16966 PyObject
* obj8
= 0 ;
16967 PyObject
* obj9
= 0 ;
16968 char *kwnames
[] = {
16969 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
16973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16975 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16976 if (PyErr_Occurred()) SWIG_fail
;
16977 arg3
= (int) SWIG_AsInt(obj2
);
16978 if (PyErr_Occurred()) SWIG_fail
;
16980 arg4
= wxString_in_helper(obj3
);
16981 if (arg4
== NULL
) SWIG_fail
;
16984 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16985 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16987 if (arg5
== NULL
) {
16988 PyErr_SetString(PyExc_TypeError
,"null reference");
16992 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
16993 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16995 if (arg6
== NULL
) {
16996 PyErr_SetString(PyExc_TypeError
,"null reference");
17001 arg7
= (wxItemKind
) SWIG_AsInt(obj6
);
17002 if (PyErr_Occurred()) SWIG_fail
;
17006 arg8
= wxString_in_helper(obj7
);
17007 if (arg8
== NULL
) SWIG_fail
;
17013 arg9
= wxString_in_helper(obj8
);
17014 if (arg9
== NULL
) SWIG_fail
;
17022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17023 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
);
17025 wxPyEndAllowThreads(__tstate
);
17026 if (PyErr_Occurred()) SWIG_fail
;
17029 resultobj
= wxPyMake_wxObject(result
, 0);
17061 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17062 PyObject
*resultobj
;
17063 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17064 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
17065 wxToolBarToolBase
*result
;
17066 PyObject
* obj0
= 0 ;
17067 PyObject
* obj1
= 0 ;
17068 char *kwnames
[] = {
17069 (char *) "self",(char *) "tool", NULL
17072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
17073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17075 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
17076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17079 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
17081 wxPyEndAllowThreads(__tstate
);
17082 if (PyErr_Occurred()) SWIG_fail
;
17085 resultobj
= wxPyMake_wxObject(result
, 0);
17093 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17094 PyObject
*resultobj
;
17095 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17097 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
17098 wxToolBarToolBase
*result
;
17099 PyObject
* obj0
= 0 ;
17100 PyObject
* obj1
= 0 ;
17101 PyObject
* obj2
= 0 ;
17102 char *kwnames
[] = {
17103 (char *) "self",(char *) "pos",(char *) "tool", NULL
17106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17109 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17110 if (PyErr_Occurred()) SWIG_fail
;
17111 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
17112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17115 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
17117 wxPyEndAllowThreads(__tstate
);
17118 if (PyErr_Occurred()) SWIG_fail
;
17121 resultobj
= wxPyMake_wxObject(result
, 0);
17129 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17130 PyObject
*resultobj
;
17131 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17132 wxControl
*arg2
= (wxControl
*) 0 ;
17133 wxToolBarToolBase
*result
;
17134 PyObject
* obj0
= 0 ;
17135 PyObject
* obj1
= 0 ;
17136 char *kwnames
[] = {
17137 (char *) "self",(char *) "control", NULL
17140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17143 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
17144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17147 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
17149 wxPyEndAllowThreads(__tstate
);
17150 if (PyErr_Occurred()) SWIG_fail
;
17153 resultobj
= wxPyMake_wxObject(result
, 0);
17161 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17162 PyObject
*resultobj
;
17163 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17165 wxControl
*arg3
= (wxControl
*) 0 ;
17166 wxToolBarToolBase
*result
;
17167 PyObject
* obj0
= 0 ;
17168 PyObject
* obj1
= 0 ;
17169 PyObject
* obj2
= 0 ;
17170 char *kwnames
[] = {
17171 (char *) "self",(char *) "pos",(char *) "control", NULL
17174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17177 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17178 if (PyErr_Occurred()) SWIG_fail
;
17179 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
17180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17183 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
17185 wxPyEndAllowThreads(__tstate
);
17186 if (PyErr_Occurred()) SWIG_fail
;
17189 resultobj
= wxPyMake_wxObject(result
, 0);
17197 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17198 PyObject
*resultobj
;
17199 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17202 PyObject
* obj0
= 0 ;
17203 PyObject
* obj1
= 0 ;
17204 char *kwnames
[] = {
17205 (char *) "self",(char *) "id", NULL
17208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17211 arg2
= (int) SWIG_AsInt(obj1
);
17212 if (PyErr_Occurred()) SWIG_fail
;
17214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17215 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
17217 wxPyEndAllowThreads(__tstate
);
17218 if (PyErr_Occurred()) SWIG_fail
;
17221 resultobj
= wxPyMake_wxObject(result
, 0);
17229 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17230 PyObject
*resultobj
;
17231 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17232 wxToolBarToolBase
*result
;
17233 PyObject
* obj0
= 0 ;
17234 char *kwnames
[] = {
17235 (char *) "self", NULL
17238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
17239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17243 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
17245 wxPyEndAllowThreads(__tstate
);
17246 if (PyErr_Occurred()) SWIG_fail
;
17249 resultobj
= wxPyMake_wxObject(result
, 0);
17257 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17258 PyObject
*resultobj
;
17259 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17261 wxToolBarToolBase
*result
;
17262 PyObject
* obj0
= 0 ;
17263 PyObject
* obj1
= 0 ;
17264 char *kwnames
[] = {
17265 (char *) "self",(char *) "pos", NULL
17268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
17269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17271 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17272 if (PyErr_Occurred()) SWIG_fail
;
17274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17275 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
17277 wxPyEndAllowThreads(__tstate
);
17278 if (PyErr_Occurred()) SWIG_fail
;
17281 resultobj
= wxPyMake_wxObject(result
, 0);
17289 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17290 PyObject
*resultobj
;
17291 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17293 wxToolBarToolBase
*result
;
17294 PyObject
* obj0
= 0 ;
17295 PyObject
* obj1
= 0 ;
17296 char *kwnames
[] = {
17297 (char *) "self",(char *) "id", NULL
17300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17303 arg2
= (int) SWIG_AsInt(obj1
);
17304 if (PyErr_Occurred()) SWIG_fail
;
17306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17307 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
17309 wxPyEndAllowThreads(__tstate
);
17310 if (PyErr_Occurred()) SWIG_fail
;
17313 resultobj
= wxPyMake_wxObject(result
, 0);
17321 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17322 PyObject
*resultobj
;
17323 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17326 PyObject
* obj0
= 0 ;
17327 PyObject
* obj1
= 0 ;
17328 char *kwnames
[] = {
17329 (char *) "self",(char *) "pos", NULL
17332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17335 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17336 if (PyErr_Occurred()) SWIG_fail
;
17338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17339 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
17341 wxPyEndAllowThreads(__tstate
);
17342 if (PyErr_Occurred()) SWIG_fail
;
17345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17353 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17354 PyObject
*resultobj
;
17355 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17358 PyObject
* obj0
= 0 ;
17359 PyObject
* obj1
= 0 ;
17360 char *kwnames
[] = {
17361 (char *) "self",(char *) "id", NULL
17364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17367 arg2
= (int) SWIG_AsInt(obj1
);
17368 if (PyErr_Occurred()) SWIG_fail
;
17370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17371 result
= (bool)(arg1
)->DeleteTool(arg2
);
17373 wxPyEndAllowThreads(__tstate
);
17374 if (PyErr_Occurred()) SWIG_fail
;
17377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17385 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17386 PyObject
*resultobj
;
17387 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17388 PyObject
* obj0
= 0 ;
17389 char *kwnames
[] = {
17390 (char *) "self", NULL
17393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
17394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17398 (arg1
)->ClearTools();
17400 wxPyEndAllowThreads(__tstate
);
17401 if (PyErr_Occurred()) SWIG_fail
;
17403 Py_INCREF(Py_None
); resultobj
= Py_None
;
17410 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17411 PyObject
*resultobj
;
17412 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17414 PyObject
* obj0
= 0 ;
17415 char *kwnames
[] = {
17416 (char *) "self", NULL
17419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
17420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17424 result
= (bool)(arg1
)->Realize();
17426 wxPyEndAllowThreads(__tstate
);
17427 if (PyErr_Occurred()) SWIG_fail
;
17430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17438 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17439 PyObject
*resultobj
;
17440 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17443 PyObject
* obj0
= 0 ;
17444 PyObject
* obj1
= 0 ;
17445 PyObject
* obj2
= 0 ;
17446 char *kwnames
[] = {
17447 (char *) "self",(char *) "id",(char *) "enable", NULL
17450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17453 arg2
= (int) SWIG_AsInt(obj1
);
17454 if (PyErr_Occurred()) SWIG_fail
;
17455 arg3
= (bool) SWIG_AsBool(obj2
);
17456 if (PyErr_Occurred()) SWIG_fail
;
17458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17459 (arg1
)->EnableTool(arg2
,arg3
);
17461 wxPyEndAllowThreads(__tstate
);
17462 if (PyErr_Occurred()) SWIG_fail
;
17464 Py_INCREF(Py_None
); resultobj
= Py_None
;
17471 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17472 PyObject
*resultobj
;
17473 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17476 PyObject
* obj0
= 0 ;
17477 PyObject
* obj1
= 0 ;
17478 PyObject
* obj2
= 0 ;
17479 char *kwnames
[] = {
17480 (char *) "self",(char *) "id",(char *) "toggle", NULL
17483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17486 arg2
= (int) SWIG_AsInt(obj1
);
17487 if (PyErr_Occurred()) SWIG_fail
;
17488 arg3
= (bool) SWIG_AsBool(obj2
);
17489 if (PyErr_Occurred()) SWIG_fail
;
17491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17492 (arg1
)->ToggleTool(arg2
,arg3
);
17494 wxPyEndAllowThreads(__tstate
);
17495 if (PyErr_Occurred()) SWIG_fail
;
17497 Py_INCREF(Py_None
); resultobj
= Py_None
;
17504 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17505 PyObject
*resultobj
;
17506 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17509 PyObject
* obj0
= 0 ;
17510 PyObject
* obj1
= 0 ;
17511 PyObject
* obj2
= 0 ;
17512 char *kwnames
[] = {
17513 (char *) "self",(char *) "id",(char *) "toggle", NULL
17516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17519 arg2
= (int) SWIG_AsInt(obj1
);
17520 if (PyErr_Occurred()) SWIG_fail
;
17521 arg3
= (bool) SWIG_AsBool(obj2
);
17522 if (PyErr_Occurred()) SWIG_fail
;
17524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17525 (arg1
)->SetToggle(arg2
,arg3
);
17527 wxPyEndAllowThreads(__tstate
);
17528 if (PyErr_Occurred()) SWIG_fail
;
17530 Py_INCREF(Py_None
); resultobj
= Py_None
;
17537 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17538 PyObject
*resultobj
;
17539 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17542 PyObject
* obj0
= 0 ;
17543 PyObject
* obj1
= 0 ;
17544 char *kwnames
[] = {
17545 (char *) "self",(char *) "id", NULL
17548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
17549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17551 arg2
= (int) SWIG_AsInt(obj1
);
17552 if (PyErr_Occurred()) SWIG_fail
;
17554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17555 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
17557 wxPyEndAllowThreads(__tstate
);
17558 if (PyErr_Occurred()) SWIG_fail
;
17560 resultobj
= result
;
17567 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17568 PyObject
*resultobj
;
17569 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17571 PyObject
*arg3
= (PyObject
*) 0 ;
17572 PyObject
* obj0
= 0 ;
17573 PyObject
* obj1
= 0 ;
17574 PyObject
* obj2
= 0 ;
17575 char *kwnames
[] = {
17576 (char *) "self",(char *) "id",(char *) "clientData", NULL
17579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17582 arg2
= (int) SWIG_AsInt(obj1
);
17583 if (PyErr_Occurred()) SWIG_fail
;
17586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17587 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
17589 wxPyEndAllowThreads(__tstate
);
17590 if (PyErr_Occurred()) SWIG_fail
;
17592 Py_INCREF(Py_None
); resultobj
= Py_None
;
17599 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17600 PyObject
*resultobj
;
17601 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17604 PyObject
* obj0
= 0 ;
17605 PyObject
* obj1
= 0 ;
17606 char *kwnames
[] = {
17607 (char *) "self",(char *) "id", NULL
17610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17613 arg2
= (int) SWIG_AsInt(obj1
);
17614 if (PyErr_Occurred()) SWIG_fail
;
17616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17617 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
17619 wxPyEndAllowThreads(__tstate
);
17620 if (PyErr_Occurred()) SWIG_fail
;
17622 resultobj
= SWIG_FromInt((int)result
);
17629 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17630 PyObject
*resultobj
;
17631 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17634 PyObject
* obj0
= 0 ;
17635 PyObject
* obj1
= 0 ;
17636 char *kwnames
[] = {
17637 (char *) "self",(char *) "id", NULL
17640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
17641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17643 arg2
= (int) SWIG_AsInt(obj1
);
17644 if (PyErr_Occurred()) SWIG_fail
;
17646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17647 result
= (bool)(arg1
)->GetToolState(arg2
);
17649 wxPyEndAllowThreads(__tstate
);
17650 if (PyErr_Occurred()) SWIG_fail
;
17653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17661 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17662 PyObject
*resultobj
;
17663 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17666 PyObject
* obj0
= 0 ;
17667 PyObject
* obj1
= 0 ;
17668 char *kwnames
[] = {
17669 (char *) "self",(char *) "id", NULL
17672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
17673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17675 arg2
= (int) SWIG_AsInt(obj1
);
17676 if (PyErr_Occurred()) SWIG_fail
;
17678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17679 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
17681 wxPyEndAllowThreads(__tstate
);
17682 if (PyErr_Occurred()) SWIG_fail
;
17685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17693 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17694 PyObject
*resultobj
;
17695 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17697 wxString
*arg3
= 0 ;
17698 bool temp3
= False
;
17699 PyObject
* obj0
= 0 ;
17700 PyObject
* obj1
= 0 ;
17701 PyObject
* obj2
= 0 ;
17702 char *kwnames
[] = {
17703 (char *) "self",(char *) "id",(char *) "helpString", NULL
17706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17709 arg2
= (int) SWIG_AsInt(obj1
);
17710 if (PyErr_Occurred()) SWIG_fail
;
17712 arg3
= wxString_in_helper(obj2
);
17713 if (arg3
== NULL
) SWIG_fail
;
17717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17718 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
17720 wxPyEndAllowThreads(__tstate
);
17721 if (PyErr_Occurred()) SWIG_fail
;
17723 Py_INCREF(Py_None
); resultobj
= Py_None
;
17738 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17739 PyObject
*resultobj
;
17740 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17743 PyObject
* obj0
= 0 ;
17744 PyObject
* obj1
= 0 ;
17745 char *kwnames
[] = {
17746 (char *) "self",(char *) "id", NULL
17749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17752 arg2
= (int) SWIG_AsInt(obj1
);
17753 if (PyErr_Occurred()) SWIG_fail
;
17755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17756 result
= (arg1
)->GetToolShortHelp(arg2
);
17758 wxPyEndAllowThreads(__tstate
);
17759 if (PyErr_Occurred()) SWIG_fail
;
17763 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17765 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17774 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17775 PyObject
*resultobj
;
17776 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17778 wxString
*arg3
= 0 ;
17779 bool temp3
= False
;
17780 PyObject
* obj0
= 0 ;
17781 PyObject
* obj1
= 0 ;
17782 PyObject
* obj2
= 0 ;
17783 char *kwnames
[] = {
17784 (char *) "self",(char *) "id",(char *) "helpString", NULL
17787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17790 arg2
= (int) SWIG_AsInt(obj1
);
17791 if (PyErr_Occurred()) SWIG_fail
;
17793 arg3
= wxString_in_helper(obj2
);
17794 if (arg3
== NULL
) SWIG_fail
;
17798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17799 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
17801 wxPyEndAllowThreads(__tstate
);
17802 if (PyErr_Occurred()) SWIG_fail
;
17804 Py_INCREF(Py_None
); resultobj
= Py_None
;
17819 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17820 PyObject
*resultobj
;
17821 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17824 PyObject
* obj0
= 0 ;
17825 PyObject
* obj1
= 0 ;
17826 char *kwnames
[] = {
17827 (char *) "self",(char *) "id", NULL
17830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17833 arg2
= (int) SWIG_AsInt(obj1
);
17834 if (PyErr_Occurred()) SWIG_fail
;
17836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17837 result
= (arg1
)->GetToolLongHelp(arg2
);
17839 wxPyEndAllowThreads(__tstate
);
17840 if (PyErr_Occurred()) SWIG_fail
;
17844 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17846 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17855 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17856 PyObject
*resultobj
;
17857 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17860 PyObject
* obj0
= 0 ;
17861 PyObject
* obj1
= 0 ;
17862 PyObject
* obj2
= 0 ;
17863 char *kwnames
[] = {
17864 (char *) "self",(char *) "x",(char *) "y", NULL
17867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17870 arg2
= (int) SWIG_AsInt(obj1
);
17871 if (PyErr_Occurred()) SWIG_fail
;
17872 arg3
= (int) SWIG_AsInt(obj2
);
17873 if (PyErr_Occurred()) SWIG_fail
;
17875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17876 (arg1
)->SetMargins(arg2
,arg3
);
17878 wxPyEndAllowThreads(__tstate
);
17879 if (PyErr_Occurred()) SWIG_fail
;
17881 Py_INCREF(Py_None
); resultobj
= Py_None
;
17888 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17889 PyObject
*resultobj
;
17890 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17893 PyObject
* obj0
= 0 ;
17894 PyObject
* obj1
= 0 ;
17895 char *kwnames
[] = {
17896 (char *) "self",(char *) "size", NULL
17899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
17900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17904 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17908 (arg1
)->SetMargins((wxSize
const &)*arg2
);
17910 wxPyEndAllowThreads(__tstate
);
17911 if (PyErr_Occurred()) SWIG_fail
;
17913 Py_INCREF(Py_None
); resultobj
= Py_None
;
17920 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17921 PyObject
*resultobj
;
17922 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17924 PyObject
* obj0
= 0 ;
17925 PyObject
* obj1
= 0 ;
17926 char *kwnames
[] = {
17927 (char *) "self",(char *) "packing", NULL
17930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
17931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17933 arg2
= (int) SWIG_AsInt(obj1
);
17934 if (PyErr_Occurred()) SWIG_fail
;
17936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17937 (arg1
)->SetToolPacking(arg2
);
17939 wxPyEndAllowThreads(__tstate
);
17940 if (PyErr_Occurred()) SWIG_fail
;
17942 Py_INCREF(Py_None
); resultobj
= Py_None
;
17949 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17950 PyObject
*resultobj
;
17951 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17953 PyObject
* obj0
= 0 ;
17954 PyObject
* obj1
= 0 ;
17955 char *kwnames
[] = {
17956 (char *) "self",(char *) "separation", NULL
17959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
17960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17962 arg2
= (int) SWIG_AsInt(obj1
);
17963 if (PyErr_Occurred()) SWIG_fail
;
17965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17966 (arg1
)->SetToolSeparation(arg2
);
17968 wxPyEndAllowThreads(__tstate
);
17969 if (PyErr_Occurred()) SWIG_fail
;
17971 Py_INCREF(Py_None
); resultobj
= Py_None
;
17978 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17979 PyObject
*resultobj
;
17980 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17982 PyObject
* obj0
= 0 ;
17983 char *kwnames
[] = {
17984 (char *) "self", NULL
17987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
17988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17992 result
= (arg1
)->GetToolMargins();
17994 wxPyEndAllowThreads(__tstate
);
17995 if (PyErr_Occurred()) SWIG_fail
;
17998 wxSize
* resultptr
;
17999 resultptr
= new wxSize((wxSize
&) result
);
18000 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18008 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18009 PyObject
*resultobj
;
18010 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18012 PyObject
* obj0
= 0 ;
18013 char *kwnames
[] = {
18014 (char *) "self", NULL
18017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
18018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18022 result
= (arg1
)->GetMargins();
18024 wxPyEndAllowThreads(__tstate
);
18025 if (PyErr_Occurred()) SWIG_fail
;
18028 wxSize
* resultptr
;
18029 resultptr
= new wxSize((wxSize
&) result
);
18030 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18038 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18039 PyObject
*resultobj
;
18040 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18042 PyObject
* obj0
= 0 ;
18043 char *kwnames
[] = {
18044 (char *) "self", NULL
18047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
18048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18052 result
= (int)(arg1
)->GetToolPacking();
18054 wxPyEndAllowThreads(__tstate
);
18055 if (PyErr_Occurred()) SWIG_fail
;
18057 resultobj
= SWIG_FromInt((int)result
);
18064 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18065 PyObject
*resultobj
;
18066 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18068 PyObject
* obj0
= 0 ;
18069 char *kwnames
[] = {
18070 (char *) "self", NULL
18073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
18074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18078 result
= (int)(arg1
)->GetToolSeparation();
18080 wxPyEndAllowThreads(__tstate
);
18081 if (PyErr_Occurred()) SWIG_fail
;
18083 resultobj
= SWIG_FromInt((int)result
);
18090 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18091 PyObject
*resultobj
;
18092 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18094 PyObject
* obj0
= 0 ;
18095 PyObject
* obj1
= 0 ;
18096 char *kwnames
[] = {
18097 (char *) "self",(char *) "nRows", NULL
18100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
18101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18103 arg2
= (int) SWIG_AsInt(obj1
);
18104 if (PyErr_Occurred()) SWIG_fail
;
18106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18107 (arg1
)->SetRows(arg2
);
18109 wxPyEndAllowThreads(__tstate
);
18110 if (PyErr_Occurred()) SWIG_fail
;
18112 Py_INCREF(Py_None
); resultobj
= Py_None
;
18119 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18120 PyObject
*resultobj
;
18121 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18124 PyObject
* obj0
= 0 ;
18125 PyObject
* obj1
= 0 ;
18126 PyObject
* obj2
= 0 ;
18127 char *kwnames
[] = {
18128 (char *) "self",(char *) "rows",(char *) "cols", NULL
18131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18134 arg2
= (int) SWIG_AsInt(obj1
);
18135 if (PyErr_Occurred()) SWIG_fail
;
18136 arg3
= (int) SWIG_AsInt(obj2
);
18137 if (PyErr_Occurred()) SWIG_fail
;
18139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18140 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
18142 wxPyEndAllowThreads(__tstate
);
18143 if (PyErr_Occurred()) SWIG_fail
;
18145 Py_INCREF(Py_None
); resultobj
= Py_None
;
18152 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18153 PyObject
*resultobj
;
18154 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18156 PyObject
* obj0
= 0 ;
18157 char *kwnames
[] = {
18158 (char *) "self", NULL
18161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
18162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18166 result
= (int)(arg1
)->GetMaxRows();
18168 wxPyEndAllowThreads(__tstate
);
18169 if (PyErr_Occurred()) SWIG_fail
;
18171 resultobj
= SWIG_FromInt((int)result
);
18178 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18179 PyObject
*resultobj
;
18180 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18182 PyObject
* obj0
= 0 ;
18183 char *kwnames
[] = {
18184 (char *) "self", NULL
18187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
18188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18192 result
= (int)(arg1
)->GetMaxCols();
18194 wxPyEndAllowThreads(__tstate
);
18195 if (PyErr_Occurred()) SWIG_fail
;
18197 resultobj
= SWIG_FromInt((int)result
);
18204 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18205 PyObject
*resultobj
;
18206 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18209 PyObject
* obj0
= 0 ;
18210 PyObject
* obj1
= 0 ;
18211 char *kwnames
[] = {
18212 (char *) "self",(char *) "size", NULL
18215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18220 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18224 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
18226 wxPyEndAllowThreads(__tstate
);
18227 if (PyErr_Occurred()) SWIG_fail
;
18229 Py_INCREF(Py_None
); resultobj
= Py_None
;
18236 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18237 PyObject
*resultobj
;
18238 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18240 PyObject
* obj0
= 0 ;
18241 char *kwnames
[] = {
18242 (char *) "self", NULL
18245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
18246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18250 result
= (arg1
)->GetToolBitmapSize();
18252 wxPyEndAllowThreads(__tstate
);
18253 if (PyErr_Occurred()) SWIG_fail
;
18256 wxSize
* resultptr
;
18257 resultptr
= new wxSize((wxSize
&) result
);
18258 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18266 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18267 PyObject
*resultobj
;
18268 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18270 PyObject
* obj0
= 0 ;
18271 char *kwnames
[] = {
18272 (char *) "self", NULL
18275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
18276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18280 result
= (arg1
)->GetToolSize();
18282 wxPyEndAllowThreads(__tstate
);
18283 if (PyErr_Occurred()) SWIG_fail
;
18286 wxSize
* resultptr
;
18287 resultptr
= new wxSize((wxSize
&) result
);
18288 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18296 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18297 PyObject
*resultobj
;
18298 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18301 wxToolBarToolBase
*result
;
18302 PyObject
* obj0
= 0 ;
18303 PyObject
* obj1
= 0 ;
18304 PyObject
* obj2
= 0 ;
18305 char *kwnames
[] = {
18306 (char *) "self",(char *) "x",(char *) "y", NULL
18309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18312 arg2
= (int) SWIG_AsInt(obj1
);
18313 if (PyErr_Occurred()) SWIG_fail
;
18314 arg3
= (int) SWIG_AsInt(obj2
);
18315 if (PyErr_Occurred()) SWIG_fail
;
18317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18318 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18320 wxPyEndAllowThreads(__tstate
);
18321 if (PyErr_Occurred()) SWIG_fail
;
18324 resultobj
= wxPyMake_wxObject(result
, 0);
18332 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18333 PyObject
*resultobj
;
18334 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18336 wxToolBarToolBase
*result
;
18337 PyObject
* obj0
= 0 ;
18338 PyObject
* obj1
= 0 ;
18339 char *kwnames
[] = {
18340 (char *) "self",(char *) "toolid", NULL
18343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
18344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18346 arg2
= (int) SWIG_AsInt(obj1
);
18347 if (PyErr_Occurred()) SWIG_fail
;
18349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18350 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
18352 wxPyEndAllowThreads(__tstate
);
18353 if (PyErr_Occurred()) SWIG_fail
;
18356 resultobj
= wxPyMake_wxObject(result
, 0);
18364 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18365 PyObject
*resultobj
;
18366 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18368 PyObject
* obj0
= 0 ;
18369 char *kwnames
[] = {
18370 (char *) "self", NULL
18373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
18374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18378 result
= (bool)(arg1
)->IsVertical();
18380 wxPyEndAllowThreads(__tstate
);
18381 if (PyErr_Occurred()) SWIG_fail
;
18384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18392 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
18394 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18395 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
18397 return Py_BuildValue((char *)"");
18399 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18400 PyObject
*resultobj
;
18401 wxWindow
*arg1
= (wxWindow
*) 0 ;
18402 int arg2
= (int) -1 ;
18403 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18404 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18405 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18406 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18407 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18408 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
18409 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18413 bool temp6
= False
;
18414 PyObject
* obj0
= 0 ;
18415 PyObject
* obj1
= 0 ;
18416 PyObject
* obj2
= 0 ;
18417 PyObject
* obj3
= 0 ;
18418 PyObject
* obj4
= 0 ;
18419 PyObject
* obj5
= 0 ;
18420 char *kwnames
[] = {
18421 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18428 arg2
= (int) SWIG_AsInt(obj1
);
18429 if (PyErr_Occurred()) SWIG_fail
;
18434 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18440 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18444 arg5
= (long) SWIG_AsLong(obj4
);
18445 if (PyErr_Occurred()) SWIG_fail
;
18449 arg6
= wxString_in_helper(obj5
);
18450 if (arg6
== NULL
) SWIG_fail
;
18455 if (!wxPyCheckForApp()) SWIG_fail
;
18456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18457 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18459 wxPyEndAllowThreads(__tstate
);
18460 if (PyErr_Occurred()) SWIG_fail
;
18462 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
18477 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18478 PyObject
*resultobj
;
18480 char *kwnames
[] = {
18484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
18486 if (!wxPyCheckForApp()) SWIG_fail
;
18487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18488 result
= (wxToolBar
*)new wxToolBar();
18490 wxPyEndAllowThreads(__tstate
);
18491 if (PyErr_Occurred()) SWIG_fail
;
18493 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
18500 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18501 PyObject
*resultobj
;
18502 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18503 wxWindow
*arg2
= (wxWindow
*) 0 ;
18504 int arg3
= (int) -1 ;
18505 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18506 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18507 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18508 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18509 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18510 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
18511 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18515 bool temp7
= False
;
18516 PyObject
* obj0
= 0 ;
18517 PyObject
* obj1
= 0 ;
18518 PyObject
* obj2
= 0 ;
18519 PyObject
* obj3
= 0 ;
18520 PyObject
* obj4
= 0 ;
18521 PyObject
* obj5
= 0 ;
18522 PyObject
* obj6
= 0 ;
18523 char *kwnames
[] = {
18524 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18530 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18533 arg3
= (int) SWIG_AsInt(obj2
);
18534 if (PyErr_Occurred()) SWIG_fail
;
18539 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18545 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18549 arg6
= (long) SWIG_AsLong(obj5
);
18550 if (PyErr_Occurred()) SWIG_fail
;
18554 arg7
= wxString_in_helper(obj6
);
18555 if (arg7
== NULL
) SWIG_fail
;
18560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18561 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18563 wxPyEndAllowThreads(__tstate
);
18564 if (PyErr_Occurred()) SWIG_fail
;
18567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18583 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18584 PyObject
*resultobj
;
18585 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18588 wxToolBarToolBase
*result
;
18589 PyObject
* obj0
= 0 ;
18590 PyObject
* obj1
= 0 ;
18591 PyObject
* obj2
= 0 ;
18592 char *kwnames
[] = {
18593 (char *) "self",(char *) "x",(char *) "y", NULL
18596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18599 arg2
= (int) SWIG_AsInt(obj1
);
18600 if (PyErr_Occurred()) SWIG_fail
;
18601 arg3
= (int) SWIG_AsInt(obj2
);
18602 if (PyErr_Occurred()) SWIG_fail
;
18604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18605 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18607 wxPyEndAllowThreads(__tstate
);
18608 if (PyErr_Occurred()) SWIG_fail
;
18611 resultobj
= wxPyMake_wxObject(result
, 0);
18619 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18620 PyObject
*resultobj
;
18621 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
18622 wxVisualAttributes result
;
18623 PyObject
* obj0
= 0 ;
18624 char *kwnames
[] = {
18625 (char *) "variant", NULL
18628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18630 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
18631 if (PyErr_Occurred()) SWIG_fail
;
18634 if (!wxPyCheckForApp()) SWIG_fail
;
18635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18636 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
18638 wxPyEndAllowThreads(__tstate
);
18639 if (PyErr_Occurred()) SWIG_fail
;
18642 wxVisualAttributes
* resultptr
;
18643 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
18644 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18652 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
18654 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18655 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
18657 return Py_BuildValue((char *)"");
18659 static int _wrap_ListCtrlNameStr_set(PyObject
*_val
) {
18660 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
18665 static PyObject
*_wrap_ListCtrlNameStr_get() {
18670 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
18672 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
18679 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18680 PyObject
*resultobj
;
18681 wxColour
const &arg1_defvalue
= wxNullColour
;
18682 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
18683 wxColour
const &arg2_defvalue
= wxNullColour
;
18684 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
18685 wxFont
const &arg3_defvalue
= wxNullFont
;
18686 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
18687 wxListItemAttr
*result
;
18690 PyObject
* obj0
= 0 ;
18691 PyObject
* obj1
= 0 ;
18692 PyObject
* obj2
= 0 ;
18693 char *kwnames
[] = {
18694 (char *) "colText",(char *) "colBack",(char *) "font", NULL
18697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18701 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
18707 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18711 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
18712 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18714 if (arg3
== NULL
) {
18715 PyErr_SetString(PyExc_TypeError
,"null reference");
18720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18721 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
18723 wxPyEndAllowThreads(__tstate
);
18724 if (PyErr_Occurred()) SWIG_fail
;
18726 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
18733 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18734 PyObject
*resultobj
;
18735 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18736 wxColour
*arg2
= 0 ;
18738 PyObject
* obj0
= 0 ;
18739 PyObject
* obj1
= 0 ;
18740 char *kwnames
[] = {
18741 (char *) "self",(char *) "colText", NULL
18744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18749 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18753 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18755 wxPyEndAllowThreads(__tstate
);
18756 if (PyErr_Occurred()) SWIG_fail
;
18758 Py_INCREF(Py_None
); resultobj
= Py_None
;
18765 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18766 PyObject
*resultobj
;
18767 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18768 wxColour
*arg2
= 0 ;
18770 PyObject
* obj0
= 0 ;
18771 PyObject
* obj1
= 0 ;
18772 char *kwnames
[] = {
18773 (char *) "self",(char *) "colBack", NULL
18776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18781 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18785 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18787 wxPyEndAllowThreads(__tstate
);
18788 if (PyErr_Occurred()) SWIG_fail
;
18790 Py_INCREF(Py_None
); resultobj
= Py_None
;
18797 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18798 PyObject
*resultobj
;
18799 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18801 PyObject
* obj0
= 0 ;
18802 PyObject
* obj1
= 0 ;
18803 char *kwnames
[] = {
18804 (char *) "self",(char *) "font", NULL
18807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18810 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18811 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18813 if (arg2
== NULL
) {
18814 PyErr_SetString(PyExc_TypeError
,"null reference");
18818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18819 (arg1
)->SetFont((wxFont
const &)*arg2
);
18821 wxPyEndAllowThreads(__tstate
);
18822 if (PyErr_Occurred()) SWIG_fail
;
18824 Py_INCREF(Py_None
); resultobj
= Py_None
;
18831 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18832 PyObject
*resultobj
;
18833 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18835 PyObject
* obj0
= 0 ;
18836 char *kwnames
[] = {
18837 (char *) "self", NULL
18840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
18841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18845 result
= (bool)(arg1
)->HasTextColour();
18847 wxPyEndAllowThreads(__tstate
);
18848 if (PyErr_Occurred()) SWIG_fail
;
18851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18859 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18860 PyObject
*resultobj
;
18861 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18863 PyObject
* obj0
= 0 ;
18864 char *kwnames
[] = {
18865 (char *) "self", NULL
18868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
18869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18873 result
= (bool)(arg1
)->HasBackgroundColour();
18875 wxPyEndAllowThreads(__tstate
);
18876 if (PyErr_Occurred()) SWIG_fail
;
18879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18887 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18888 PyObject
*resultobj
;
18889 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18891 PyObject
* obj0
= 0 ;
18892 char *kwnames
[] = {
18893 (char *) "self", NULL
18896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
18897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18901 result
= (bool)(arg1
)->HasFont();
18903 wxPyEndAllowThreads(__tstate
);
18904 if (PyErr_Occurred()) SWIG_fail
;
18907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18915 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18916 PyObject
*resultobj
;
18917 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18919 PyObject
* obj0
= 0 ;
18920 char *kwnames
[] = {
18921 (char *) "self", NULL
18924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
18925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18929 result
= (arg1
)->GetTextColour();
18931 wxPyEndAllowThreads(__tstate
);
18932 if (PyErr_Occurred()) SWIG_fail
;
18935 wxColour
* resultptr
;
18936 resultptr
= new wxColour((wxColour
&) result
);
18937 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18945 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18946 PyObject
*resultobj
;
18947 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18949 PyObject
* obj0
= 0 ;
18950 char *kwnames
[] = {
18951 (char *) "self", NULL
18954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
18955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18959 result
= (arg1
)->GetBackgroundColour();
18961 wxPyEndAllowThreads(__tstate
);
18962 if (PyErr_Occurred()) SWIG_fail
;
18965 wxColour
* resultptr
;
18966 resultptr
= new wxColour((wxColour
&) result
);
18967 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18975 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18976 PyObject
*resultobj
;
18977 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18979 PyObject
* obj0
= 0 ;
18980 char *kwnames
[] = {
18981 (char *) "self", NULL
18984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
18985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18989 result
= (arg1
)->GetFont();
18991 wxPyEndAllowThreads(__tstate
);
18992 if (PyErr_Occurred()) SWIG_fail
;
18995 wxFont
* resultptr
;
18996 resultptr
= new wxFont((wxFont
&) result
);
18997 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
19005 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19006 PyObject
*resultobj
;
19007 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19008 PyObject
* obj0
= 0 ;
19009 char *kwnames
[] = {
19010 (char *) "self", NULL
19013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
19014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19018 wxListItemAttr_Destroy(arg1
);
19020 wxPyEndAllowThreads(__tstate
);
19021 if (PyErr_Occurred()) SWIG_fail
;
19023 Py_INCREF(Py_None
); resultobj
= Py_None
;
19030 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
19032 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19033 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
19035 return Py_BuildValue((char *)"");
19037 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19038 PyObject
*resultobj
;
19039 wxListItem
*result
;
19040 char *kwnames
[] = {
19044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
19046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19047 result
= (wxListItem
*)new wxListItem();
19049 wxPyEndAllowThreads(__tstate
);
19050 if (PyErr_Occurred()) SWIG_fail
;
19053 resultobj
= wxPyMake_wxObject(result
, 1);
19061 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19062 PyObject
*resultobj
;
19063 wxListItem
*arg1
= (wxListItem
*) 0 ;
19064 PyObject
* obj0
= 0 ;
19065 char *kwnames
[] = {
19066 (char *) "self", NULL
19069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
19070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19076 wxPyEndAllowThreads(__tstate
);
19077 if (PyErr_Occurred()) SWIG_fail
;
19079 Py_INCREF(Py_None
); resultobj
= Py_None
;
19086 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19087 PyObject
*resultobj
;
19088 wxListItem
*arg1
= (wxListItem
*) 0 ;
19089 PyObject
* obj0
= 0 ;
19090 char *kwnames
[] = {
19091 (char *) "self", NULL
19094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
19095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19101 wxPyEndAllowThreads(__tstate
);
19102 if (PyErr_Occurred()) SWIG_fail
;
19104 Py_INCREF(Py_None
); resultobj
= Py_None
;
19111 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19112 PyObject
*resultobj
;
19113 wxListItem
*arg1
= (wxListItem
*) 0 ;
19114 PyObject
* obj0
= 0 ;
19115 char *kwnames
[] = {
19116 (char *) "self", NULL
19119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
19120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19124 (arg1
)->ClearAttributes();
19126 wxPyEndAllowThreads(__tstate
);
19127 if (PyErr_Occurred()) SWIG_fail
;
19129 Py_INCREF(Py_None
); resultobj
= Py_None
;
19136 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19137 PyObject
*resultobj
;
19138 wxListItem
*arg1
= (wxListItem
*) 0 ;
19140 PyObject
* obj0
= 0 ;
19141 PyObject
* obj1
= 0 ;
19142 char *kwnames
[] = {
19143 (char *) "self",(char *) "mask", NULL
19146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19149 arg2
= (long) SWIG_AsLong(obj1
);
19150 if (PyErr_Occurred()) SWIG_fail
;
19152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19153 (arg1
)->SetMask(arg2
);
19155 wxPyEndAllowThreads(__tstate
);
19156 if (PyErr_Occurred()) SWIG_fail
;
19158 Py_INCREF(Py_None
); resultobj
= Py_None
;
19165 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19166 PyObject
*resultobj
;
19167 wxListItem
*arg1
= (wxListItem
*) 0 ;
19169 PyObject
* obj0
= 0 ;
19170 PyObject
* obj1
= 0 ;
19171 char *kwnames
[] = {
19172 (char *) "self",(char *) "id", NULL
19175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
19176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19178 arg2
= (long) SWIG_AsLong(obj1
);
19179 if (PyErr_Occurred()) SWIG_fail
;
19181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19182 (arg1
)->SetId(arg2
);
19184 wxPyEndAllowThreads(__tstate
);
19185 if (PyErr_Occurred()) SWIG_fail
;
19187 Py_INCREF(Py_None
); resultobj
= Py_None
;
19194 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19195 PyObject
*resultobj
;
19196 wxListItem
*arg1
= (wxListItem
*) 0 ;
19198 PyObject
* obj0
= 0 ;
19199 PyObject
* obj1
= 0 ;
19200 char *kwnames
[] = {
19201 (char *) "self",(char *) "col", NULL
19204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
19205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19207 arg2
= (int) SWIG_AsInt(obj1
);
19208 if (PyErr_Occurred()) SWIG_fail
;
19210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19211 (arg1
)->SetColumn(arg2
);
19213 wxPyEndAllowThreads(__tstate
);
19214 if (PyErr_Occurred()) SWIG_fail
;
19216 Py_INCREF(Py_None
); resultobj
= Py_None
;
19223 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19224 PyObject
*resultobj
;
19225 wxListItem
*arg1
= (wxListItem
*) 0 ;
19227 PyObject
* obj0
= 0 ;
19228 PyObject
* obj1
= 0 ;
19229 char *kwnames
[] = {
19230 (char *) "self",(char *) "state", NULL
19233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
19234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19236 arg2
= (long) SWIG_AsLong(obj1
);
19237 if (PyErr_Occurred()) SWIG_fail
;
19239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19240 (arg1
)->SetState(arg2
);
19242 wxPyEndAllowThreads(__tstate
);
19243 if (PyErr_Occurred()) SWIG_fail
;
19245 Py_INCREF(Py_None
); resultobj
= Py_None
;
19252 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19253 PyObject
*resultobj
;
19254 wxListItem
*arg1
= (wxListItem
*) 0 ;
19256 PyObject
* obj0
= 0 ;
19257 PyObject
* obj1
= 0 ;
19258 char *kwnames
[] = {
19259 (char *) "self",(char *) "stateMask", NULL
19262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19265 arg2
= (long) SWIG_AsLong(obj1
);
19266 if (PyErr_Occurred()) SWIG_fail
;
19268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19269 (arg1
)->SetStateMask(arg2
);
19271 wxPyEndAllowThreads(__tstate
);
19272 if (PyErr_Occurred()) SWIG_fail
;
19274 Py_INCREF(Py_None
); resultobj
= Py_None
;
19281 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19282 PyObject
*resultobj
;
19283 wxListItem
*arg1
= (wxListItem
*) 0 ;
19284 wxString
*arg2
= 0 ;
19285 bool temp2
= False
;
19286 PyObject
* obj0
= 0 ;
19287 PyObject
* obj1
= 0 ;
19288 char *kwnames
[] = {
19289 (char *) "self",(char *) "text", NULL
19292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
19293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19296 arg2
= wxString_in_helper(obj1
);
19297 if (arg2
== NULL
) SWIG_fail
;
19301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19302 (arg1
)->SetText((wxString
const &)*arg2
);
19304 wxPyEndAllowThreads(__tstate
);
19305 if (PyErr_Occurred()) SWIG_fail
;
19307 Py_INCREF(Py_None
); resultobj
= Py_None
;
19322 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19323 PyObject
*resultobj
;
19324 wxListItem
*arg1
= (wxListItem
*) 0 ;
19326 PyObject
* obj0
= 0 ;
19327 PyObject
* obj1
= 0 ;
19328 char *kwnames
[] = {
19329 (char *) "self",(char *) "image", NULL
19332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
19333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19335 arg2
= (int) SWIG_AsInt(obj1
);
19336 if (PyErr_Occurred()) SWIG_fail
;
19338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19339 (arg1
)->SetImage(arg2
);
19341 wxPyEndAllowThreads(__tstate
);
19342 if (PyErr_Occurred()) SWIG_fail
;
19344 Py_INCREF(Py_None
); resultobj
= Py_None
;
19351 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19352 PyObject
*resultobj
;
19353 wxListItem
*arg1
= (wxListItem
*) 0 ;
19355 PyObject
* obj0
= 0 ;
19356 PyObject
* obj1
= 0 ;
19357 char *kwnames
[] = {
19358 (char *) "self",(char *) "data", NULL
19361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
19362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19364 arg2
= (long) SWIG_AsLong(obj1
);
19365 if (PyErr_Occurred()) SWIG_fail
;
19367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19368 (arg1
)->SetData(arg2
);
19370 wxPyEndAllowThreads(__tstate
);
19371 if (PyErr_Occurred()) SWIG_fail
;
19373 Py_INCREF(Py_None
); resultobj
= Py_None
;
19380 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19381 PyObject
*resultobj
;
19382 wxListItem
*arg1
= (wxListItem
*) 0 ;
19384 PyObject
* obj0
= 0 ;
19385 PyObject
* obj1
= 0 ;
19386 char *kwnames
[] = {
19387 (char *) "self",(char *) "width", NULL
19390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
19391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19393 arg2
= (int) SWIG_AsInt(obj1
);
19394 if (PyErr_Occurred()) SWIG_fail
;
19396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19397 (arg1
)->SetWidth(arg2
);
19399 wxPyEndAllowThreads(__tstate
);
19400 if (PyErr_Occurred()) SWIG_fail
;
19402 Py_INCREF(Py_None
); resultobj
= Py_None
;
19409 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19410 PyObject
*resultobj
;
19411 wxListItem
*arg1
= (wxListItem
*) 0 ;
19413 PyObject
* obj0
= 0 ;
19414 PyObject
* obj1
= 0 ;
19415 char *kwnames
[] = {
19416 (char *) "self",(char *) "align", NULL
19419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
19420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19422 arg2
= (wxListColumnFormat
) SWIG_AsInt(obj1
);
19423 if (PyErr_Occurred()) SWIG_fail
;
19425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19426 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
19428 wxPyEndAllowThreads(__tstate
);
19429 if (PyErr_Occurred()) SWIG_fail
;
19431 Py_INCREF(Py_None
); resultobj
= Py_None
;
19438 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19439 PyObject
*resultobj
;
19440 wxListItem
*arg1
= (wxListItem
*) 0 ;
19441 wxColour
*arg2
= 0 ;
19443 PyObject
* obj0
= 0 ;
19444 PyObject
* obj1
= 0 ;
19445 char *kwnames
[] = {
19446 (char *) "self",(char *) "colText", NULL
19449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19454 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19458 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
19460 wxPyEndAllowThreads(__tstate
);
19461 if (PyErr_Occurred()) SWIG_fail
;
19463 Py_INCREF(Py_None
); resultobj
= Py_None
;
19470 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19471 PyObject
*resultobj
;
19472 wxListItem
*arg1
= (wxListItem
*) 0 ;
19473 wxColour
*arg2
= 0 ;
19475 PyObject
* obj0
= 0 ;
19476 PyObject
* obj1
= 0 ;
19477 char *kwnames
[] = {
19478 (char *) "self",(char *) "colBack", NULL
19481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19486 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19490 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
19492 wxPyEndAllowThreads(__tstate
);
19493 if (PyErr_Occurred()) SWIG_fail
;
19495 Py_INCREF(Py_None
); resultobj
= Py_None
;
19502 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19503 PyObject
*resultobj
;
19504 wxListItem
*arg1
= (wxListItem
*) 0 ;
19506 PyObject
* obj0
= 0 ;
19507 PyObject
* obj1
= 0 ;
19508 char *kwnames
[] = {
19509 (char *) "self",(char *) "font", NULL
19512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
19513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19515 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
19516 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19518 if (arg2
== NULL
) {
19519 PyErr_SetString(PyExc_TypeError
,"null reference");
19523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19524 (arg1
)->SetFont((wxFont
const &)*arg2
);
19526 wxPyEndAllowThreads(__tstate
);
19527 if (PyErr_Occurred()) SWIG_fail
;
19529 Py_INCREF(Py_None
); resultobj
= Py_None
;
19536 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19537 PyObject
*resultobj
;
19538 wxListItem
*arg1
= (wxListItem
*) 0 ;
19540 PyObject
* obj0
= 0 ;
19541 char *kwnames
[] = {
19542 (char *) "self", NULL
19545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
19546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19550 result
= (long)(arg1
)->GetMask();
19552 wxPyEndAllowThreads(__tstate
);
19553 if (PyErr_Occurred()) SWIG_fail
;
19555 resultobj
= SWIG_FromLong((long)result
);
19562 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19563 PyObject
*resultobj
;
19564 wxListItem
*arg1
= (wxListItem
*) 0 ;
19566 PyObject
* obj0
= 0 ;
19567 char *kwnames
[] = {
19568 (char *) "self", NULL
19571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
19572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19576 result
= (long)(arg1
)->GetId();
19578 wxPyEndAllowThreads(__tstate
);
19579 if (PyErr_Occurred()) SWIG_fail
;
19581 resultobj
= SWIG_FromLong((long)result
);
19588 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19589 PyObject
*resultobj
;
19590 wxListItem
*arg1
= (wxListItem
*) 0 ;
19592 PyObject
* obj0
= 0 ;
19593 char *kwnames
[] = {
19594 (char *) "self", NULL
19597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
19598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19602 result
= (int)(arg1
)->GetColumn();
19604 wxPyEndAllowThreads(__tstate
);
19605 if (PyErr_Occurred()) SWIG_fail
;
19607 resultobj
= SWIG_FromInt((int)result
);
19614 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19615 PyObject
*resultobj
;
19616 wxListItem
*arg1
= (wxListItem
*) 0 ;
19618 PyObject
* obj0
= 0 ;
19619 char *kwnames
[] = {
19620 (char *) "self", NULL
19623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
19624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19628 result
= (long)(arg1
)->GetState();
19630 wxPyEndAllowThreads(__tstate
);
19631 if (PyErr_Occurred()) SWIG_fail
;
19633 resultobj
= SWIG_FromLong((long)result
);
19640 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19641 PyObject
*resultobj
;
19642 wxListItem
*arg1
= (wxListItem
*) 0 ;
19644 PyObject
* obj0
= 0 ;
19645 char *kwnames
[] = {
19646 (char *) "self", NULL
19649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
19650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19655 wxString
const &_result_ref
= (arg1
)->GetText();
19656 result
= (wxString
*) &_result_ref
;
19659 wxPyEndAllowThreads(__tstate
);
19660 if (PyErr_Occurred()) SWIG_fail
;
19664 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19666 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19675 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19676 PyObject
*resultobj
;
19677 wxListItem
*arg1
= (wxListItem
*) 0 ;
19679 PyObject
* obj0
= 0 ;
19680 char *kwnames
[] = {
19681 (char *) "self", NULL
19684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
19685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19689 result
= (int)(arg1
)->GetImage();
19691 wxPyEndAllowThreads(__tstate
);
19692 if (PyErr_Occurred()) SWIG_fail
;
19694 resultobj
= SWIG_FromInt((int)result
);
19701 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19702 PyObject
*resultobj
;
19703 wxListItem
*arg1
= (wxListItem
*) 0 ;
19705 PyObject
* obj0
= 0 ;
19706 char *kwnames
[] = {
19707 (char *) "self", NULL
19710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
19711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19715 result
= (long)(arg1
)->GetData();
19717 wxPyEndAllowThreads(__tstate
);
19718 if (PyErr_Occurred()) SWIG_fail
;
19720 resultobj
= SWIG_FromLong((long)result
);
19727 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19728 PyObject
*resultobj
;
19729 wxListItem
*arg1
= (wxListItem
*) 0 ;
19731 PyObject
* obj0
= 0 ;
19732 char *kwnames
[] = {
19733 (char *) "self", NULL
19736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
19737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19741 result
= (int)(arg1
)->GetWidth();
19743 wxPyEndAllowThreads(__tstate
);
19744 if (PyErr_Occurred()) SWIG_fail
;
19746 resultobj
= SWIG_FromInt((int)result
);
19753 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19754 PyObject
*resultobj
;
19755 wxListItem
*arg1
= (wxListItem
*) 0 ;
19757 PyObject
* obj0
= 0 ;
19758 char *kwnames
[] = {
19759 (char *) "self", NULL
19762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
19763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19767 result
= (int)(arg1
)->GetAlign();
19769 wxPyEndAllowThreads(__tstate
);
19770 if (PyErr_Occurred()) SWIG_fail
;
19772 resultobj
= SWIG_FromInt((int)result
);
19779 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19780 PyObject
*resultobj
;
19781 wxListItem
*arg1
= (wxListItem
*) 0 ;
19782 wxListItemAttr
*result
;
19783 PyObject
* obj0
= 0 ;
19784 char *kwnames
[] = {
19785 (char *) "self", NULL
19788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
19789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19793 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
19795 wxPyEndAllowThreads(__tstate
);
19796 if (PyErr_Occurred()) SWIG_fail
;
19798 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
19805 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19806 PyObject
*resultobj
;
19807 wxListItem
*arg1
= (wxListItem
*) 0 ;
19809 PyObject
* obj0
= 0 ;
19810 char *kwnames
[] = {
19811 (char *) "self", NULL
19814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
19815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19819 result
= (bool)(arg1
)->HasAttributes();
19821 wxPyEndAllowThreads(__tstate
);
19822 if (PyErr_Occurred()) SWIG_fail
;
19825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19833 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19834 PyObject
*resultobj
;
19835 wxListItem
*arg1
= (wxListItem
*) 0 ;
19837 PyObject
* obj0
= 0 ;
19838 char *kwnames
[] = {
19839 (char *) "self", NULL
19842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
19843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19847 result
= ((wxListItem
const *)arg1
)->GetTextColour();
19849 wxPyEndAllowThreads(__tstate
);
19850 if (PyErr_Occurred()) SWIG_fail
;
19853 wxColour
* resultptr
;
19854 resultptr
= new wxColour((wxColour
&) result
);
19855 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19863 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19864 PyObject
*resultobj
;
19865 wxListItem
*arg1
= (wxListItem
*) 0 ;
19867 PyObject
* obj0
= 0 ;
19868 char *kwnames
[] = {
19869 (char *) "self", NULL
19872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
19873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19877 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
19879 wxPyEndAllowThreads(__tstate
);
19880 if (PyErr_Occurred()) SWIG_fail
;
19883 wxColour
* resultptr
;
19884 resultptr
= new wxColour((wxColour
&) result
);
19885 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19893 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19894 PyObject
*resultobj
;
19895 wxListItem
*arg1
= (wxListItem
*) 0 ;
19897 PyObject
* obj0
= 0 ;
19898 char *kwnames
[] = {
19899 (char *) "self", NULL
19902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
19903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19907 result
= ((wxListItem
const *)arg1
)->GetFont();
19909 wxPyEndAllowThreads(__tstate
);
19910 if (PyErr_Occurred()) SWIG_fail
;
19913 wxFont
* resultptr
;
19914 resultptr
= new wxFont((wxFont
&) result
);
19915 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
19923 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19924 PyObject
*resultobj
;
19925 wxListItem
*arg1
= (wxListItem
*) 0 ;
19927 PyObject
* obj0
= 0 ;
19928 PyObject
* obj1
= 0 ;
19929 char *kwnames
[] = {
19930 (char *) "self",(char *) "m_mask", NULL
19933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19936 arg2
= (long) SWIG_AsLong(obj1
);
19937 if (PyErr_Occurred()) SWIG_fail
;
19938 if (arg1
) (arg1
)->m_mask
= arg2
;
19940 Py_INCREF(Py_None
); resultobj
= Py_None
;
19947 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19948 PyObject
*resultobj
;
19949 wxListItem
*arg1
= (wxListItem
*) 0 ;
19951 PyObject
* obj0
= 0 ;
19952 char *kwnames
[] = {
19953 (char *) "self", NULL
19956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
19957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19959 result
= (long) ((arg1
)->m_mask
);
19961 resultobj
= SWIG_FromLong((long)result
);
19968 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19969 PyObject
*resultobj
;
19970 wxListItem
*arg1
= (wxListItem
*) 0 ;
19972 PyObject
* obj0
= 0 ;
19973 PyObject
* obj1
= 0 ;
19974 char *kwnames
[] = {
19975 (char *) "self",(char *) "m_itemId", NULL
19978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19981 arg2
= (long) SWIG_AsLong(obj1
);
19982 if (PyErr_Occurred()) SWIG_fail
;
19983 if (arg1
) (arg1
)->m_itemId
= arg2
;
19985 Py_INCREF(Py_None
); resultobj
= Py_None
;
19992 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19993 PyObject
*resultobj
;
19994 wxListItem
*arg1
= (wxListItem
*) 0 ;
19996 PyObject
* obj0
= 0 ;
19997 char *kwnames
[] = {
19998 (char *) "self", NULL
20001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
20002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20004 result
= (long) ((arg1
)->m_itemId
);
20006 resultobj
= SWIG_FromLong((long)result
);
20013 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20014 PyObject
*resultobj
;
20015 wxListItem
*arg1
= (wxListItem
*) 0 ;
20017 PyObject
* obj0
= 0 ;
20018 PyObject
* obj1
= 0 ;
20019 char *kwnames
[] = {
20020 (char *) "self",(char *) "m_col", NULL
20023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20026 arg2
= (int) SWIG_AsInt(obj1
);
20027 if (PyErr_Occurred()) SWIG_fail
;
20028 if (arg1
) (arg1
)->m_col
= arg2
;
20030 Py_INCREF(Py_None
); resultobj
= Py_None
;
20037 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20038 PyObject
*resultobj
;
20039 wxListItem
*arg1
= (wxListItem
*) 0 ;
20041 PyObject
* obj0
= 0 ;
20042 char *kwnames
[] = {
20043 (char *) "self", NULL
20046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
20047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20049 result
= (int) ((arg1
)->m_col
);
20051 resultobj
= SWIG_FromInt((int)result
);
20058 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20059 PyObject
*resultobj
;
20060 wxListItem
*arg1
= (wxListItem
*) 0 ;
20062 PyObject
* obj0
= 0 ;
20063 PyObject
* obj1
= 0 ;
20064 char *kwnames
[] = {
20065 (char *) "self",(char *) "m_state", NULL
20068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20071 arg2
= (long) SWIG_AsLong(obj1
);
20072 if (PyErr_Occurred()) SWIG_fail
;
20073 if (arg1
) (arg1
)->m_state
= arg2
;
20075 Py_INCREF(Py_None
); resultobj
= Py_None
;
20082 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20083 PyObject
*resultobj
;
20084 wxListItem
*arg1
= (wxListItem
*) 0 ;
20086 PyObject
* obj0
= 0 ;
20087 char *kwnames
[] = {
20088 (char *) "self", NULL
20091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
20092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20094 result
= (long) ((arg1
)->m_state
);
20096 resultobj
= SWIG_FromLong((long)result
);
20103 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20104 PyObject
*resultobj
;
20105 wxListItem
*arg1
= (wxListItem
*) 0 ;
20107 PyObject
* obj0
= 0 ;
20108 PyObject
* obj1
= 0 ;
20109 char *kwnames
[] = {
20110 (char *) "self",(char *) "m_stateMask", NULL
20113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20116 arg2
= (long) SWIG_AsLong(obj1
);
20117 if (PyErr_Occurred()) SWIG_fail
;
20118 if (arg1
) (arg1
)->m_stateMask
= arg2
;
20120 Py_INCREF(Py_None
); resultobj
= Py_None
;
20127 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20128 PyObject
*resultobj
;
20129 wxListItem
*arg1
= (wxListItem
*) 0 ;
20131 PyObject
* obj0
= 0 ;
20132 char *kwnames
[] = {
20133 (char *) "self", NULL
20136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
20137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20139 result
= (long) ((arg1
)->m_stateMask
);
20141 resultobj
= SWIG_FromLong((long)result
);
20148 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20149 PyObject
*resultobj
;
20150 wxListItem
*arg1
= (wxListItem
*) 0 ;
20151 wxString
*arg2
= (wxString
*) 0 ;
20152 bool temp2
= False
;
20153 PyObject
* obj0
= 0 ;
20154 PyObject
* obj1
= 0 ;
20155 char *kwnames
[] = {
20156 (char *) "self",(char *) "m_text", NULL
20159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20163 arg2
= wxString_in_helper(obj1
);
20164 if (arg2
== NULL
) SWIG_fail
;
20167 if (arg1
) (arg1
)->m_text
= *arg2
;
20169 Py_INCREF(Py_None
); resultobj
= Py_None
;
20184 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20185 PyObject
*resultobj
;
20186 wxListItem
*arg1
= (wxListItem
*) 0 ;
20188 PyObject
* obj0
= 0 ;
20189 char *kwnames
[] = {
20190 (char *) "self", NULL
20193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
20194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20196 result
= (wxString
*)& ((arg1
)->m_text
);
20200 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20202 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20211 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20212 PyObject
*resultobj
;
20213 wxListItem
*arg1
= (wxListItem
*) 0 ;
20215 PyObject
* obj0
= 0 ;
20216 PyObject
* obj1
= 0 ;
20217 char *kwnames
[] = {
20218 (char *) "self",(char *) "m_image", NULL
20221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20224 arg2
= (int) SWIG_AsInt(obj1
);
20225 if (PyErr_Occurred()) SWIG_fail
;
20226 if (arg1
) (arg1
)->m_image
= arg2
;
20228 Py_INCREF(Py_None
); resultobj
= Py_None
;
20235 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20236 PyObject
*resultobj
;
20237 wxListItem
*arg1
= (wxListItem
*) 0 ;
20239 PyObject
* obj0
= 0 ;
20240 char *kwnames
[] = {
20241 (char *) "self", NULL
20244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
20245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20247 result
= (int) ((arg1
)->m_image
);
20249 resultobj
= SWIG_FromInt((int)result
);
20256 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20257 PyObject
*resultobj
;
20258 wxListItem
*arg1
= (wxListItem
*) 0 ;
20260 PyObject
* obj0
= 0 ;
20261 PyObject
* obj1
= 0 ;
20262 char *kwnames
[] = {
20263 (char *) "self",(char *) "m_data", NULL
20266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20269 arg2
= (long) SWIG_AsLong(obj1
);
20270 if (PyErr_Occurred()) SWIG_fail
;
20271 if (arg1
) (arg1
)->m_data
= arg2
;
20273 Py_INCREF(Py_None
); resultobj
= Py_None
;
20280 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20281 PyObject
*resultobj
;
20282 wxListItem
*arg1
= (wxListItem
*) 0 ;
20284 PyObject
* obj0
= 0 ;
20285 char *kwnames
[] = {
20286 (char *) "self", NULL
20289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
20290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20292 result
= (long) ((arg1
)->m_data
);
20294 resultobj
= SWIG_FromLong((long)result
);
20301 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20302 PyObject
*resultobj
;
20303 wxListItem
*arg1
= (wxListItem
*) 0 ;
20305 PyObject
* obj0
= 0 ;
20306 PyObject
* obj1
= 0 ;
20307 char *kwnames
[] = {
20308 (char *) "self",(char *) "m_format", NULL
20311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20314 arg2
= (int) SWIG_AsInt(obj1
);
20315 if (PyErr_Occurred()) SWIG_fail
;
20316 if (arg1
) (arg1
)->m_format
= arg2
;
20318 Py_INCREF(Py_None
); resultobj
= Py_None
;
20325 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20326 PyObject
*resultobj
;
20327 wxListItem
*arg1
= (wxListItem
*) 0 ;
20329 PyObject
* obj0
= 0 ;
20330 char *kwnames
[] = {
20331 (char *) "self", NULL
20334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
20335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20337 result
= (int) ((arg1
)->m_format
);
20339 resultobj
= SWIG_FromInt((int)result
);
20346 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20347 PyObject
*resultobj
;
20348 wxListItem
*arg1
= (wxListItem
*) 0 ;
20350 PyObject
* obj0
= 0 ;
20351 PyObject
* obj1
= 0 ;
20352 char *kwnames
[] = {
20353 (char *) "self",(char *) "m_width", NULL
20356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20359 arg2
= (int) SWIG_AsInt(obj1
);
20360 if (PyErr_Occurred()) SWIG_fail
;
20361 if (arg1
) (arg1
)->m_width
= arg2
;
20363 Py_INCREF(Py_None
); resultobj
= Py_None
;
20370 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20371 PyObject
*resultobj
;
20372 wxListItem
*arg1
= (wxListItem
*) 0 ;
20374 PyObject
* obj0
= 0 ;
20375 char *kwnames
[] = {
20376 (char *) "self", NULL
20379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
20380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20382 result
= (int) ((arg1
)->m_width
);
20384 resultobj
= SWIG_FromInt((int)result
);
20391 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
20393 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20394 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
20396 return Py_BuildValue((char *)"");
20398 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20399 PyObject
*resultobj
;
20400 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20401 int arg2
= (int) 0 ;
20402 wxListEvent
*result
;
20403 PyObject
* obj0
= 0 ;
20404 PyObject
* obj1
= 0 ;
20405 char *kwnames
[] = {
20406 (char *) "commandType",(char *) "id", NULL
20409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20411 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
20412 if (PyErr_Occurred()) SWIG_fail
;
20415 arg2
= (int) SWIG_AsInt(obj1
);
20416 if (PyErr_Occurred()) SWIG_fail
;
20419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20420 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
20422 wxPyEndAllowThreads(__tstate
);
20423 if (PyErr_Occurred()) SWIG_fail
;
20425 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
20432 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20433 PyObject
*resultobj
;
20434 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20436 PyObject
* obj0
= 0 ;
20437 PyObject
* obj1
= 0 ;
20438 char *kwnames
[] = {
20439 (char *) "self",(char *) "m_code", NULL
20442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20445 arg2
= (int) SWIG_AsInt(obj1
);
20446 if (PyErr_Occurred()) SWIG_fail
;
20447 if (arg1
) (arg1
)->m_code
= arg2
;
20449 Py_INCREF(Py_None
); resultobj
= Py_None
;
20456 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20457 PyObject
*resultobj
;
20458 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20460 PyObject
* obj0
= 0 ;
20461 char *kwnames
[] = {
20462 (char *) "self", NULL
20465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
20466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20468 result
= (int) ((arg1
)->m_code
);
20470 resultobj
= SWIG_FromInt((int)result
);
20477 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20478 PyObject
*resultobj
;
20479 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20481 PyObject
* obj0
= 0 ;
20482 PyObject
* obj1
= 0 ;
20483 char *kwnames
[] = {
20484 (char *) "self",(char *) "m_oldItemIndex", NULL
20487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20490 arg2
= (long) SWIG_AsLong(obj1
);
20491 if (PyErr_Occurred()) SWIG_fail
;
20492 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
20494 Py_INCREF(Py_None
); resultobj
= Py_None
;
20501 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20502 PyObject
*resultobj
;
20503 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20505 PyObject
* obj0
= 0 ;
20506 char *kwnames
[] = {
20507 (char *) "self", NULL
20510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
20511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20513 result
= (long) ((arg1
)->m_oldItemIndex
);
20515 resultobj
= SWIG_FromLong((long)result
);
20522 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20523 PyObject
*resultobj
;
20524 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20526 PyObject
* obj0
= 0 ;
20527 PyObject
* obj1
= 0 ;
20528 char *kwnames
[] = {
20529 (char *) "self",(char *) "m_itemIndex", NULL
20532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20535 arg2
= (long) SWIG_AsLong(obj1
);
20536 if (PyErr_Occurred()) SWIG_fail
;
20537 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
20539 Py_INCREF(Py_None
); resultobj
= Py_None
;
20546 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20547 PyObject
*resultobj
;
20548 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20550 PyObject
* obj0
= 0 ;
20551 char *kwnames
[] = {
20552 (char *) "self", NULL
20555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
20556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20558 result
= (long) ((arg1
)->m_itemIndex
);
20560 resultobj
= SWIG_FromLong((long)result
);
20567 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20568 PyObject
*resultobj
;
20569 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20571 PyObject
* obj0
= 0 ;
20572 PyObject
* obj1
= 0 ;
20573 char *kwnames
[] = {
20574 (char *) "self",(char *) "m_col", NULL
20577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20580 arg2
= (int) SWIG_AsInt(obj1
);
20581 if (PyErr_Occurred()) SWIG_fail
;
20582 if (arg1
) (arg1
)->m_col
= arg2
;
20584 Py_INCREF(Py_None
); resultobj
= Py_None
;
20591 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20592 PyObject
*resultobj
;
20593 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20595 PyObject
* obj0
= 0 ;
20596 char *kwnames
[] = {
20597 (char *) "self", NULL
20600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
20601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20603 result
= (int) ((arg1
)->m_col
);
20605 resultobj
= SWIG_FromInt((int)result
);
20612 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20613 PyObject
*resultobj
;
20614 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20615 wxPoint
*arg2
= (wxPoint
*) 0 ;
20616 PyObject
* obj0
= 0 ;
20617 PyObject
* obj1
= 0 ;
20618 char *kwnames
[] = {
20619 (char *) "self",(char *) "m_pointDrag", NULL
20622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20625 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
20626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20627 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
20629 Py_INCREF(Py_None
); resultobj
= Py_None
;
20636 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20637 PyObject
*resultobj
;
20638 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20640 PyObject
* obj0
= 0 ;
20641 char *kwnames
[] = {
20642 (char *) "self", NULL
20645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
20646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20648 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
20650 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
20657 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20658 PyObject
*resultobj
;
20659 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20660 wxListItem
*result
;
20661 PyObject
* obj0
= 0 ;
20662 char *kwnames
[] = {
20663 (char *) "self", NULL
20666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
20667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20669 result
= (wxListItem
*)& ((arg1
)->m_item
);
20672 resultobj
= wxPyMake_wxObject(result
, 0);
20680 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20681 PyObject
*resultobj
;
20682 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20684 PyObject
* obj0
= 0 ;
20685 char *kwnames
[] = {
20686 (char *) "self", NULL
20689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20694 result
= (int)(arg1
)->GetKeyCode();
20696 wxPyEndAllowThreads(__tstate
);
20697 if (PyErr_Occurred()) SWIG_fail
;
20699 resultobj
= SWIG_FromInt((int)result
);
20706 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20707 PyObject
*resultobj
;
20708 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20710 PyObject
* obj0
= 0 ;
20711 char *kwnames
[] = {
20712 (char *) "self", NULL
20715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
20716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20720 result
= (long)(arg1
)->GetIndex();
20722 wxPyEndAllowThreads(__tstate
);
20723 if (PyErr_Occurred()) SWIG_fail
;
20725 resultobj
= SWIG_FromLong((long)result
);
20732 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20733 PyObject
*resultobj
;
20734 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20736 PyObject
* obj0
= 0 ;
20737 char *kwnames
[] = {
20738 (char *) "self", NULL
20741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
20742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20746 result
= (int)(arg1
)->GetColumn();
20748 wxPyEndAllowThreads(__tstate
);
20749 if (PyErr_Occurred()) SWIG_fail
;
20751 resultobj
= SWIG_FromInt((int)result
);
20758 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20759 PyObject
*resultobj
;
20760 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20762 PyObject
* obj0
= 0 ;
20763 char *kwnames
[] = {
20764 (char *) "self", NULL
20767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
20768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20772 result
= (arg1
)->GetPoint();
20774 wxPyEndAllowThreads(__tstate
);
20775 if (PyErr_Occurred()) SWIG_fail
;
20778 wxPoint
* resultptr
;
20779 resultptr
= new wxPoint((wxPoint
&) result
);
20780 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20788 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20789 PyObject
*resultobj
;
20790 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20792 PyObject
* obj0
= 0 ;
20793 char *kwnames
[] = {
20794 (char *) "self", NULL
20797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
20798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20803 wxString
const &_result_ref
= (arg1
)->GetLabel();
20804 result
= (wxString
*) &_result_ref
;
20807 wxPyEndAllowThreads(__tstate
);
20808 if (PyErr_Occurred()) SWIG_fail
;
20812 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20814 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20823 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20824 PyObject
*resultobj
;
20825 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20827 PyObject
* obj0
= 0 ;
20828 char *kwnames
[] = {
20829 (char *) "self", NULL
20832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
20833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20838 wxString
const &_result_ref
= (arg1
)->GetText();
20839 result
= (wxString
*) &_result_ref
;
20842 wxPyEndAllowThreads(__tstate
);
20843 if (PyErr_Occurred()) SWIG_fail
;
20847 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20849 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20858 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20859 PyObject
*resultobj
;
20860 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20862 PyObject
* obj0
= 0 ;
20863 char *kwnames
[] = {
20864 (char *) "self", NULL
20867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
20868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20872 result
= (int)(arg1
)->GetImage();
20874 wxPyEndAllowThreads(__tstate
);
20875 if (PyErr_Occurred()) SWIG_fail
;
20877 resultobj
= SWIG_FromInt((int)result
);
20884 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20885 PyObject
*resultobj
;
20886 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20888 PyObject
* obj0
= 0 ;
20889 char *kwnames
[] = {
20890 (char *) "self", NULL
20893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
20894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20898 result
= (long)(arg1
)->GetData();
20900 wxPyEndAllowThreads(__tstate
);
20901 if (PyErr_Occurred()) SWIG_fail
;
20903 resultobj
= SWIG_FromLong((long)result
);
20910 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20911 PyObject
*resultobj
;
20912 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20914 PyObject
* obj0
= 0 ;
20915 char *kwnames
[] = {
20916 (char *) "self", NULL
20919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
20920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20924 result
= (long)(arg1
)->GetMask();
20926 wxPyEndAllowThreads(__tstate
);
20927 if (PyErr_Occurred()) SWIG_fail
;
20929 resultobj
= SWIG_FromLong((long)result
);
20936 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20937 PyObject
*resultobj
;
20938 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20939 wxListItem
*result
;
20940 PyObject
* obj0
= 0 ;
20941 char *kwnames
[] = {
20942 (char *) "self", NULL
20945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
20946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20951 wxListItem
const &_result_ref
= (arg1
)->GetItem();
20952 result
= (wxListItem
*) &_result_ref
;
20955 wxPyEndAllowThreads(__tstate
);
20956 if (PyErr_Occurred()) SWIG_fail
;
20958 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
20965 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20966 PyObject
*resultobj
;
20967 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20969 PyObject
* obj0
= 0 ;
20970 char *kwnames
[] = {
20971 (char *) "self", NULL
20974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
20975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20979 result
= (long)(arg1
)->GetCacheFrom();
20981 wxPyEndAllowThreads(__tstate
);
20982 if (PyErr_Occurred()) SWIG_fail
;
20984 resultobj
= SWIG_FromLong((long)result
);
20991 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20992 PyObject
*resultobj
;
20993 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20995 PyObject
* obj0
= 0 ;
20996 char *kwnames
[] = {
20997 (char *) "self", NULL
21000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
21001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21005 result
= (long)(arg1
)->GetCacheTo();
21007 wxPyEndAllowThreads(__tstate
);
21008 if (PyErr_Occurred()) SWIG_fail
;
21010 resultobj
= SWIG_FromLong((long)result
);
21017 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21018 PyObject
*resultobj
;
21019 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21021 PyObject
* obj0
= 0 ;
21022 char *kwnames
[] = {
21023 (char *) "self", NULL
21026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
21027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21031 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
21033 wxPyEndAllowThreads(__tstate
);
21034 if (PyErr_Occurred()) SWIG_fail
;
21037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21045 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21046 PyObject
*resultobj
;
21047 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21049 PyObject
* obj0
= 0 ;
21050 PyObject
* obj1
= 0 ;
21051 char *kwnames
[] = {
21052 (char *) "self",(char *) "editCancelled", NULL
21055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
21056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21058 arg2
= (bool) SWIG_AsBool(obj1
);
21059 if (PyErr_Occurred()) SWIG_fail
;
21061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21062 (arg1
)->SetEditCanceled(arg2
);
21064 wxPyEndAllowThreads(__tstate
);
21065 if (PyErr_Occurred()) SWIG_fail
;
21067 Py_INCREF(Py_None
); resultobj
= Py_None
;
21074 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
21076 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21077 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
21079 return Py_BuildValue((char *)"");
21081 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21082 PyObject
*resultobj
;
21083 wxWindow
*arg1
= (wxWindow
*) 0 ;
21084 int arg2
= (int) -1 ;
21085 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21086 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21087 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21088 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21089 long arg5
= (long) wxLC_ICON
;
21090 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
21091 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
21092 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
21093 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21094 wxPyListCtrl
*result
;
21097 bool temp7
= False
;
21098 PyObject
* obj0
= 0 ;
21099 PyObject
* obj1
= 0 ;
21100 PyObject
* obj2
= 0 ;
21101 PyObject
* obj3
= 0 ;
21102 PyObject
* obj4
= 0 ;
21103 PyObject
* obj5
= 0 ;
21104 PyObject
* obj6
= 0 ;
21105 char *kwnames
[] = {
21106 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21113 arg2
= (int) SWIG_AsInt(obj1
);
21114 if (PyErr_Occurred()) SWIG_fail
;
21119 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21125 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21129 arg5
= (long) SWIG_AsLong(obj4
);
21130 if (PyErr_Occurred()) SWIG_fail
;
21133 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
21134 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21136 if (arg6
== NULL
) {
21137 PyErr_SetString(PyExc_TypeError
,"null reference");
21143 arg7
= wxString_in_helper(obj6
);
21144 if (arg7
== NULL
) SWIG_fail
;
21149 if (!wxPyCheckForApp()) SWIG_fail
;
21150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21151 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
21153 wxPyEndAllowThreads(__tstate
);
21154 if (PyErr_Occurred()) SWIG_fail
;
21156 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21171 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21172 PyObject
*resultobj
;
21173 wxPyListCtrl
*result
;
21174 char *kwnames
[] = {
21178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
21180 if (!wxPyCheckForApp()) SWIG_fail
;
21181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21182 result
= (wxPyListCtrl
*)new wxPyListCtrl();
21184 wxPyEndAllowThreads(__tstate
);
21185 if (PyErr_Occurred()) SWIG_fail
;
21187 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21194 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21195 PyObject
*resultobj
;
21196 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21197 wxWindow
*arg2
= (wxWindow
*) 0 ;
21198 int arg3
= (int) -1 ;
21199 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21200 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21201 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21202 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21203 long arg6
= (long) wxLC_ICON
;
21204 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
21205 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
21206 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
21207 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21211 bool temp8
= False
;
21212 PyObject
* obj0
= 0 ;
21213 PyObject
* obj1
= 0 ;
21214 PyObject
* obj2
= 0 ;
21215 PyObject
* obj3
= 0 ;
21216 PyObject
* obj4
= 0 ;
21217 PyObject
* obj5
= 0 ;
21218 PyObject
* obj6
= 0 ;
21219 PyObject
* obj7
= 0 ;
21220 char *kwnames
[] = {
21221 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
21225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21227 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21230 arg3
= (int) SWIG_AsInt(obj2
);
21231 if (PyErr_Occurred()) SWIG_fail
;
21236 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21242 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21246 arg6
= (long) SWIG_AsLong(obj5
);
21247 if (PyErr_Occurred()) SWIG_fail
;
21250 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
21251 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21253 if (arg7
== NULL
) {
21254 PyErr_SetString(PyExc_TypeError
,"null reference");
21260 arg8
= wxString_in_helper(obj7
);
21261 if (arg8
== NULL
) SWIG_fail
;
21266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21267 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
21269 wxPyEndAllowThreads(__tstate
);
21270 if (PyErr_Occurred()) SWIG_fail
;
21273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21289 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21290 PyObject
*resultobj
;
21291 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21292 PyObject
*arg2
= (PyObject
*) 0 ;
21293 PyObject
*arg3
= (PyObject
*) 0 ;
21294 PyObject
* obj0
= 0 ;
21295 PyObject
* obj1
= 0 ;
21296 PyObject
* obj2
= 0 ;
21297 char *kwnames
[] = {
21298 (char *) "self",(char *) "self",(char *) "_class", NULL
21301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21308 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21310 wxPyEndAllowThreads(__tstate
);
21311 if (PyErr_Occurred()) SWIG_fail
;
21313 Py_INCREF(Py_None
); resultobj
= Py_None
;
21320 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21321 PyObject
*resultobj
;
21322 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21323 wxColour
*arg2
= 0 ;
21326 PyObject
* obj0
= 0 ;
21327 PyObject
* obj1
= 0 ;
21328 char *kwnames
[] = {
21329 (char *) "self",(char *) "col", NULL
21332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21337 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21341 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
21343 wxPyEndAllowThreads(__tstate
);
21344 if (PyErr_Occurred()) SWIG_fail
;
21347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21355 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21356 PyObject
*resultobj
;
21357 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21358 wxColour
*arg2
= 0 ;
21361 PyObject
* obj0
= 0 ;
21362 PyObject
* obj1
= 0 ;
21363 char *kwnames
[] = {
21364 (char *) "self",(char *) "col", NULL
21367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21372 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21376 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21378 wxPyEndAllowThreads(__tstate
);
21379 if (PyErr_Occurred()) SWIG_fail
;
21382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21390 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21391 PyObject
*resultobj
;
21392 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21394 wxListItem
*result
;
21395 PyObject
* obj0
= 0 ;
21396 PyObject
* obj1
= 0 ;
21397 char *kwnames
[] = {
21398 (char *) "self",(char *) "col", NULL
21401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21404 arg2
= (int) SWIG_AsInt(obj1
);
21405 if (PyErr_Occurred()) SWIG_fail
;
21407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21408 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
21410 wxPyEndAllowThreads(__tstate
);
21411 if (PyErr_Occurred()) SWIG_fail
;
21414 resultobj
= wxPyMake_wxObject(result
, 0);
21422 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21423 PyObject
*resultobj
;
21424 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21426 wxListItem
*arg3
= 0 ;
21428 PyObject
* obj0
= 0 ;
21429 PyObject
* obj1
= 0 ;
21430 PyObject
* obj2
= 0 ;
21431 char *kwnames
[] = {
21432 (char *) "self",(char *) "col",(char *) "item", NULL
21435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21438 arg2
= (int) SWIG_AsInt(obj1
);
21439 if (PyErr_Occurred()) SWIG_fail
;
21440 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
21441 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21443 if (arg3
== NULL
) {
21444 PyErr_SetString(PyExc_TypeError
,"null reference");
21448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21449 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
21451 wxPyEndAllowThreads(__tstate
);
21452 if (PyErr_Occurred()) SWIG_fail
;
21455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21463 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21464 PyObject
*resultobj
;
21465 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21468 PyObject
* obj0
= 0 ;
21469 PyObject
* obj1
= 0 ;
21470 char *kwnames
[] = {
21471 (char *) "self",(char *) "col", NULL
21474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
21475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21477 arg2
= (int) SWIG_AsInt(obj1
);
21478 if (PyErr_Occurred()) SWIG_fail
;
21480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21481 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
21483 wxPyEndAllowThreads(__tstate
);
21484 if (PyErr_Occurred()) SWIG_fail
;
21486 resultobj
= SWIG_FromInt((int)result
);
21493 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21494 PyObject
*resultobj
;
21495 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21499 PyObject
* obj0
= 0 ;
21500 PyObject
* obj1
= 0 ;
21501 PyObject
* obj2
= 0 ;
21502 char *kwnames
[] = {
21503 (char *) "self",(char *) "col",(char *) "width", NULL
21506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21509 arg2
= (int) SWIG_AsInt(obj1
);
21510 if (PyErr_Occurred()) SWIG_fail
;
21511 arg3
= (int) SWIG_AsInt(obj2
);
21512 if (PyErr_Occurred()) SWIG_fail
;
21514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21515 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
21517 wxPyEndAllowThreads(__tstate
);
21518 if (PyErr_Occurred()) SWIG_fail
;
21521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21529 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21530 PyObject
*resultobj
;
21531 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21533 PyObject
* obj0
= 0 ;
21534 char *kwnames
[] = {
21535 (char *) "self", NULL
21538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
21539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21543 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
21545 wxPyEndAllowThreads(__tstate
);
21546 if (PyErr_Occurred()) SWIG_fail
;
21548 resultobj
= SWIG_FromInt((int)result
);
21555 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21556 PyObject
*resultobj
;
21557 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21559 PyObject
* obj0
= 0 ;
21560 char *kwnames
[] = {
21561 (char *) "self", NULL
21564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
21565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21569 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
21571 wxPyEndAllowThreads(__tstate
);
21572 if (PyErr_Occurred()) SWIG_fail
;
21575 wxRect
* resultptr
;
21576 resultptr
= new wxRect((wxRect
&) result
);
21577 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
21585 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21586 PyObject
*resultobj
;
21587 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21589 int arg3
= (int) 0 ;
21590 wxListItem
*result
;
21591 PyObject
* obj0
= 0 ;
21592 PyObject
* obj1
= 0 ;
21593 PyObject
* obj2
= 0 ;
21594 char *kwnames
[] = {
21595 (char *) "self",(char *) "itemId",(char *) "col", NULL
21598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21601 arg2
= (long) SWIG_AsLong(obj1
);
21602 if (PyErr_Occurred()) SWIG_fail
;
21604 arg3
= (int) SWIG_AsInt(obj2
);
21605 if (PyErr_Occurred()) SWIG_fail
;
21608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21609 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
21611 wxPyEndAllowThreads(__tstate
);
21612 if (PyErr_Occurred()) SWIG_fail
;
21615 resultobj
= wxPyMake_wxObject(result
, 0);
21623 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21624 PyObject
*resultobj
;
21625 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21626 wxListItem
*arg2
= 0 ;
21628 PyObject
* obj0
= 0 ;
21629 PyObject
* obj1
= 0 ;
21630 char *kwnames
[] = {
21631 (char *) "self",(char *) "info", NULL
21634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21637 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
21638 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21640 if (arg2
== NULL
) {
21641 PyErr_SetString(PyExc_TypeError
,"null reference");
21645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21646 result
= (bool)(arg1
)->SetItem(*arg2
);
21648 wxPyEndAllowThreads(__tstate
);
21649 if (PyErr_Occurred()) SWIG_fail
;
21652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21660 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21661 PyObject
*resultobj
;
21662 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21665 wxString
*arg4
= 0 ;
21666 int arg5
= (int) -1 ;
21668 bool temp4
= False
;
21669 PyObject
* obj0
= 0 ;
21670 PyObject
* obj1
= 0 ;
21671 PyObject
* obj2
= 0 ;
21672 PyObject
* obj3
= 0 ;
21673 PyObject
* obj4
= 0 ;
21674 char *kwnames
[] = {
21675 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
21678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21681 arg2
= (long) SWIG_AsLong(obj1
);
21682 if (PyErr_Occurred()) SWIG_fail
;
21683 arg3
= (int) SWIG_AsInt(obj2
);
21684 if (PyErr_Occurred()) SWIG_fail
;
21686 arg4
= wxString_in_helper(obj3
);
21687 if (arg4
== NULL
) SWIG_fail
;
21691 arg5
= (int) SWIG_AsInt(obj4
);
21692 if (PyErr_Occurred()) SWIG_fail
;
21695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21696 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
21698 wxPyEndAllowThreads(__tstate
);
21699 if (PyErr_Occurred()) SWIG_fail
;
21701 resultobj
= SWIG_FromLong((long)result
);
21716 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21717 PyObject
*resultobj
;
21718 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21722 PyObject
* obj0
= 0 ;
21723 PyObject
* obj1
= 0 ;
21724 PyObject
* obj2
= 0 ;
21725 char *kwnames
[] = {
21726 (char *) "self",(char *) "item",(char *) "stateMask", NULL
21729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21732 arg2
= (long) SWIG_AsLong(obj1
);
21733 if (PyErr_Occurred()) SWIG_fail
;
21734 arg3
= (long) SWIG_AsLong(obj2
);
21735 if (PyErr_Occurred()) SWIG_fail
;
21737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21738 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
21740 wxPyEndAllowThreads(__tstate
);
21741 if (PyErr_Occurred()) SWIG_fail
;
21743 resultobj
= SWIG_FromInt((int)result
);
21750 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21751 PyObject
*resultobj
;
21752 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21757 PyObject
* obj0
= 0 ;
21758 PyObject
* obj1
= 0 ;
21759 PyObject
* obj2
= 0 ;
21760 PyObject
* obj3
= 0 ;
21761 char *kwnames
[] = {
21762 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
21765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21768 arg2
= (long) SWIG_AsLong(obj1
);
21769 if (PyErr_Occurred()) SWIG_fail
;
21770 arg3
= (long) SWIG_AsLong(obj2
);
21771 if (PyErr_Occurred()) SWIG_fail
;
21772 arg4
= (long) SWIG_AsLong(obj3
);
21773 if (PyErr_Occurred()) SWIG_fail
;
21775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21776 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
21778 wxPyEndAllowThreads(__tstate
);
21779 if (PyErr_Occurred()) SWIG_fail
;
21782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21790 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21791 PyObject
*resultobj
;
21792 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21797 PyObject
* obj0
= 0 ;
21798 PyObject
* obj1
= 0 ;
21799 PyObject
* obj2
= 0 ;
21800 PyObject
* obj3
= 0 ;
21801 char *kwnames
[] = {
21802 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
21805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21808 arg2
= (long) SWIG_AsLong(obj1
);
21809 if (PyErr_Occurred()) SWIG_fail
;
21810 arg3
= (int) SWIG_AsInt(obj2
);
21811 if (PyErr_Occurred()) SWIG_fail
;
21812 arg4
= (int) SWIG_AsInt(obj3
);
21813 if (PyErr_Occurred()) SWIG_fail
;
21815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21816 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
21818 wxPyEndAllowThreads(__tstate
);
21819 if (PyErr_Occurred()) SWIG_fail
;
21822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21830 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21831 PyObject
*resultobj
;
21832 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21835 PyObject
* obj0
= 0 ;
21836 PyObject
* obj1
= 0 ;
21837 char *kwnames
[] = {
21838 (char *) "self",(char *) "item", NULL
21841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
21842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21844 arg2
= (long) SWIG_AsLong(obj1
);
21845 if (PyErr_Occurred()) SWIG_fail
;
21847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21848 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
21850 wxPyEndAllowThreads(__tstate
);
21851 if (PyErr_Occurred()) SWIG_fail
;
21855 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21857 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21866 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21867 PyObject
*resultobj
;
21868 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21870 wxString
*arg3
= 0 ;
21871 bool temp3
= False
;
21872 PyObject
* obj0
= 0 ;
21873 PyObject
* obj1
= 0 ;
21874 PyObject
* obj2
= 0 ;
21875 char *kwnames
[] = {
21876 (char *) "self",(char *) "item",(char *) "str", NULL
21879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21882 arg2
= (long) SWIG_AsLong(obj1
);
21883 if (PyErr_Occurred()) SWIG_fail
;
21885 arg3
= wxString_in_helper(obj2
);
21886 if (arg3
== NULL
) SWIG_fail
;
21890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21891 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
21893 wxPyEndAllowThreads(__tstate
);
21894 if (PyErr_Occurred()) SWIG_fail
;
21896 Py_INCREF(Py_None
); resultobj
= Py_None
;
21911 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21912 PyObject
*resultobj
;
21913 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21916 PyObject
* obj0
= 0 ;
21917 PyObject
* obj1
= 0 ;
21918 char *kwnames
[] = {
21919 (char *) "self",(char *) "item", NULL
21922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
21923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21925 arg2
= (long) SWIG_AsLong(obj1
);
21926 if (PyErr_Occurred()) SWIG_fail
;
21928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21929 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
21931 wxPyEndAllowThreads(__tstate
);
21932 if (PyErr_Occurred()) SWIG_fail
;
21934 resultobj
= SWIG_FromLong((long)result
);
21941 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21942 PyObject
*resultobj
;
21943 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21947 PyObject
* obj0
= 0 ;
21948 PyObject
* obj1
= 0 ;
21949 PyObject
* obj2
= 0 ;
21950 char *kwnames
[] = {
21951 (char *) "self",(char *) "item",(char *) "data", NULL
21954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21957 arg2
= (long) SWIG_AsLong(obj1
);
21958 if (PyErr_Occurred()) SWIG_fail
;
21959 arg3
= (long) SWIG_AsLong(obj2
);
21960 if (PyErr_Occurred()) SWIG_fail
;
21962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21963 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
21965 wxPyEndAllowThreads(__tstate
);
21966 if (PyErr_Occurred()) SWIG_fail
;
21969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21977 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21978 PyObject
*resultobj
;
21979 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21982 PyObject
* obj0
= 0 ;
21983 PyObject
* obj1
= 0 ;
21984 char *kwnames
[] = {
21985 (char *) "self",(char *) "item", NULL
21988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
21989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21991 arg2
= (long) SWIG_AsLong(obj1
);
21992 if (PyErr_Occurred()) SWIG_fail
;
21994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21995 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
21997 wxPyEndAllowThreads(__tstate
);
21998 if (PyErr_Occurred()) SWIG_fail
;
22001 wxPoint
* resultptr
;
22002 resultptr
= new wxPoint((wxPoint
&) result
);
22003 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22011 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22012 PyObject
*resultobj
;
22013 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22015 int arg3
= (int) wxLIST_RECT_BOUNDS
;
22017 PyObject
* obj0
= 0 ;
22018 PyObject
* obj1
= 0 ;
22019 PyObject
* obj2
= 0 ;
22020 char *kwnames
[] = {
22021 (char *) "self",(char *) "item",(char *) "code", NULL
22024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22027 arg2
= (long) SWIG_AsLong(obj1
);
22028 if (PyErr_Occurred()) SWIG_fail
;
22030 arg3
= (int) SWIG_AsInt(obj2
);
22031 if (PyErr_Occurred()) SWIG_fail
;
22034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22035 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
22037 wxPyEndAllowThreads(__tstate
);
22038 if (PyErr_Occurred()) SWIG_fail
;
22041 wxRect
* resultptr
;
22042 resultptr
= new wxRect((wxRect
&) result
);
22043 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22051 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22052 PyObject
*resultobj
;
22053 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22055 wxPoint
*arg3
= 0 ;
22058 PyObject
* obj0
= 0 ;
22059 PyObject
* obj1
= 0 ;
22060 PyObject
* obj2
= 0 ;
22061 char *kwnames
[] = {
22062 (char *) "self",(char *) "item",(char *) "pos", NULL
22065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22068 arg2
= (long) SWIG_AsLong(obj1
);
22069 if (PyErr_Occurred()) SWIG_fail
;
22072 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22076 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
22078 wxPyEndAllowThreads(__tstate
);
22079 if (PyErr_Occurred()) SWIG_fail
;
22082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22090 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22091 PyObject
*resultobj
;
22092 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22094 PyObject
* obj0
= 0 ;
22095 char *kwnames
[] = {
22096 (char *) "self", NULL
22099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
22100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22104 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
22106 wxPyEndAllowThreads(__tstate
);
22107 if (PyErr_Occurred()) SWIG_fail
;
22109 resultobj
= SWIG_FromInt((int)result
);
22116 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22117 PyObject
*resultobj
;
22118 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22120 PyObject
* obj0
= 0 ;
22121 char *kwnames
[] = {
22122 (char *) "self", NULL
22125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
22126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22130 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
22132 wxPyEndAllowThreads(__tstate
);
22133 if (PyErr_Occurred()) SWIG_fail
;
22135 resultobj
= SWIG_FromInt((int)result
);
22142 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22143 PyObject
*resultobj
;
22144 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22146 PyObject
* obj0
= 0 ;
22147 char *kwnames
[] = {
22148 (char *) "self", NULL
22151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
22152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22156 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
22158 wxPyEndAllowThreads(__tstate
);
22159 if (PyErr_Occurred()) SWIG_fail
;
22162 wxSize
* resultptr
;
22163 resultptr
= new wxSize((wxSize
&) result
);
22164 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22172 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22173 PyObject
*resultobj
;
22174 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22176 bool arg3
= (bool) False
;
22177 PyObject
* obj0
= 0 ;
22178 PyObject
* obj1
= 0 ;
22179 PyObject
* obj2
= 0 ;
22180 char *kwnames
[] = {
22181 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
22184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22187 arg2
= (int) SWIG_AsInt(obj1
);
22188 if (PyErr_Occurred()) SWIG_fail
;
22190 arg3
= (bool) SWIG_AsBool(obj2
);
22191 if (PyErr_Occurred()) SWIG_fail
;
22194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22195 (arg1
)->SetItemSpacing(arg2
,arg3
);
22197 wxPyEndAllowThreads(__tstate
);
22198 if (PyErr_Occurred()) SWIG_fail
;
22200 Py_INCREF(Py_None
); resultobj
= Py_None
;
22207 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22208 PyObject
*resultobj
;
22209 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22211 PyObject
* obj0
= 0 ;
22212 char *kwnames
[] = {
22213 (char *) "self", NULL
22216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
22217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22221 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
22223 wxPyEndAllowThreads(__tstate
);
22224 if (PyErr_Occurred()) SWIG_fail
;
22226 resultobj
= SWIG_FromInt((int)result
);
22233 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22234 PyObject
*resultobj
;
22235 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22237 PyObject
* obj0
= 0 ;
22238 char *kwnames
[] = {
22239 (char *) "self", NULL
22242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
22243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22247 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
22249 wxPyEndAllowThreads(__tstate
);
22250 if (PyErr_Occurred()) SWIG_fail
;
22253 wxColour
* resultptr
;
22254 resultptr
= new wxColour((wxColour
&) result
);
22255 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22263 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22264 PyObject
*resultobj
;
22265 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22266 wxColour
*arg2
= 0 ;
22268 PyObject
* obj0
= 0 ;
22269 PyObject
* obj1
= 0 ;
22270 char *kwnames
[] = {
22271 (char *) "self",(char *) "col", NULL
22274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22279 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22283 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22285 wxPyEndAllowThreads(__tstate
);
22286 if (PyErr_Occurred()) SWIG_fail
;
22288 Py_INCREF(Py_None
); resultobj
= Py_None
;
22295 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22296 PyObject
*resultobj
;
22297 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22299 PyObject
* obj0
= 0 ;
22300 char *kwnames
[] = {
22301 (char *) "self", NULL
22304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
22305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22309 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
22311 wxPyEndAllowThreads(__tstate
);
22312 if (PyErr_Occurred()) SWIG_fail
;
22314 resultobj
= SWIG_FromLong((long)result
);
22321 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22322 PyObject
*resultobj
;
22323 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22325 bool arg3
= (bool) True
;
22326 PyObject
* obj0
= 0 ;
22327 PyObject
* obj1
= 0 ;
22328 PyObject
* obj2
= 0 ;
22329 char *kwnames
[] = {
22330 (char *) "self",(char *) "style",(char *) "add", NULL
22333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22336 arg2
= (long) SWIG_AsLong(obj1
);
22337 if (PyErr_Occurred()) SWIG_fail
;
22339 arg3
= (bool) SWIG_AsBool(obj2
);
22340 if (PyErr_Occurred()) SWIG_fail
;
22343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22344 (arg1
)->SetSingleStyle(arg2
,arg3
);
22346 wxPyEndAllowThreads(__tstate
);
22347 if (PyErr_Occurred()) SWIG_fail
;
22349 Py_INCREF(Py_None
); resultobj
= Py_None
;
22356 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22357 PyObject
*resultobj
;
22358 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22360 PyObject
* obj0
= 0 ;
22361 PyObject
* obj1
= 0 ;
22362 char *kwnames
[] = {
22363 (char *) "self",(char *) "style", NULL
22366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
22367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22369 arg2
= (long) SWIG_AsLong(obj1
);
22370 if (PyErr_Occurred()) SWIG_fail
;
22372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22373 (arg1
)->SetWindowStyleFlag(arg2
);
22375 wxPyEndAllowThreads(__tstate
);
22376 if (PyErr_Occurred()) SWIG_fail
;
22378 Py_INCREF(Py_None
); resultobj
= Py_None
;
22385 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22386 PyObject
*resultobj
;
22387 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22389 int arg3
= (int) wxLIST_NEXT_ALL
;
22390 int arg4
= (int) wxLIST_STATE_DONTCARE
;
22392 PyObject
* obj0
= 0 ;
22393 PyObject
* obj1
= 0 ;
22394 PyObject
* obj2
= 0 ;
22395 PyObject
* obj3
= 0 ;
22396 char *kwnames
[] = {
22397 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
22400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22403 arg2
= (long) SWIG_AsLong(obj1
);
22404 if (PyErr_Occurred()) SWIG_fail
;
22406 arg3
= (int) SWIG_AsInt(obj2
);
22407 if (PyErr_Occurred()) SWIG_fail
;
22410 arg4
= (int) SWIG_AsInt(obj3
);
22411 if (PyErr_Occurred()) SWIG_fail
;
22414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22415 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
22417 wxPyEndAllowThreads(__tstate
);
22418 if (PyErr_Occurred()) SWIG_fail
;
22420 resultobj
= SWIG_FromLong((long)result
);
22427 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22428 PyObject
*resultobj
;
22429 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22431 wxImageList
*result
;
22432 PyObject
* obj0
= 0 ;
22433 PyObject
* obj1
= 0 ;
22434 char *kwnames
[] = {
22435 (char *) "self",(char *) "which", NULL
22438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
22439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22441 arg2
= (int) SWIG_AsInt(obj1
);
22442 if (PyErr_Occurred()) SWIG_fail
;
22444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22445 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
22447 wxPyEndAllowThreads(__tstate
);
22448 if (PyErr_Occurred()) SWIG_fail
;
22451 resultobj
= wxPyMake_wxObject(result
, 0);
22459 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22460 PyObject
*resultobj
;
22461 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22462 wxImageList
*arg2
= (wxImageList
*) 0 ;
22464 PyObject
* obj0
= 0 ;
22465 PyObject
* obj1
= 0 ;
22466 PyObject
* obj2
= 0 ;
22467 char *kwnames
[] = {
22468 (char *) "self",(char *) "imageList",(char *) "which", NULL
22471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22474 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22476 arg3
= (int) SWIG_AsInt(obj2
);
22477 if (PyErr_Occurred()) SWIG_fail
;
22479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22480 (arg1
)->SetImageList(arg2
,arg3
);
22482 wxPyEndAllowThreads(__tstate
);
22483 if (PyErr_Occurred()) SWIG_fail
;
22485 Py_INCREF(Py_None
); resultobj
= Py_None
;
22492 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22493 PyObject
*resultobj
;
22494 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22495 wxImageList
*arg2
= (wxImageList
*) 0 ;
22497 PyObject
* obj0
= 0 ;
22498 PyObject
* obj1
= 0 ;
22499 PyObject
* obj2
= 0 ;
22500 char *kwnames
[] = {
22501 (char *) "self",(char *) "imageList",(char *) "which", NULL
22504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22507 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22508 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22509 arg3
= (int) SWIG_AsInt(obj2
);
22510 if (PyErr_Occurred()) SWIG_fail
;
22512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22513 (arg1
)->AssignImageList(arg2
,arg3
);
22515 wxPyEndAllowThreads(__tstate
);
22516 if (PyErr_Occurred()) SWIG_fail
;
22518 Py_INCREF(Py_None
); resultobj
= Py_None
;
22525 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22526 PyObject
*resultobj
;
22527 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22529 PyObject
* obj0
= 0 ;
22530 char *kwnames
[] = {
22531 (char *) "self", NULL
22534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
22535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22539 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
22541 wxPyEndAllowThreads(__tstate
);
22542 if (PyErr_Occurred()) SWIG_fail
;
22545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22553 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22554 PyObject
*resultobj
;
22555 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22557 PyObject
* obj0
= 0 ;
22558 char *kwnames
[] = {
22559 (char *) "self", NULL
22562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
22563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22567 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
22569 wxPyEndAllowThreads(__tstate
);
22570 if (PyErr_Occurred()) SWIG_fail
;
22573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22581 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22582 PyObject
*resultobj
;
22583 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22585 PyObject
* obj0
= 0 ;
22586 PyObject
* obj1
= 0 ;
22587 char *kwnames
[] = {
22588 (char *) "self",(char *) "item", NULL
22591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22594 arg2
= (long) SWIG_AsLong(obj1
);
22595 if (PyErr_Occurred()) SWIG_fail
;
22597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22598 (arg1
)->RefreshItem(arg2
);
22600 wxPyEndAllowThreads(__tstate
);
22601 if (PyErr_Occurred()) SWIG_fail
;
22603 Py_INCREF(Py_None
); resultobj
= Py_None
;
22610 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22611 PyObject
*resultobj
;
22612 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22615 PyObject
* obj0
= 0 ;
22616 PyObject
* obj1
= 0 ;
22617 PyObject
* obj2
= 0 ;
22618 char *kwnames
[] = {
22619 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
22622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22625 arg2
= (long) SWIG_AsLong(obj1
);
22626 if (PyErr_Occurred()) SWIG_fail
;
22627 arg3
= (long) SWIG_AsLong(obj2
);
22628 if (PyErr_Occurred()) SWIG_fail
;
22630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22631 (arg1
)->RefreshItems(arg2
,arg3
);
22633 wxPyEndAllowThreads(__tstate
);
22634 if (PyErr_Occurred()) SWIG_fail
;
22636 Py_INCREF(Py_None
); resultobj
= Py_None
;
22643 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22644 PyObject
*resultobj
;
22645 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22646 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
22648 PyObject
* obj0
= 0 ;
22649 PyObject
* obj1
= 0 ;
22650 char *kwnames
[] = {
22651 (char *) "self",(char *) "flag", NULL
22654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
22655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22658 arg2
= (int) SWIG_AsInt(obj1
);
22659 if (PyErr_Occurred()) SWIG_fail
;
22662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22663 result
= (bool)(arg1
)->Arrange(arg2
);
22665 wxPyEndAllowThreads(__tstate
);
22666 if (PyErr_Occurred()) SWIG_fail
;
22669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22677 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22678 PyObject
*resultobj
;
22679 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22682 PyObject
* obj0
= 0 ;
22683 PyObject
* obj1
= 0 ;
22684 char *kwnames
[] = {
22685 (char *) "self",(char *) "item", NULL
22688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22691 arg2
= (long) SWIG_AsLong(obj1
);
22692 if (PyErr_Occurred()) SWIG_fail
;
22694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22695 result
= (bool)(arg1
)->DeleteItem(arg2
);
22697 wxPyEndAllowThreads(__tstate
);
22698 if (PyErr_Occurred()) SWIG_fail
;
22701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22709 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22710 PyObject
*resultobj
;
22711 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22713 PyObject
* obj0
= 0 ;
22714 char *kwnames
[] = {
22715 (char *) "self", NULL
22718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
22719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22723 result
= (bool)(arg1
)->DeleteAllItems();
22725 wxPyEndAllowThreads(__tstate
);
22726 if (PyErr_Occurred()) SWIG_fail
;
22729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22737 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22738 PyObject
*resultobj
;
22739 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22742 PyObject
* obj0
= 0 ;
22743 PyObject
* obj1
= 0 ;
22744 char *kwnames
[] = {
22745 (char *) "self",(char *) "col", NULL
22748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
22749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22751 arg2
= (int) SWIG_AsInt(obj1
);
22752 if (PyErr_Occurred()) SWIG_fail
;
22754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22755 result
= (bool)(arg1
)->DeleteColumn(arg2
);
22757 wxPyEndAllowThreads(__tstate
);
22758 if (PyErr_Occurred()) SWIG_fail
;
22761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22769 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22770 PyObject
*resultobj
;
22771 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22773 PyObject
* obj0
= 0 ;
22774 char *kwnames
[] = {
22775 (char *) "self", NULL
22778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
22779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22783 result
= (bool)(arg1
)->DeleteAllColumns();
22785 wxPyEndAllowThreads(__tstate
);
22786 if (PyErr_Occurred()) SWIG_fail
;
22789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22797 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22798 PyObject
*resultobj
;
22799 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22800 PyObject
* obj0
= 0 ;
22801 char *kwnames
[] = {
22802 (char *) "self", NULL
22805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
22806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22810 (arg1
)->ClearAll();
22812 wxPyEndAllowThreads(__tstate
);
22813 if (PyErr_Occurred()) SWIG_fail
;
22815 Py_INCREF(Py_None
); resultobj
= Py_None
;
22822 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22823 PyObject
*resultobj
;
22824 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22826 PyObject
* obj0
= 0 ;
22827 PyObject
* obj1
= 0 ;
22828 char *kwnames
[] = {
22829 (char *) "self",(char *) "item", NULL
22832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22835 arg2
= (long) SWIG_AsLong(obj1
);
22836 if (PyErr_Occurred()) SWIG_fail
;
22838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22839 (arg1
)->EditLabel(arg2
);
22841 wxPyEndAllowThreads(__tstate
);
22842 if (PyErr_Occurred()) SWIG_fail
;
22844 Py_INCREF(Py_None
); resultobj
= Py_None
;
22851 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22852 PyObject
*resultobj
;
22853 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22856 PyObject
* obj0
= 0 ;
22857 PyObject
* obj1
= 0 ;
22858 char *kwnames
[] = {
22859 (char *) "self",(char *) "item", NULL
22862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22865 arg2
= (long) SWIG_AsLong(obj1
);
22866 if (PyErr_Occurred()) SWIG_fail
;
22868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22869 result
= (bool)(arg1
)->EnsureVisible(arg2
);
22871 wxPyEndAllowThreads(__tstate
);
22872 if (PyErr_Occurred()) SWIG_fail
;
22875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22883 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22884 PyObject
*resultobj
;
22885 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22887 wxString
*arg3
= 0 ;
22888 bool arg4
= (bool) False
;
22890 bool temp3
= False
;
22891 PyObject
* obj0
= 0 ;
22892 PyObject
* obj1
= 0 ;
22893 PyObject
* obj2
= 0 ;
22894 PyObject
* obj3
= 0 ;
22895 char *kwnames
[] = {
22896 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
22899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22902 arg2
= (long) SWIG_AsLong(obj1
);
22903 if (PyErr_Occurred()) SWIG_fail
;
22905 arg3
= wxString_in_helper(obj2
);
22906 if (arg3
== NULL
) SWIG_fail
;
22910 arg4
= (bool) SWIG_AsBool(obj3
);
22911 if (PyErr_Occurred()) SWIG_fail
;
22914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22915 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
22917 wxPyEndAllowThreads(__tstate
);
22918 if (PyErr_Occurred()) SWIG_fail
;
22920 resultobj
= SWIG_FromLong((long)result
);
22935 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22936 PyObject
*resultobj
;
22937 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22941 PyObject
* obj0
= 0 ;
22942 PyObject
* obj1
= 0 ;
22943 PyObject
* obj2
= 0 ;
22944 char *kwnames
[] = {
22945 (char *) "self",(char *) "start",(char *) "data", NULL
22948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22951 arg2
= (long) SWIG_AsLong(obj1
);
22952 if (PyErr_Occurred()) SWIG_fail
;
22953 arg3
= (long) SWIG_AsLong(obj2
);
22954 if (PyErr_Occurred()) SWIG_fail
;
22956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22957 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
22959 wxPyEndAllowThreads(__tstate
);
22960 if (PyErr_Occurred()) SWIG_fail
;
22962 resultobj
= SWIG_FromLong((long)result
);
22969 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22970 PyObject
*resultobj
;
22971 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22973 wxPoint
*arg3
= 0 ;
22977 PyObject
* obj0
= 0 ;
22978 PyObject
* obj1
= 0 ;
22979 PyObject
* obj2
= 0 ;
22980 PyObject
* obj3
= 0 ;
22981 char *kwnames
[] = {
22982 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
22985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22988 arg2
= (long) SWIG_AsLong(obj1
);
22989 if (PyErr_Occurred()) SWIG_fail
;
22992 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22994 arg4
= (int) SWIG_AsInt(obj3
);
22995 if (PyErr_Occurred()) SWIG_fail
;
22997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22998 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
23000 wxPyEndAllowThreads(__tstate
);
23001 if (PyErr_Occurred()) SWIG_fail
;
23003 resultobj
= SWIG_FromLong((long)result
);
23010 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23011 PyObject
*resultobj
;
23012 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23013 wxPoint
*arg2
= 0 ;
23018 PyObject
* obj0
= 0 ;
23019 PyObject
* obj1
= 0 ;
23020 char *kwnames
[] = {
23021 (char *) "self",(char *) "point", NULL
23025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
23026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23030 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23034 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
23036 wxPyEndAllowThreads(__tstate
);
23037 if (PyErr_Occurred()) SWIG_fail
;
23039 resultobj
= SWIG_FromLong((long)result
);
23041 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23042 resultobj
= t_output_helper(resultobj
,o
);
23050 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23051 PyObject
*resultobj
;
23052 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23053 wxListItem
*arg2
= 0 ;
23055 PyObject
* obj0
= 0 ;
23056 PyObject
* obj1
= 0 ;
23057 char *kwnames
[] = {
23058 (char *) "self",(char *) "info", NULL
23061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23064 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
23065 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23067 if (arg2
== NULL
) {
23068 PyErr_SetString(PyExc_TypeError
,"null reference");
23072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23073 result
= (long)(arg1
)->InsertItem(*arg2
);
23075 wxPyEndAllowThreads(__tstate
);
23076 if (PyErr_Occurred()) SWIG_fail
;
23078 resultobj
= SWIG_FromLong((long)result
);
23085 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23086 PyObject
*resultobj
;
23087 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23089 wxString
*arg3
= 0 ;
23091 bool temp3
= False
;
23092 PyObject
* obj0
= 0 ;
23093 PyObject
* obj1
= 0 ;
23094 PyObject
* obj2
= 0 ;
23095 char *kwnames
[] = {
23096 (char *) "self",(char *) "index",(char *) "label", NULL
23099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23102 arg2
= (long) SWIG_AsLong(obj1
);
23103 if (PyErr_Occurred()) SWIG_fail
;
23105 arg3
= wxString_in_helper(obj2
);
23106 if (arg3
== NULL
) SWIG_fail
;
23110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23111 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
23113 wxPyEndAllowThreads(__tstate
);
23114 if (PyErr_Occurred()) SWIG_fail
;
23116 resultobj
= SWIG_FromLong((long)result
);
23131 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23132 PyObject
*resultobj
;
23133 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23137 PyObject
* obj0
= 0 ;
23138 PyObject
* obj1
= 0 ;
23139 PyObject
* obj2
= 0 ;
23140 char *kwnames
[] = {
23141 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
23144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23147 arg2
= (long) SWIG_AsLong(obj1
);
23148 if (PyErr_Occurred()) SWIG_fail
;
23149 arg3
= (int) SWIG_AsInt(obj2
);
23150 if (PyErr_Occurred()) SWIG_fail
;
23152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23153 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
23155 wxPyEndAllowThreads(__tstate
);
23156 if (PyErr_Occurred()) SWIG_fail
;
23158 resultobj
= SWIG_FromLong((long)result
);
23165 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23166 PyObject
*resultobj
;
23167 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23169 wxString
*arg3
= 0 ;
23172 bool temp3
= False
;
23173 PyObject
* obj0
= 0 ;
23174 PyObject
* obj1
= 0 ;
23175 PyObject
* obj2
= 0 ;
23176 PyObject
* obj3
= 0 ;
23177 char *kwnames
[] = {
23178 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
23181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23184 arg2
= (long) SWIG_AsLong(obj1
);
23185 if (PyErr_Occurred()) SWIG_fail
;
23187 arg3
= wxString_in_helper(obj2
);
23188 if (arg3
== NULL
) SWIG_fail
;
23191 arg4
= (int) SWIG_AsInt(obj3
);
23192 if (PyErr_Occurred()) SWIG_fail
;
23194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23195 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
23197 wxPyEndAllowThreads(__tstate
);
23198 if (PyErr_Occurred()) SWIG_fail
;
23200 resultobj
= SWIG_FromLong((long)result
);
23215 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23216 PyObject
*resultobj
;
23217 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23219 wxListItem
*arg3
= 0 ;
23221 PyObject
* obj0
= 0 ;
23222 PyObject
* obj1
= 0 ;
23223 PyObject
* obj2
= 0 ;
23224 char *kwnames
[] = {
23225 (char *) "self",(char *) "col",(char *) "info", NULL
23228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23231 arg2
= (long) SWIG_AsLong(obj1
);
23232 if (PyErr_Occurred()) SWIG_fail
;
23233 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
23234 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23236 if (arg3
== NULL
) {
23237 PyErr_SetString(PyExc_TypeError
,"null reference");
23241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23242 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
23244 wxPyEndAllowThreads(__tstate
);
23245 if (PyErr_Occurred()) SWIG_fail
;
23247 resultobj
= SWIG_FromLong((long)result
);
23254 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23255 PyObject
*resultobj
;
23256 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23258 wxString
*arg3
= 0 ;
23259 int arg4
= (int) wxLIST_FORMAT_LEFT
;
23260 int arg5
= (int) -1 ;
23262 bool temp3
= False
;
23263 PyObject
* obj0
= 0 ;
23264 PyObject
* obj1
= 0 ;
23265 PyObject
* obj2
= 0 ;
23266 PyObject
* obj3
= 0 ;
23267 PyObject
* obj4
= 0 ;
23268 char *kwnames
[] = {
23269 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
23272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23275 arg2
= (long) SWIG_AsLong(obj1
);
23276 if (PyErr_Occurred()) SWIG_fail
;
23278 arg3
= wxString_in_helper(obj2
);
23279 if (arg3
== NULL
) SWIG_fail
;
23283 arg4
= (int) SWIG_AsInt(obj3
);
23284 if (PyErr_Occurred()) SWIG_fail
;
23287 arg5
= (int) SWIG_AsInt(obj4
);
23288 if (PyErr_Occurred()) SWIG_fail
;
23291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23292 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
23294 wxPyEndAllowThreads(__tstate
);
23295 if (PyErr_Occurred()) SWIG_fail
;
23297 resultobj
= SWIG_FromLong((long)result
);
23312 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23313 PyObject
*resultobj
;
23314 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23316 PyObject
* obj0
= 0 ;
23317 PyObject
* obj1
= 0 ;
23318 char *kwnames
[] = {
23319 (char *) "self",(char *) "count", NULL
23322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
23323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23325 arg2
= (long) SWIG_AsLong(obj1
);
23326 if (PyErr_Occurred()) SWIG_fail
;
23328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23329 (arg1
)->SetItemCount(arg2
);
23331 wxPyEndAllowThreads(__tstate
);
23332 if (PyErr_Occurred()) SWIG_fail
;
23334 Py_INCREF(Py_None
); resultobj
= Py_None
;
23341 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23342 PyObject
*resultobj
;
23343 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23347 PyObject
* obj0
= 0 ;
23348 PyObject
* obj1
= 0 ;
23349 PyObject
* obj2
= 0 ;
23350 char *kwnames
[] = {
23351 (char *) "self",(char *) "dx",(char *) "dy", NULL
23354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23357 arg2
= (int) SWIG_AsInt(obj1
);
23358 if (PyErr_Occurred()) SWIG_fail
;
23359 arg3
= (int) SWIG_AsInt(obj2
);
23360 if (PyErr_Occurred()) SWIG_fail
;
23362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23363 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
23365 wxPyEndAllowThreads(__tstate
);
23366 if (PyErr_Occurred()) SWIG_fail
;
23369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23377 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23378 PyObject
*resultobj
;
23379 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23381 wxColour
*arg3
= 0 ;
23383 PyObject
* obj0
= 0 ;
23384 PyObject
* obj1
= 0 ;
23385 PyObject
* obj2
= 0 ;
23386 char *kwnames
[] = {
23387 (char *) "self",(char *) "item",(char *) "col", NULL
23390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23393 arg2
= (long) SWIG_AsLong(obj1
);
23394 if (PyErr_Occurred()) SWIG_fail
;
23397 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23401 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
23403 wxPyEndAllowThreads(__tstate
);
23404 if (PyErr_Occurred()) SWIG_fail
;
23406 Py_INCREF(Py_None
); resultobj
= Py_None
;
23413 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23414 PyObject
*resultobj
;
23415 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23418 PyObject
* obj0
= 0 ;
23419 PyObject
* obj1
= 0 ;
23420 char *kwnames
[] = {
23421 (char *) "self",(char *) "item", NULL
23424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23427 arg2
= (long) SWIG_AsLong(obj1
);
23428 if (PyErr_Occurred()) SWIG_fail
;
23430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23431 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
23433 wxPyEndAllowThreads(__tstate
);
23434 if (PyErr_Occurred()) SWIG_fail
;
23437 wxColour
* resultptr
;
23438 resultptr
= new wxColour((wxColour
&) result
);
23439 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23447 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23448 PyObject
*resultobj
;
23449 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23451 wxColour
*arg3
= 0 ;
23453 PyObject
* obj0
= 0 ;
23454 PyObject
* obj1
= 0 ;
23455 PyObject
* obj2
= 0 ;
23456 char *kwnames
[] = {
23457 (char *) "self",(char *) "item",(char *) "col", NULL
23460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23463 arg2
= (long) SWIG_AsLong(obj1
);
23464 if (PyErr_Occurred()) SWIG_fail
;
23467 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23471 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
23473 wxPyEndAllowThreads(__tstate
);
23474 if (PyErr_Occurred()) SWIG_fail
;
23476 Py_INCREF(Py_None
); resultobj
= Py_None
;
23483 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23484 PyObject
*resultobj
;
23485 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23488 PyObject
* obj0
= 0 ;
23489 PyObject
* obj1
= 0 ;
23490 char *kwnames
[] = {
23491 (char *) "self",(char *) "item", NULL
23494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23497 arg2
= (long) SWIG_AsLong(obj1
);
23498 if (PyErr_Occurred()) SWIG_fail
;
23500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23501 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
23503 wxPyEndAllowThreads(__tstate
);
23504 if (PyErr_Occurred()) SWIG_fail
;
23507 wxColour
* resultptr
;
23508 resultptr
= new wxColour((wxColour
&) result
);
23509 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23517 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23518 PyObject
*resultobj
;
23519 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23520 PyObject
*arg2
= (PyObject
*) 0 ;
23522 PyObject
* obj0
= 0 ;
23523 PyObject
* obj1
= 0 ;
23524 char *kwnames
[] = {
23525 (char *) "self",(char *) "func", NULL
23528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
23529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23534 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
23536 wxPyEndAllowThreads(__tstate
);
23537 if (PyErr_Occurred()) SWIG_fail
;
23540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23548 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23549 PyObject
*resultobj
;
23550 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23552 PyObject
* obj0
= 0 ;
23553 char *kwnames
[] = {
23554 (char *) "self", NULL
23557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
23558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23562 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
23564 wxPyEndAllowThreads(__tstate
);
23565 if (PyErr_Occurred()) SWIG_fail
;
23568 resultobj
= wxPyMake_wxObject(result
, 0);
23576 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23577 PyObject
*resultobj
;
23578 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
23579 wxVisualAttributes result
;
23580 PyObject
* obj0
= 0 ;
23581 char *kwnames
[] = {
23582 (char *) "variant", NULL
23585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
23587 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
23588 if (PyErr_Occurred()) SWIG_fail
;
23591 if (!wxPyCheckForApp()) SWIG_fail
;
23592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23593 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
23595 wxPyEndAllowThreads(__tstate
);
23596 if (PyErr_Occurred()) SWIG_fail
;
23599 wxVisualAttributes
* resultptr
;
23600 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
23601 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
23609 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
23611 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23612 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
23614 return Py_BuildValue((char *)"");
23616 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23617 PyObject
*resultobj
;
23618 wxWindow
*arg1
= (wxWindow
*) 0 ;
23619 int arg2
= (int) -1 ;
23620 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23621 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23622 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23623 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23624 long arg5
= (long) wxLC_REPORT
;
23625 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23626 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23627 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
23628 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23629 wxListView
*result
;
23632 bool temp7
= False
;
23633 PyObject
* obj0
= 0 ;
23634 PyObject
* obj1
= 0 ;
23635 PyObject
* obj2
= 0 ;
23636 PyObject
* obj3
= 0 ;
23637 PyObject
* obj4
= 0 ;
23638 PyObject
* obj5
= 0 ;
23639 PyObject
* obj6
= 0 ;
23640 char *kwnames
[] = {
23641 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23648 arg2
= (int) SWIG_AsInt(obj1
);
23649 if (PyErr_Occurred()) SWIG_fail
;
23654 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23660 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23664 arg5
= (long) SWIG_AsLong(obj4
);
23665 if (PyErr_Occurred()) SWIG_fail
;
23668 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
23669 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23671 if (arg6
== NULL
) {
23672 PyErr_SetString(PyExc_TypeError
,"null reference");
23678 arg7
= wxString_in_helper(obj6
);
23679 if (arg7
== NULL
) SWIG_fail
;
23684 if (!wxPyCheckForApp()) SWIG_fail
;
23685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23686 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23688 wxPyEndAllowThreads(__tstate
);
23689 if (PyErr_Occurred()) SWIG_fail
;
23691 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
23706 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23707 PyObject
*resultobj
;
23708 wxListView
*result
;
23709 char *kwnames
[] = {
23713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
23715 if (!wxPyCheckForApp()) SWIG_fail
;
23716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23717 result
= (wxListView
*)new wxListView();
23719 wxPyEndAllowThreads(__tstate
);
23720 if (PyErr_Occurred()) SWIG_fail
;
23722 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
23729 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23730 PyObject
*resultobj
;
23731 wxListView
*arg1
= (wxListView
*) 0 ;
23732 wxWindow
*arg2
= (wxWindow
*) 0 ;
23733 int arg3
= (int) -1 ;
23734 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23735 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23736 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23737 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23738 long arg6
= (long) wxLC_REPORT
;
23739 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23740 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23741 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
23742 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23746 bool temp8
= False
;
23747 PyObject
* obj0
= 0 ;
23748 PyObject
* obj1
= 0 ;
23749 PyObject
* obj2
= 0 ;
23750 PyObject
* obj3
= 0 ;
23751 PyObject
* obj4
= 0 ;
23752 PyObject
* obj5
= 0 ;
23753 PyObject
* obj6
= 0 ;
23754 PyObject
* obj7
= 0 ;
23755 char *kwnames
[] = {
23756 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23762 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23765 arg3
= (int) SWIG_AsInt(obj2
);
23766 if (PyErr_Occurred()) SWIG_fail
;
23771 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23777 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23781 arg6
= (long) SWIG_AsLong(obj5
);
23782 if (PyErr_Occurred()) SWIG_fail
;
23785 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
23786 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23788 if (arg7
== NULL
) {
23789 PyErr_SetString(PyExc_TypeError
,"null reference");
23795 arg8
= wxString_in_helper(obj7
);
23796 if (arg8
== NULL
) SWIG_fail
;
23801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23802 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23804 wxPyEndAllowThreads(__tstate
);
23805 if (PyErr_Occurred()) SWIG_fail
;
23808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23824 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23825 PyObject
*resultobj
;
23826 wxListView
*arg1
= (wxListView
*) 0 ;
23828 bool arg3
= (bool) True
;
23829 PyObject
* obj0
= 0 ;
23830 PyObject
* obj1
= 0 ;
23831 PyObject
* obj2
= 0 ;
23832 char *kwnames
[] = {
23833 (char *) "self",(char *) "n",(char *) "on", NULL
23836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23839 arg2
= (long) SWIG_AsLong(obj1
);
23840 if (PyErr_Occurred()) SWIG_fail
;
23842 arg3
= (bool) SWIG_AsBool(obj2
);
23843 if (PyErr_Occurred()) SWIG_fail
;
23846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23847 (arg1
)->Select(arg2
,arg3
);
23849 wxPyEndAllowThreads(__tstate
);
23850 if (PyErr_Occurred()) SWIG_fail
;
23852 Py_INCREF(Py_None
); resultobj
= Py_None
;
23859 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23860 PyObject
*resultobj
;
23861 wxListView
*arg1
= (wxListView
*) 0 ;
23863 PyObject
* obj0
= 0 ;
23864 PyObject
* obj1
= 0 ;
23865 char *kwnames
[] = {
23866 (char *) "self",(char *) "index", NULL
23869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
23870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23872 arg2
= (long) SWIG_AsLong(obj1
);
23873 if (PyErr_Occurred()) SWIG_fail
;
23875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23876 (arg1
)->Focus(arg2
);
23878 wxPyEndAllowThreads(__tstate
);
23879 if (PyErr_Occurred()) SWIG_fail
;
23881 Py_INCREF(Py_None
); resultobj
= Py_None
;
23888 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23889 PyObject
*resultobj
;
23890 wxListView
*arg1
= (wxListView
*) 0 ;
23892 PyObject
* obj0
= 0 ;
23893 char *kwnames
[] = {
23894 (char *) "self", NULL
23897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
23898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23902 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
23904 wxPyEndAllowThreads(__tstate
);
23905 if (PyErr_Occurred()) SWIG_fail
;
23907 resultobj
= SWIG_FromLong((long)result
);
23914 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23915 PyObject
*resultobj
;
23916 wxListView
*arg1
= (wxListView
*) 0 ;
23919 PyObject
* obj0
= 0 ;
23920 PyObject
* obj1
= 0 ;
23921 char *kwnames
[] = {
23922 (char *) "self",(char *) "item", NULL
23925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
23926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23928 arg2
= (long) SWIG_AsLong(obj1
);
23929 if (PyErr_Occurred()) SWIG_fail
;
23931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23932 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
23934 wxPyEndAllowThreads(__tstate
);
23935 if (PyErr_Occurred()) SWIG_fail
;
23937 resultobj
= SWIG_FromLong((long)result
);
23944 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23945 PyObject
*resultobj
;
23946 wxListView
*arg1
= (wxListView
*) 0 ;
23948 PyObject
* obj0
= 0 ;
23949 char *kwnames
[] = {
23950 (char *) "self", NULL
23953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
23954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23958 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
23960 wxPyEndAllowThreads(__tstate
);
23961 if (PyErr_Occurred()) SWIG_fail
;
23963 resultobj
= SWIG_FromLong((long)result
);
23970 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23971 PyObject
*resultobj
;
23972 wxListView
*arg1
= (wxListView
*) 0 ;
23975 PyObject
* obj0
= 0 ;
23976 PyObject
* obj1
= 0 ;
23977 char *kwnames
[] = {
23978 (char *) "self",(char *) "index", NULL
23981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
23982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23984 arg2
= (long) SWIG_AsLong(obj1
);
23985 if (PyErr_Occurred()) SWIG_fail
;
23987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23988 result
= (bool)(arg1
)->IsSelected(arg2
);
23990 wxPyEndAllowThreads(__tstate
);
23991 if (PyErr_Occurred()) SWIG_fail
;
23994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24002 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24003 PyObject
*resultobj
;
24004 wxListView
*arg1
= (wxListView
*) 0 ;
24007 PyObject
* obj0
= 0 ;
24008 PyObject
* obj1
= 0 ;
24009 PyObject
* obj2
= 0 ;
24010 char *kwnames
[] = {
24011 (char *) "self",(char *) "col",(char *) "image", NULL
24014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24017 arg2
= (int) SWIG_AsInt(obj1
);
24018 if (PyErr_Occurred()) SWIG_fail
;
24019 arg3
= (int) SWIG_AsInt(obj2
);
24020 if (PyErr_Occurred()) SWIG_fail
;
24022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24023 (arg1
)->SetColumnImage(arg2
,arg3
);
24025 wxPyEndAllowThreads(__tstate
);
24026 if (PyErr_Occurred()) SWIG_fail
;
24028 Py_INCREF(Py_None
); resultobj
= Py_None
;
24035 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24036 PyObject
*resultobj
;
24037 wxListView
*arg1
= (wxListView
*) 0 ;
24039 PyObject
* obj0
= 0 ;
24040 PyObject
* obj1
= 0 ;
24041 char *kwnames
[] = {
24042 (char *) "self",(char *) "col", NULL
24045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
24046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24048 arg2
= (int) SWIG_AsInt(obj1
);
24049 if (PyErr_Occurred()) SWIG_fail
;
24051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24052 (arg1
)->ClearColumnImage(arg2
);
24054 wxPyEndAllowThreads(__tstate
);
24055 if (PyErr_Occurred()) SWIG_fail
;
24057 Py_INCREF(Py_None
); resultobj
= Py_None
;
24064 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
24066 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24067 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
24069 return Py_BuildValue((char *)"");
24071 static int _wrap_TreeCtrlNameStr_set(PyObject
*_val
) {
24072 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
24077 static PyObject
*_wrap_TreeCtrlNameStr_get() {
24082 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24084 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24091 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24092 PyObject
*resultobj
;
24093 wxTreeItemId
*result
;
24094 char *kwnames
[] = {
24098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
24100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24101 result
= (wxTreeItemId
*)new wxTreeItemId();
24103 wxPyEndAllowThreads(__tstate
);
24104 if (PyErr_Occurred()) SWIG_fail
;
24106 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
24113 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24114 PyObject
*resultobj
;
24115 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24116 PyObject
* obj0
= 0 ;
24117 char *kwnames
[] = {
24118 (char *) "self", NULL
24121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
24122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24128 wxPyEndAllowThreads(__tstate
);
24129 if (PyErr_Occurred()) SWIG_fail
;
24131 Py_INCREF(Py_None
); resultobj
= Py_None
;
24138 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24139 PyObject
*resultobj
;
24140 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24142 PyObject
* obj0
= 0 ;
24143 char *kwnames
[] = {
24144 (char *) "self", NULL
24147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
24148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24152 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
24154 wxPyEndAllowThreads(__tstate
);
24155 if (PyErr_Occurred()) SWIG_fail
;
24158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24166 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24167 PyObject
*resultobj
;
24168 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24169 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24171 PyObject
* obj0
= 0 ;
24172 PyObject
* obj1
= 0 ;
24173 char *kwnames
[] = {
24174 (char *) "self",(char *) "other", NULL
24177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24180 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24184 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
24186 wxPyEndAllowThreads(__tstate
);
24187 if (PyErr_Occurred()) SWIG_fail
;
24190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24198 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24199 PyObject
*resultobj
;
24200 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24201 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24203 PyObject
* obj0
= 0 ;
24204 PyObject
* obj1
= 0 ;
24205 char *kwnames
[] = {
24206 (char *) "self",(char *) "other", NULL
24209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24212 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24216 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
24218 wxPyEndAllowThreads(__tstate
);
24219 if (PyErr_Occurred()) SWIG_fail
;
24222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24230 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24231 PyObject
*resultobj
;
24232 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24233 void *arg2
= (void *) 0 ;
24234 PyObject
* obj0
= 0 ;
24235 PyObject
* obj1
= 0 ;
24236 char *kwnames
[] = {
24237 (char *) "self",(char *) "m_pItem", NULL
24240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24243 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24244 if (arg1
) (arg1
)->m_pItem
= arg2
;
24246 Py_INCREF(Py_None
); resultobj
= Py_None
;
24253 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24254 PyObject
*resultobj
;
24255 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24257 PyObject
* obj0
= 0 ;
24258 char *kwnames
[] = {
24259 (char *) "self", NULL
24262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
24263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24265 result
= (void *) ((arg1
)->m_pItem
);
24267 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
24274 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
24276 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24277 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
24279 return Py_BuildValue((char *)"");
24281 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24282 PyObject
*resultobj
;
24283 PyObject
*arg1
= (PyObject
*) NULL
;
24284 wxPyTreeItemData
*result
;
24285 PyObject
* obj0
= 0 ;
24286 char *kwnames
[] = {
24287 (char *) "obj", NULL
24290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
24295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24296 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
24298 wxPyEndAllowThreads(__tstate
);
24299 if (PyErr_Occurred()) SWIG_fail
;
24301 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
24308 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24309 PyObject
*resultobj
;
24310 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24312 PyObject
* obj0
= 0 ;
24313 char *kwnames
[] = {
24314 (char *) "self", NULL
24317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
24318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24322 result
= (PyObject
*)(arg1
)->GetData();
24324 wxPyEndAllowThreads(__tstate
);
24325 if (PyErr_Occurred()) SWIG_fail
;
24327 resultobj
= result
;
24334 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24335 PyObject
*resultobj
;
24336 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24337 PyObject
*arg2
= (PyObject
*) 0 ;
24338 PyObject
* obj0
= 0 ;
24339 PyObject
* obj1
= 0 ;
24340 char *kwnames
[] = {
24341 (char *) "self",(char *) "obj", NULL
24344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24350 (arg1
)->SetData(arg2
);
24352 wxPyEndAllowThreads(__tstate
);
24353 if (PyErr_Occurred()) SWIG_fail
;
24355 Py_INCREF(Py_None
); resultobj
= Py_None
;
24362 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24363 PyObject
*resultobj
;
24364 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24365 wxTreeItemId
*result
;
24366 PyObject
* obj0
= 0 ;
24367 char *kwnames
[] = {
24368 (char *) "self", NULL
24371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
24372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24377 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
24378 result
= (wxTreeItemId
*) &_result_ref
;
24381 wxPyEndAllowThreads(__tstate
);
24382 if (PyErr_Occurred()) SWIG_fail
;
24384 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
24391 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24392 PyObject
*resultobj
;
24393 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24394 wxTreeItemId
*arg2
= 0 ;
24395 PyObject
* obj0
= 0 ;
24396 PyObject
* obj1
= 0 ;
24397 char *kwnames
[] = {
24398 (char *) "self",(char *) "id", NULL
24401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24404 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24405 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24407 if (arg2
== NULL
) {
24408 PyErr_SetString(PyExc_TypeError
,"null reference");
24412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24413 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
24415 wxPyEndAllowThreads(__tstate
);
24416 if (PyErr_Occurred()) SWIG_fail
;
24418 Py_INCREF(Py_None
); resultobj
= Py_None
;
24425 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24426 PyObject
*resultobj
;
24427 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24428 PyObject
* obj0
= 0 ;
24429 char *kwnames
[] = {
24430 (char *) "self", NULL
24433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
24434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24438 wxPyTreeItemData_Destroy(arg1
);
24440 wxPyEndAllowThreads(__tstate
);
24441 if (PyErr_Occurred()) SWIG_fail
;
24443 Py_INCREF(Py_None
); resultobj
= Py_None
;
24450 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
24452 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24453 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
24455 return Py_BuildValue((char *)"");
24457 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24458 PyObject
*resultobj
;
24459 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
24460 int arg2
= (int) 0 ;
24461 wxTreeEvent
*result
;
24462 PyObject
* obj0
= 0 ;
24463 PyObject
* obj1
= 0 ;
24464 char *kwnames
[] = {
24465 (char *) "commandType",(char *) "id", NULL
24468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24470 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
24471 if (PyErr_Occurred()) SWIG_fail
;
24474 arg2
= (int) SWIG_AsInt(obj1
);
24475 if (PyErr_Occurred()) SWIG_fail
;
24478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24479 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
24481 wxPyEndAllowThreads(__tstate
);
24482 if (PyErr_Occurred()) SWIG_fail
;
24484 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
24491 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24492 PyObject
*resultobj
;
24493 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24494 wxTreeItemId result
;
24495 PyObject
* obj0
= 0 ;
24496 char *kwnames
[] = {
24497 (char *) "self", NULL
24500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
24501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24505 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
24507 wxPyEndAllowThreads(__tstate
);
24508 if (PyErr_Occurred()) SWIG_fail
;
24511 wxTreeItemId
* resultptr
;
24512 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24513 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24521 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24522 PyObject
*resultobj
;
24523 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24524 wxTreeItemId
*arg2
= 0 ;
24525 PyObject
* obj0
= 0 ;
24526 PyObject
* obj1
= 0 ;
24527 char *kwnames
[] = {
24528 (char *) "self",(char *) "item", NULL
24531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24534 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24535 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24537 if (arg2
== NULL
) {
24538 PyErr_SetString(PyExc_TypeError
,"null reference");
24542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24543 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
24545 wxPyEndAllowThreads(__tstate
);
24546 if (PyErr_Occurred()) SWIG_fail
;
24548 Py_INCREF(Py_None
); resultobj
= Py_None
;
24555 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24556 PyObject
*resultobj
;
24557 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24558 wxTreeItemId result
;
24559 PyObject
* obj0
= 0 ;
24560 char *kwnames
[] = {
24561 (char *) "self", NULL
24564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
24565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24569 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
24571 wxPyEndAllowThreads(__tstate
);
24572 if (PyErr_Occurred()) SWIG_fail
;
24575 wxTreeItemId
* resultptr
;
24576 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24577 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24585 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24586 PyObject
*resultobj
;
24587 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24588 wxTreeItemId
*arg2
= 0 ;
24589 PyObject
* obj0
= 0 ;
24590 PyObject
* obj1
= 0 ;
24591 char *kwnames
[] = {
24592 (char *) "self",(char *) "item", NULL
24595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24598 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24599 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24601 if (arg2
== NULL
) {
24602 PyErr_SetString(PyExc_TypeError
,"null reference");
24606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24607 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
24609 wxPyEndAllowThreads(__tstate
);
24610 if (PyErr_Occurred()) SWIG_fail
;
24612 Py_INCREF(Py_None
); resultobj
= Py_None
;
24619 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24620 PyObject
*resultobj
;
24621 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24623 PyObject
* obj0
= 0 ;
24624 char *kwnames
[] = {
24625 (char *) "self", NULL
24628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
24629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24633 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
24635 wxPyEndAllowThreads(__tstate
);
24636 if (PyErr_Occurred()) SWIG_fail
;
24639 wxPoint
* resultptr
;
24640 resultptr
= new wxPoint((wxPoint
&) result
);
24641 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24649 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24650 PyObject
*resultobj
;
24651 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24652 wxPoint
*arg2
= 0 ;
24654 PyObject
* obj0
= 0 ;
24655 PyObject
* obj1
= 0 ;
24656 char *kwnames
[] = {
24657 (char *) "self",(char *) "pt", NULL
24660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
24661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24665 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24669 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
24671 wxPyEndAllowThreads(__tstate
);
24672 if (PyErr_Occurred()) SWIG_fail
;
24674 Py_INCREF(Py_None
); resultobj
= Py_None
;
24681 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24682 PyObject
*resultobj
;
24683 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24684 wxKeyEvent
*result
;
24685 PyObject
* obj0
= 0 ;
24686 char *kwnames
[] = {
24687 (char *) "self", NULL
24690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
24691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24696 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
24697 result
= (wxKeyEvent
*) &_result_ref
;
24700 wxPyEndAllowThreads(__tstate
);
24701 if (PyErr_Occurred()) SWIG_fail
;
24703 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
24710 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24711 PyObject
*resultobj
;
24712 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24714 PyObject
* obj0
= 0 ;
24715 char *kwnames
[] = {
24716 (char *) "self", NULL
24719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24724 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
24726 wxPyEndAllowThreads(__tstate
);
24727 if (PyErr_Occurred()) SWIG_fail
;
24729 resultobj
= SWIG_FromInt((int)result
);
24736 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24737 PyObject
*resultobj
;
24738 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24739 wxKeyEvent
*arg2
= 0 ;
24740 PyObject
* obj0
= 0 ;
24741 PyObject
* obj1
= 0 ;
24742 char *kwnames
[] = {
24743 (char *) "self",(char *) "evt", NULL
24746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24749 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
24750 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24752 if (arg2
== NULL
) {
24753 PyErr_SetString(PyExc_TypeError
,"null reference");
24757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24758 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
24760 wxPyEndAllowThreads(__tstate
);
24761 if (PyErr_Occurred()) SWIG_fail
;
24763 Py_INCREF(Py_None
); resultobj
= Py_None
;
24770 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24771 PyObject
*resultobj
;
24772 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24774 PyObject
* obj0
= 0 ;
24775 char *kwnames
[] = {
24776 (char *) "self", NULL
24779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
24780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24785 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
24786 result
= (wxString
*) &_result_ref
;
24789 wxPyEndAllowThreads(__tstate
);
24790 if (PyErr_Occurred()) SWIG_fail
;
24794 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24796 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24805 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24806 PyObject
*resultobj
;
24807 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24808 wxString
*arg2
= 0 ;
24809 bool temp2
= False
;
24810 PyObject
* obj0
= 0 ;
24811 PyObject
* obj1
= 0 ;
24812 char *kwnames
[] = {
24813 (char *) "self",(char *) "label", NULL
24816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
24817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24820 arg2
= wxString_in_helper(obj1
);
24821 if (arg2
== NULL
) SWIG_fail
;
24825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24826 (arg1
)->SetLabel((wxString
const &)*arg2
);
24828 wxPyEndAllowThreads(__tstate
);
24829 if (PyErr_Occurred()) SWIG_fail
;
24831 Py_INCREF(Py_None
); resultobj
= Py_None
;
24846 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24847 PyObject
*resultobj
;
24848 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24850 PyObject
* obj0
= 0 ;
24851 char *kwnames
[] = {
24852 (char *) "self", NULL
24855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
24856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24860 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
24862 wxPyEndAllowThreads(__tstate
);
24863 if (PyErr_Occurred()) SWIG_fail
;
24866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24874 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24875 PyObject
*resultobj
;
24876 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24878 PyObject
* obj0
= 0 ;
24879 PyObject
* obj1
= 0 ;
24880 char *kwnames
[] = {
24881 (char *) "self",(char *) "editCancelled", NULL
24884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
24885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24887 arg2
= (bool) SWIG_AsBool(obj1
);
24888 if (PyErr_Occurred()) SWIG_fail
;
24890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24891 (arg1
)->SetEditCanceled(arg2
);
24893 wxPyEndAllowThreads(__tstate
);
24894 if (PyErr_Occurred()) SWIG_fail
;
24896 Py_INCREF(Py_None
); resultobj
= Py_None
;
24903 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24904 PyObject
*resultobj
;
24905 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24906 wxString
*arg2
= 0 ;
24907 bool temp2
= False
;
24908 PyObject
* obj0
= 0 ;
24909 PyObject
* obj1
= 0 ;
24910 char *kwnames
[] = {
24911 (char *) "self",(char *) "toolTip", NULL
24914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
24915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24918 arg2
= wxString_in_helper(obj1
);
24919 if (arg2
== NULL
) SWIG_fail
;
24923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24924 (arg1
)->SetToolTip((wxString
const &)*arg2
);
24926 wxPyEndAllowThreads(__tstate
);
24927 if (PyErr_Occurred()) SWIG_fail
;
24929 Py_INCREF(Py_None
); resultobj
= Py_None
;
24944 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
24946 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24947 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
24949 return Py_BuildValue((char *)"");
24951 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24952 PyObject
*resultobj
;
24953 wxWindow
*arg1
= (wxWindow
*) 0 ;
24954 int arg2
= (int) -1 ;
24955 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24956 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24957 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24958 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24959 long arg5
= (long) wxTR_DEFAULT_STYLE
;
24960 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
24961 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
24962 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
24963 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24964 wxPyTreeCtrl
*result
;
24967 bool temp7
= False
;
24968 PyObject
* obj0
= 0 ;
24969 PyObject
* obj1
= 0 ;
24970 PyObject
* obj2
= 0 ;
24971 PyObject
* obj3
= 0 ;
24972 PyObject
* obj4
= 0 ;
24973 PyObject
* obj5
= 0 ;
24974 PyObject
* obj6
= 0 ;
24975 char *kwnames
[] = {
24976 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24983 arg2
= (int) SWIG_AsInt(obj1
);
24984 if (PyErr_Occurred()) SWIG_fail
;
24989 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24995 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24999 arg5
= (long) SWIG_AsLong(obj4
);
25000 if (PyErr_Occurred()) SWIG_fail
;
25003 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
25004 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25006 if (arg6
== NULL
) {
25007 PyErr_SetString(PyExc_TypeError
,"null reference");
25013 arg7
= wxString_in_helper(obj6
);
25014 if (arg7
== NULL
) SWIG_fail
;
25019 if (!wxPyCheckForApp()) SWIG_fail
;
25020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25021 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
25023 wxPyEndAllowThreads(__tstate
);
25024 if (PyErr_Occurred()) SWIG_fail
;
25026 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
25041 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25042 PyObject
*resultobj
;
25043 wxPyTreeCtrl
*result
;
25044 char *kwnames
[] = {
25048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
25050 if (!wxPyCheckForApp()) SWIG_fail
;
25051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25052 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
25054 wxPyEndAllowThreads(__tstate
);
25055 if (PyErr_Occurred()) SWIG_fail
;
25057 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
25064 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25065 PyObject
*resultobj
;
25066 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25067 wxWindow
*arg2
= (wxWindow
*) 0 ;
25068 int arg3
= (int) -1 ;
25069 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25070 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25071 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25072 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25073 long arg6
= (long) wxTR_DEFAULT_STYLE
;
25074 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
25075 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
25076 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
25077 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
25081 bool temp8
= False
;
25082 PyObject
* obj0
= 0 ;
25083 PyObject
* obj1
= 0 ;
25084 PyObject
* obj2
= 0 ;
25085 PyObject
* obj3
= 0 ;
25086 PyObject
* obj4
= 0 ;
25087 PyObject
* obj5
= 0 ;
25088 PyObject
* obj6
= 0 ;
25089 PyObject
* obj7
= 0 ;
25090 char *kwnames
[] = {
25091 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
25095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25097 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25100 arg3
= (int) SWIG_AsInt(obj2
);
25101 if (PyErr_Occurred()) SWIG_fail
;
25106 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25112 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25116 arg6
= (long) SWIG_AsLong(obj5
);
25117 if (PyErr_Occurred()) SWIG_fail
;
25120 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
25121 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25123 if (arg7
== NULL
) {
25124 PyErr_SetString(PyExc_TypeError
,"null reference");
25130 arg8
= wxString_in_helper(obj7
);
25131 if (arg8
== NULL
) SWIG_fail
;
25136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25137 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
25139 wxPyEndAllowThreads(__tstate
);
25140 if (PyErr_Occurred()) SWIG_fail
;
25143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25159 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25160 PyObject
*resultobj
;
25161 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25162 PyObject
*arg2
= (PyObject
*) 0 ;
25163 PyObject
*arg3
= (PyObject
*) 0 ;
25164 PyObject
* obj0
= 0 ;
25165 PyObject
* obj1
= 0 ;
25166 PyObject
* obj2
= 0 ;
25167 char *kwnames
[] = {
25168 (char *) "self",(char *) "self",(char *) "_class", NULL
25171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25178 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25180 wxPyEndAllowThreads(__tstate
);
25181 if (PyErr_Occurred()) SWIG_fail
;
25183 Py_INCREF(Py_None
); resultobj
= Py_None
;
25190 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25191 PyObject
*resultobj
;
25192 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25194 PyObject
* obj0
= 0 ;
25195 char *kwnames
[] = {
25196 (char *) "self", NULL
25199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
25200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25204 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
25206 wxPyEndAllowThreads(__tstate
);
25207 if (PyErr_Occurred()) SWIG_fail
;
25209 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25216 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25217 PyObject
*resultobj
;
25218 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25219 unsigned int result
;
25220 PyObject
* obj0
= 0 ;
25221 char *kwnames
[] = {
25222 (char *) "self", NULL
25225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
25226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25230 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
25232 wxPyEndAllowThreads(__tstate
);
25233 if (PyErr_Occurred()) SWIG_fail
;
25235 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
25242 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25243 PyObject
*resultobj
;
25244 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25245 unsigned int arg2
;
25246 PyObject
* obj0
= 0 ;
25247 PyObject
* obj1
= 0 ;
25248 char *kwnames
[] = {
25249 (char *) "self",(char *) "indent", NULL
25252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
25253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25255 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
25256 if (PyErr_Occurred()) SWIG_fail
;
25258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25259 (arg1
)->SetIndent(arg2
);
25261 wxPyEndAllowThreads(__tstate
);
25262 if (PyErr_Occurred()) SWIG_fail
;
25264 Py_INCREF(Py_None
); resultobj
= Py_None
;
25271 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25272 PyObject
*resultobj
;
25273 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25274 unsigned int result
;
25275 PyObject
* obj0
= 0 ;
25276 char *kwnames
[] = {
25277 (char *) "self", NULL
25280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
25281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25285 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
25287 wxPyEndAllowThreads(__tstate
);
25288 if (PyErr_Occurred()) SWIG_fail
;
25290 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
25297 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25298 PyObject
*resultobj
;
25299 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25300 unsigned int arg2
;
25301 PyObject
* obj0
= 0 ;
25302 PyObject
* obj1
= 0 ;
25303 char *kwnames
[] = {
25304 (char *) "self",(char *) "spacing", NULL
25307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
25308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25310 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
25311 if (PyErr_Occurred()) SWIG_fail
;
25313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25314 (arg1
)->SetSpacing(arg2
);
25316 wxPyEndAllowThreads(__tstate
);
25317 if (PyErr_Occurred()) SWIG_fail
;
25319 Py_INCREF(Py_None
); resultobj
= Py_None
;
25326 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25327 PyObject
*resultobj
;
25328 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25329 wxImageList
*result
;
25330 PyObject
* obj0
= 0 ;
25331 char *kwnames
[] = {
25332 (char *) "self", NULL
25335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
25336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25340 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
25342 wxPyEndAllowThreads(__tstate
);
25343 if (PyErr_Occurred()) SWIG_fail
;
25346 resultobj
= wxPyMake_wxObject(result
, 0);
25354 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25355 PyObject
*resultobj
;
25356 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25357 wxImageList
*result
;
25358 PyObject
* obj0
= 0 ;
25359 char *kwnames
[] = {
25360 (char *) "self", NULL
25363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
25364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25368 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
25370 wxPyEndAllowThreads(__tstate
);
25371 if (PyErr_Occurred()) SWIG_fail
;
25374 resultobj
= wxPyMake_wxObject(result
, 0);
25382 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25383 PyObject
*resultobj
;
25384 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25385 wxImageList
*arg2
= (wxImageList
*) 0 ;
25386 PyObject
* obj0
= 0 ;
25387 PyObject
* obj1
= 0 ;
25388 char *kwnames
[] = {
25389 (char *) "self",(char *) "imageList", NULL
25392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25395 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25399 (arg1
)->SetImageList(arg2
);
25401 wxPyEndAllowThreads(__tstate
);
25402 if (PyErr_Occurred()) SWIG_fail
;
25404 Py_INCREF(Py_None
); resultobj
= Py_None
;
25411 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25412 PyObject
*resultobj
;
25413 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25414 wxImageList
*arg2
= (wxImageList
*) 0 ;
25415 PyObject
* obj0
= 0 ;
25416 PyObject
* obj1
= 0 ;
25417 char *kwnames
[] = {
25418 (char *) "self",(char *) "imageList", NULL
25421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25424 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25428 (arg1
)->SetStateImageList(arg2
);
25430 wxPyEndAllowThreads(__tstate
);
25431 if (PyErr_Occurred()) SWIG_fail
;
25433 Py_INCREF(Py_None
); resultobj
= Py_None
;
25440 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25441 PyObject
*resultobj
;
25442 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25443 wxImageList
*arg2
= (wxImageList
*) 0 ;
25444 PyObject
* obj0
= 0 ;
25445 PyObject
* obj1
= 0 ;
25446 char *kwnames
[] = {
25447 (char *) "self",(char *) "imageList", NULL
25450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25453 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25454 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25457 (arg1
)->AssignImageList(arg2
);
25459 wxPyEndAllowThreads(__tstate
);
25460 if (PyErr_Occurred()) SWIG_fail
;
25462 Py_INCREF(Py_None
); resultobj
= Py_None
;
25469 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25470 PyObject
*resultobj
;
25471 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25472 wxImageList
*arg2
= (wxImageList
*) 0 ;
25473 PyObject
* obj0
= 0 ;
25474 PyObject
* obj1
= 0 ;
25475 char *kwnames
[] = {
25476 (char *) "self",(char *) "imageList", NULL
25479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25482 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25483 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25486 (arg1
)->AssignStateImageList(arg2
);
25488 wxPyEndAllowThreads(__tstate
);
25489 if (PyErr_Occurred()) SWIG_fail
;
25491 Py_INCREF(Py_None
); resultobj
= Py_None
;
25498 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25499 PyObject
*resultobj
;
25500 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25501 wxTreeItemId
*arg2
= 0 ;
25503 PyObject
* obj0
= 0 ;
25504 PyObject
* obj1
= 0 ;
25505 char *kwnames
[] = {
25506 (char *) "self",(char *) "item", NULL
25509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
25510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25512 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25513 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25515 if (arg2
== NULL
) {
25516 PyErr_SetString(PyExc_TypeError
,"null reference");
25520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25521 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
25523 wxPyEndAllowThreads(__tstate
);
25524 if (PyErr_Occurred()) SWIG_fail
;
25528 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25530 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25539 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25540 PyObject
*resultobj
;
25541 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25542 wxTreeItemId
*arg2
= 0 ;
25543 int arg3
= (int) wxTreeItemIcon_Normal
;
25545 PyObject
* obj0
= 0 ;
25546 PyObject
* obj1
= 0 ;
25547 PyObject
* obj2
= 0 ;
25548 char *kwnames
[] = {
25549 (char *) "self",(char *) "item",(char *) "which", NULL
25552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25555 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25556 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25558 if (arg2
== NULL
) {
25559 PyErr_SetString(PyExc_TypeError
,"null reference");
25563 arg3
= (wxTreeItemIcon
) SWIG_AsInt(obj2
);
25564 if (PyErr_Occurred()) SWIG_fail
;
25567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25568 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
25570 wxPyEndAllowThreads(__tstate
);
25571 if (PyErr_Occurred()) SWIG_fail
;
25573 resultobj
= SWIG_FromInt((int)result
);
25580 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25581 PyObject
*resultobj
;
25582 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25583 wxTreeItemId
*arg2
= 0 ;
25584 wxPyTreeItemData
*result
;
25585 PyObject
* obj0
= 0 ;
25586 PyObject
* obj1
= 0 ;
25587 char *kwnames
[] = {
25588 (char *) "self",(char *) "item", NULL
25591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
25592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25594 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25595 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25597 if (arg2
== NULL
) {
25598 PyErr_SetString(PyExc_TypeError
,"null reference");
25602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25603 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
25605 wxPyEndAllowThreads(__tstate
);
25606 if (PyErr_Occurred()) SWIG_fail
;
25608 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
25615 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25616 PyObject
*resultobj
;
25617 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25618 wxTreeItemId
*arg2
= 0 ;
25620 PyObject
* obj0
= 0 ;
25621 PyObject
* obj1
= 0 ;
25622 char *kwnames
[] = {
25623 (char *) "self",(char *) "item", NULL
25626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
25627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25629 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25630 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25632 if (arg2
== NULL
) {
25633 PyErr_SetString(PyExc_TypeError
,"null reference");
25637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25638 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
25640 wxPyEndAllowThreads(__tstate
);
25641 if (PyErr_Occurred()) SWIG_fail
;
25643 resultobj
= result
;
25650 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25651 PyObject
*resultobj
;
25652 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25653 wxTreeItemId
*arg2
= 0 ;
25655 PyObject
* obj0
= 0 ;
25656 PyObject
* obj1
= 0 ;
25657 char *kwnames
[] = {
25658 (char *) "self",(char *) "item", NULL
25661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25664 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25665 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25667 if (arg2
== NULL
) {
25668 PyErr_SetString(PyExc_TypeError
,"null reference");
25672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25673 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
25675 wxPyEndAllowThreads(__tstate
);
25676 if (PyErr_Occurred()) SWIG_fail
;
25679 wxColour
* resultptr
;
25680 resultptr
= new wxColour((wxColour
&) result
);
25681 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25689 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25690 PyObject
*resultobj
;
25691 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25692 wxTreeItemId
*arg2
= 0 ;
25694 PyObject
* obj0
= 0 ;
25695 PyObject
* obj1
= 0 ;
25696 char *kwnames
[] = {
25697 (char *) "self",(char *) "item", NULL
25700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25703 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25704 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25706 if (arg2
== NULL
) {
25707 PyErr_SetString(PyExc_TypeError
,"null reference");
25711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25712 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
25714 wxPyEndAllowThreads(__tstate
);
25715 if (PyErr_Occurred()) SWIG_fail
;
25718 wxColour
* resultptr
;
25719 resultptr
= new wxColour((wxColour
&) result
);
25720 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25728 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25729 PyObject
*resultobj
;
25730 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25731 wxTreeItemId
*arg2
= 0 ;
25733 PyObject
* obj0
= 0 ;
25734 PyObject
* obj1
= 0 ;
25735 char *kwnames
[] = {
25736 (char *) "self",(char *) "item", NULL
25739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
25740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25742 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25743 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25745 if (arg2
== NULL
) {
25746 PyErr_SetString(PyExc_TypeError
,"null reference");
25750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25751 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
25753 wxPyEndAllowThreads(__tstate
);
25754 if (PyErr_Occurred()) SWIG_fail
;
25757 wxFont
* resultptr
;
25758 resultptr
= new wxFont((wxFont
&) result
);
25759 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
25767 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25768 PyObject
*resultobj
;
25769 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25770 wxTreeItemId
*arg2
= 0 ;
25771 wxString
*arg3
= 0 ;
25772 bool temp3
= False
;
25773 PyObject
* obj0
= 0 ;
25774 PyObject
* obj1
= 0 ;
25775 PyObject
* obj2
= 0 ;
25776 char *kwnames
[] = {
25777 (char *) "self",(char *) "item",(char *) "text", NULL
25780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25783 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25784 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25786 if (arg2
== NULL
) {
25787 PyErr_SetString(PyExc_TypeError
,"null reference");
25791 arg3
= wxString_in_helper(obj2
);
25792 if (arg3
== NULL
) SWIG_fail
;
25796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25797 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
25799 wxPyEndAllowThreads(__tstate
);
25800 if (PyErr_Occurred()) SWIG_fail
;
25802 Py_INCREF(Py_None
); resultobj
= Py_None
;
25817 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25818 PyObject
*resultobj
;
25819 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25820 wxTreeItemId
*arg2
= 0 ;
25822 int arg4
= (int) wxTreeItemIcon_Normal
;
25823 PyObject
* obj0
= 0 ;
25824 PyObject
* obj1
= 0 ;
25825 PyObject
* obj2
= 0 ;
25826 PyObject
* obj3
= 0 ;
25827 char *kwnames
[] = {
25828 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
25831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25834 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25835 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25837 if (arg2
== NULL
) {
25838 PyErr_SetString(PyExc_TypeError
,"null reference");
25841 arg3
= (int) SWIG_AsInt(obj2
);
25842 if (PyErr_Occurred()) SWIG_fail
;
25844 arg4
= (wxTreeItemIcon
) SWIG_AsInt(obj3
);
25845 if (PyErr_Occurred()) SWIG_fail
;
25848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25849 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
25851 wxPyEndAllowThreads(__tstate
);
25852 if (PyErr_Occurred()) SWIG_fail
;
25854 Py_INCREF(Py_None
); resultobj
= Py_None
;
25861 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25862 PyObject
*resultobj
;
25863 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25864 wxTreeItemId
*arg2
= 0 ;
25865 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
25866 PyObject
* obj0
= 0 ;
25867 PyObject
* obj1
= 0 ;
25868 PyObject
* obj2
= 0 ;
25869 char *kwnames
[] = {
25870 (char *) "self",(char *) "item",(char *) "data", NULL
25873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25876 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25877 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25879 if (arg2
== NULL
) {
25880 PyErr_SetString(PyExc_TypeError
,"null reference");
25883 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
25884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25887 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25889 wxPyEndAllowThreads(__tstate
);
25890 if (PyErr_Occurred()) SWIG_fail
;
25892 Py_INCREF(Py_None
); resultobj
= Py_None
;
25899 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25900 PyObject
*resultobj
;
25901 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25902 wxTreeItemId
*arg2
= 0 ;
25903 PyObject
*arg3
= (PyObject
*) 0 ;
25904 PyObject
* obj0
= 0 ;
25905 PyObject
* obj1
= 0 ;
25906 PyObject
* obj2
= 0 ;
25907 char *kwnames
[] = {
25908 (char *) "self",(char *) "item",(char *) "obj", NULL
25911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25914 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25915 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25917 if (arg2
== NULL
) {
25918 PyErr_SetString(PyExc_TypeError
,"null reference");
25923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25924 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25926 wxPyEndAllowThreads(__tstate
);
25927 if (PyErr_Occurred()) SWIG_fail
;
25929 Py_INCREF(Py_None
); resultobj
= Py_None
;
25936 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25937 PyObject
*resultobj
;
25938 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25939 wxTreeItemId
*arg2
= 0 ;
25940 bool arg3
= (bool) True
;
25941 PyObject
* obj0
= 0 ;
25942 PyObject
* obj1
= 0 ;
25943 PyObject
* obj2
= 0 ;
25944 char *kwnames
[] = {
25945 (char *) "self",(char *) "item",(char *) "has", NULL
25948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25951 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25952 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25954 if (arg2
== NULL
) {
25955 PyErr_SetString(PyExc_TypeError
,"null reference");
25959 arg3
= (bool) SWIG_AsBool(obj2
);
25960 if (PyErr_Occurred()) SWIG_fail
;
25963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25964 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
25966 wxPyEndAllowThreads(__tstate
);
25967 if (PyErr_Occurred()) SWIG_fail
;
25969 Py_INCREF(Py_None
); resultobj
= Py_None
;
25976 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25977 PyObject
*resultobj
;
25978 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25979 wxTreeItemId
*arg2
= 0 ;
25980 bool arg3
= (bool) True
;
25981 PyObject
* obj0
= 0 ;
25982 PyObject
* obj1
= 0 ;
25983 PyObject
* obj2
= 0 ;
25984 char *kwnames
[] = {
25985 (char *) "self",(char *) "item",(char *) "bold", NULL
25988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25991 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25992 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25994 if (arg2
== NULL
) {
25995 PyErr_SetString(PyExc_TypeError
,"null reference");
25999 arg3
= (bool) SWIG_AsBool(obj2
);
26000 if (PyErr_Occurred()) SWIG_fail
;
26003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26004 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
26006 wxPyEndAllowThreads(__tstate
);
26007 if (PyErr_Occurred()) SWIG_fail
;
26009 Py_INCREF(Py_None
); resultobj
= Py_None
;
26016 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26017 PyObject
*resultobj
;
26018 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26019 wxTreeItemId
*arg2
= 0 ;
26020 wxColour
*arg3
= 0 ;
26022 PyObject
* obj0
= 0 ;
26023 PyObject
* obj1
= 0 ;
26024 PyObject
* obj2
= 0 ;
26025 char *kwnames
[] = {
26026 (char *) "self",(char *) "item",(char *) "col", NULL
26029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26032 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26033 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26035 if (arg2
== NULL
) {
26036 PyErr_SetString(PyExc_TypeError
,"null reference");
26041 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26045 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
26047 wxPyEndAllowThreads(__tstate
);
26048 if (PyErr_Occurred()) SWIG_fail
;
26050 Py_INCREF(Py_None
); resultobj
= Py_None
;
26057 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26058 PyObject
*resultobj
;
26059 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26060 wxTreeItemId
*arg2
= 0 ;
26061 wxColour
*arg3
= 0 ;
26063 PyObject
* obj0
= 0 ;
26064 PyObject
* obj1
= 0 ;
26065 PyObject
* obj2
= 0 ;
26066 char *kwnames
[] = {
26067 (char *) "self",(char *) "item",(char *) "col", NULL
26070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26073 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26074 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26076 if (arg2
== NULL
) {
26077 PyErr_SetString(PyExc_TypeError
,"null reference");
26082 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26086 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
26088 wxPyEndAllowThreads(__tstate
);
26089 if (PyErr_Occurred()) SWIG_fail
;
26091 Py_INCREF(Py_None
); resultobj
= Py_None
;
26098 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26099 PyObject
*resultobj
;
26100 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26101 wxTreeItemId
*arg2
= 0 ;
26103 PyObject
* obj0
= 0 ;
26104 PyObject
* obj1
= 0 ;
26105 PyObject
* obj2
= 0 ;
26106 char *kwnames
[] = {
26107 (char *) "self",(char *) "item",(char *) "font", NULL
26110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26113 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26114 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26116 if (arg2
== NULL
) {
26117 PyErr_SetString(PyExc_TypeError
,"null reference");
26120 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
26121 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26123 if (arg3
== NULL
) {
26124 PyErr_SetString(PyExc_TypeError
,"null reference");
26128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26129 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
26131 wxPyEndAllowThreads(__tstate
);
26132 if (PyErr_Occurred()) SWIG_fail
;
26134 Py_INCREF(Py_None
); resultobj
= Py_None
;
26141 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26142 PyObject
*resultobj
;
26143 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26144 wxTreeItemId
*arg2
= 0 ;
26146 PyObject
* obj0
= 0 ;
26147 PyObject
* obj1
= 0 ;
26148 char *kwnames
[] = {
26149 (char *) "self",(char *) "item", NULL
26152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26155 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26156 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26158 if (arg2
== NULL
) {
26159 PyErr_SetString(PyExc_TypeError
,"null reference");
26163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26164 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
26166 wxPyEndAllowThreads(__tstate
);
26167 if (PyErr_Occurred()) SWIG_fail
;
26170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26178 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26179 PyObject
*resultobj
;
26180 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26181 wxTreeItemId
*arg2
= 0 ;
26183 PyObject
* obj0
= 0 ;
26184 PyObject
* obj1
= 0 ;
26185 char *kwnames
[] = {
26186 (char *) "self",(char *) "item", NULL
26189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26192 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26193 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26195 if (arg2
== NULL
) {
26196 PyErr_SetString(PyExc_TypeError
,"null reference");
26200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26201 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
26203 wxPyEndAllowThreads(__tstate
);
26204 if (PyErr_Occurred()) SWIG_fail
;
26207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26215 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26216 PyObject
*resultobj
;
26217 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26218 wxTreeItemId
*arg2
= 0 ;
26220 PyObject
* obj0
= 0 ;
26221 PyObject
* obj1
= 0 ;
26222 char *kwnames
[] = {
26223 (char *) "self",(char *) "item", NULL
26226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
26227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26229 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26230 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26232 if (arg2
== NULL
) {
26233 PyErr_SetString(PyExc_TypeError
,"null reference");
26237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26238 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
26240 wxPyEndAllowThreads(__tstate
);
26241 if (PyErr_Occurred()) SWIG_fail
;
26244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26252 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26253 PyObject
*resultobj
;
26254 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26255 wxTreeItemId
*arg2
= 0 ;
26257 PyObject
* obj0
= 0 ;
26258 PyObject
* obj1
= 0 ;
26259 char *kwnames
[] = {
26260 (char *) "self",(char *) "item", NULL
26263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26266 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26267 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26269 if (arg2
== NULL
) {
26270 PyErr_SetString(PyExc_TypeError
,"null reference");
26274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26275 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
26277 wxPyEndAllowThreads(__tstate
);
26278 if (PyErr_Occurred()) SWIG_fail
;
26281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26289 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26290 PyObject
*resultobj
;
26291 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26292 wxTreeItemId
*arg2
= 0 ;
26294 PyObject
* obj0
= 0 ;
26295 PyObject
* obj1
= 0 ;
26296 char *kwnames
[] = {
26297 (char *) "self",(char *) "item", NULL
26300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
26301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26303 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26304 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26306 if (arg2
== NULL
) {
26307 PyErr_SetString(PyExc_TypeError
,"null reference");
26311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26312 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
26314 wxPyEndAllowThreads(__tstate
);
26315 if (PyErr_Occurred()) SWIG_fail
;
26318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26326 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26327 PyObject
*resultobj
;
26328 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26329 wxTreeItemId
*arg2
= 0 ;
26330 bool arg3
= (bool) True
;
26332 PyObject
* obj0
= 0 ;
26333 PyObject
* obj1
= 0 ;
26334 PyObject
* obj2
= 0 ;
26335 char *kwnames
[] = {
26336 (char *) "self",(char *) "item",(char *) "recursively", NULL
26339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26342 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26343 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26345 if (arg2
== NULL
) {
26346 PyErr_SetString(PyExc_TypeError
,"null reference");
26350 arg3
= (bool) SWIG_AsBool(obj2
);
26351 if (PyErr_Occurred()) SWIG_fail
;
26354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26355 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
26357 wxPyEndAllowThreads(__tstate
);
26358 if (PyErr_Occurred()) SWIG_fail
;
26360 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
26367 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26368 PyObject
*resultobj
;
26369 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26370 wxTreeItemId result
;
26371 PyObject
* obj0
= 0 ;
26372 char *kwnames
[] = {
26373 (char *) "self", NULL
26376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
26377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26381 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
26383 wxPyEndAllowThreads(__tstate
);
26384 if (PyErr_Occurred()) SWIG_fail
;
26387 wxTreeItemId
* resultptr
;
26388 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26389 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26397 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26398 PyObject
*resultobj
;
26399 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26400 wxTreeItemId result
;
26401 PyObject
* obj0
= 0 ;
26402 char *kwnames
[] = {
26403 (char *) "self", NULL
26406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
26407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26411 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
26413 wxPyEndAllowThreads(__tstate
);
26414 if (PyErr_Occurred()) SWIG_fail
;
26417 wxTreeItemId
* resultptr
;
26418 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26419 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26427 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26428 PyObject
*resultobj
;
26429 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26431 PyObject
* obj0
= 0 ;
26432 char *kwnames
[] = {
26433 (char *) "self", NULL
26436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
26437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26441 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
26443 wxPyEndAllowThreads(__tstate
);
26444 if (PyErr_Occurred()) SWIG_fail
;
26446 resultobj
= result
;
26453 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26454 PyObject
*resultobj
;
26455 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26456 wxTreeItemId
*arg2
= 0 ;
26457 wxTreeItemId result
;
26458 PyObject
* obj0
= 0 ;
26459 PyObject
* obj1
= 0 ;
26460 char *kwnames
[] = {
26461 (char *) "self",(char *) "item", NULL
26464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26467 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26468 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26470 if (arg2
== NULL
) {
26471 PyErr_SetString(PyExc_TypeError
,"null reference");
26475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26476 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
26478 wxPyEndAllowThreads(__tstate
);
26479 if (PyErr_Occurred()) SWIG_fail
;
26482 wxTreeItemId
* resultptr
;
26483 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26484 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26492 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26493 PyObject
*resultobj
;
26494 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26495 wxTreeItemId
*arg2
= 0 ;
26497 PyObject
* obj0
= 0 ;
26498 PyObject
* obj1
= 0 ;
26499 char *kwnames
[] = {
26500 (char *) "self",(char *) "item", NULL
26503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26506 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26507 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26509 if (arg2
== NULL
) {
26510 PyErr_SetString(PyExc_TypeError
,"null reference");
26514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26515 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
26517 wxPyEndAllowThreads(__tstate
);
26518 if (PyErr_Occurred()) SWIG_fail
;
26520 resultobj
= result
;
26527 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26528 PyObject
*resultobj
;
26529 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26530 wxTreeItemId
*arg2
= 0 ;
26531 void *arg3
= (void *) 0 ;
26533 PyObject
* obj0
= 0 ;
26534 PyObject
* obj1
= 0 ;
26535 PyObject
* obj2
= 0 ;
26536 char *kwnames
[] = {
26537 (char *) "self",(char *) "item",(char *) "cookie", NULL
26540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26543 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26544 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26546 if (arg2
== NULL
) {
26547 PyErr_SetString(PyExc_TypeError
,"null reference");
26550 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26553 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26555 wxPyEndAllowThreads(__tstate
);
26556 if (PyErr_Occurred()) SWIG_fail
;
26558 resultobj
= result
;
26565 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26566 PyObject
*resultobj
;
26567 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26568 wxTreeItemId
*arg2
= 0 ;
26569 wxTreeItemId result
;
26570 PyObject
* obj0
= 0 ;
26571 PyObject
* obj1
= 0 ;
26572 char *kwnames
[] = {
26573 (char *) "self",(char *) "item", NULL
26576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26579 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26580 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26582 if (arg2
== NULL
) {
26583 PyErr_SetString(PyExc_TypeError
,"null reference");
26587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26588 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
26590 wxPyEndAllowThreads(__tstate
);
26591 if (PyErr_Occurred()) SWIG_fail
;
26594 wxTreeItemId
* resultptr
;
26595 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26596 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26604 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26605 PyObject
*resultobj
;
26606 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26607 wxTreeItemId
*arg2
= 0 ;
26608 wxTreeItemId result
;
26609 PyObject
* obj0
= 0 ;
26610 PyObject
* obj1
= 0 ;
26611 char *kwnames
[] = {
26612 (char *) "self",(char *) "item", NULL
26615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
26616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26618 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26619 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26621 if (arg2
== NULL
) {
26622 PyErr_SetString(PyExc_TypeError
,"null reference");
26626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26627 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
26629 wxPyEndAllowThreads(__tstate
);
26630 if (PyErr_Occurred()) SWIG_fail
;
26633 wxTreeItemId
* resultptr
;
26634 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26635 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26643 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26644 PyObject
*resultobj
;
26645 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26646 wxTreeItemId
*arg2
= 0 ;
26647 wxTreeItemId result
;
26648 PyObject
* obj0
= 0 ;
26649 PyObject
* obj1
= 0 ;
26650 char *kwnames
[] = {
26651 (char *) "self",(char *) "item", NULL
26654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
26655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26657 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26658 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26660 if (arg2
== NULL
) {
26661 PyErr_SetString(PyExc_TypeError
,"null reference");
26665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26666 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
26668 wxPyEndAllowThreads(__tstate
);
26669 if (PyErr_Occurred()) SWIG_fail
;
26672 wxTreeItemId
* resultptr
;
26673 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26674 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26682 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26683 PyObject
*resultobj
;
26684 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26685 wxTreeItemId result
;
26686 PyObject
* obj0
= 0 ;
26687 char *kwnames
[] = {
26688 (char *) "self", NULL
26691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
26692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26696 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
26698 wxPyEndAllowThreads(__tstate
);
26699 if (PyErr_Occurred()) SWIG_fail
;
26702 wxTreeItemId
* resultptr
;
26703 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26704 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26712 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26713 PyObject
*resultobj
;
26714 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26715 wxTreeItemId
*arg2
= 0 ;
26716 wxTreeItemId result
;
26717 PyObject
* obj0
= 0 ;
26718 PyObject
* obj1
= 0 ;
26719 char *kwnames
[] = {
26720 (char *) "self",(char *) "item", NULL
26723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26726 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26727 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26729 if (arg2
== NULL
) {
26730 PyErr_SetString(PyExc_TypeError
,"null reference");
26734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26735 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
26737 wxPyEndAllowThreads(__tstate
);
26738 if (PyErr_Occurred()) SWIG_fail
;
26741 wxTreeItemId
* resultptr
;
26742 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26743 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26751 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26752 PyObject
*resultobj
;
26753 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26754 wxTreeItemId
*arg2
= 0 ;
26755 wxTreeItemId result
;
26756 PyObject
* obj0
= 0 ;
26757 PyObject
* obj1
= 0 ;
26758 char *kwnames
[] = {
26759 (char *) "self",(char *) "item", NULL
26762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26765 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26766 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26768 if (arg2
== NULL
) {
26769 PyErr_SetString(PyExc_TypeError
,"null reference");
26773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26774 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
26776 wxPyEndAllowThreads(__tstate
);
26777 if (PyErr_Occurred()) SWIG_fail
;
26780 wxTreeItemId
* resultptr
;
26781 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26782 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26790 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26791 PyObject
*resultobj
;
26792 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26793 wxString
*arg2
= 0 ;
26794 int arg3
= (int) -1 ;
26795 int arg4
= (int) -1 ;
26796 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
26797 wxTreeItemId result
;
26798 bool temp2
= False
;
26799 PyObject
* obj0
= 0 ;
26800 PyObject
* obj1
= 0 ;
26801 PyObject
* obj2
= 0 ;
26802 PyObject
* obj3
= 0 ;
26803 PyObject
* obj4
= 0 ;
26804 char *kwnames
[] = {
26805 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26812 arg2
= wxString_in_helper(obj1
);
26813 if (arg2
== NULL
) SWIG_fail
;
26817 arg3
= (int) SWIG_AsInt(obj2
);
26818 if (PyErr_Occurred()) SWIG_fail
;
26821 arg4
= (int) SWIG_AsInt(obj3
);
26822 if (PyErr_Occurred()) SWIG_fail
;
26825 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
26826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26830 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
26832 wxPyEndAllowThreads(__tstate
);
26833 if (PyErr_Occurred()) SWIG_fail
;
26836 wxTreeItemId
* resultptr
;
26837 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26838 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26854 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26855 PyObject
*resultobj
;
26856 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26857 wxTreeItemId
*arg2
= 0 ;
26858 wxString
*arg3
= 0 ;
26859 int arg4
= (int) -1 ;
26860 int arg5
= (int) -1 ;
26861 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
26862 wxTreeItemId result
;
26863 bool temp3
= False
;
26864 PyObject
* obj0
= 0 ;
26865 PyObject
* obj1
= 0 ;
26866 PyObject
* obj2
= 0 ;
26867 PyObject
* obj3
= 0 ;
26868 PyObject
* obj4
= 0 ;
26869 PyObject
* obj5
= 0 ;
26870 char *kwnames
[] = {
26871 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26877 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26878 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26880 if (arg2
== NULL
) {
26881 PyErr_SetString(PyExc_TypeError
,"null reference");
26885 arg3
= wxString_in_helper(obj2
);
26886 if (arg3
== NULL
) SWIG_fail
;
26890 arg4
= (int) SWIG_AsInt(obj3
);
26891 if (PyErr_Occurred()) SWIG_fail
;
26894 arg5
= (int) SWIG_AsInt(obj4
);
26895 if (PyErr_Occurred()) SWIG_fail
;
26898 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
26899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26903 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
26905 wxPyEndAllowThreads(__tstate
);
26906 if (PyErr_Occurred()) SWIG_fail
;
26909 wxTreeItemId
* resultptr
;
26910 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26911 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26927 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26928 PyObject
*resultobj
;
26929 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26930 wxTreeItemId
*arg2
= 0 ;
26931 wxTreeItemId
*arg3
= 0 ;
26932 wxString
*arg4
= 0 ;
26933 int arg5
= (int) -1 ;
26934 int arg6
= (int) -1 ;
26935 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
26936 wxTreeItemId result
;
26937 bool temp4
= False
;
26938 PyObject
* obj0
= 0 ;
26939 PyObject
* obj1
= 0 ;
26940 PyObject
* obj2
= 0 ;
26941 PyObject
* obj3
= 0 ;
26942 PyObject
* obj4
= 0 ;
26943 PyObject
* obj5
= 0 ;
26944 PyObject
* obj6
= 0 ;
26945 char *kwnames
[] = {
26946 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26952 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26953 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26955 if (arg2
== NULL
) {
26956 PyErr_SetString(PyExc_TypeError
,"null reference");
26959 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
26960 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26962 if (arg3
== NULL
) {
26963 PyErr_SetString(PyExc_TypeError
,"null reference");
26967 arg4
= wxString_in_helper(obj3
);
26968 if (arg4
== NULL
) SWIG_fail
;
26972 arg5
= (int) SWIG_AsInt(obj4
);
26973 if (PyErr_Occurred()) SWIG_fail
;
26976 arg6
= (int) SWIG_AsInt(obj5
);
26977 if (PyErr_Occurred()) SWIG_fail
;
26980 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
26981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26985 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
26987 wxPyEndAllowThreads(__tstate
);
26988 if (PyErr_Occurred()) SWIG_fail
;
26991 wxTreeItemId
* resultptr
;
26992 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26993 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27009 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27010 PyObject
*resultobj
;
27011 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27012 wxTreeItemId
*arg2
= 0 ;
27014 wxString
*arg4
= 0 ;
27015 int arg5
= (int) -1 ;
27016 int arg6
= (int) -1 ;
27017 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
27018 wxTreeItemId result
;
27019 bool temp4
= False
;
27020 PyObject
* obj0
= 0 ;
27021 PyObject
* obj1
= 0 ;
27022 PyObject
* obj2
= 0 ;
27023 PyObject
* obj3
= 0 ;
27024 PyObject
* obj4
= 0 ;
27025 PyObject
* obj5
= 0 ;
27026 PyObject
* obj6
= 0 ;
27027 char *kwnames
[] = {
27028 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27034 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27035 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27037 if (arg2
== NULL
) {
27038 PyErr_SetString(PyExc_TypeError
,"null reference");
27041 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
27042 if (PyErr_Occurred()) SWIG_fail
;
27044 arg4
= wxString_in_helper(obj3
);
27045 if (arg4
== NULL
) SWIG_fail
;
27049 arg5
= (int) SWIG_AsInt(obj4
);
27050 if (PyErr_Occurred()) SWIG_fail
;
27053 arg6
= (int) SWIG_AsInt(obj5
);
27054 if (PyErr_Occurred()) SWIG_fail
;
27057 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
27058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27062 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
27064 wxPyEndAllowThreads(__tstate
);
27065 if (PyErr_Occurred()) SWIG_fail
;
27068 wxTreeItemId
* resultptr
;
27069 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27070 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27086 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27087 PyObject
*resultobj
;
27088 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27089 wxTreeItemId
*arg2
= 0 ;
27090 wxString
*arg3
= 0 ;
27091 int arg4
= (int) -1 ;
27092 int arg5
= (int) -1 ;
27093 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
27094 wxTreeItemId result
;
27095 bool temp3
= False
;
27096 PyObject
* obj0
= 0 ;
27097 PyObject
* obj1
= 0 ;
27098 PyObject
* obj2
= 0 ;
27099 PyObject
* obj3
= 0 ;
27100 PyObject
* obj4
= 0 ;
27101 PyObject
* obj5
= 0 ;
27102 char *kwnames
[] = {
27103 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27109 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27110 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27112 if (arg2
== NULL
) {
27113 PyErr_SetString(PyExc_TypeError
,"null reference");
27117 arg3
= wxString_in_helper(obj2
);
27118 if (arg3
== NULL
) SWIG_fail
;
27122 arg4
= (int) SWIG_AsInt(obj3
);
27123 if (PyErr_Occurred()) SWIG_fail
;
27126 arg5
= (int) SWIG_AsInt(obj4
);
27127 if (PyErr_Occurred()) SWIG_fail
;
27130 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
27131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27135 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
27137 wxPyEndAllowThreads(__tstate
);
27138 if (PyErr_Occurred()) SWIG_fail
;
27141 wxTreeItemId
* resultptr
;
27142 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27143 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27159 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27160 PyObject
*resultobj
;
27161 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27162 wxTreeItemId
*arg2
= 0 ;
27163 PyObject
* obj0
= 0 ;
27164 PyObject
* obj1
= 0 ;
27165 char *kwnames
[] = {
27166 (char *) "self",(char *) "item", NULL
27169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
27170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27172 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27173 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27175 if (arg2
== NULL
) {
27176 PyErr_SetString(PyExc_TypeError
,"null reference");
27180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27181 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
27183 wxPyEndAllowThreads(__tstate
);
27184 if (PyErr_Occurred()) SWIG_fail
;
27186 Py_INCREF(Py_None
); resultobj
= Py_None
;
27193 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27194 PyObject
*resultobj
;
27195 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27196 wxTreeItemId
*arg2
= 0 ;
27197 PyObject
* obj0
= 0 ;
27198 PyObject
* obj1
= 0 ;
27199 char *kwnames
[] = {
27200 (char *) "self",(char *) "item", NULL
27203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27206 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27207 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27209 if (arg2
== NULL
) {
27210 PyErr_SetString(PyExc_TypeError
,"null reference");
27214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27215 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
27217 wxPyEndAllowThreads(__tstate
);
27218 if (PyErr_Occurred()) SWIG_fail
;
27220 Py_INCREF(Py_None
); resultobj
= Py_None
;
27227 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27228 PyObject
*resultobj
;
27229 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27230 PyObject
* obj0
= 0 ;
27231 char *kwnames
[] = {
27232 (char *) "self", NULL
27235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
27236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27240 (arg1
)->DeleteAllItems();
27242 wxPyEndAllowThreads(__tstate
);
27243 if (PyErr_Occurred()) SWIG_fail
;
27245 Py_INCREF(Py_None
); resultobj
= Py_None
;
27252 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27253 PyObject
*resultobj
;
27254 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27255 wxTreeItemId
*arg2
= 0 ;
27256 PyObject
* obj0
= 0 ;
27257 PyObject
* obj1
= 0 ;
27258 char *kwnames
[] = {
27259 (char *) "self",(char *) "item", NULL
27262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
27263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27265 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27266 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27268 if (arg2
== NULL
) {
27269 PyErr_SetString(PyExc_TypeError
,"null reference");
27273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27274 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
27276 wxPyEndAllowThreads(__tstate
);
27277 if (PyErr_Occurred()) SWIG_fail
;
27279 Py_INCREF(Py_None
); resultobj
= Py_None
;
27286 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27287 PyObject
*resultobj
;
27288 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27289 wxTreeItemId
*arg2
= 0 ;
27290 PyObject
* obj0
= 0 ;
27291 PyObject
* obj1
= 0 ;
27292 char *kwnames
[] = {
27293 (char *) "self",(char *) "item", NULL
27296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
27297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27299 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27300 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27302 if (arg2
== NULL
) {
27303 PyErr_SetString(PyExc_TypeError
,"null reference");
27307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27308 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
27310 wxPyEndAllowThreads(__tstate
);
27311 if (PyErr_Occurred()) SWIG_fail
;
27313 Py_INCREF(Py_None
); resultobj
= Py_None
;
27320 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27321 PyObject
*resultobj
;
27322 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27323 wxTreeItemId
*arg2
= 0 ;
27324 PyObject
* obj0
= 0 ;
27325 PyObject
* obj1
= 0 ;
27326 char *kwnames
[] = {
27327 (char *) "self",(char *) "item", NULL
27330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
27331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27333 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27334 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27336 if (arg2
== NULL
) {
27337 PyErr_SetString(PyExc_TypeError
,"null reference");
27341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27342 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
27344 wxPyEndAllowThreads(__tstate
);
27345 if (PyErr_Occurred()) SWIG_fail
;
27347 Py_INCREF(Py_None
); resultobj
= Py_None
;
27354 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27355 PyObject
*resultobj
;
27356 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27357 wxTreeItemId
*arg2
= 0 ;
27358 PyObject
* obj0
= 0 ;
27359 PyObject
* obj1
= 0 ;
27360 char *kwnames
[] = {
27361 (char *) "self",(char *) "item", NULL
27364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
27365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27367 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27368 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27370 if (arg2
== NULL
) {
27371 PyErr_SetString(PyExc_TypeError
,"null reference");
27375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27376 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
27378 wxPyEndAllowThreads(__tstate
);
27379 if (PyErr_Occurred()) SWIG_fail
;
27381 Py_INCREF(Py_None
); resultobj
= Py_None
;
27388 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27389 PyObject
*resultobj
;
27390 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27391 PyObject
* obj0
= 0 ;
27392 char *kwnames
[] = {
27393 (char *) "self", NULL
27396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
27397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27401 (arg1
)->Unselect();
27403 wxPyEndAllowThreads(__tstate
);
27404 if (PyErr_Occurred()) SWIG_fail
;
27406 Py_INCREF(Py_None
); resultobj
= Py_None
;
27413 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27414 PyObject
*resultobj
;
27415 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27416 wxTreeItemId
*arg2
= 0 ;
27417 PyObject
* obj0
= 0 ;
27418 PyObject
* obj1
= 0 ;
27419 char *kwnames
[] = {
27420 (char *) "self",(char *) "item", NULL
27423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27426 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27427 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27429 if (arg2
== NULL
) {
27430 PyErr_SetString(PyExc_TypeError
,"null reference");
27434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27435 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
27437 wxPyEndAllowThreads(__tstate
);
27438 if (PyErr_Occurred()) SWIG_fail
;
27440 Py_INCREF(Py_None
); resultobj
= Py_None
;
27447 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27448 PyObject
*resultobj
;
27449 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27450 PyObject
* obj0
= 0 ;
27451 char *kwnames
[] = {
27452 (char *) "self", NULL
27455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
27456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27460 (arg1
)->UnselectAll();
27462 wxPyEndAllowThreads(__tstate
);
27463 if (PyErr_Occurred()) SWIG_fail
;
27465 Py_INCREF(Py_None
); resultobj
= Py_None
;
27472 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27473 PyObject
*resultobj
;
27474 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27475 wxTreeItemId
*arg2
= 0 ;
27476 bool arg3
= (bool) True
;
27477 PyObject
* obj0
= 0 ;
27478 PyObject
* obj1
= 0 ;
27479 PyObject
* obj2
= 0 ;
27480 char *kwnames
[] = {
27481 (char *) "self",(char *) "item",(char *) "select", NULL
27484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27487 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27488 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27490 if (arg2
== NULL
) {
27491 PyErr_SetString(PyExc_TypeError
,"null reference");
27495 arg3
= (bool) SWIG_AsBool(obj2
);
27496 if (PyErr_Occurred()) SWIG_fail
;
27499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27500 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
27502 wxPyEndAllowThreads(__tstate
);
27503 if (PyErr_Occurred()) SWIG_fail
;
27505 Py_INCREF(Py_None
); resultobj
= Py_None
;
27512 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27513 PyObject
*resultobj
;
27514 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27515 wxTreeItemId
*arg2
= 0 ;
27516 PyObject
* obj0
= 0 ;
27517 PyObject
* obj1
= 0 ;
27518 char *kwnames
[] = {
27519 (char *) "self",(char *) "item", NULL
27522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27525 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27526 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27528 if (arg2
== NULL
) {
27529 PyErr_SetString(PyExc_TypeError
,"null reference");
27533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27534 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
27536 wxPyEndAllowThreads(__tstate
);
27537 if (PyErr_Occurred()) SWIG_fail
;
27539 Py_INCREF(Py_None
); resultobj
= Py_None
;
27546 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27547 PyObject
*resultobj
;
27548 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27549 wxTreeItemId
*arg2
= 0 ;
27550 PyObject
* obj0
= 0 ;
27551 PyObject
* obj1
= 0 ;
27552 char *kwnames
[] = {
27553 (char *) "self",(char *) "item", NULL
27556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
27557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27559 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27560 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27562 if (arg2
== NULL
) {
27563 PyErr_SetString(PyExc_TypeError
,"null reference");
27567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27568 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
27570 wxPyEndAllowThreads(__tstate
);
27571 if (PyErr_Occurred()) SWIG_fail
;
27573 Py_INCREF(Py_None
); resultobj
= Py_None
;
27580 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27581 PyObject
*resultobj
;
27582 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27583 wxTreeItemId
*arg2
= 0 ;
27584 PyObject
* obj0
= 0 ;
27585 PyObject
* obj1
= 0 ;
27586 char *kwnames
[] = {
27587 (char *) "self",(char *) "item", NULL
27590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
27591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27593 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27594 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27596 if (arg2
== NULL
) {
27597 PyErr_SetString(PyExc_TypeError
,"null reference");
27601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27602 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
27604 wxPyEndAllowThreads(__tstate
);
27605 if (PyErr_Occurred()) SWIG_fail
;
27607 Py_INCREF(Py_None
); resultobj
= Py_None
;
27614 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27615 PyObject
*resultobj
;
27616 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27617 wxTreeItemId
*arg2
= 0 ;
27618 PyObject
* obj0
= 0 ;
27619 PyObject
* obj1
= 0 ;
27620 char *kwnames
[] = {
27621 (char *) "self",(char *) "item", NULL
27624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27627 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27628 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27630 if (arg2
== NULL
) {
27631 PyErr_SetString(PyExc_TypeError
,"null reference");
27635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27636 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
27638 wxPyEndAllowThreads(__tstate
);
27639 if (PyErr_Occurred()) SWIG_fail
;
27641 Py_INCREF(Py_None
); resultobj
= Py_None
;
27648 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27649 PyObject
*resultobj
;
27650 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27651 wxTextCtrl
*result
;
27652 PyObject
* obj0
= 0 ;
27653 char *kwnames
[] = {
27654 (char *) "self", NULL
27657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
27658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27662 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
27664 wxPyEndAllowThreads(__tstate
);
27665 if (PyErr_Occurred()) SWIG_fail
;
27668 resultobj
= wxPyMake_wxObject(result
, 0);
27676 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27677 PyObject
*resultobj
;
27678 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27679 wxTreeItemId
*arg2
= 0 ;
27680 PyObject
* obj0
= 0 ;
27681 PyObject
* obj1
= 0 ;
27682 char *kwnames
[] = {
27683 (char *) "self",(char *) "item", NULL
27686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27689 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27690 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27692 if (arg2
== NULL
) {
27693 PyErr_SetString(PyExc_TypeError
,"null reference");
27697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27698 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
27700 wxPyEndAllowThreads(__tstate
);
27701 if (PyErr_Occurred()) SWIG_fail
;
27703 Py_INCREF(Py_None
); resultobj
= Py_None
;
27710 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27711 PyObject
*resultobj
;
27712 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27713 wxPoint
*arg2
= 0 ;
27715 wxTreeItemId result
;
27718 PyObject
* obj0
= 0 ;
27719 PyObject
* obj1
= 0 ;
27720 char *kwnames
[] = {
27721 (char *) "self",(char *) "point", NULL
27725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
27726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27730 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27734 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
27736 wxPyEndAllowThreads(__tstate
);
27737 if (PyErr_Occurred()) SWIG_fail
;
27740 wxTreeItemId
* resultptr
;
27741 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27742 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27745 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27746 resultobj
= t_output_helper(resultobj
,o
);
27754 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27755 PyObject
*resultobj
;
27756 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27757 wxTreeItemId
*arg2
= 0 ;
27758 bool arg3
= (bool) False
;
27760 PyObject
* obj0
= 0 ;
27761 PyObject
* obj1
= 0 ;
27762 PyObject
* obj2
= 0 ;
27763 char *kwnames
[] = {
27764 (char *) "self",(char *) "item",(char *) "textOnly", NULL
27767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27770 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27771 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27773 if (arg2
== NULL
) {
27774 PyErr_SetString(PyExc_TypeError
,"null reference");
27778 arg3
= (bool) SWIG_AsBool(obj2
);
27779 if (PyErr_Occurred()) SWIG_fail
;
27782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27783 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
27785 wxPyEndAllowThreads(__tstate
);
27786 if (PyErr_Occurred()) SWIG_fail
;
27788 resultobj
= result
;
27795 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27796 PyObject
*resultobj
;
27797 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
27798 wxVisualAttributes result
;
27799 PyObject
* obj0
= 0 ;
27800 char *kwnames
[] = {
27801 (char *) "variant", NULL
27804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
27806 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
27807 if (PyErr_Occurred()) SWIG_fail
;
27810 if (!wxPyCheckForApp()) SWIG_fail
;
27811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27812 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
27814 wxPyEndAllowThreads(__tstate
);
27815 if (PyErr_Occurred()) SWIG_fail
;
27818 wxVisualAttributes
* resultptr
;
27819 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
27820 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
27828 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27830 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27831 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
27833 return Py_BuildValue((char *)"");
27835 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*_val
) {
27836 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
27841 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
27846 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
27848 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
27855 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27856 PyObject
*resultobj
;
27857 wxWindow
*arg1
= (wxWindow
*) 0 ;
27858 int arg2
= (int) (int)-1 ;
27859 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
27860 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
27861 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27862 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27863 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27864 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27865 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
27866 wxString
const &arg7_defvalue
= wxPyEmptyString
;
27867 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27868 int arg8
= (int) 0 ;
27869 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
27870 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
27871 wxGenericDirCtrl
*result
;
27872 bool temp3
= False
;
27875 bool temp7
= False
;
27876 bool temp9
= False
;
27877 PyObject
* obj0
= 0 ;
27878 PyObject
* obj1
= 0 ;
27879 PyObject
* obj2
= 0 ;
27880 PyObject
* obj3
= 0 ;
27881 PyObject
* obj4
= 0 ;
27882 PyObject
* obj5
= 0 ;
27883 PyObject
* obj6
= 0 ;
27884 PyObject
* obj7
= 0 ;
27885 PyObject
* obj8
= 0 ;
27886 char *kwnames
[] = {
27887 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
27891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27894 arg2
= (int const) SWIG_AsInt(obj1
);
27895 if (PyErr_Occurred()) SWIG_fail
;
27899 arg3
= wxString_in_helper(obj2
);
27900 if (arg3
== NULL
) SWIG_fail
;
27907 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27913 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27917 arg6
= (long) SWIG_AsLong(obj5
);
27918 if (PyErr_Occurred()) SWIG_fail
;
27922 arg7
= wxString_in_helper(obj6
);
27923 if (arg7
== NULL
) SWIG_fail
;
27928 arg8
= (int) SWIG_AsInt(obj7
);
27929 if (PyErr_Occurred()) SWIG_fail
;
27933 arg9
= wxString_in_helper(obj8
);
27934 if (arg9
== NULL
) SWIG_fail
;
27939 if (!wxPyCheckForApp()) SWIG_fail
;
27940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27941 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
27943 wxPyEndAllowThreads(__tstate
);
27944 if (PyErr_Occurred()) SWIG_fail
;
27946 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
27977 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27978 PyObject
*resultobj
;
27979 wxGenericDirCtrl
*result
;
27980 char *kwnames
[] = {
27984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
27986 if (!wxPyCheckForApp()) SWIG_fail
;
27987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27988 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
27990 wxPyEndAllowThreads(__tstate
);
27991 if (PyErr_Occurred()) SWIG_fail
;
27993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
28000 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28001 PyObject
*resultobj
;
28002 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28003 wxWindow
*arg2
= (wxWindow
*) 0 ;
28004 int arg3
= (int) (int)-1 ;
28005 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
28006 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28007 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
28008 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
28009 wxSize
const &arg6_defvalue
= wxDefaultSize
;
28010 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
28011 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
28012 wxString
const &arg8_defvalue
= wxPyEmptyString
;
28013 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28014 int arg9
= (int) 0 ;
28015 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
28016 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
28018 bool temp4
= False
;
28021 bool temp8
= False
;
28022 bool temp10
= False
;
28023 PyObject
* obj0
= 0 ;
28024 PyObject
* obj1
= 0 ;
28025 PyObject
* obj2
= 0 ;
28026 PyObject
* obj3
= 0 ;
28027 PyObject
* obj4
= 0 ;
28028 PyObject
* obj5
= 0 ;
28029 PyObject
* obj6
= 0 ;
28030 PyObject
* obj7
= 0 ;
28031 PyObject
* obj8
= 0 ;
28032 PyObject
* obj9
= 0 ;
28033 char *kwnames
[] = {
28034 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
28038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28040 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28043 arg3
= (int const) SWIG_AsInt(obj2
);
28044 if (PyErr_Occurred()) SWIG_fail
;
28048 arg4
= wxString_in_helper(obj3
);
28049 if (arg4
== NULL
) SWIG_fail
;
28056 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
28062 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
28066 arg7
= (long) SWIG_AsLong(obj6
);
28067 if (PyErr_Occurred()) SWIG_fail
;
28071 arg8
= wxString_in_helper(obj7
);
28072 if (arg8
== NULL
) SWIG_fail
;
28077 arg9
= (int) SWIG_AsInt(obj8
);
28078 if (PyErr_Occurred()) SWIG_fail
;
28082 arg10
= wxString_in_helper(obj9
);
28083 if (arg10
== NULL
) SWIG_fail
;
28088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28089 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
28091 wxPyEndAllowThreads(__tstate
);
28092 if (PyErr_Occurred()) SWIG_fail
;
28095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28127 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28128 PyObject
*resultobj
;
28129 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28130 wxString
*arg2
= 0 ;
28132 bool temp2
= False
;
28133 PyObject
* obj0
= 0 ;
28134 PyObject
* obj1
= 0 ;
28135 char *kwnames
[] = {
28136 (char *) "self",(char *) "path", NULL
28139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28143 arg2
= wxString_in_helper(obj1
);
28144 if (arg2
== NULL
) SWIG_fail
;
28148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28149 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
28151 wxPyEndAllowThreads(__tstate
);
28152 if (PyErr_Occurred()) SWIG_fail
;
28155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28171 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28172 PyObject
*resultobj
;
28173 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28175 PyObject
* obj0
= 0 ;
28176 char *kwnames
[] = {
28177 (char *) "self", NULL
28180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
28181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28185 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
28187 wxPyEndAllowThreads(__tstate
);
28188 if (PyErr_Occurred()) SWIG_fail
;
28192 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28194 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28203 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28204 PyObject
*resultobj
;
28205 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28206 wxString
*arg2
= 0 ;
28207 bool temp2
= False
;
28208 PyObject
* obj0
= 0 ;
28209 PyObject
* obj1
= 0 ;
28210 char *kwnames
[] = {
28211 (char *) "self",(char *) "path", NULL
28214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28218 arg2
= wxString_in_helper(obj1
);
28219 if (arg2
== NULL
) SWIG_fail
;
28223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28224 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
28226 wxPyEndAllowThreads(__tstate
);
28227 if (PyErr_Occurred()) SWIG_fail
;
28229 Py_INCREF(Py_None
); resultobj
= Py_None
;
28244 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28245 PyObject
*resultobj
;
28246 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28248 PyObject
* obj0
= 0 ;
28249 char *kwnames
[] = {
28250 (char *) "self", NULL
28253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
28254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28258 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
28260 wxPyEndAllowThreads(__tstate
);
28261 if (PyErr_Occurred()) SWIG_fail
;
28265 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28267 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28276 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28277 PyObject
*resultobj
;
28278 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28280 PyObject
* obj0
= 0 ;
28281 char *kwnames
[] = {
28282 (char *) "self", NULL
28285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
28286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28290 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
28292 wxPyEndAllowThreads(__tstate
);
28293 if (PyErr_Occurred()) SWIG_fail
;
28297 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28299 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28308 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28309 PyObject
*resultobj
;
28310 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28311 wxString
*arg2
= 0 ;
28312 bool temp2
= False
;
28313 PyObject
* obj0
= 0 ;
28314 PyObject
* obj1
= 0 ;
28315 char *kwnames
[] = {
28316 (char *) "self",(char *) "path", NULL
28319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28323 arg2
= wxString_in_helper(obj1
);
28324 if (arg2
== NULL
) SWIG_fail
;
28328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28329 (arg1
)->SetPath((wxString
const &)*arg2
);
28331 wxPyEndAllowThreads(__tstate
);
28332 if (PyErr_Occurred()) SWIG_fail
;
28334 Py_INCREF(Py_None
); resultobj
= Py_None
;
28349 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28350 PyObject
*resultobj
;
28351 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28353 PyObject
* obj0
= 0 ;
28354 PyObject
* obj1
= 0 ;
28355 char *kwnames
[] = {
28356 (char *) "self",(char *) "show", NULL
28359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
28360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28362 arg2
= (bool) SWIG_AsBool(obj1
);
28363 if (PyErr_Occurred()) SWIG_fail
;
28365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28366 (arg1
)->ShowHidden(arg2
);
28368 wxPyEndAllowThreads(__tstate
);
28369 if (PyErr_Occurred()) SWIG_fail
;
28371 Py_INCREF(Py_None
); resultobj
= Py_None
;
28378 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28379 PyObject
*resultobj
;
28380 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28382 PyObject
* obj0
= 0 ;
28383 char *kwnames
[] = {
28384 (char *) "self", NULL
28387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
28388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28392 result
= (bool)(arg1
)->GetShowHidden();
28394 wxPyEndAllowThreads(__tstate
);
28395 if (PyErr_Occurred()) SWIG_fail
;
28398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28406 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28407 PyObject
*resultobj
;
28408 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28410 PyObject
* obj0
= 0 ;
28411 char *kwnames
[] = {
28412 (char *) "self", NULL
28415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
28416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28420 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
28422 wxPyEndAllowThreads(__tstate
);
28423 if (PyErr_Occurred()) SWIG_fail
;
28427 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28429 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28438 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28439 PyObject
*resultobj
;
28440 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28441 wxString
*arg2
= 0 ;
28442 bool temp2
= False
;
28443 PyObject
* obj0
= 0 ;
28444 PyObject
* obj1
= 0 ;
28445 char *kwnames
[] = {
28446 (char *) "self",(char *) "filter", NULL
28449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
28450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28453 arg2
= wxString_in_helper(obj1
);
28454 if (arg2
== NULL
) SWIG_fail
;
28458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28459 (arg1
)->SetFilter((wxString
const &)*arg2
);
28461 wxPyEndAllowThreads(__tstate
);
28462 if (PyErr_Occurred()) SWIG_fail
;
28464 Py_INCREF(Py_None
); resultobj
= Py_None
;
28479 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28480 PyObject
*resultobj
;
28481 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28483 PyObject
* obj0
= 0 ;
28484 char *kwnames
[] = {
28485 (char *) "self", NULL
28488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
28489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28493 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
28495 wxPyEndAllowThreads(__tstate
);
28496 if (PyErr_Occurred()) SWIG_fail
;
28498 resultobj
= SWIG_FromInt((int)result
);
28505 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28506 PyObject
*resultobj
;
28507 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28509 PyObject
* obj0
= 0 ;
28510 PyObject
* obj1
= 0 ;
28511 char *kwnames
[] = {
28512 (char *) "self",(char *) "n", NULL
28515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
28516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28518 arg2
= (int) SWIG_AsInt(obj1
);
28519 if (PyErr_Occurred()) SWIG_fail
;
28521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28522 (arg1
)->SetFilterIndex(arg2
);
28524 wxPyEndAllowThreads(__tstate
);
28525 if (PyErr_Occurred()) SWIG_fail
;
28527 Py_INCREF(Py_None
); resultobj
= Py_None
;
28534 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28535 PyObject
*resultobj
;
28536 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28537 wxTreeItemId result
;
28538 PyObject
* obj0
= 0 ;
28539 char *kwnames
[] = {
28540 (char *) "self", NULL
28543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
28544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28548 result
= (arg1
)->GetRootId();
28550 wxPyEndAllowThreads(__tstate
);
28551 if (PyErr_Occurred()) SWIG_fail
;
28554 wxTreeItemId
* resultptr
;
28555 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28556 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28564 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28565 PyObject
*resultobj
;
28566 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28567 wxPyTreeCtrl
*result
;
28568 PyObject
* obj0
= 0 ;
28569 char *kwnames
[] = {
28570 (char *) "self", NULL
28573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
28574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28578 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
28580 wxPyEndAllowThreads(__tstate
);
28581 if (PyErr_Occurred()) SWIG_fail
;
28584 resultobj
= wxPyMake_wxObject(result
, 0);
28592 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28593 PyObject
*resultobj
;
28594 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28595 wxDirFilterListCtrl
*result
;
28596 PyObject
* obj0
= 0 ;
28597 char *kwnames
[] = {
28598 (char *) "self", NULL
28601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
28602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28606 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
28608 wxPyEndAllowThreads(__tstate
);
28609 if (PyErr_Occurred()) SWIG_fail
;
28611 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
28618 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28619 PyObject
*resultobj
;
28620 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28621 wxTreeItemId arg2
;
28622 wxString
*arg3
= 0 ;
28624 wxTreeItemId result
;
28625 wxTreeItemId
*argp2
;
28626 bool temp3
= False
;
28628 PyObject
* obj0
= 0 ;
28629 PyObject
* obj1
= 0 ;
28630 PyObject
* obj2
= 0 ;
28631 char *kwnames
[] = {
28632 (char *) "self",(char *) "parentId",(char *) "path", NULL
28636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28639 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
28640 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
28643 arg3
= wxString_in_helper(obj2
);
28644 if (arg3
== NULL
) SWIG_fail
;
28648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28649 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
28651 wxPyEndAllowThreads(__tstate
);
28652 if (PyErr_Occurred()) SWIG_fail
;
28655 wxTreeItemId
* resultptr
;
28656 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28657 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28660 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
28661 resultobj
= t_output_helper(resultobj
,o
);
28677 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28678 PyObject
*resultobj
;
28679 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28680 PyObject
* obj0
= 0 ;
28681 char *kwnames
[] = {
28682 (char *) "self", NULL
28685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
28686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28690 (arg1
)->DoResize();
28692 wxPyEndAllowThreads(__tstate
);
28693 if (PyErr_Occurred()) SWIG_fail
;
28695 Py_INCREF(Py_None
); resultobj
= Py_None
;
28702 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28703 PyObject
*resultobj
;
28704 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28705 PyObject
* obj0
= 0 ;
28706 char *kwnames
[] = {
28707 (char *) "self", NULL
28710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
28711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28715 (arg1
)->ReCreateTree();
28717 wxPyEndAllowThreads(__tstate
);
28718 if (PyErr_Occurred()) SWIG_fail
;
28720 Py_INCREF(Py_None
); resultobj
= Py_None
;
28727 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
28729 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28730 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
28732 return Py_BuildValue((char *)"");
28734 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28735 PyObject
*resultobj
;
28736 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28737 int arg2
= (int) (int)-1 ;
28738 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28739 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28740 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28741 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28742 long arg5
= (long) 0 ;
28743 wxDirFilterListCtrl
*result
;
28746 PyObject
* obj0
= 0 ;
28747 PyObject
* obj1
= 0 ;
28748 PyObject
* obj2
= 0 ;
28749 PyObject
* obj3
= 0 ;
28750 PyObject
* obj4
= 0 ;
28751 char *kwnames
[] = {
28752 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28759 arg2
= (int const) SWIG_AsInt(obj1
);
28760 if (PyErr_Occurred()) SWIG_fail
;
28765 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28771 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28775 arg5
= (long) SWIG_AsLong(obj4
);
28776 if (PyErr_Occurred()) SWIG_fail
;
28779 if (!wxPyCheckForApp()) SWIG_fail
;
28780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28781 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
28783 wxPyEndAllowThreads(__tstate
);
28784 if (PyErr_Occurred()) SWIG_fail
;
28786 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
28793 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28794 PyObject
*resultobj
;
28795 wxDirFilterListCtrl
*result
;
28796 char *kwnames
[] = {
28800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
28802 if (!wxPyCheckForApp()) SWIG_fail
;
28803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28804 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
28806 wxPyEndAllowThreads(__tstate
);
28807 if (PyErr_Occurred()) SWIG_fail
;
28809 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
28816 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28817 PyObject
*resultobj
;
28818 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
28819 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
28820 int arg3
= (int) (int)-1 ;
28821 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28822 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28823 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28824 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28825 long arg6
= (long) 0 ;
28829 PyObject
* obj0
= 0 ;
28830 PyObject
* obj1
= 0 ;
28831 PyObject
* obj2
= 0 ;
28832 PyObject
* obj3
= 0 ;
28833 PyObject
* obj4
= 0 ;
28834 PyObject
* obj5
= 0 ;
28835 char *kwnames
[] = {
28836 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
28841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28842 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
28843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28845 arg3
= (int const) SWIG_AsInt(obj2
);
28846 if (PyErr_Occurred()) SWIG_fail
;
28851 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28857 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28861 arg6
= (long) SWIG_AsLong(obj5
);
28862 if (PyErr_Occurred()) SWIG_fail
;
28865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28866 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
28868 wxPyEndAllowThreads(__tstate
);
28869 if (PyErr_Occurred()) SWIG_fail
;
28872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28880 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28881 PyObject
*resultobj
;
28882 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
28883 wxString
*arg2
= 0 ;
28885 bool temp2
= False
;
28886 PyObject
* obj0
= 0 ;
28887 PyObject
* obj1
= 0 ;
28888 PyObject
* obj2
= 0 ;
28889 char *kwnames
[] = {
28890 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
28893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
28895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28897 arg2
= wxString_in_helper(obj1
);
28898 if (arg2
== NULL
) SWIG_fail
;
28901 arg3
= (int) SWIG_AsInt(obj2
);
28902 if (PyErr_Occurred()) SWIG_fail
;
28904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28905 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
28907 wxPyEndAllowThreads(__tstate
);
28908 if (PyErr_Occurred()) SWIG_fail
;
28910 Py_INCREF(Py_None
); resultobj
= Py_None
;
28925 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
28927 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28928 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
28930 return Py_BuildValue((char *)"");
28932 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28933 PyObject
*resultobj
;
28934 wxWindow
*arg1
= (wxWindow
*) 0 ;
28935 int arg2
= (int) (int)-1 ;
28936 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28937 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28938 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28939 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28940 long arg5
= (long) 0 ;
28941 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28942 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28943 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
28944 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28945 wxPyControl
*result
;
28948 bool temp7
= False
;
28949 PyObject
* obj0
= 0 ;
28950 PyObject
* obj1
= 0 ;
28951 PyObject
* obj2
= 0 ;
28952 PyObject
* obj3
= 0 ;
28953 PyObject
* obj4
= 0 ;
28954 PyObject
* obj5
= 0 ;
28955 PyObject
* obj6
= 0 ;
28956 char *kwnames
[] = {
28957 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
28961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28964 arg2
= (int const) SWIG_AsInt(obj1
);
28965 if (PyErr_Occurred()) SWIG_fail
;
28970 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28976 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28980 arg5
= (long) SWIG_AsLong(obj4
);
28981 if (PyErr_Occurred()) SWIG_fail
;
28984 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
28985 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28987 if (arg6
== NULL
) {
28988 PyErr_SetString(PyExc_TypeError
,"null reference");
28994 arg7
= wxString_in_helper(obj6
);
28995 if (arg7
== NULL
) SWIG_fail
;
29000 if (!wxPyCheckForApp()) SWIG_fail
;
29001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29002 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
29004 wxPyEndAllowThreads(__tstate
);
29005 if (PyErr_Occurred()) SWIG_fail
;
29007 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
29022 static PyObject
*_wrap_new_PrePyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29023 PyObject
*resultobj
;
29024 wxPyControl
*result
;
29025 char *kwnames
[] = {
29029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
29031 if (!wxPyCheckForApp()) SWIG_fail
;
29032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29033 result
= (wxPyControl
*)new wxPyControl();
29035 wxPyEndAllowThreads(__tstate
);
29036 if (PyErr_Occurred()) SWIG_fail
;
29038 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
29045 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29046 PyObject
*resultobj
;
29047 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29048 PyObject
*arg2
= (PyObject
*) 0 ;
29049 PyObject
*arg3
= (PyObject
*) 0 ;
29050 PyObject
* obj0
= 0 ;
29051 PyObject
* obj1
= 0 ;
29052 PyObject
* obj2
= 0 ;
29053 char *kwnames
[] = {
29054 (char *) "self",(char *) "self",(char *) "_class", NULL
29057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29064 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29066 wxPyEndAllowThreads(__tstate
);
29067 if (PyErr_Occurred()) SWIG_fail
;
29069 Py_INCREF(Py_None
); resultobj
= Py_None
;
29076 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29077 PyObject
*resultobj
;
29078 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29081 PyObject
* obj0
= 0 ;
29082 PyObject
* obj1
= 0 ;
29083 char *kwnames
[] = {
29084 (char *) "self",(char *) "size", NULL
29087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
29088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29092 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29096 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
29098 wxPyEndAllowThreads(__tstate
);
29099 if (PyErr_Occurred()) SWIG_fail
;
29101 Py_INCREF(Py_None
); resultobj
= Py_None
;
29108 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29109 PyObject
*resultobj
;
29110 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29115 PyObject
* obj0
= 0 ;
29116 PyObject
* obj1
= 0 ;
29117 PyObject
* obj2
= 0 ;
29118 PyObject
* obj3
= 0 ;
29119 PyObject
* obj4
= 0 ;
29120 char *kwnames
[] = {
29121 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29127 arg2
= (int) SWIG_AsInt(obj1
);
29128 if (PyErr_Occurred()) SWIG_fail
;
29129 arg3
= (int) SWIG_AsInt(obj2
);
29130 if (PyErr_Occurred()) SWIG_fail
;
29131 arg4
= (int) SWIG_AsInt(obj3
);
29132 if (PyErr_Occurred()) SWIG_fail
;
29133 arg5
= (int) SWIG_AsInt(obj4
);
29134 if (PyErr_Occurred()) SWIG_fail
;
29136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29137 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
29139 wxPyEndAllowThreads(__tstate
);
29140 if (PyErr_Occurred()) SWIG_fail
;
29142 Py_INCREF(Py_None
); resultobj
= Py_None
;
29149 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29150 PyObject
*resultobj
;
29151 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29156 int arg6
= (int) wxSIZE_AUTO
;
29157 PyObject
* obj0
= 0 ;
29158 PyObject
* obj1
= 0 ;
29159 PyObject
* obj2
= 0 ;
29160 PyObject
* obj3
= 0 ;
29161 PyObject
* obj4
= 0 ;
29162 PyObject
* obj5
= 0 ;
29163 char *kwnames
[] = {
29164 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
29167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29170 arg2
= (int) SWIG_AsInt(obj1
);
29171 if (PyErr_Occurred()) SWIG_fail
;
29172 arg3
= (int) SWIG_AsInt(obj2
);
29173 if (PyErr_Occurred()) SWIG_fail
;
29174 arg4
= (int) SWIG_AsInt(obj3
);
29175 if (PyErr_Occurred()) SWIG_fail
;
29176 arg5
= (int) SWIG_AsInt(obj4
);
29177 if (PyErr_Occurred()) SWIG_fail
;
29179 arg6
= (int) SWIG_AsInt(obj5
);
29180 if (PyErr_Occurred()) SWIG_fail
;
29183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29184 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
29186 wxPyEndAllowThreads(__tstate
);
29187 if (PyErr_Occurred()) SWIG_fail
;
29189 Py_INCREF(Py_None
); resultobj
= Py_None
;
29196 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29197 PyObject
*resultobj
;
29198 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29201 PyObject
* obj0
= 0 ;
29202 PyObject
* obj1
= 0 ;
29203 PyObject
* obj2
= 0 ;
29204 char *kwnames
[] = {
29205 (char *) "self",(char *) "width",(char *) "height", NULL
29208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29211 arg2
= (int) SWIG_AsInt(obj1
);
29212 if (PyErr_Occurred()) SWIG_fail
;
29213 arg3
= (int) SWIG_AsInt(obj2
);
29214 if (PyErr_Occurred()) SWIG_fail
;
29216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29217 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
29219 wxPyEndAllowThreads(__tstate
);
29220 if (PyErr_Occurred()) SWIG_fail
;
29222 Py_INCREF(Py_None
); resultobj
= Py_None
;
29229 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29230 PyObject
*resultobj
;
29231 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29234 PyObject
* obj0
= 0 ;
29235 PyObject
* obj1
= 0 ;
29236 PyObject
* obj2
= 0 ;
29237 char *kwnames
[] = {
29238 (char *) "self",(char *) "x",(char *) "y", NULL
29241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29244 arg2
= (int) SWIG_AsInt(obj1
);
29245 if (PyErr_Occurred()) SWIG_fail
;
29246 arg3
= (int) SWIG_AsInt(obj2
);
29247 if (PyErr_Occurred()) SWIG_fail
;
29249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29250 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
29252 wxPyEndAllowThreads(__tstate
);
29253 if (PyErr_Occurred()) SWIG_fail
;
29255 Py_INCREF(Py_None
); resultobj
= Py_None
;
29262 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29263 PyObject
*resultobj
;
29264 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29265 int *arg2
= (int *) 0 ;
29266 int *arg3
= (int *) 0 ;
29269 PyObject
* obj0
= 0 ;
29270 char *kwnames
[] = {
29271 (char *) "self", NULL
29276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
29277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29281 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
29283 wxPyEndAllowThreads(__tstate
);
29284 if (PyErr_Occurred()) SWIG_fail
;
29286 Py_INCREF(Py_None
); resultobj
= Py_None
;
29288 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29289 resultobj
= t_output_helper(resultobj
,o
);
29292 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29293 resultobj
= t_output_helper(resultobj
,o
);
29301 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29302 PyObject
*resultobj
;
29303 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29304 int *arg2
= (int *) 0 ;
29305 int *arg3
= (int *) 0 ;
29308 PyObject
* obj0
= 0 ;
29309 char *kwnames
[] = {
29310 (char *) "self", NULL
29315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
29316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29320 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
29322 wxPyEndAllowThreads(__tstate
);
29323 if (PyErr_Occurred()) SWIG_fail
;
29325 Py_INCREF(Py_None
); resultobj
= Py_None
;
29327 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29328 resultobj
= t_output_helper(resultobj
,o
);
29331 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29332 resultobj
= t_output_helper(resultobj
,o
);
29340 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29341 PyObject
*resultobj
;
29342 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29343 int *arg2
= (int *) 0 ;
29344 int *arg3
= (int *) 0 ;
29347 PyObject
* obj0
= 0 ;
29348 char *kwnames
[] = {
29349 (char *) "self", NULL
29354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
29355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29359 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
29361 wxPyEndAllowThreads(__tstate
);
29362 if (PyErr_Occurred()) SWIG_fail
;
29364 Py_INCREF(Py_None
); resultobj
= Py_None
;
29366 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29367 resultobj
= t_output_helper(resultobj
,o
);
29370 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29371 resultobj
= t_output_helper(resultobj
,o
);
29379 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29380 PyObject
*resultobj
;
29381 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29383 PyObject
* obj0
= 0 ;
29384 char *kwnames
[] = {
29385 (char *) "self", NULL
29388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
29389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29393 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
29395 wxPyEndAllowThreads(__tstate
);
29396 if (PyErr_Occurred()) SWIG_fail
;
29399 wxSize
* resultptr
;
29400 resultptr
= new wxSize((wxSize
&) result
);
29401 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29409 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29410 PyObject
*resultobj
;
29411 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29413 PyObject
* obj0
= 0 ;
29414 char *kwnames
[] = {
29415 (char *) "self", NULL
29418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
29419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29423 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
29425 wxPyEndAllowThreads(__tstate
);
29426 if (PyErr_Occurred()) SWIG_fail
;
29429 wxSize
* resultptr
;
29430 resultptr
= new wxSize((wxSize
&) result
);
29431 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29439 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29440 PyObject
*resultobj
;
29441 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29442 PyObject
* obj0
= 0 ;
29443 char *kwnames
[] = {
29444 (char *) "self", NULL
29447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
29448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29452 (arg1
)->base_InitDialog();
29454 wxPyEndAllowThreads(__tstate
);
29455 if (PyErr_Occurred()) SWIG_fail
;
29457 Py_INCREF(Py_None
); resultobj
= Py_None
;
29464 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29465 PyObject
*resultobj
;
29466 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29468 PyObject
* obj0
= 0 ;
29469 char *kwnames
[] = {
29470 (char *) "self", NULL
29473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
29474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29478 result
= (bool)(arg1
)->base_TransferDataToWindow();
29480 wxPyEndAllowThreads(__tstate
);
29481 if (PyErr_Occurred()) SWIG_fail
;
29484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29492 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29493 PyObject
*resultobj
;
29494 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29496 PyObject
* obj0
= 0 ;
29497 char *kwnames
[] = {
29498 (char *) "self", NULL
29501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
29502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29506 result
= (bool)(arg1
)->base_TransferDataFromWindow();
29508 wxPyEndAllowThreads(__tstate
);
29509 if (PyErr_Occurred()) SWIG_fail
;
29512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29520 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29521 PyObject
*resultobj
;
29522 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29524 PyObject
* obj0
= 0 ;
29525 char *kwnames
[] = {
29526 (char *) "self", NULL
29529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
29530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29534 result
= (bool)(arg1
)->base_Validate();
29536 wxPyEndAllowThreads(__tstate
);
29537 if (PyErr_Occurred()) SWIG_fail
;
29540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29548 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29549 PyObject
*resultobj
;
29550 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29552 PyObject
* obj0
= 0 ;
29553 char *kwnames
[] = {
29554 (char *) "self", NULL
29557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
29558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29562 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
29564 wxPyEndAllowThreads(__tstate
);
29565 if (PyErr_Occurred()) SWIG_fail
;
29568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29576 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29577 PyObject
*resultobj
;
29578 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29580 PyObject
* obj0
= 0 ;
29581 char *kwnames
[] = {
29582 (char *) "self", NULL
29585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
29586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29590 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
29592 wxPyEndAllowThreads(__tstate
);
29593 if (PyErr_Occurred()) SWIG_fail
;
29596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29604 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29605 PyObject
*resultobj
;
29606 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29608 PyObject
* obj0
= 0 ;
29609 char *kwnames
[] = {
29610 (char *) "self", NULL
29613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
29614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29618 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
29620 wxPyEndAllowThreads(__tstate
);
29621 if (PyErr_Occurred()) SWIG_fail
;
29624 wxSize
* resultptr
;
29625 resultptr
= new wxSize((wxSize
&) result
);
29626 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29634 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29635 PyObject
*resultobj
;
29636 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29637 wxWindow
*arg2
= (wxWindow
*) 0 ;
29638 PyObject
* obj0
= 0 ;
29639 PyObject
* obj1
= 0 ;
29640 char *kwnames
[] = {
29641 (char *) "self",(char *) "child", NULL
29644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29647 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29651 (arg1
)->base_AddChild(arg2
);
29653 wxPyEndAllowThreads(__tstate
);
29654 if (PyErr_Occurred()) SWIG_fail
;
29656 Py_INCREF(Py_None
); resultobj
= Py_None
;
29663 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29664 PyObject
*resultobj
;
29665 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29666 wxWindow
*arg2
= (wxWindow
*) 0 ;
29667 PyObject
* obj0
= 0 ;
29668 PyObject
* obj1
= 0 ;
29669 char *kwnames
[] = {
29670 (char *) "self",(char *) "child", NULL
29673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29676 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29680 (arg1
)->base_RemoveChild(arg2
);
29682 wxPyEndAllowThreads(__tstate
);
29683 if (PyErr_Occurred()) SWIG_fail
;
29685 Py_INCREF(Py_None
); resultobj
= Py_None
;
29692 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29693 PyObject
*resultobj
;
29694 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29696 PyObject
* obj0
= 0 ;
29697 char *kwnames
[] = {
29698 (char *) "self", NULL
29701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
29702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29706 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
29708 wxPyEndAllowThreads(__tstate
);
29709 if (PyErr_Occurred()) SWIG_fail
;
29712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29720 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29721 PyObject
*resultobj
;
29722 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29723 wxColour
*arg2
= 0 ;
29725 PyObject
* obj0
= 0 ;
29726 PyObject
* obj1
= 0 ;
29727 char *kwnames
[] = {
29728 (char *) "self",(char *) "c", NULL
29731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
29732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29736 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29740 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
29742 wxPyEndAllowThreads(__tstate
);
29743 if (PyErr_Occurred()) SWIG_fail
;
29745 Py_INCREF(Py_None
); resultobj
= Py_None
;
29752 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29753 PyObject
*resultobj
;
29754 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29755 wxVisualAttributes result
;
29756 PyObject
* obj0
= 0 ;
29757 char *kwnames
[] = {
29758 (char *) "self", NULL
29761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29766 result
= (arg1
)->base_GetDefaultAttributes();
29768 wxPyEndAllowThreads(__tstate
);
29769 if (PyErr_Occurred()) SWIG_fail
;
29772 wxVisualAttributes
* resultptr
;
29773 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
29774 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29782 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
29784 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29785 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
29787 return Py_BuildValue((char *)"");
29789 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29790 PyObject
*resultobj
;
29791 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
29792 int arg2
= (int) 0 ;
29793 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29794 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29795 wxHelpEvent
*result
;
29797 PyObject
* obj0
= 0 ;
29798 PyObject
* obj1
= 0 ;
29799 PyObject
* obj2
= 0 ;
29800 char *kwnames
[] = {
29801 (char *) "type",(char *) "winid",(char *) "pt", NULL
29804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29806 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
29807 if (PyErr_Occurred()) SWIG_fail
;
29810 arg2
= (int) SWIG_AsInt(obj1
);
29811 if (PyErr_Occurred()) SWIG_fail
;
29816 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29821 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
29823 wxPyEndAllowThreads(__tstate
);
29824 if (PyErr_Occurred()) SWIG_fail
;
29826 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
29833 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29834 PyObject
*resultobj
;
29835 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29837 PyObject
* obj0
= 0 ;
29838 char *kwnames
[] = {
29839 (char *) "self", NULL
29842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
29843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29847 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
29849 wxPyEndAllowThreads(__tstate
);
29850 if (PyErr_Occurred()) SWIG_fail
;
29853 wxPoint
* resultptr
;
29854 resultptr
= new wxPoint((wxPoint
&) result
);
29855 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29863 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29864 PyObject
*resultobj
;
29865 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29866 wxPoint
*arg2
= 0 ;
29868 PyObject
* obj0
= 0 ;
29869 PyObject
* obj1
= 0 ;
29870 char *kwnames
[] = {
29871 (char *) "self",(char *) "pos", NULL
29874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
29875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29879 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29883 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
29885 wxPyEndAllowThreads(__tstate
);
29886 if (PyErr_Occurred()) SWIG_fail
;
29888 Py_INCREF(Py_None
); resultobj
= Py_None
;
29895 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29896 PyObject
*resultobj
;
29897 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29899 PyObject
* obj0
= 0 ;
29900 char *kwnames
[] = {
29901 (char *) "self", NULL
29904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
29905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29910 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
29911 result
= (wxString
*) &_result_ref
;
29914 wxPyEndAllowThreads(__tstate
);
29915 if (PyErr_Occurred()) SWIG_fail
;
29919 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29921 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29930 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29931 PyObject
*resultobj
;
29932 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29933 wxString
*arg2
= 0 ;
29934 bool temp2
= False
;
29935 PyObject
* obj0
= 0 ;
29936 PyObject
* obj1
= 0 ;
29937 char *kwnames
[] = {
29938 (char *) "self",(char *) "link", NULL
29941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
29942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29945 arg2
= wxString_in_helper(obj1
);
29946 if (arg2
== NULL
) SWIG_fail
;
29950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29951 (arg1
)->SetLink((wxString
const &)*arg2
);
29953 wxPyEndAllowThreads(__tstate
);
29954 if (PyErr_Occurred()) SWIG_fail
;
29956 Py_INCREF(Py_None
); resultobj
= Py_None
;
29971 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29972 PyObject
*resultobj
;
29973 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29975 PyObject
* obj0
= 0 ;
29976 char *kwnames
[] = {
29977 (char *) "self", NULL
29980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
29981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29986 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
29987 result
= (wxString
*) &_result_ref
;
29990 wxPyEndAllowThreads(__tstate
);
29991 if (PyErr_Occurred()) SWIG_fail
;
29995 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29997 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30006 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30007 PyObject
*resultobj
;
30008 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30009 wxString
*arg2
= 0 ;
30010 bool temp2
= False
;
30011 PyObject
* obj0
= 0 ;
30012 PyObject
* obj1
= 0 ;
30013 char *kwnames
[] = {
30014 (char *) "self",(char *) "target", NULL
30017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
30018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30021 arg2
= wxString_in_helper(obj1
);
30022 if (arg2
== NULL
) SWIG_fail
;
30026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30027 (arg1
)->SetTarget((wxString
const &)*arg2
);
30029 wxPyEndAllowThreads(__tstate
);
30030 if (PyErr_Occurred()) SWIG_fail
;
30032 Py_INCREF(Py_None
); resultobj
= Py_None
;
30047 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
30049 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30050 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
30052 return Py_BuildValue((char *)"");
30054 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30055 PyObject
*resultobj
;
30056 wxWindow
*arg1
= (wxWindow
*) NULL
;
30057 bool arg2
= (bool) True
;
30058 wxContextHelp
*result
;
30059 PyObject
* obj0
= 0 ;
30060 PyObject
* obj1
= 0 ;
30061 char *kwnames
[] = {
30062 (char *) "window",(char *) "doNow", NULL
30065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30071 arg2
= (bool) SWIG_AsBool(obj1
);
30072 if (PyErr_Occurred()) SWIG_fail
;
30075 if (!wxPyCheckForApp()) SWIG_fail
;
30076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30077 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
30079 wxPyEndAllowThreads(__tstate
);
30080 if (PyErr_Occurred()) SWIG_fail
;
30082 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
30089 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30090 PyObject
*resultobj
;
30091 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30092 PyObject
* obj0
= 0 ;
30093 char *kwnames
[] = {
30094 (char *) "self", NULL
30097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
30098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30104 wxPyEndAllowThreads(__tstate
);
30105 if (PyErr_Occurred()) SWIG_fail
;
30107 Py_INCREF(Py_None
); resultobj
= Py_None
;
30114 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30115 PyObject
*resultobj
;
30116 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30117 wxWindow
*arg2
= (wxWindow
*) NULL
;
30119 PyObject
* obj0
= 0 ;
30120 PyObject
* obj1
= 0 ;
30121 char *kwnames
[] = {
30122 (char *) "self",(char *) "window", NULL
30125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30129 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30134 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
30136 wxPyEndAllowThreads(__tstate
);
30137 if (PyErr_Occurred()) SWIG_fail
;
30140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30148 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30149 PyObject
*resultobj
;
30150 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30152 PyObject
* obj0
= 0 ;
30153 char *kwnames
[] = {
30154 (char *) "self", NULL
30157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
30158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30162 result
= (bool)(arg1
)->EndContextHelp();
30164 wxPyEndAllowThreads(__tstate
);
30165 if (PyErr_Occurred()) SWIG_fail
;
30168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30176 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
30178 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30179 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
30181 return Py_BuildValue((char *)"");
30183 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30184 PyObject
*resultobj
;
30185 wxWindow
*arg1
= (wxWindow
*) 0 ;
30186 int arg2
= (int) wxID_CONTEXT_HELP
;
30187 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30188 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30189 wxSize
const &arg4_defvalue
= wxDefaultSize
;
30190 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
30191 long arg5
= (long) wxBU_AUTODRAW
;
30192 wxContextHelpButton
*result
;
30195 PyObject
* obj0
= 0 ;
30196 PyObject
* obj1
= 0 ;
30197 PyObject
* obj2
= 0 ;
30198 PyObject
* obj3
= 0 ;
30199 PyObject
* obj4
= 0 ;
30200 char *kwnames
[] = {
30201 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
30204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30208 arg2
= (int) SWIG_AsInt(obj1
);
30209 if (PyErr_Occurred()) SWIG_fail
;
30214 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30220 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
30224 arg5
= (long) SWIG_AsLong(obj4
);
30225 if (PyErr_Occurred()) SWIG_fail
;
30228 if (!wxPyCheckForApp()) SWIG_fail
;
30229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30230 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
30232 wxPyEndAllowThreads(__tstate
);
30233 if (PyErr_Occurred()) SWIG_fail
;
30235 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
30242 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
30244 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30245 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
30247 return Py_BuildValue((char *)"");
30249 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30250 PyObject
*resultobj
;
30251 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30252 wxHelpProvider
*result
;
30253 PyObject
* obj0
= 0 ;
30254 char *kwnames
[] = {
30255 (char *) "helpProvider", NULL
30258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
30259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30263 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
30265 wxPyEndAllowThreads(__tstate
);
30266 if (PyErr_Occurred()) SWIG_fail
;
30268 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30275 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30276 PyObject
*resultobj
;
30277 wxHelpProvider
*result
;
30278 char *kwnames
[] = {
30282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
30284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30285 result
= (wxHelpProvider
*)wxHelpProvider::Get();
30287 wxPyEndAllowThreads(__tstate
);
30288 if (PyErr_Occurred()) SWIG_fail
;
30290 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30297 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30298 PyObject
*resultobj
;
30299 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30300 wxWindow
*arg2
= (wxWindow
*) 0 ;
30302 PyObject
* obj0
= 0 ;
30303 PyObject
* obj1
= 0 ;
30304 char *kwnames
[] = {
30305 (char *) "self",(char *) "window", NULL
30308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30311 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30315 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
30317 wxPyEndAllowThreads(__tstate
);
30318 if (PyErr_Occurred()) SWIG_fail
;
30322 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30324 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30333 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30334 PyObject
*resultobj
;
30335 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30336 wxWindow
*arg2
= (wxWindow
*) 0 ;
30338 PyObject
* obj0
= 0 ;
30339 PyObject
* obj1
= 0 ;
30340 char *kwnames
[] = {
30341 (char *) "self",(char *) "window", NULL
30344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30347 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30351 result
= (bool)(arg1
)->ShowHelp(arg2
);
30353 wxPyEndAllowThreads(__tstate
);
30354 if (PyErr_Occurred()) SWIG_fail
;
30357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30365 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30366 PyObject
*resultobj
;
30367 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30368 wxWindow
*arg2
= (wxWindow
*) 0 ;
30369 wxString
*arg3
= 0 ;
30370 bool temp3
= False
;
30371 PyObject
* obj0
= 0 ;
30372 PyObject
* obj1
= 0 ;
30373 PyObject
* obj2
= 0 ;
30374 char *kwnames
[] = {
30375 (char *) "self",(char *) "window",(char *) "text", NULL
30378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30381 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30384 arg3
= wxString_in_helper(obj2
);
30385 if (arg3
== NULL
) SWIG_fail
;
30389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30390 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30392 wxPyEndAllowThreads(__tstate
);
30393 if (PyErr_Occurred()) SWIG_fail
;
30395 Py_INCREF(Py_None
); resultobj
= Py_None
;
30410 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30411 PyObject
*resultobj
;
30412 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30414 wxString
*arg3
= 0 ;
30415 bool temp3
= False
;
30416 PyObject
* obj0
= 0 ;
30417 PyObject
* obj1
= 0 ;
30418 PyObject
* obj2
= 0 ;
30419 char *kwnames
[] = {
30420 (char *) "self",(char *) "id",(char *) "text", NULL
30423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30426 arg2
= (int) SWIG_AsInt(obj1
);
30427 if (PyErr_Occurred()) SWIG_fail
;
30429 arg3
= wxString_in_helper(obj2
);
30430 if (arg3
== NULL
) SWIG_fail
;
30434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30435 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30437 wxPyEndAllowThreads(__tstate
);
30438 if (PyErr_Occurred()) SWIG_fail
;
30440 Py_INCREF(Py_None
); resultobj
= Py_None
;
30455 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30456 PyObject
*resultobj
;
30457 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30458 wxWindow
*arg2
= (wxWindow
*) 0 ;
30459 PyObject
* obj0
= 0 ;
30460 PyObject
* obj1
= 0 ;
30461 char *kwnames
[] = {
30462 (char *) "self",(char *) "window", NULL
30465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30468 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30472 (arg1
)->RemoveHelp(arg2
);
30474 wxPyEndAllowThreads(__tstate
);
30475 if (PyErr_Occurred()) SWIG_fail
;
30477 Py_INCREF(Py_None
); resultobj
= Py_None
;
30484 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30485 PyObject
*resultobj
;
30486 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30487 PyObject
* obj0
= 0 ;
30488 char *kwnames
[] = {
30489 (char *) "self", NULL
30492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
30493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30497 wxHelpProvider_Destroy(arg1
);
30499 wxPyEndAllowThreads(__tstate
);
30500 if (PyErr_Occurred()) SWIG_fail
;
30502 Py_INCREF(Py_None
); resultobj
= Py_None
;
30509 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
30511 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30512 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
30514 return Py_BuildValue((char *)"");
30516 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30517 PyObject
*resultobj
;
30518 wxSimpleHelpProvider
*result
;
30519 char *kwnames
[] = {
30523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
30525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30526 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
30528 wxPyEndAllowThreads(__tstate
);
30529 if (PyErr_Occurred()) SWIG_fail
;
30531 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
30538 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
30540 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30541 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
30543 return Py_BuildValue((char *)"");
30545 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30546 PyObject
*resultobj
;
30547 wxBitmap
*arg1
= 0 ;
30548 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30549 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30550 wxGenericDragImage
*result
;
30551 PyObject
* obj0
= 0 ;
30552 PyObject
* obj1
= 0 ;
30553 char *kwnames
[] = {
30554 (char *) "image",(char *) "cursor", NULL
30557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
30558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
30559 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30561 if (arg1
== NULL
) {
30562 PyErr_SetString(PyExc_TypeError
,"null reference");
30566 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30567 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30569 if (arg2
== NULL
) {
30570 PyErr_SetString(PyExc_TypeError
,"null reference");
30575 if (!wxPyCheckForApp()) SWIG_fail
;
30576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30577 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
30579 wxPyEndAllowThreads(__tstate
);
30580 if (PyErr_Occurred()) SWIG_fail
;
30582 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30589 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30590 PyObject
*resultobj
;
30592 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30593 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30594 wxGenericDragImage
*result
;
30595 PyObject
* obj0
= 0 ;
30596 PyObject
* obj1
= 0 ;
30597 char *kwnames
[] = {
30598 (char *) "image",(char *) "cursor", NULL
30601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
30602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
30603 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30605 if (arg1
== NULL
) {
30606 PyErr_SetString(PyExc_TypeError
,"null reference");
30610 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30611 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30613 if (arg2
== NULL
) {
30614 PyErr_SetString(PyExc_TypeError
,"null reference");
30619 if (!wxPyCheckForApp()) SWIG_fail
;
30620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30621 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
30623 wxPyEndAllowThreads(__tstate
);
30624 if (PyErr_Occurred()) SWIG_fail
;
30626 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30633 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30634 PyObject
*resultobj
;
30635 wxString
*arg1
= 0 ;
30636 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30637 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30638 wxGenericDragImage
*result
;
30639 bool temp1
= False
;
30640 PyObject
* obj0
= 0 ;
30641 PyObject
* obj1
= 0 ;
30642 char *kwnames
[] = {
30643 (char *) "str",(char *) "cursor", NULL
30646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
30648 arg1
= wxString_in_helper(obj0
);
30649 if (arg1
== NULL
) SWIG_fail
;
30653 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30654 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30656 if (arg2
== NULL
) {
30657 PyErr_SetString(PyExc_TypeError
,"null reference");
30662 if (!wxPyCheckForApp()) SWIG_fail
;
30663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30664 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
30666 wxPyEndAllowThreads(__tstate
);
30667 if (PyErr_Occurred()) SWIG_fail
;
30669 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30684 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30685 PyObject
*resultobj
;
30686 wxPyTreeCtrl
*arg1
= 0 ;
30687 wxTreeItemId
*arg2
= 0 ;
30688 wxGenericDragImage
*result
;
30689 PyObject
* obj0
= 0 ;
30690 PyObject
* obj1
= 0 ;
30691 char *kwnames
[] = {
30692 (char *) "treeCtrl",(char *) "id", NULL
30695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
30697 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30699 if (arg1
== NULL
) {
30700 PyErr_SetString(PyExc_TypeError
,"null reference");
30703 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
30704 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30706 if (arg2
== NULL
) {
30707 PyErr_SetString(PyExc_TypeError
,"null reference");
30711 if (!wxPyCheckForApp()) SWIG_fail
;
30712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30713 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
30715 wxPyEndAllowThreads(__tstate
);
30716 if (PyErr_Occurred()) SWIG_fail
;
30718 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30725 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30726 PyObject
*resultobj
;
30727 wxPyListCtrl
*arg1
= 0 ;
30729 wxGenericDragImage
*result
;
30730 PyObject
* obj0
= 0 ;
30731 PyObject
* obj1
= 0 ;
30732 char *kwnames
[] = {
30733 (char *) "listCtrl",(char *) "id", NULL
30736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
30738 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30740 if (arg1
== NULL
) {
30741 PyErr_SetString(PyExc_TypeError
,"null reference");
30744 arg2
= (long) SWIG_AsLong(obj1
);
30745 if (PyErr_Occurred()) SWIG_fail
;
30747 if (!wxPyCheckForApp()) SWIG_fail
;
30748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30749 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
30751 wxPyEndAllowThreads(__tstate
);
30752 if (PyErr_Occurred()) SWIG_fail
;
30754 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30761 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30762 PyObject
*resultobj
;
30763 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30764 PyObject
* obj0
= 0 ;
30765 char *kwnames
[] = {
30766 (char *) "self", NULL
30769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
30770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30776 wxPyEndAllowThreads(__tstate
);
30777 if (PyErr_Occurred()) SWIG_fail
;
30779 Py_INCREF(Py_None
); resultobj
= Py_None
;
30786 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30787 PyObject
*resultobj
;
30788 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30789 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
30790 PyObject
* obj0
= 0 ;
30791 PyObject
* obj1
= 0 ;
30792 char *kwnames
[] = {
30793 (char *) "self",(char *) "bitmap", NULL
30796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
30797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30799 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
30800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30803 (arg1
)->SetBackingBitmap(arg2
);
30805 wxPyEndAllowThreads(__tstate
);
30806 if (PyErr_Occurred()) SWIG_fail
;
30808 Py_INCREF(Py_None
); resultobj
= Py_None
;
30815 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30816 PyObject
*resultobj
;
30817 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30818 wxPoint
*arg2
= 0 ;
30819 wxWindow
*arg3
= (wxWindow
*) 0 ;
30820 bool arg4
= (bool) False
;
30821 wxRect
*arg5
= (wxRect
*) NULL
;
30824 PyObject
* obj0
= 0 ;
30825 PyObject
* obj1
= 0 ;
30826 PyObject
* obj2
= 0 ;
30827 PyObject
* obj3
= 0 ;
30828 PyObject
* obj4
= 0 ;
30829 char *kwnames
[] = {
30830 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
30833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30838 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30840 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
30841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30843 arg4
= (bool) SWIG_AsBool(obj3
);
30844 if (PyErr_Occurred()) SWIG_fail
;
30847 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
30848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30852 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
30854 wxPyEndAllowThreads(__tstate
);
30855 if (PyErr_Occurred()) SWIG_fail
;
30858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30866 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30867 PyObject
*resultobj
;
30868 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30869 wxPoint
*arg2
= 0 ;
30870 wxWindow
*arg3
= (wxWindow
*) 0 ;
30871 wxWindow
*arg4
= (wxWindow
*) 0 ;
30874 PyObject
* obj0
= 0 ;
30875 PyObject
* obj1
= 0 ;
30876 PyObject
* obj2
= 0 ;
30877 PyObject
* obj3
= 0 ;
30878 char *kwnames
[] = {
30879 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
30882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30887 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30889 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
30890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30891 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
30892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30895 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
30897 wxPyEndAllowThreads(__tstate
);
30898 if (PyErr_Occurred()) SWIG_fail
;
30901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30909 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30910 PyObject
*resultobj
;
30911 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30913 PyObject
* obj0
= 0 ;
30914 char *kwnames
[] = {
30915 (char *) "self", NULL
30918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
30919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30923 result
= (bool)(arg1
)->EndDrag();
30925 wxPyEndAllowThreads(__tstate
);
30926 if (PyErr_Occurred()) SWIG_fail
;
30929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30937 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30938 PyObject
*resultobj
;
30939 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30940 wxPoint
*arg2
= 0 ;
30943 PyObject
* obj0
= 0 ;
30944 PyObject
* obj1
= 0 ;
30945 char *kwnames
[] = {
30946 (char *) "self",(char *) "pt", NULL
30949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
30950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30954 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30958 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
30960 wxPyEndAllowThreads(__tstate
);
30961 if (PyErr_Occurred()) SWIG_fail
;
30964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30972 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30973 PyObject
*resultobj
;
30974 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30976 PyObject
* obj0
= 0 ;
30977 char *kwnames
[] = {
30978 (char *) "self", NULL
30981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
30982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30986 result
= (bool)(arg1
)->Show();
30988 wxPyEndAllowThreads(__tstate
);
30989 if (PyErr_Occurred()) SWIG_fail
;
30992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31000 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31001 PyObject
*resultobj
;
31002 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31004 PyObject
* obj0
= 0 ;
31005 char *kwnames
[] = {
31006 (char *) "self", NULL
31009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
31010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31014 result
= (bool)(arg1
)->Hide();
31016 wxPyEndAllowThreads(__tstate
);
31017 if (PyErr_Occurred()) SWIG_fail
;
31020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31028 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31029 PyObject
*resultobj
;
31030 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31031 wxPoint
*arg2
= 0 ;
31034 PyObject
* obj0
= 0 ;
31035 PyObject
* obj1
= 0 ;
31036 char *kwnames
[] = {
31037 (char *) "self",(char *) "pos", NULL
31040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
31041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31045 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31049 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
31051 wxPyEndAllowThreads(__tstate
);
31052 if (PyErr_Occurred()) SWIG_fail
;
31055 wxRect
* resultptr
;
31056 resultptr
= new wxRect((wxRect
&) result
);
31057 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
31065 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31066 PyObject
*resultobj
;
31067 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31069 wxPoint
*arg3
= 0 ;
31072 PyObject
* obj0
= 0 ;
31073 PyObject
* obj1
= 0 ;
31074 PyObject
* obj2
= 0 ;
31075 char *kwnames
[] = {
31076 (char *) "self",(char *) "dc",(char *) "pos", NULL
31079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31082 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31083 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31085 if (arg2
== NULL
) {
31086 PyErr_SetString(PyExc_TypeError
,"null reference");
31091 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31095 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
31097 wxPyEndAllowThreads(__tstate
);
31098 if (PyErr_Occurred()) SWIG_fail
;
31101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31109 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31110 PyObject
*resultobj
;
31111 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31113 wxMemoryDC
*arg3
= 0 ;
31119 PyObject
* obj0
= 0 ;
31120 PyObject
* obj1
= 0 ;
31121 PyObject
* obj2
= 0 ;
31122 PyObject
* obj3
= 0 ;
31123 PyObject
* obj4
= 0 ;
31124 char *kwnames
[] = {
31125 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
31128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31131 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31132 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31134 if (arg2
== NULL
) {
31135 PyErr_SetString(PyExc_TypeError
,"null reference");
31138 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
31139 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31141 if (arg3
== NULL
) {
31142 PyErr_SetString(PyExc_TypeError
,"null reference");
31147 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31151 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
31154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31155 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
31157 wxPyEndAllowThreads(__tstate
);
31158 if (PyErr_Occurred()) SWIG_fail
;
31161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31169 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31170 PyObject
*resultobj
;
31171 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31172 wxPoint
*arg2
= 0 ;
31173 wxPoint
*arg3
= 0 ;
31179 PyObject
* obj0
= 0 ;
31180 PyObject
* obj1
= 0 ;
31181 PyObject
* obj2
= 0 ;
31182 PyObject
* obj3
= 0 ;
31183 PyObject
* obj4
= 0 ;
31184 char *kwnames
[] = {
31185 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
31188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31193 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31197 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31199 arg4
= (bool) SWIG_AsBool(obj3
);
31200 if (PyErr_Occurred()) SWIG_fail
;
31201 arg5
= (bool) SWIG_AsBool(obj4
);
31202 if (PyErr_Occurred()) SWIG_fail
;
31204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31205 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
31207 wxPyEndAllowThreads(__tstate
);
31208 if (PyErr_Occurred()) SWIG_fail
;
31211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31219 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
31221 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31222 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
31224 return Py_BuildValue((char *)"");
31226 static PyMethodDef SwigMethods
[] = {
31227 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
31228 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
31229 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
31230 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
31231 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
31232 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31233 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
31234 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
31235 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
31236 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31237 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
31238 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
31239 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
31240 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
31241 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
31242 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
31243 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
31244 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
31245 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31246 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
31247 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
31248 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
31249 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
31250 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
31251 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31252 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31253 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
31254 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31255 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
31256 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
31257 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
31258 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
31259 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31260 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
31261 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
31262 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
31263 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
31264 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31265 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31266 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31267 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31268 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
31269 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
31270 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
31271 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31272 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31273 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31274 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
31275 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
31276 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
31277 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31278 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31279 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
31280 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
31281 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31282 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
31283 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31284 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31285 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
31286 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
31287 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
31288 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31289 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
31290 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
31291 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
31292 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
31293 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31294 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31295 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31296 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31297 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31298 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
31299 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
31300 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
31301 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
31302 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31303 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
31304 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
31305 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
31306 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31307 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31308 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
31309 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
31310 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
31311 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
31312 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31313 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
31314 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31315 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
31316 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
31317 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
31318 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
31319 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31320 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
31321 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31322 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31323 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
31324 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31325 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31326 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
31327 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31328 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
31329 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
31330 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
31331 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31332 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
31333 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
31334 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
31335 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31336 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31337 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
31338 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
31339 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
31340 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31341 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
31342 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
31343 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
31344 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31345 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31346 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
31347 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31348 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31349 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31350 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31351 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
31352 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
31353 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
31354 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31355 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
31356 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
31357 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
31358 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31359 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
31360 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
31361 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
31362 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
31363 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
31364 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31365 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31366 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31367 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31368 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
31369 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31370 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31371 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
31372 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31373 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31374 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
31375 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31376 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
31377 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31378 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31379 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
31380 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31381 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31382 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31383 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31384 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
31385 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31386 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
},
31387 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31388 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
31389 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
31390 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
31391 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
31392 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31393 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31394 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31395 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31396 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31397 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31398 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
31399 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
31400 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
31401 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
31402 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
31403 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
31404 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
31405 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31406 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31407 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
31408 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
31409 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
31410 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
31411 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
31412 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
31413 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
31414 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
31415 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
31416 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
31417 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
31418 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31419 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31420 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
31421 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
31422 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
31423 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
31424 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
31425 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31426 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
},
31427 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
31428 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
31429 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
31430 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
31431 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
31432 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
31433 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
31434 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
31435 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
31436 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
31437 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31438 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
31439 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31440 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
31441 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31442 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
31443 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
31444 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
31445 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
31446 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31447 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
31448 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
31449 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
31450 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
31451 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
31452 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
31453 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
31454 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
31455 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
31456 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
31457 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
31458 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31459 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31460 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31461 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
31462 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
31463 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31464 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
31465 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
31466 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
31467 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31468 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31469 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31470 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31471 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31472 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
31473 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
31474 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31475 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31476 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31477 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
31478 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31479 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31480 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31481 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31482 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31483 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
31484 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31485 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31486 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31487 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31488 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31489 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
31490 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
31491 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31492 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31493 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
},
31494 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
31495 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
31496 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31497 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31498 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31499 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31500 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31501 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
31502 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
31503 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
31504 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31505 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
31506 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
31507 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
31508 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
31509 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
31510 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31511 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
31512 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
31513 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
31514 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31515 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31516 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31517 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31518 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
31519 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
31520 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
31521 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
31522 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31523 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31524 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31525 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31526 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31527 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
31528 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
31529 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
31530 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31531 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
31532 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31533 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
31534 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
31535 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
31536 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
31537 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
31538 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
31539 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
31540 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
31541 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
31542 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31543 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31544 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
31545 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
31546 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
31547 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31548 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31549 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31550 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31551 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31552 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
31553 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
31554 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
31555 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31556 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
31557 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
31558 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31559 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31560 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31561 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
31562 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
31563 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31564 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
31565 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
31566 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
31567 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
31568 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
31569 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
31570 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31571 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
31572 { (char *)"BookCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31573 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
31574 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
31575 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31576 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31577 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
31578 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
31579 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
31580 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
31581 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
31582 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
31583 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
31584 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
31585 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
31586 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31587 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
31588 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31589 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
31590 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
31591 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
31592 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
31593 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
31594 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
31595 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31596 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
31597 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
31598 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
31599 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
31600 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
31601 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
31602 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
31603 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
31604 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
31605 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
31606 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
31607 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
31608 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
31609 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31610 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
31611 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31612 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
31613 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
31614 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31615 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31616 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
31617 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
31618 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
31619 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
31620 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31621 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31622 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31623 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31624 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31625 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31626 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
31627 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
31628 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
31629 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31630 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31631 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31632 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31633 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31634 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
31635 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
31636 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
31637 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
31638 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
31639 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
31640 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
31641 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
31642 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
31643 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
31644 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
31645 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
31646 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31647 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31648 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
31649 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
31650 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
31651 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
31652 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
31653 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
31654 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
31655 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
31656 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
31657 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
31658 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
31659 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
31660 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
31661 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31662 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31663 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31664 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31665 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
31666 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31667 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
31668 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
31669 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
31670 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31671 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
31672 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
31673 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
31674 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
31675 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
31676 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
31677 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
31678 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
31679 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
31680 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
31681 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
31682 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31683 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
31684 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31685 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31686 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
31687 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
31688 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31689 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
31690 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
31691 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31692 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31693 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31694 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31695 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31696 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
31697 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31698 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31699 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31700 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31701 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
31702 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
31703 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
31704 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
31705 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31706 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
31707 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
31708 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31709 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
31710 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
31711 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
31712 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
31713 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
31714 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
31715 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
31716 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31717 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31718 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31719 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
31720 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31721 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31722 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
31723 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
31724 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
31725 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31726 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
31727 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
31728 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31729 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31730 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31731 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31732 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31733 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
31734 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
31735 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
31736 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
31737 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
31738 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
31739 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
31740 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
31741 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
31742 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
31743 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
31744 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
31745 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
31746 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
31747 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
31748 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
31749 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
31750 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
31751 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
31752 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
31753 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
31754 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
31755 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
31756 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
31757 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
31758 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
31759 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
31760 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
31761 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
31762 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
31763 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
31764 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
31765 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
31766 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
31767 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
31768 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31769 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31770 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31771 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
31772 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
31773 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31774 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
31775 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31776 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
31777 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
31778 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
31779 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
31780 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
31781 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31782 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31783 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31784 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31785 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31786 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31787 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31788 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31789 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
31790 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
31791 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
31792 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
31793 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31794 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
31795 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31796 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
31797 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
31798 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31799 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31800 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31801 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31802 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31803 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
31804 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
31805 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
31806 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31807 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
31808 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31809 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31810 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31811 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31812 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31813 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
31814 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
31815 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
31816 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
31817 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31818 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31819 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31820 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
},
31821 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
31822 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
31823 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
31824 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
31825 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
31826 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
31827 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
31828 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
31829 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
31830 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
31831 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31832 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
31833 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
31834 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
31835 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31836 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
31837 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31838 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
31839 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31840 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
31841 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
31842 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31843 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
31844 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31845 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31846 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31847 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31848 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
31849 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
31850 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31851 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
31852 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
31853 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
31854 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
31855 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
31856 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
31857 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
31858 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
31859 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
31860 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31861 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
31862 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
31863 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
31864 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
31865 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
31866 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
31867 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
31868 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
31869 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
31870 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
31871 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
31872 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
31873 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31874 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
31875 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31876 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
31877 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31878 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
31879 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
31880 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31881 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
31882 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
31883 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
31884 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31885 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31886 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
31887 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
31888 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
31889 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31890 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31891 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
31892 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
31893 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
31894 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
31895 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31896 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31897 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31898 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31899 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
31900 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
31901 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
31902 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31903 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31904 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31905 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31906 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31907 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31908 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31909 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31910 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31911 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31912 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31913 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
31914 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31915 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31916 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31917 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31918 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31919 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31920 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
31921 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
31922 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
31923 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31924 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31925 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31926 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
31927 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
31928 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
31929 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31930 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
31931 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
31932 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
31933 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31934 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
31935 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
31936 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
31937 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
31938 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
31939 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
31940 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
31941 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
31942 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
31943 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
31944 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
31945 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
31946 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
31947 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
31948 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
31949 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
31950 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
31951 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
31952 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
31953 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
31954 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
31955 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
31956 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
31957 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
},
31958 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
31959 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
31960 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
},
31961 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31962 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
31963 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
31964 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
31965 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
31966 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31967 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
31968 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31969 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
31970 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31971 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31972 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31973 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
31974 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
31975 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
31976 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
31977 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
31978 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
31979 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
31980 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
31981 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
31982 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
31983 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
31984 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
31985 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
31986 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31987 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31988 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
31989 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
31990 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
31991 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
31992 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31993 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31994 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31995 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
31996 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
31997 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
31998 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
},
31999 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
32000 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
32001 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
32002 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
32003 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
32004 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
32005 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
32006 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
32007 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
32008 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
32009 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
32010 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
32011 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
32012 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
32013 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
32014 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
32015 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
32016 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
32017 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
32018 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
32019 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
32020 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
32021 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
32022 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
32023 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
32024 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
32025 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
32026 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
32027 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
32028 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
32029 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
32030 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
32031 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
32032 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
32033 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
32034 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
32035 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
32036 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
32037 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
32038 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
32039 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
32040 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
32041 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
32042 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
32043 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
32044 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
},
32045 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
32046 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
32047 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
32048 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
32049 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
32050 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
32051 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
32052 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
32053 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
32054 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
32055 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
32056 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
32057 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
32058 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
32059 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
32060 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
32061 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
32062 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
32063 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
32064 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
32065 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
32066 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
32071 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32073 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
32074 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32076 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
32077 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32079 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
32080 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
32082 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
32083 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32085 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
32086 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32088 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
32089 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
32091 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
32092 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32094 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
32095 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
32097 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
32098 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
32100 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
32101 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
32103 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32104 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32106 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32107 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32109 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32110 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32112 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32113 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32115 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32116 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32118 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
32119 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32121 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32122 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32124 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32125 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32127 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32128 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32130 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
32131 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32133 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
32134 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32136 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32137 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32139 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32140 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32142 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
32143 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
32145 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
32146 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32148 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
32149 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32151 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
32152 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
32154 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32155 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32157 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32158 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32160 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32161 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32163 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32164 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32166 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32167 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32169 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32170 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32172 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32173 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32175 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32176 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32178 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32179 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32181 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32182 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32184 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32185 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32187 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32188 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32190 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32191 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32193 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32194 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32196 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32197 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32199 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32200 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32202 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32203 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32205 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32206 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32208 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32209 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32211 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32212 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32214 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32215 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32217 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32218 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32220 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32221 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32223 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32224 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32226 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32227 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32229 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
32230 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32232 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
32233 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
32235 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
32236 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32238 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
32239 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32241 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
32242 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
32244 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
32245 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32247 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
32248 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32250 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
32251 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
32253 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
32254 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32256 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
32257 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32259 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
32260 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32262 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
32263 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
32265 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
32266 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
32268 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
32269 return (void *)((wxControl
*) ((wxComboBox
*) x
));
32271 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
32272 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
32274 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
32275 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
32277 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
32278 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
32280 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
32281 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
32283 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
32284 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32286 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
32287 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
32289 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
32290 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
32292 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
32293 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
32295 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
32296 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
32298 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
32299 return (void *)((wxControl
*) ((wxGauge
*) x
));
32301 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
32302 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
32304 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
32305 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
32307 static void *_p_wxButtonTo_p_wxControl(void *x
) {
32308 return (void *)((wxControl
*) ((wxButton
*) x
));
32310 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
32311 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
32313 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
32314 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32316 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
32317 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
32319 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
32320 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
32322 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
32323 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
32325 static void *_p_wxListbookTo_p_wxControl(void *x
) {
32326 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
32328 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
32329 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
32331 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
32332 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
32334 static void *_p_wxListViewTo_p_wxControl(void *x
) {
32335 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
32337 static void *_p_wxSliderTo_p_wxControl(void *x
) {
32338 return (void *)((wxControl
*) ((wxSlider
*) x
));
32340 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
32341 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
32343 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
32344 return (void *)((wxControl
*) ((wxPyControl
*) x
));
32346 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
32347 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
32349 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
32350 return (void *)((wxControl
*) ((wxStaticText
*) x
));
32352 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
32353 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
32355 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
32356 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32358 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
32359 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32361 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
32362 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32364 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
32365 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
32367 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
32368 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32370 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
32371 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32373 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
32374 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32376 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
32377 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
32379 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32380 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32382 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32383 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32385 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32386 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32388 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
32389 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32391 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32392 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32394 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
32395 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
32397 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
32398 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
32400 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32401 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32403 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32404 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32406 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
32407 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
32409 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
32410 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32412 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
32413 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
32415 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
32416 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32418 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
32419 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
32421 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32422 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32424 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
32425 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32427 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
32428 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
32430 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32431 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32433 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
32434 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
32436 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
32437 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
32439 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
32440 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32442 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
32443 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32445 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
32446 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32448 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
32449 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
32451 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
32452 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32454 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
32455 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32457 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
32458 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32460 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
32461 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32463 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
32464 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
32466 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
32467 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32469 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
32470 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
32472 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
32473 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
32475 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
32476 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
32478 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
32479 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
32481 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
32482 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
32484 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
32485 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
32487 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
32488 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32490 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
32491 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32493 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
32494 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
32496 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
32497 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
32499 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
32500 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
32502 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
32503 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
32505 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
32506 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
32508 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
32509 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32511 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
32512 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32514 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
32515 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
32517 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32518 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32520 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32521 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32523 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32524 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32526 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32527 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32529 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32530 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32532 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
32533 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32535 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
32536 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32538 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32539 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32541 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32542 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32544 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32545 return (void *)((wxObject
*) ((wxSizer
*) x
));
32547 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32548 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32550 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
32551 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32553 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
32554 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32556 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32557 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32559 static void *_p_wxEventTo_p_wxObject(void *x
) {
32560 return (void *)((wxObject
*) ((wxEvent
*) x
));
32562 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32563 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32565 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32566 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32568 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32569 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32571 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
32572 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32574 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
32575 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32577 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
32578 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32580 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32581 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32583 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32584 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32586 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32587 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32589 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32590 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32592 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32593 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32595 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32596 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32598 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
32599 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
32601 static void *_p_wxControlTo_p_wxObject(void *x
) {
32602 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32604 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
32605 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
32607 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
32608 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
32610 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
32611 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
32613 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
32614 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
32616 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
32617 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
32619 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32620 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32622 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
32623 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32625 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32626 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32628 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32629 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32631 static void *_p_wxListViewTo_p_wxObject(void *x
) {
32632 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32634 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
32635 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
32637 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
32638 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32640 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32641 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32643 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32644 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32646 static void *_p_wxListbookTo_p_wxObject(void *x
) {
32647 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32649 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32650 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32652 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
32653 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
32655 static void *_p_wxSliderTo_p_wxObject(void *x
) {
32656 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
32658 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32659 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32661 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32662 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32664 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32665 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32667 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32668 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32670 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32671 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32673 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32674 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32676 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32677 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32679 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32680 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32682 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32683 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32685 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
32686 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
32688 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
32689 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
32691 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32692 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32694 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32695 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32697 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32698 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32700 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32701 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32703 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32704 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32706 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32707 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32709 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32710 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32712 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32713 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32715 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32716 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32718 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32719 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32721 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32722 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32724 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32725 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32727 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32728 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32730 static void *_p_wxListEventTo_p_wxObject(void *x
) {
32731 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
32733 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
32734 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32736 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
32737 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32739 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
32740 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
32742 static void *_p_wxButtonTo_p_wxObject(void *x
) {
32743 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
32745 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
32746 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32748 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
32749 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
32751 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
32752 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32754 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32755 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32757 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
32758 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
32760 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
32761 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
32763 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
32764 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
32766 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
32767 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
32769 static void *_p_wxListItemTo_p_wxObject(void *x
) {
32770 return (void *)((wxObject
*) ((wxListItem
*) x
));
32772 static void *_p_wxImageTo_p_wxObject(void *x
) {
32773 return (void *)((wxObject
*) ((wxImage
*) x
));
32775 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
32776 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
32778 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32779 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32781 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
32782 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32784 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
32785 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
32787 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
32788 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
32790 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
32791 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32793 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
32794 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32796 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32797 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32799 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32800 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32802 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32803 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32805 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32806 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32808 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32809 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32811 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32812 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32814 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32815 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32817 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32818 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32820 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32821 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32823 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32824 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32826 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32827 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32829 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32830 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32832 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32833 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32835 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
32836 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32838 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32839 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32841 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32842 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32844 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
32845 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
32847 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32848 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32850 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32851 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32853 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32854 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32856 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32857 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32859 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
32860 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
32862 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
32863 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32865 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32866 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32868 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32869 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32871 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
32872 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
32874 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
32875 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
32877 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32878 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32880 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
32881 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32883 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
32884 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
32886 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
32887 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
32889 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
32890 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
32892 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32893 return (void *)((wxWindow
*) ((wxControl
*) x
));
32895 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
32896 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
32898 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
32899 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32901 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
32902 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
32904 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
32905 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
32907 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
32908 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
32910 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
32911 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
32913 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32914 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32916 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
32917 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
32919 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
32920 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
32922 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
32923 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32925 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
32926 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
32928 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
32929 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
32931 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
32932 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
32934 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
32935 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32937 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
32938 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32940 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
32941 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32943 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
32944 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32946 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
32947 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32949 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
32950 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
32952 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
32953 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
32955 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
32956 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
32958 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
32959 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
32961 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
32962 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
32964 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
32965 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
32967 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
32968 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
32970 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
32971 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32973 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
32974 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32976 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
32977 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
32979 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
32980 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32982 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
32983 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32985 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
32986 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32988 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
32989 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
32991 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
32992 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32994 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
32995 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32997 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
32998 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33000 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
33001 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
33003 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
33004 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
33006 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
33007 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
33009 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
33010 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33012 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
33013 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
33015 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
33016 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
33018 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
33019 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
33021 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
33022 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33024 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
33025 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33027 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
33028 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33030 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
33031 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
33033 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
33034 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
33036 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
33037 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
33039 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
33040 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
33042 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}};
33043 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}};
33044 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}};
33045 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}};
33046 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}};
33047 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}};
33048 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}};
33049 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}};
33050 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}};
33051 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}};
33052 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}};
33053 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}};
33054 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}};
33055 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}};
33056 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}};
33057 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}};
33058 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}};
33059 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}};
33060 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}};
33061 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}};
33062 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}};
33063 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}};
33064 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}};
33065 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}};
33066 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}};
33067 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}};
33068 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}};
33069 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}};
33070 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}};
33071 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}};
33072 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}};
33073 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}};
33074 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}};
33075 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}};
33076 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}};
33077 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}};
33078 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}};
33079 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}};
33080 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}};
33081 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}};
33082 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}};
33083 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}};
33084 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}};
33085 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}};
33086 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}};
33087 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}};
33088 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}};
33089 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}};
33090 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}};
33091 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}};
33092 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}};
33093 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}};
33094 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}};
33095 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}};
33096 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}};
33097 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}};
33098 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}};
33099 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}};
33100 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}};
33101 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}};
33102 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}};
33103 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}};
33104 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}};
33105 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}};
33106 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}};
33107 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}};
33108 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}};
33109 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}};
33110 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}};
33111 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}};
33112 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}};
33113 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}};
33114 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}};
33115 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}};
33116 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}};
33117 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}};
33118 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}};
33119 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}};
33120 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}};
33121 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}};
33122 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}};
33123 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}};
33124 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}};
33125 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}};
33126 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}};
33128 static swig_type_info
*swig_types_initial
[] = {
33129 _swigt__p_wxTextUrlEvent
,
33130 _swigt__p_wxBookCtrlEvent
,
33132 _swigt__p_wxCheckBox
,
33133 _swigt__p_wxPyTreeCtrl
,
33135 _swigt__p_wxGenericDirCtrl
,
33137 _swigt__p_wxPyTreeItemData
,
33138 _swigt__p_wxItemContainer
,
33139 _swigt__p_wxPyListCtrl
,
33140 _swigt__p_wxDirFilterListCtrl
,
33141 _swigt__p_wxStaticLine
,
33142 _swigt__p_wxControl
,
33143 _swigt__p_wxPyControl
,
33145 _swigt__p_wxToolBarBase
,
33147 _swigt__p_wxToggleButton
,
33148 _swigt__p_wxRadioButton
,
33149 _swigt__p_wxChoice
,
33150 _swigt__p_wxMemoryDC
,
33151 _swigt__p_wxListItemAttr
,
33156 _swigt__p_wxListView
,
33158 _swigt__p_wxVisualAttributes
,
33159 _swigt__p_wxTextCtrl
,
33160 _swigt__p_wxNotebook
,
33161 _swigt__p_wxNotifyEvent
,
33162 _swigt__p_wxArrayString
,
33163 _swigt__p_wxListbook
,
33164 _swigt__p_wxStaticBitmap
,
33165 _swigt__p_wxSlider
,
33166 _swigt__p_wxStaticBox
,
33167 _swigt__p_wxArrayInt
,
33168 _swigt__p_wxContextHelp
,
33170 _swigt__p_wxEvtHandler
,
33171 _swigt__p_wxListEvent
,
33172 _swigt__p_wxCheckListBox
,
33173 _swigt__p_wxListBox
,
33174 _swigt__p_wxBookCtrl
,
33175 _swigt__p_wxSpinButton
,
33176 _swigt__p_wxButton
,
33177 _swigt__p_wxBitmapButton
,
33179 _swigt__p_wxContextHelpButton
,
33180 _swigt__p_wxRadioBox
,
33181 _swigt__p_wxScrollBar
,
33183 _swigt__p_wxTreeItemId
,
33184 _swigt__p_wxComboBox
,
33185 _swigt__p_wxHelpEvent
,
33186 _swigt__p_wxListItem
,
33187 _swigt__p_wxNotebookSizer
,
33188 _swigt__p_wxSpinEvent
,
33189 _swigt__p_wxGenericDragImage
,
33190 _swigt__p_wxSpinCtrl
,
33191 _swigt__p_wxImageList
,
33192 _swigt__p_wxHelpProvider
,
33193 _swigt__p_wxTextAttr
,
33194 _swigt__p_wxSimpleHelpProvider
,
33196 _swigt__p_wxListbookEvent
,
33197 _swigt__p_wxNotebookEvent
,
33198 _swigt__p_wxObject
,
33199 _swigt__p_wxCursor
,
33200 _swigt__p_wxKeyEvent
,
33201 _swigt__p_wxWindow
,
33202 _swigt__p_wxString
,
33203 _swigt__p_wxBitmap
,
33204 _swigt__p_wxTreeEvent
,
33205 _swigt__p_wxMouseEvent
,
33206 _swigt__p_wxCommandEvent
,
33207 _swigt__p_wxStaticText
,
33208 _swigt__p_wxControlWithItems
,
33209 _swigt__p_wxToolBarToolBase
,
33210 _swigt__p_wxColour
,
33211 _swigt__p_wxToolBar
,
33212 _swigt__p_wxBookCtrlSizer
,
33213 _swigt__p_wxValidator
,
33218 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33220 static swig_const_info swig_const_table
[] = {
33230 SWIGEXPORT(void) SWIG_init(void) {
33231 static PyObject
*SWIG_globals
= 0;
33232 static int typeinit
= 0;
33235 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
33236 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33237 d
= PyModule_GetDict(m
);
33240 for (i
= 0; swig_types_initial
[i
]; i
++) {
33241 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
33245 SWIG_InstallConstants(d
,swig_const_table
);
33247 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
33248 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
33249 PyDict_SetItemString(d
,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT
));
33250 PyDict_SetItemString(d
,"BU_TOP", SWIG_FromInt((int)wxBU_TOP
));
33251 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT
));
33252 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM
));
33253 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT
));
33254 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW
));
33255 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
33256 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE
));
33257 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE
));
33258 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
33259 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED
));
33260 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED
));
33261 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED
));
33262 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
33263 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
33264 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
33265 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL
));
33266 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL
));
33267 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH
));
33268 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR
));
33269 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
33270 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
33271 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
33272 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
33273 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
33274 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL
));
33275 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL
));
33276 PyDict_SetItemString(d
,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY
));
33277 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE
));
33278 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB
));
33279 PyDict_SetItemString(d
,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT
));
33280 PyDict_SetItemString(d
,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER
));
33281 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT
));
33282 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE
));
33283 PyDict_SetItemString(d
,"TE_RICH", SWIG_FromInt((int)wxTE_RICH
));
33284 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER
));
33285 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD
));
33286 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL
));
33287 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL
));
33288 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP
));
33289 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP
));
33290 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP
));
33291 PyDict_SetItemString(d
,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2
));
33292 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT
));
33293 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT
));
33294 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE
));
33295 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER
));
33296 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT
));
33297 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
33298 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR
));
33299 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
33300 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE
));
33301 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE
));
33302 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT
));
33303 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC
));
33304 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE
));
33305 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT
));
33306 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT
));
33307 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT
));
33308 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT
));
33309 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS
));
33310 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN
));
33311 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE
));
33312 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT
));
33313 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW
));
33314 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND
));
33315 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
33316 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
33317 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
33318 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
33319 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
33320 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
33321 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
33322 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL
));
33323 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL
));
33324 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS
));
33325 PyDict_SetItemString(d
,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP
));
33326 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
33327 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
33328 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
33329 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
33330 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
33331 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
33332 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
33333 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH
));
33334 PyDict_SetItemString(d
,"NB_TOP", SWIG_FromInt((int)wxNB_TOP
));
33335 PyDict_SetItemString(d
,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT
));
33336 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT
));
33337 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM
));
33338 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE
));
33339 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE
));
33340 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON
));
33341 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL
));
33342 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM
));
33343 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
33344 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
33345 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT
));
33346 PyDict_SetItemString(d
,"LB_TOP", SWIG_FromInt((int)wxLB_TOP
));
33347 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM
));
33348 PyDict_SetItemString(d
,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT
));
33349 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT
));
33350 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK
));
33351 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
33352 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
33353 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON
));
33354 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR
));
33355 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL
));
33356 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL
));
33357 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL
));
33358 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS
));
33359 PyDict_SetItemString(d
,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT
));
33360 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE
));
33361 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS
));
33362 PyDict_SetItemString(d
,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT
));
33363 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER
));
33364 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN
));
33365 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT
));
33366 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT
));
33367 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
33368 PyDict_SetItemString(d
,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES
));
33369 PyDict_SetItemString(d
,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES
));
33370 PyDict_SetItemString(d
,"LC_ICON", SWIG_FromInt((int)wxLC_ICON
));
33371 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON
));
33372 PyDict_SetItemString(d
,"LC_LIST", SWIG_FromInt((int)wxLC_LIST
));
33373 PyDict_SetItemString(d
,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT
));
33374 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP
));
33375 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT
));
33376 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE
));
33377 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL
));
33378 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS
));
33379 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER
));
33380 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER
));
33381 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL
));
33382 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING
));
33383 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING
));
33384 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE
));
33385 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN
));
33386 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT
));
33387 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE
));
33388 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT
));
33389 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE
));
33390 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA
));
33391 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM
));
33392 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH
));
33393 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT
));
33394 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE
));
33395 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED
));
33396 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED
));
33397 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED
));
33398 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT
));
33399 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED
));
33400 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED
));
33401 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE
));
33402 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED
));
33403 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE
));
33404 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE
));
33405 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW
));
33406 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE
));
33407 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON
));
33408 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL
));
33409 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT
));
33410 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON
));
33411 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT
));
33412 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT
));
33413 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM
));
33414 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE
));
33415 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL
));
33416 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW
));
33417 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT
));
33418 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT
));
33419 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT
));
33420 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT
));
33421 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP
));
33422 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID
));
33423 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT
));
33424 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT
));
33425 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE
));
33426 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER
));
33427 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE
));
33428 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER
));
33429 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS
));
33430 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON
));
33431 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL
));
33432 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP
));
33433 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN
));
33434 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT
));
33435 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT
));
33436 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
33437 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
33438 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
33439 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
33440 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
33441 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
33442 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
33443 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
33444 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
33445 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
33446 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
33447 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
33448 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
33449 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
33450 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
33451 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
33452 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
33453 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
33454 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
33455 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
33456 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
33457 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
33459 // Map renamed classes back to their common name for OOR
33460 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
33462 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
33463 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS
));
33464 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS
));
33465 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES
));
33466 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT
));
33467 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE
));
33468 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE
));
33469 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED
));
33470 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
33471 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS
));
33472 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT
));
33473 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES
));
33474 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT
));
33475 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE
));
33476 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS
));
33477 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS
));
33478 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS
));
33479 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal
));
33480 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected
));
33481 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded
));
33482 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded
));
33483 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max
));
33484 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE
));
33485 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW
));
33486 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE
));
33487 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON
));
33488 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON
));
33489 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT
));
33490 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL
));
33491 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT
));
33492 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON
));
33493 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT
));
33494 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT
));
33495 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART
));
33496 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART
));
33497 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM
));
33498 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
33499 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
33500 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
33501 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
33502 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
33503 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
33504 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
33505 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
33506 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
33507 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
33508 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
33509 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
33510 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
33511 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
33512 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
33513 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
33514 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
33515 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
33516 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
33517 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
33519 // Map renamed classes back to their common name for OOR
33520 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
33521 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
33523 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
33524 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY
));
33525 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST
));
33526 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS
));
33527 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL
));
33528 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS
));
33529 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP
));
33530 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP
));
33531 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
33532 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
33534 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");