1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
210 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
211 #define SWIGTYPE_p_wxSizer swig_types[2]
212 #define SWIGTYPE_p_wxCheckBox swig_types[3]
213 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[4]
214 #define SWIGTYPE_p_wxEvent swig_types[5]
215 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[6]
216 #define SWIGTYPE_p_bool swig_types[7]
217 #define SWIGTYPE_p_wxPyTreeItemData swig_types[8]
218 #define SWIGTYPE_p_wxItemContainer swig_types[9]
219 #define SWIGTYPE_p_wxPyListCtrl swig_types[10]
220 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[11]
221 #define SWIGTYPE_p_wxStaticLine swig_types[12]
222 #define SWIGTYPE_p_wxControl swig_types[13]
223 #define SWIGTYPE_p_wxPyControl swig_types[14]
224 #define SWIGTYPE_p_wxGauge swig_types[15]
225 #define SWIGTYPE_p_wxToolBarBase swig_types[16]
226 #define SWIGTYPE_p_wxFont swig_types[17]
227 #define SWIGTYPE_p_wxToggleButton swig_types[18]
228 #define SWIGTYPE_p_wxRadioButton swig_types[19]
229 #define SWIGTYPE_p_wxChoice swig_types[20]
230 #define SWIGTYPE_p_wxMemoryDC swig_types[21]
231 #define SWIGTYPE_p_wxListItemAttr swig_types[22]
232 #define SWIGTYPE_p_void swig_types[23]
233 #define SWIGTYPE_p_int swig_types[24]
234 #define SWIGTYPE_p_wxSize swig_types[25]
235 #define SWIGTYPE_p_wxDC swig_types[26]
236 #define SWIGTYPE_p_wxListView swig_types[27]
237 #define SWIGTYPE_p_wxIcon swig_types[28]
238 #define SWIGTYPE_p_wxVisualAttributes swig_types[29]
239 #define SWIGTYPE_p_wxTextCtrl swig_types[30]
240 #define SWIGTYPE_p_wxNotebook swig_types[31]
241 #define SWIGTYPE_p_wxNotifyEvent swig_types[32]
242 #define SWIGTYPE_p_wxArrayString swig_types[33]
243 #define SWIGTYPE_p_wxListbook swig_types[34]
244 #define SWIGTYPE_p_wxStaticBitmap swig_types[35]
245 #define SWIGTYPE_p_wxSlider swig_types[36]
246 #define SWIGTYPE_p_wxStaticBox swig_types[37]
247 #define SWIGTYPE_p_wxArrayInt swig_types[38]
248 #define SWIGTYPE_p_wxContextHelp swig_types[39]
249 #define SWIGTYPE_p_long swig_types[40]
250 #define SWIGTYPE_p_wxEvtHandler swig_types[41]
251 #define SWIGTYPE_p_wxListEvent swig_types[42]
252 #define SWIGTYPE_p_wxCheckListBox swig_types[43]
253 #define SWIGTYPE_p_wxListBox swig_types[44]
254 #define SWIGTYPE_p_wxBookCtrl swig_types[45]
255 #define SWIGTYPE_p_wxSpinButton swig_types[46]
256 #define SWIGTYPE_p_wxButton swig_types[47]
257 #define SWIGTYPE_p_wxBitmapButton swig_types[48]
258 #define SWIGTYPE_p_wxRect swig_types[49]
259 #define SWIGTYPE_p_wxContextHelpButton swig_types[50]
260 #define SWIGTYPE_p_wxRadioBox swig_types[51]
261 #define SWIGTYPE_p_wxScrollBar swig_types[52]
262 #define SWIGTYPE_p_char swig_types[53]
263 #define SWIGTYPE_p_wxTreeItemId swig_types[54]
264 #define SWIGTYPE_p_wxComboBox swig_types[55]
265 #define SWIGTYPE_p_wxHelpEvent swig_types[56]
266 #define SWIGTYPE_p_wxListItem swig_types[57]
267 #define SWIGTYPE_p_wxNotebookSizer swig_types[58]
268 #define SWIGTYPE_p_wxSpinEvent swig_types[59]
269 #define SWIGTYPE_p_wxGenericDragImage swig_types[60]
270 #define SWIGTYPE_p_wxSpinCtrl swig_types[61]
271 #define SWIGTYPE_p_wxImageList swig_types[62]
272 #define SWIGTYPE_p_wxHelpProvider swig_types[63]
273 #define SWIGTYPE_p_wxTextAttr swig_types[64]
274 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[65]
275 #define SWIGTYPE_p_wxPoint swig_types[66]
276 #define SWIGTYPE_p_wxListbookEvent swig_types[67]
277 #define SWIGTYPE_p_wxNotebookEvent swig_types[68]
278 #define SWIGTYPE_p_wxObject swig_types[69]
279 #define SWIGTYPE_p_wxCursor swig_types[70]
280 #define SWIGTYPE_p_wxKeyEvent swig_types[71]
281 #define SWIGTYPE_p_wxWindow swig_types[72]
282 #define SWIGTYPE_p_wxString swig_types[73]
283 #define SWIGTYPE_p_wxBitmap swig_types[74]
284 #define SWIGTYPE_p_wxTreeEvent swig_types[75]
285 #define SWIGTYPE_p_wxMouseEvent swig_types[76]
286 #define SWIGTYPE_p_wxCommandEvent swig_types[77]
287 #define SWIGTYPE_p_wxStaticText swig_types[78]
288 #define SWIGTYPE_p_wxControlWithItems swig_types[79]
289 #define SWIGTYPE_p_wxToolBarToolBase swig_types[80]
290 #define SWIGTYPE_p_wxColour swig_types[81]
291 #define SWIGTYPE_p_wxToolBar swig_types[82]
292 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[83]
293 #define SWIGTYPE_p_wxValidator swig_types[84]
294 static swig_type_info
*swig_types
[86];
296 /* -------- TYPES TABLE (END) -------- */
299 /*-----------------------------------------------
300 @(target):= _controls_.so
301 ------------------------------------------------*/
302 #define SWIG_init init_controls_
304 #define SWIG_name "_controls_"
306 /* Auxiliar swig macros */
309 #define SWIGSTATICINLINE(a) static inline a
310 #define SWIGSTATIC(a) static a
311 #define swig_new_array(type, size) (new type[(size)])
312 #define swig_delete_array(cptr) delete[] cptr
313 #define swig_const_cast(type,a) const_cast<type>(a)
314 #define swig_static_cast(type,a) static_cast<type>(a)
315 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
317 #ifdef HAVE_NUMERIC_CAST
318 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
320 #define swig_numeric_cast(type,a) static_cast<type>(a)
325 #define SWIGSTATICINLINE(a) static a
326 #define SWIGSTATIC(a) static a
327 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
328 #define swig_delete_array(cptr) free((char*)cptr)
329 #define swig_const_cast(type,a) (type)(a)
330 #define swig_static_cast(type,a) (type)(a)
331 #define swig_reinterpret_cast(type,a) (type)(a)
332 #define swig_numeric_cast(type,a) (type)(a)
334 #endif /* __cplusplus */
337 #define SWIG_FromSignedChar PyInt_FromLong
338 #define SWIG_FromUnsignedChar PyInt_FromLong
339 #define SWIG_FromShort PyInt_FromLong
340 #define SWIG_FromUnsignedShort PyInt_FromLong
341 #define SWIG_FromInt PyInt_FromLong
342 #define SWIG_FromLong PyInt_FromLong
343 #define SWIG_FromFloat PyFloat_FromDouble
344 #define SWIG_FromDouble PyFloat_FromDouble
345 #define SWIG_FromFloat PyFloat_FromDouble
346 #define SWIG_FromDouble PyFloat_FromDouble
349 #include "wx/wxPython/wxPython.h"
350 #include "wx/wxPython/pyclasses.h"
352 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
353 static const wxString
wxPyEmptyString(wxEmptyString
);
354 static const wxString
wxPyControlNameStr(wxControlNameStr
);
356 const wxArrayString wxPyEmptyStringArray
;
358 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
363 SWIGSTATICINLINE(long)
364 SWIG_CheckLongInRange(long value
, const char* type
,
365 long min_value
, long max_value
)
367 if (!PyErr_Occurred()) {
368 if (value
< min_value
) {
370 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
371 value
, type
, min_value
);
373 PyErr_SetObject(PyExc_OverflowError
, err
);
375 } else if (value
> max_value
) {
377 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
378 value
, type
, max_value
);
379 PyErr_SetObject(PyExc_OverflowError
, err
);
387 SWIGSTATICINLINE(long)
388 SWIG_AsLong(PyObject
* obj
)
390 if (PyNumber_Check(obj
))
391 return PyInt_AsLong(obj
);
393 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
394 obj
->ob_type
->tp_name
);
395 PyErr_SetObject(PyExc_TypeError
, errmsg
);
402 #if INT_MAX != LONG_MAX
403 SWIGSTATICINLINE(int)
404 SWIG_AsInt(PyObject
*obj
)
406 return swig_numeric_cast(int,
407 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
408 "int", INT_MIN
, INT_MAX
));
411 #define SWIG_AsInt SWIG_AsLong
415 SWIGSTATICINLINE(int)
416 SWIG_CheckInt(PyObject
* obj
)
419 if (PyErr_Occurred()) {
428 SWIGSTATICINLINE(int)
429 SWIG_CheckLong(PyObject
* obj
)
432 if (PyErr_Occurred()) {
440 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
442 SWIGSTATICINLINE(bool)
443 SWIG_AsBool(PyObject
*obj
)
445 return PyObject_IsTrue(obj
) ? true : false;
449 SWIGSTATICINLINE(int)
450 SWIG_CheckBool(PyObject
* obj
)
453 if (PyErr_Occurred()) {
461 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
462 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
463 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
464 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
465 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
466 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
468 #include <wx/checklst.h>
471 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
472 void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
474 wxPyClientData
* data
= new wxPyClientData(clientData
);
475 self
->Insert(item
, pos
, data
);
477 self
->Insert(item
, pos
);
479 PyObject
*wxListBox_GetSelections(wxListBox
*self
){
481 self
->GetSelections(lst
);
482 PyObject
*tup
= PyTuple_New(lst
.GetCount());
483 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
484 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
488 void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
490 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
491 self
->GetItem(item
)->SetTextColour(c
);
494 void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
496 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
497 self
->GetItem(item
)->SetBackgroundColour(c
);
500 void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
502 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
503 self
->GetItem(item
)->SetFont(f
);
506 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
508 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
514 } else if (target
== Py_None
) {
518 if (!PyTuple_Check(target
)) {
520 target
= PyTuple_New(1);
521 PyTuple_SetItem(target
, 0, o2
);
524 PyTuple_SetItem(o3
, 0, o
);
527 target
= PySequence_Concat(o2
, o3
);
535 SWIGSTATICINLINE(unsigned long)
536 SWIG_AsUnsignedLong(PyObject
* obj
)
538 if (PyLong_Check(obj
)) {
539 return PyLong_AsUnsignedLong(obj
);
541 long i
= SWIG_AsLong(obj
);
542 if ( !PyErr_Occurred() && (i
< 0)) {
543 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
550 SWIGSTATICINLINE(int)
551 SWIG_CheckUnsignedLong(PyObject
* obj
)
553 SWIG_AsUnsignedLong(obj
);
554 if (PyErr_Occurred()) {
562 void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
563 self
->AppendText(text
);
565 wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
566 return self
->GetValue().Mid(from
, to
- from
);
568 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
569 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
570 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
571 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
572 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
573 int wxRadioBox_GetColumnCount(wxRadioBox
const *self
){ return -1; }
574 int wxRadioBox_GetRowCount(wxRadioBox
const *self
){ return -1; }
575 int wxRadioBox_GetNextItem(wxRadioBox
const *self
,int item
,wxDirection dir
,long style
){ return -1; }
577 #include <wx/slider.h>
580 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
581 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
584 // implement dummy items for platforms that don't have this class
586 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
588 class wxToggleButton
: public wxControl
591 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
592 const wxPoint
&, const wxSize
&, long,
593 const wxValidator
&, const wxString
&)
594 { wxPyRaiseNotImplemented(); }
597 { wxPyRaiseNotImplemented(); }
601 static const wxString
wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME
);
603 SWIGSTATICINLINE(PyObject
* )
604 SWIG_FromUnsignedLong(unsigned long value
)
606 return (value
> LONG_MAX
) ?
607 PyLong_FromUnsignedLong(value
)
608 : PyInt_FromLong(swig_numeric_cast(long,value
));
611 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
612 PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
613 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
615 Py_INCREF(udata
->m_obj
);
622 void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
623 self
->SetClientData(new wxPyUserData(clientData
));
625 wxToolBarToolBase
*wxToolBarBase_DoAddTool(wxToolBarBase
*self
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
,wxItemKind kind
,wxString
const &shortHelp
,wxString
const &longHelp
,PyObject
*clientData
){
626 wxPyUserData
* udata
= NULL
;
627 if (clientData
&& clientData
!= Py_None
)
628 udata
= new wxPyUserData(clientData
);
629 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
630 shortHelp
, longHelp
, udata
);
632 wxToolBarToolBase
*wxToolBarBase_DoInsertTool(wxToolBarBase
*self
,size_t pos
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
,wxItemKind kind
,wxString
const &shortHelp
,wxString
const &longHelp
,PyObject
*clientData
){
633 wxPyUserData
* udata
= NULL
;
634 if (clientData
&& clientData
!= Py_None
)
635 udata
= new wxPyUserData(clientData
);
636 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
637 shortHelp
, longHelp
, udata
);
639 PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
640 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
642 Py_INCREF(udata
->m_obj
);
649 void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
650 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
653 #include <wx/listctrl.h>
655 static const wxString
wxPyListCtrlNameStr(_T("wxListCtrl"));
656 void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
657 // Python aware sorting function for wxPyListCtrl
658 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
660 PyObject
* func
= (PyObject
*)funcPtr
;
661 bool blocked
= wxPyBeginBlockThreads();
663 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
664 PyObject
* result
= PyEval_CallObject(func
, args
);
667 retval
= PyInt_AsLong(result
);
671 wxPyEndBlockThreads(blocked
);
675 // C++ Version of a Python aware class
676 class wxPyListCtrl
: public wxListCtrl
{
677 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
679 wxPyListCtrl() : wxListCtrl() {}
680 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
684 const wxValidator
& validator
,
685 const wxString
& name
) :
686 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
688 bool Create(wxWindow
* parent
, wxWindowID id
,
692 const wxValidator
& validator
,
693 const wxString
& name
) {
694 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
697 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
698 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
699 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
704 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
706 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
707 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
708 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
710 wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
712 item
.SetMask( wxLIST_MASK_STATE
|
720 if (self
->GetColumn(col
, item
))
721 return new wxListItem(item
);
725 wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
){
726 wxListItem
* info
= new wxListItem
;
727 info
->m_itemId
= itemId
;
729 info
->m_mask
= 0xFFFF;
730 self
->GetItem(*info
);
733 wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
735 self
->GetItemPosition(item
, pos
);
738 wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
){
740 self
->GetItemRect(item
, rect
, code
);
743 bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
744 if (!PyCallable_Check(func
))
746 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
748 wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
752 return (wxWindow
*)self
->m_mainWin
;
756 #include <wx/treectrl.h>
757 #include "wx/wxPython/pytree.h"
759 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
760 bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : False
; }
761 bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : True
; }
762 void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
763 // C++ version of Python aware wxTreeCtrl
764 class wxPyTreeCtrl
: public wxTreeCtrl
{
765 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
767 wxPyTreeCtrl() : wxTreeCtrl() {}
768 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
772 const wxValidator
& validator
,
773 const wxString
& name
) :
774 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
776 bool Create(wxWindow
*parent
, wxWindowID id
,
780 const wxValidator
& validator
,
781 const wxString
& name
) {
782 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
786 int OnCompareItems(const wxTreeItemId
& item1
,
787 const wxTreeItemId
& item2
) {
790 bool blocked
= wxPyBeginBlockThreads();
791 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
792 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), False
);
793 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), False
);
794 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
798 wxPyEndBlockThreads(blocked
);
800 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
806 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
810 #if UINT_MAX < LONG_MAX
811 #define SWIG_FromUnsignedInt SWIG_FromLong
813 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
817 SWIGSTATICINLINE(unsigned long)
818 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
819 unsigned long max_value
)
821 if (!PyErr_Occurred()) {
822 if (value
> max_value
) {
824 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
825 value
, type
, max_value
);
826 PyErr_SetObject(PyExc_OverflowError
, err
);
834 #if UINT_MAX != ULONG_MAX
835 SWIGSTATICINLINE(unsigned int)
836 SWIG_AsUnsignedInt(PyObject
*obj
)
838 return swig_numeric_cast(unsigned int,
839 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
840 "unsigned int", UINT_MAX
));
843 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
847 SWIGSTATICINLINE(int)
848 SWIG_CheckUnsignedInt(PyObject
* obj
)
850 SWIG_AsUnsignedInt(obj
);
851 if (PyErr_Occurred()) {
859 wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
860 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
862 data
= new wxPyTreeItemData();
863 data
->SetId(item
); // set the id
864 self
->SetItemData(item
, data
);
868 PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
869 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
871 data
= new wxPyTreeItemData();
872 data
->SetId(item
); // set the id
873 self
->SetItemData(item
, data
);
875 return data
->GetData();
877 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
878 data
->SetId(item
); // set the id
879 self
->SetItemData(item
, data
);
881 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
882 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
884 data
= new wxPyTreeItemData(obj
);
885 data
->SetId(item
); // set the id
886 self
->SetItemData(item
, data
);
890 PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
891 bool blocked
= wxPyBeginBlockThreads();
892 PyObject
* rval
= PyList_New(0);
893 wxArrayTreeItemIds array
;
895 num
= self
->GetSelections(array
);
896 for (x
=0; x
< num
; x
++) {
897 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
898 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), True
);
899 PyList_Append(rval
, item
);
902 wxPyEndBlockThreads(blocked
);
905 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
907 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
908 bool blocked
= wxPyBeginBlockThreads();
909 PyObject
* tup
= PyTuple_New(2);
910 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
911 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
912 wxPyEndBlockThreads(blocked
);
915 PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
916 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
917 bool blocked
= wxPyBeginBlockThreads();
918 PyObject
* tup
= PyTuple_New(2);
919 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
920 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
921 wxPyEndBlockThreads(blocked
);
924 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
926 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
927 bool blocked
= wxPyBeginBlockThreads();
928 wxRect
* r
= new wxRect(rect
);
929 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), True
);
930 wxPyEndBlockThreads(blocked
);
936 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
937 // C++ version of Python aware wxControl
938 class wxPyControl
: public wxControl
940 DECLARE_DYNAMIC_CLASS(wxPyControl
)
942 wxPyControl() : wxControl() {}
943 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
944 const wxPoint
& pos
= wxDefaultPosition
,
945 const wxSize
& size
= wxDefaultSize
,
947 const wxValidator
& validator
=wxDefaultValidator
,
948 const wxString
& name
= wxPyControlNameStr
)
949 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
951 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
953 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
954 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
955 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
956 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
958 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
959 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
960 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
962 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
963 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
965 DEC_PYCALLBACK__(InitDialog
);
966 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
967 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
968 DEC_PYCALLBACK_BOOL_(Validate
);
970 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
971 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
972 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
974 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
975 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
977 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
978 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
979 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
984 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
986 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
987 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
988 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
989 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
991 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
992 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
993 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
995 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
996 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
998 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
999 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
1000 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
1001 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
1003 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
1004 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
1005 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
1007 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
1008 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
1010 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
1011 IMP_PYCALLBACK__COLOUR(wxPyControl
, wxControl
, ApplyParentThemeBackground
);
1012 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
1016 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
1018 #include <wx/generic/dragimgg.h>
1023 static int _wrap_ButtonNameStr_set(PyObject
*_val
) {
1024 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
1029 static PyObject
*_wrap_ButtonNameStr_get() {
1034 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1036 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1043 static PyObject
*_wrap_new_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1044 PyObject
*resultobj
;
1045 wxWindow
*arg1
= (wxWindow
*) 0 ;
1046 int arg2
= (int) -1 ;
1047 wxString
const &arg3_defvalue
= wxPyEmptyString
;
1048 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
1049 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1050 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1051 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1052 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1053 long arg6
= (long) 0 ;
1054 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1055 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1056 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1057 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1059 bool temp3
= False
;
1062 bool temp8
= False
;
1063 PyObject
* obj0
= 0 ;
1064 PyObject
* obj1
= 0 ;
1065 PyObject
* obj2
= 0 ;
1066 PyObject
* obj3
= 0 ;
1067 PyObject
* obj4
= 0 ;
1068 PyObject
* obj5
= 0 ;
1069 PyObject
* obj6
= 0 ;
1070 PyObject
* obj7
= 0 ;
1072 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1079 arg2
= (int) SWIG_AsInt(obj1
);
1080 if (PyErr_Occurred()) SWIG_fail
;
1084 arg3
= wxString_in_helper(obj2
);
1085 if (arg3
== NULL
) SWIG_fail
;
1092 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1098 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1102 arg6
= (long) SWIG_AsLong(obj5
);
1103 if (PyErr_Occurred()) SWIG_fail
;
1106 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1107 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1110 PyErr_SetString(PyExc_TypeError
,"null reference");
1116 arg8
= wxString_in_helper(obj7
);
1117 if (arg8
== NULL
) SWIG_fail
;
1122 if (!wxPyCheckForApp()) SWIG_fail
;
1123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1124 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1126 wxPyEndAllowThreads(__tstate
);
1127 if (PyErr_Occurred()) SWIG_fail
;
1130 resultobj
= wxPyMake_wxObject(result
);
1154 static PyObject
*_wrap_new_PreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1155 PyObject
*resultobj
;
1161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
1163 if (!wxPyCheckForApp()) SWIG_fail
;
1164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1165 result
= (wxButton
*)new wxButton();
1167 wxPyEndAllowThreads(__tstate
);
1168 if (PyErr_Occurred()) SWIG_fail
;
1171 resultobj
= wxPyMake_wxObject(result
);
1179 static PyObject
*_wrap_Button_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1180 PyObject
*resultobj
;
1181 wxButton
*arg1
= (wxButton
*) 0 ;
1182 wxWindow
*arg2
= (wxWindow
*) 0 ;
1183 int arg3
= (int) -1 ;
1184 wxString
const &arg4_defvalue
= wxPyEmptyString
;
1185 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
1186 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1187 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1188 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1189 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1190 long arg7
= (long) 0 ;
1191 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1192 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1193 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1194 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1196 bool temp4
= False
;
1199 bool temp9
= False
;
1200 PyObject
* obj0
= 0 ;
1201 PyObject
* obj1
= 0 ;
1202 PyObject
* obj2
= 0 ;
1203 PyObject
* obj3
= 0 ;
1204 PyObject
* obj4
= 0 ;
1205 PyObject
* obj5
= 0 ;
1206 PyObject
* obj6
= 0 ;
1207 PyObject
* obj7
= 0 ;
1208 PyObject
* obj8
= 0 ;
1210 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1216 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1219 arg3
= (int) SWIG_AsInt(obj2
);
1220 if (PyErr_Occurred()) SWIG_fail
;
1224 arg4
= wxString_in_helper(obj3
);
1225 if (arg4
== NULL
) SWIG_fail
;
1232 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1238 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1242 arg7
= (long) SWIG_AsLong(obj6
);
1243 if (PyErr_Occurred()) SWIG_fail
;
1246 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1247 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1250 PyErr_SetString(PyExc_TypeError
,"null reference");
1256 arg9
= wxString_in_helper(obj8
);
1257 if (arg9
== NULL
) SWIG_fail
;
1262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1263 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1265 wxPyEndAllowThreads(__tstate
);
1266 if (PyErr_Occurred()) SWIG_fail
;
1269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1293 static PyObject
*_wrap_Button_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1294 PyObject
*resultobj
;
1295 wxButton
*arg1
= (wxButton
*) 0 ;
1296 PyObject
* obj0
= 0 ;
1298 (char *) "self", NULL
1301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1306 (arg1
)->SetDefault();
1308 wxPyEndAllowThreads(__tstate
);
1309 if (PyErr_Occurred()) SWIG_fail
;
1311 Py_INCREF(Py_None
); resultobj
= Py_None
;
1318 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1319 PyObject
*resultobj
;
1325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1328 result
= wxButton::GetDefaultSize();
1330 wxPyEndAllowThreads(__tstate
);
1331 if (PyErr_Occurred()) SWIG_fail
;
1335 resultptr
= new wxSize((wxSize
&) result
);
1336 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
1344 static PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1345 PyObject
*resultobj
;
1346 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
1347 wxVisualAttributes result
;
1348 PyObject
* obj0
= 0 ;
1350 (char *) "variant", NULL
1353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
1355 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
1356 if (PyErr_Occurred()) SWIG_fail
;
1359 if (!wxPyCheckForApp()) SWIG_fail
;
1360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1361 result
= wxButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
1363 wxPyEndAllowThreads(__tstate
);
1364 if (PyErr_Occurred()) SWIG_fail
;
1367 wxVisualAttributes
* resultptr
;
1368 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
1369 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
1377 static PyObject
* Button_swigregister(PyObject
*self
, PyObject
*args
) {
1379 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1380 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1382 return Py_BuildValue((char *)"");
1384 static PyObject
*_wrap_new_BitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1385 PyObject
*resultobj
;
1386 wxWindow
*arg1
= (wxWindow
*) 0 ;
1387 int arg2
= (int) -1 ;
1388 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
1389 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
1390 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1391 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1392 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1393 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1394 long arg6
= (long) wxBU_AUTODRAW
;
1395 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1396 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1397 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1398 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1399 wxBitmapButton
*result
;
1402 bool temp8
= False
;
1403 PyObject
* obj0
= 0 ;
1404 PyObject
* obj1
= 0 ;
1405 PyObject
* obj2
= 0 ;
1406 PyObject
* obj3
= 0 ;
1407 PyObject
* obj4
= 0 ;
1408 PyObject
* obj5
= 0 ;
1409 PyObject
* obj6
= 0 ;
1410 PyObject
* obj7
= 0 ;
1412 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1419 arg2
= (int) SWIG_AsInt(obj1
);
1420 if (PyErr_Occurred()) SWIG_fail
;
1423 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
1424 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1427 PyErr_SetString(PyExc_TypeError
,"null reference");
1434 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1440 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1444 arg6
= (long) SWIG_AsLong(obj5
);
1445 if (PyErr_Occurred()) SWIG_fail
;
1448 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1449 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1452 PyErr_SetString(PyExc_TypeError
,"null reference");
1458 arg8
= wxString_in_helper(obj7
);
1459 if (arg8
== NULL
) SWIG_fail
;
1464 if (!wxPyCheckForApp()) SWIG_fail
;
1465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1466 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1468 wxPyEndAllowThreads(__tstate
);
1469 if (PyErr_Occurred()) SWIG_fail
;
1472 resultobj
= wxPyMake_wxObject(result
);
1488 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1489 PyObject
*resultobj
;
1490 wxBitmapButton
*result
;
1495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1497 if (!wxPyCheckForApp()) SWIG_fail
;
1498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1499 result
= (wxBitmapButton
*)new wxBitmapButton();
1501 wxPyEndAllowThreads(__tstate
);
1502 if (PyErr_Occurred()) SWIG_fail
;
1505 resultobj
= wxPyMake_wxObject(result
);
1513 static PyObject
*_wrap_BitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1514 PyObject
*resultobj
;
1515 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1516 wxWindow
*arg2
= (wxWindow
*) 0 ;
1517 int arg3
= (int) -1 ;
1518 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
1519 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
1520 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1521 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1522 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1523 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1524 long arg7
= (long) wxBU_AUTODRAW
;
1525 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1526 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1527 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1528 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1532 bool temp9
= False
;
1533 PyObject
* obj0
= 0 ;
1534 PyObject
* obj1
= 0 ;
1535 PyObject
* obj2
= 0 ;
1536 PyObject
* obj3
= 0 ;
1537 PyObject
* obj4
= 0 ;
1538 PyObject
* obj5
= 0 ;
1539 PyObject
* obj6
= 0 ;
1540 PyObject
* obj7
= 0 ;
1541 PyObject
* obj8
= 0 ;
1543 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1549 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1552 arg3
= (int) SWIG_AsInt(obj2
);
1553 if (PyErr_Occurred()) SWIG_fail
;
1556 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
1557 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1560 PyErr_SetString(PyExc_TypeError
,"null reference");
1567 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1573 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1577 arg7
= (long) SWIG_AsLong(obj6
);
1578 if (PyErr_Occurred()) SWIG_fail
;
1581 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1582 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1585 PyErr_SetString(PyExc_TypeError
,"null reference");
1591 arg9
= wxString_in_helper(obj8
);
1592 if (arg9
== NULL
) SWIG_fail
;
1597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1598 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1600 wxPyEndAllowThreads(__tstate
);
1601 if (PyErr_Occurred()) SWIG_fail
;
1604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1620 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1621 PyObject
*resultobj
;
1622 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1624 PyObject
* obj0
= 0 ;
1626 (char *) "self", NULL
1629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1634 result
= (arg1
)->GetBitmapLabel();
1636 wxPyEndAllowThreads(__tstate
);
1637 if (PyErr_Occurred()) SWIG_fail
;
1640 wxBitmap
* resultptr
;
1641 resultptr
= new wxBitmap((wxBitmap
&) result
);
1642 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1650 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1651 PyObject
*resultobj
;
1652 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1654 PyObject
* obj0
= 0 ;
1656 (char *) "self", NULL
1659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1664 result
= (arg1
)->GetBitmapDisabled();
1666 wxPyEndAllowThreads(__tstate
);
1667 if (PyErr_Occurred()) SWIG_fail
;
1670 wxBitmap
* resultptr
;
1671 resultptr
= new wxBitmap((wxBitmap
&) result
);
1672 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1680 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1681 PyObject
*resultobj
;
1682 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1684 PyObject
* obj0
= 0 ;
1686 (char *) "self", NULL
1689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1694 result
= (arg1
)->GetBitmapFocus();
1696 wxPyEndAllowThreads(__tstate
);
1697 if (PyErr_Occurred()) SWIG_fail
;
1700 wxBitmap
* resultptr
;
1701 resultptr
= new wxBitmap((wxBitmap
&) result
);
1702 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1710 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1711 PyObject
*resultobj
;
1712 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1714 PyObject
* obj0
= 0 ;
1716 (char *) "self", NULL
1719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1724 result
= (arg1
)->GetBitmapSelected();
1726 wxPyEndAllowThreads(__tstate
);
1727 if (PyErr_Occurred()) SWIG_fail
;
1730 wxBitmap
* resultptr
;
1731 resultptr
= new wxBitmap((wxBitmap
&) result
);
1732 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1740 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1741 PyObject
*resultobj
;
1742 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1743 wxBitmap
*arg2
= 0 ;
1744 PyObject
* obj0
= 0 ;
1745 PyObject
* obj1
= 0 ;
1747 (char *) "self",(char *) "bitmap", NULL
1750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1753 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1754 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1757 PyErr_SetString(PyExc_TypeError
,"null reference");
1761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1762 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1764 wxPyEndAllowThreads(__tstate
);
1765 if (PyErr_Occurred()) SWIG_fail
;
1767 Py_INCREF(Py_None
); resultobj
= Py_None
;
1774 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1775 PyObject
*resultobj
;
1776 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1777 wxBitmap
*arg2
= 0 ;
1778 PyObject
* obj0
= 0 ;
1779 PyObject
* obj1
= 0 ;
1781 (char *) "self",(char *) "bitmap", NULL
1784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1787 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1788 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1791 PyErr_SetString(PyExc_TypeError
,"null reference");
1795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1796 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1798 wxPyEndAllowThreads(__tstate
);
1799 if (PyErr_Occurred()) SWIG_fail
;
1801 Py_INCREF(Py_None
); resultobj
= Py_None
;
1808 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1809 PyObject
*resultobj
;
1810 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1811 wxBitmap
*arg2
= 0 ;
1812 PyObject
* obj0
= 0 ;
1813 PyObject
* obj1
= 0 ;
1815 (char *) "self",(char *) "bitmap", NULL
1818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1821 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1822 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1825 PyErr_SetString(PyExc_TypeError
,"null reference");
1829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1830 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1832 wxPyEndAllowThreads(__tstate
);
1833 if (PyErr_Occurred()) SWIG_fail
;
1835 Py_INCREF(Py_None
); resultobj
= Py_None
;
1842 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1843 PyObject
*resultobj
;
1844 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1845 wxBitmap
*arg2
= 0 ;
1846 PyObject
* obj0
= 0 ;
1847 PyObject
* obj1
= 0 ;
1849 (char *) "self",(char *) "bitmap", NULL
1852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1855 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1856 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1859 PyErr_SetString(PyExc_TypeError
,"null reference");
1863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1864 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1866 wxPyEndAllowThreads(__tstate
);
1867 if (PyErr_Occurred()) SWIG_fail
;
1869 Py_INCREF(Py_None
); resultobj
= Py_None
;
1876 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1877 PyObject
*resultobj
;
1878 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1881 PyObject
* obj0
= 0 ;
1882 PyObject
* obj1
= 0 ;
1883 PyObject
* obj2
= 0 ;
1885 (char *) "self",(char *) "x",(char *) "y", NULL
1888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1891 arg2
= (int) SWIG_AsInt(obj1
);
1892 if (PyErr_Occurred()) SWIG_fail
;
1893 arg3
= (int) SWIG_AsInt(obj2
);
1894 if (PyErr_Occurred()) SWIG_fail
;
1896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1897 (arg1
)->SetMargins(arg2
,arg3
);
1899 wxPyEndAllowThreads(__tstate
);
1900 if (PyErr_Occurred()) SWIG_fail
;
1902 Py_INCREF(Py_None
); resultobj
= Py_None
;
1909 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1910 PyObject
*resultobj
;
1911 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1913 PyObject
* obj0
= 0 ;
1915 (char *) "self", NULL
1918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1923 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1925 wxPyEndAllowThreads(__tstate
);
1926 if (PyErr_Occurred()) SWIG_fail
;
1928 resultobj
= SWIG_FromInt((int)result
);
1935 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1936 PyObject
*resultobj
;
1937 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1939 PyObject
* obj0
= 0 ;
1941 (char *) "self", NULL
1944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1949 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1951 wxPyEndAllowThreads(__tstate
);
1952 if (PyErr_Occurred()) SWIG_fail
;
1954 resultobj
= SWIG_FromInt((int)result
);
1961 static PyObject
* BitmapButton_swigregister(PyObject
*self
, PyObject
*args
) {
1963 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1964 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1966 return Py_BuildValue((char *)"");
1968 static int _wrap_CheckBoxNameStr_set(PyObject
*_val
) {
1969 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
1974 static PyObject
*_wrap_CheckBoxNameStr_get() {
1979 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1981 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1988 static PyObject
*_wrap_new_CheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1989 PyObject
*resultobj
;
1990 wxWindow
*arg1
= (wxWindow
*) 0 ;
1991 int arg2
= (int) -1 ;
1992 wxString
const &arg3_defvalue
= wxPyEmptyString
;
1993 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
1994 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1995 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1996 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1997 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1998 long arg6
= (long) 0 ;
1999 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2000 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2001 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
2002 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2004 bool temp3
= False
;
2007 bool temp8
= False
;
2008 PyObject
* obj0
= 0 ;
2009 PyObject
* obj1
= 0 ;
2010 PyObject
* obj2
= 0 ;
2011 PyObject
* obj3
= 0 ;
2012 PyObject
* obj4
= 0 ;
2013 PyObject
* obj5
= 0 ;
2014 PyObject
* obj6
= 0 ;
2015 PyObject
* obj7
= 0 ;
2017 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2024 arg2
= (int) SWIG_AsInt(obj1
);
2025 if (PyErr_Occurred()) SWIG_fail
;
2029 arg3
= wxString_in_helper(obj2
);
2030 if (arg3
== NULL
) SWIG_fail
;
2037 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2043 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2047 arg6
= (long) SWIG_AsLong(obj5
);
2048 if (PyErr_Occurred()) SWIG_fail
;
2051 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2052 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2055 PyErr_SetString(PyExc_TypeError
,"null reference");
2061 arg8
= wxString_in_helper(obj7
);
2062 if (arg8
== NULL
) SWIG_fail
;
2067 if (!wxPyCheckForApp()) SWIG_fail
;
2068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2069 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2071 wxPyEndAllowThreads(__tstate
);
2072 if (PyErr_Occurred()) SWIG_fail
;
2074 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2097 static PyObject
*_wrap_new_PreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2098 PyObject
*resultobj
;
2104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
2106 if (!wxPyCheckForApp()) SWIG_fail
;
2107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2108 result
= (wxCheckBox
*)new wxCheckBox();
2110 wxPyEndAllowThreads(__tstate
);
2111 if (PyErr_Occurred()) SWIG_fail
;
2113 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2120 static PyObject
*_wrap_CheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2121 PyObject
*resultobj
;
2122 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2123 wxWindow
*arg2
= (wxWindow
*) 0 ;
2124 int arg3
= (int) -1 ;
2125 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2126 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2127 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2128 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2129 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2130 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2131 long arg7
= (long) 0 ;
2132 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2133 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2134 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
2135 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2137 bool temp4
= False
;
2140 bool temp9
= False
;
2141 PyObject
* obj0
= 0 ;
2142 PyObject
* obj1
= 0 ;
2143 PyObject
* obj2
= 0 ;
2144 PyObject
* obj3
= 0 ;
2145 PyObject
* obj4
= 0 ;
2146 PyObject
* obj5
= 0 ;
2147 PyObject
* obj6
= 0 ;
2148 PyObject
* obj7
= 0 ;
2149 PyObject
* obj8
= 0 ;
2151 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2157 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2160 arg3
= (int) SWIG_AsInt(obj2
);
2161 if (PyErr_Occurred()) SWIG_fail
;
2165 arg4
= wxString_in_helper(obj3
);
2166 if (arg4
== NULL
) SWIG_fail
;
2173 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2179 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2183 arg7
= (long) SWIG_AsLong(obj6
);
2184 if (PyErr_Occurred()) SWIG_fail
;
2187 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2188 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2191 PyErr_SetString(PyExc_TypeError
,"null reference");
2197 arg9
= wxString_in_helper(obj8
);
2198 if (arg9
== NULL
) SWIG_fail
;
2203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2204 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2206 wxPyEndAllowThreads(__tstate
);
2207 if (PyErr_Occurred()) SWIG_fail
;
2210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2234 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2235 PyObject
*resultobj
;
2236 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2238 PyObject
* obj0
= 0 ;
2240 (char *) "self", NULL
2243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
2244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2248 result
= (bool)(arg1
)->GetValue();
2250 wxPyEndAllowThreads(__tstate
);
2251 if (PyErr_Occurred()) SWIG_fail
;
2254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2262 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2263 PyObject
*resultobj
;
2264 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2266 PyObject
* obj0
= 0 ;
2268 (char *) "self", NULL
2271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2276 result
= (bool)(arg1
)->IsChecked();
2278 wxPyEndAllowThreads(__tstate
);
2279 if (PyErr_Occurred()) SWIG_fail
;
2282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2290 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2291 PyObject
*resultobj
;
2292 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2294 PyObject
* obj0
= 0 ;
2295 PyObject
* obj1
= 0 ;
2297 (char *) "self",(char *) "state", NULL
2300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2303 arg2
= (bool const) SWIG_AsBool(obj1
);
2304 if (PyErr_Occurred()) SWIG_fail
;
2306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2307 (arg1
)->SetValue(arg2
);
2309 wxPyEndAllowThreads(__tstate
);
2310 if (PyErr_Occurred()) SWIG_fail
;
2312 Py_INCREF(Py_None
); resultobj
= Py_None
;
2319 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2320 PyObject
*resultobj
;
2321 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2323 PyObject
* obj0
= 0 ;
2325 (char *) "self", NULL
2328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2333 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2335 wxPyEndAllowThreads(__tstate
);
2336 if (PyErr_Occurred()) SWIG_fail
;
2338 resultobj
= SWIG_FromInt((int)result
);
2345 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2346 PyObject
*resultobj
;
2347 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2349 PyObject
* obj0
= 0 ;
2350 PyObject
* obj1
= 0 ;
2352 (char *) "self",(char *) "state", NULL
2355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2358 arg2
= (wxCheckBoxState
) SWIG_AsInt(obj1
);
2359 if (PyErr_Occurred()) SWIG_fail
;
2361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2362 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2364 wxPyEndAllowThreads(__tstate
);
2365 if (PyErr_Occurred()) SWIG_fail
;
2367 Py_INCREF(Py_None
); resultobj
= Py_None
;
2374 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2375 PyObject
*resultobj
;
2376 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2378 PyObject
* obj0
= 0 ;
2380 (char *) "self", NULL
2383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2388 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2390 wxPyEndAllowThreads(__tstate
);
2391 if (PyErr_Occurred()) SWIG_fail
;
2394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2402 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2403 PyObject
*resultobj
;
2404 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2406 PyObject
* obj0
= 0 ;
2408 (char *) "self", NULL
2411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2416 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2418 wxPyEndAllowThreads(__tstate
);
2419 if (PyErr_Occurred()) SWIG_fail
;
2422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2430 static PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2431 PyObject
*resultobj
;
2432 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2433 wxVisualAttributes result
;
2434 PyObject
* obj0
= 0 ;
2436 (char *) "variant", NULL
2439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2441 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2442 if (PyErr_Occurred()) SWIG_fail
;
2445 if (!wxPyCheckForApp()) SWIG_fail
;
2446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2447 result
= wxCheckBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2449 wxPyEndAllowThreads(__tstate
);
2450 if (PyErr_Occurred()) SWIG_fail
;
2453 wxVisualAttributes
* resultptr
;
2454 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2455 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2463 static PyObject
* CheckBox_swigregister(PyObject
*self
, PyObject
*args
) {
2465 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2466 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2468 return Py_BuildValue((char *)"");
2470 static int _wrap_ChoiceNameStr_set(PyObject
*_val
) {
2471 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2476 static PyObject
*_wrap_ChoiceNameStr_get() {
2481 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2483 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2490 static PyObject
*_wrap_new_Choice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2491 PyObject
*resultobj
;
2492 wxWindow
*arg1
= (wxWindow
*) 0 ;
2493 int arg2
= (int) -1 ;
2494 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2495 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2496 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2497 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2498 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
2499 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
2500 long arg6
= (long) 0 ;
2501 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2502 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2503 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
2504 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2508 bool temp5
= False
;
2509 bool temp8
= False
;
2510 PyObject
* obj0
= 0 ;
2511 PyObject
* obj1
= 0 ;
2512 PyObject
* obj2
= 0 ;
2513 PyObject
* obj3
= 0 ;
2514 PyObject
* obj4
= 0 ;
2515 PyObject
* obj5
= 0 ;
2516 PyObject
* obj6
= 0 ;
2517 PyObject
* obj7
= 0 ;
2519 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2526 arg2
= (int) SWIG_AsInt(obj1
);
2527 if (PyErr_Occurred()) SWIG_fail
;
2532 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2538 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2543 if (! PySequence_Check(obj4
)) {
2544 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2547 arg5
= new wxArrayString
;
2549 int i
, len
=PySequence_Length(obj4
);
2550 for (i
=0; i
<len
; i
++) {
2551 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2553 PyObject
* str
= PyObject_Unicode(item
);
2555 PyObject
* str
= PyObject_Str(item
);
2557 if (PyErr_Occurred()) SWIG_fail
;
2558 arg5
->Add(Py2wxString(str
));
2565 arg6
= (long) SWIG_AsLong(obj5
);
2566 if (PyErr_Occurred()) SWIG_fail
;
2569 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2570 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2573 PyErr_SetString(PyExc_TypeError
,"null reference");
2579 arg8
= wxString_in_helper(obj7
);
2580 if (arg8
== NULL
) SWIG_fail
;
2585 if (!wxPyCheckForApp()) SWIG_fail
;
2586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2587 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2589 wxPyEndAllowThreads(__tstate
);
2590 if (PyErr_Occurred()) SWIG_fail
;
2592 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2594 if (temp5
) delete arg5
;
2603 if (temp5
) delete arg5
;
2613 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2614 PyObject
*resultobj
;
2620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2622 if (!wxPyCheckForApp()) SWIG_fail
;
2623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2624 result
= (wxChoice
*)new wxChoice();
2626 wxPyEndAllowThreads(__tstate
);
2627 if (PyErr_Occurred()) SWIG_fail
;
2629 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2636 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2637 PyObject
*resultobj
;
2638 wxChoice
*arg1
= (wxChoice
*) 0 ;
2639 wxWindow
*arg2
= (wxWindow
*) 0 ;
2640 int arg3
= (int) -1 ;
2641 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2642 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2643 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2644 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2645 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2646 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2647 long arg7
= (long) 0 ;
2648 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2649 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2650 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2651 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2655 bool temp6
= False
;
2656 bool temp9
= False
;
2657 PyObject
* obj0
= 0 ;
2658 PyObject
* obj1
= 0 ;
2659 PyObject
* obj2
= 0 ;
2660 PyObject
* obj3
= 0 ;
2661 PyObject
* obj4
= 0 ;
2662 PyObject
* obj5
= 0 ;
2663 PyObject
* obj6
= 0 ;
2664 PyObject
* obj7
= 0 ;
2665 PyObject
* obj8
= 0 ;
2667 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2673 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2676 arg3
= (int) SWIG_AsInt(obj2
);
2677 if (PyErr_Occurred()) SWIG_fail
;
2682 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2688 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2693 if (! PySequence_Check(obj5
)) {
2694 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2697 arg6
= new wxArrayString
;
2699 int i
, len
=PySequence_Length(obj5
);
2700 for (i
=0; i
<len
; i
++) {
2701 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2703 PyObject
* str
= PyObject_Unicode(item
);
2705 PyObject
* str
= PyObject_Str(item
);
2707 if (PyErr_Occurred()) SWIG_fail
;
2708 arg6
->Add(Py2wxString(str
));
2715 arg7
= (long) SWIG_AsLong(obj6
);
2716 if (PyErr_Occurred()) SWIG_fail
;
2719 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2720 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2723 PyErr_SetString(PyExc_TypeError
,"null reference");
2729 arg9
= wxString_in_helper(obj8
);
2730 if (arg9
== NULL
) SWIG_fail
;
2735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2736 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2738 wxPyEndAllowThreads(__tstate
);
2739 if (PyErr_Occurred()) SWIG_fail
;
2742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2745 if (temp6
) delete arg6
;
2754 if (temp6
) delete arg6
;
2764 static PyObject
*_wrap_Choice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2765 PyObject
*resultobj
;
2766 wxChoice
*arg1
= (wxChoice
*) 0 ;
2768 PyObject
* obj0
= 0 ;
2769 PyObject
* obj1
= 0 ;
2771 (char *) "self",(char *) "n", NULL
2774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2777 arg2
= (int const) SWIG_AsInt(obj1
);
2778 if (PyErr_Occurred()) SWIG_fail
;
2780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2781 (arg1
)->SetSelection(arg2
);
2783 wxPyEndAllowThreads(__tstate
);
2784 if (PyErr_Occurred()) SWIG_fail
;
2786 Py_INCREF(Py_None
); resultobj
= Py_None
;
2793 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2794 PyObject
*resultobj
;
2795 wxChoice
*arg1
= (wxChoice
*) 0 ;
2796 wxString
*arg2
= 0 ;
2798 bool temp2
= False
;
2799 PyObject
* obj0
= 0 ;
2800 PyObject
* obj1
= 0 ;
2802 (char *) "self",(char *) "string", NULL
2805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2809 arg2
= wxString_in_helper(obj1
);
2810 if (arg2
== NULL
) SWIG_fail
;
2814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2815 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
2817 wxPyEndAllowThreads(__tstate
);
2818 if (PyErr_Occurred()) SWIG_fail
;
2821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2837 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2838 PyObject
*resultobj
;
2839 wxChoice
*arg1
= (wxChoice
*) 0 ;
2841 wxString
*arg3
= 0 ;
2842 bool temp3
= False
;
2843 PyObject
* obj0
= 0 ;
2844 PyObject
* obj1
= 0 ;
2845 PyObject
* obj2
= 0 ;
2847 (char *) "self",(char *) "n",(char *) "string", NULL
2850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2853 arg2
= (int) SWIG_AsInt(obj1
);
2854 if (PyErr_Occurred()) SWIG_fail
;
2856 arg3
= wxString_in_helper(obj2
);
2857 if (arg3
== NULL
) SWIG_fail
;
2861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2862 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2864 wxPyEndAllowThreads(__tstate
);
2865 if (PyErr_Occurred()) SWIG_fail
;
2867 Py_INCREF(Py_None
); resultobj
= Py_None
;
2882 static PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2883 PyObject
*resultobj
;
2884 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2885 wxVisualAttributes result
;
2886 PyObject
* obj0
= 0 ;
2888 (char *) "variant", NULL
2891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2893 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2894 if (PyErr_Occurred()) SWIG_fail
;
2897 if (!wxPyCheckForApp()) SWIG_fail
;
2898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2899 result
= wxChoice::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2901 wxPyEndAllowThreads(__tstate
);
2902 if (PyErr_Occurred()) SWIG_fail
;
2905 wxVisualAttributes
* resultptr
;
2906 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2907 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2915 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2917 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2918 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2920 return Py_BuildValue((char *)"");
2922 static int _wrap_ComboBoxNameStr_set(PyObject
*_val
) {
2923 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2928 static PyObject
*_wrap_ComboBoxNameStr_get() {
2933 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2935 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2942 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2943 PyObject
*resultobj
;
2944 wxWindow
*arg1
= (wxWindow
*) 0 ;
2945 int arg2
= (int) -1 ;
2946 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2947 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2948 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2949 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2950 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2951 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2952 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2953 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2954 long arg7
= (long) 0 ;
2955 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2956 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2957 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
2958 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2960 bool temp3
= False
;
2963 bool temp6
= False
;
2964 bool temp9
= False
;
2965 PyObject
* obj0
= 0 ;
2966 PyObject
* obj1
= 0 ;
2967 PyObject
* obj2
= 0 ;
2968 PyObject
* obj3
= 0 ;
2969 PyObject
* obj4
= 0 ;
2970 PyObject
* obj5
= 0 ;
2971 PyObject
* obj6
= 0 ;
2972 PyObject
* obj7
= 0 ;
2973 PyObject
* obj8
= 0 ;
2975 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2982 arg2
= (int) SWIG_AsInt(obj1
);
2983 if (PyErr_Occurred()) SWIG_fail
;
2987 arg3
= wxString_in_helper(obj2
);
2988 if (arg3
== NULL
) SWIG_fail
;
2995 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3001 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3006 if (! PySequence_Check(obj5
)) {
3007 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3010 arg6
= new wxArrayString
;
3012 int i
, len
=PySequence_Length(obj5
);
3013 for (i
=0; i
<len
; i
++) {
3014 PyObject
* item
= PySequence_GetItem(obj5
, i
);
3016 PyObject
* str
= PyObject_Unicode(item
);
3018 PyObject
* str
= PyObject_Str(item
);
3020 if (PyErr_Occurred()) SWIG_fail
;
3021 arg6
->Add(Py2wxString(str
));
3028 arg7
= (long) SWIG_AsLong(obj6
);
3029 if (PyErr_Occurred()) SWIG_fail
;
3032 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
3033 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3036 PyErr_SetString(PyExc_TypeError
,"null reference");
3042 arg9
= wxString_in_helper(obj8
);
3043 if (arg9
== NULL
) SWIG_fail
;
3048 if (!wxPyCheckForApp()) SWIG_fail
;
3049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3050 result
= (wxComboBox
*)new wxComboBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3052 wxPyEndAllowThreads(__tstate
);
3053 if (PyErr_Occurred()) SWIG_fail
;
3055 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3061 if (temp6
) delete arg6
;
3074 if (temp6
) delete arg6
;
3084 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3085 PyObject
*resultobj
;
3091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
3093 if (!wxPyCheckForApp()) SWIG_fail
;
3094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3095 result
= (wxComboBox
*)new wxComboBox();
3097 wxPyEndAllowThreads(__tstate
);
3098 if (PyErr_Occurred()) SWIG_fail
;
3100 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3107 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3108 PyObject
*resultobj
;
3109 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3110 wxWindow
*arg2
= (wxWindow
*) 0 ;
3111 int arg3
= (int) -1 ;
3112 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3113 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3114 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3115 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3116 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3117 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3118 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
3119 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
3120 long arg8
= (long) 0 ;
3121 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
3122 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
3123 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
3124 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
3126 bool temp4
= False
;
3129 bool temp7
= False
;
3130 bool temp10
= False
;
3131 PyObject
* obj0
= 0 ;
3132 PyObject
* obj1
= 0 ;
3133 PyObject
* obj2
= 0 ;
3134 PyObject
* obj3
= 0 ;
3135 PyObject
* obj4
= 0 ;
3136 PyObject
* obj5
= 0 ;
3137 PyObject
* obj6
= 0 ;
3138 PyObject
* obj7
= 0 ;
3139 PyObject
* obj8
= 0 ;
3140 PyObject
* obj9
= 0 ;
3142 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
3146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3148 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3151 arg3
= (int) SWIG_AsInt(obj2
);
3152 if (PyErr_Occurred()) SWIG_fail
;
3156 arg4
= wxString_in_helper(obj3
);
3157 if (arg4
== NULL
) SWIG_fail
;
3164 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3170 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3175 if (! PySequence_Check(obj6
)) {
3176 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3179 arg7
= new wxArrayString
;
3181 int i
, len
=PySequence_Length(obj6
);
3182 for (i
=0; i
<len
; i
++) {
3183 PyObject
* item
= PySequence_GetItem(obj6
, i
);
3185 PyObject
* str
= PyObject_Unicode(item
);
3187 PyObject
* str
= PyObject_Str(item
);
3189 if (PyErr_Occurred()) SWIG_fail
;
3190 arg7
->Add(Py2wxString(str
));
3197 arg8
= (long) SWIG_AsLong(obj7
);
3198 if (PyErr_Occurred()) SWIG_fail
;
3201 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
3202 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3205 PyErr_SetString(PyExc_TypeError
,"null reference");
3211 arg10
= wxString_in_helper(obj9
);
3212 if (arg10
== NULL
) SWIG_fail
;
3217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3218 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxArrayString
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
3220 wxPyEndAllowThreads(__tstate
);
3221 if (PyErr_Occurred()) SWIG_fail
;
3224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3231 if (temp7
) delete arg7
;
3244 if (temp7
) delete arg7
;
3254 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3255 PyObject
*resultobj
;
3256 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3258 PyObject
* obj0
= 0 ;
3260 (char *) "self", NULL
3263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
3264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3268 result
= ((wxComboBox
const *)arg1
)->GetValue();
3270 wxPyEndAllowThreads(__tstate
);
3271 if (PyErr_Occurred()) SWIG_fail
;
3275 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3277 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3286 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3287 PyObject
*resultobj
;
3288 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3289 wxString
*arg2
= 0 ;
3290 bool temp2
= False
;
3291 PyObject
* obj0
= 0 ;
3292 PyObject
* obj1
= 0 ;
3294 (char *) "self",(char *) "value", NULL
3297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3301 arg2
= wxString_in_helper(obj1
);
3302 if (arg2
== NULL
) SWIG_fail
;
3306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3307 (arg1
)->SetValue((wxString
const &)*arg2
);
3309 wxPyEndAllowThreads(__tstate
);
3310 if (PyErr_Occurred()) SWIG_fail
;
3312 Py_INCREF(Py_None
); resultobj
= Py_None
;
3327 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3328 PyObject
*resultobj
;
3329 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3330 PyObject
* obj0
= 0 ;
3332 (char *) "self", NULL
3335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
3336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3342 wxPyEndAllowThreads(__tstate
);
3343 if (PyErr_Occurred()) SWIG_fail
;
3345 Py_INCREF(Py_None
); resultobj
= Py_None
;
3352 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3353 PyObject
*resultobj
;
3354 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3355 PyObject
* obj0
= 0 ;
3357 (char *) "self", NULL
3360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3367 wxPyEndAllowThreads(__tstate
);
3368 if (PyErr_Occurred()) SWIG_fail
;
3370 Py_INCREF(Py_None
); resultobj
= Py_None
;
3377 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3378 PyObject
*resultobj
;
3379 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3380 PyObject
* obj0
= 0 ;
3382 (char *) "self", NULL
3385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3392 wxPyEndAllowThreads(__tstate
);
3393 if (PyErr_Occurred()) SWIG_fail
;
3395 Py_INCREF(Py_None
); resultobj
= Py_None
;
3402 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3403 PyObject
*resultobj
;
3404 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3406 PyObject
* obj0
= 0 ;
3407 PyObject
* obj1
= 0 ;
3409 (char *) "self",(char *) "pos", NULL
3412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3415 arg2
= (long) SWIG_AsLong(obj1
);
3416 if (PyErr_Occurred()) SWIG_fail
;
3418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3419 (arg1
)->SetInsertionPoint(arg2
);
3421 wxPyEndAllowThreads(__tstate
);
3422 if (PyErr_Occurred()) SWIG_fail
;
3424 Py_INCREF(Py_None
); resultobj
= Py_None
;
3431 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3432 PyObject
*resultobj
;
3433 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3435 PyObject
* obj0
= 0 ;
3437 (char *) "self", NULL
3440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3445 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3447 wxPyEndAllowThreads(__tstate
);
3448 if (PyErr_Occurred()) SWIG_fail
;
3450 resultobj
= SWIG_FromLong((long)result
);
3457 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3458 PyObject
*resultobj
;
3459 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3461 PyObject
* obj0
= 0 ;
3463 (char *) "self", NULL
3466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3471 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3473 wxPyEndAllowThreads(__tstate
);
3474 if (PyErr_Occurred()) SWIG_fail
;
3476 resultobj
= SWIG_FromLong((long)result
);
3483 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3484 PyObject
*resultobj
;
3485 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3488 wxString
*arg4
= 0 ;
3489 bool temp4
= False
;
3490 PyObject
* obj0
= 0 ;
3491 PyObject
* obj1
= 0 ;
3492 PyObject
* obj2
= 0 ;
3493 PyObject
* obj3
= 0 ;
3495 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3501 arg2
= (long) SWIG_AsLong(obj1
);
3502 if (PyErr_Occurred()) SWIG_fail
;
3503 arg3
= (long) SWIG_AsLong(obj2
);
3504 if (PyErr_Occurred()) SWIG_fail
;
3506 arg4
= wxString_in_helper(obj3
);
3507 if (arg4
== NULL
) SWIG_fail
;
3511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3512 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3514 wxPyEndAllowThreads(__tstate
);
3515 if (PyErr_Occurred()) SWIG_fail
;
3517 Py_INCREF(Py_None
); resultobj
= Py_None
;
3532 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3533 PyObject
*resultobj
;
3534 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3536 PyObject
* obj0
= 0 ;
3537 PyObject
* obj1
= 0 ;
3539 (char *) "self",(char *) "n", NULL
3542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3545 arg2
= (int) SWIG_AsInt(obj1
);
3546 if (PyErr_Occurred()) SWIG_fail
;
3548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3549 (arg1
)->SetSelection(arg2
);
3551 wxPyEndAllowThreads(__tstate
);
3552 if (PyErr_Occurred()) SWIG_fail
;
3554 Py_INCREF(Py_None
); resultobj
= Py_None
;
3561 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3562 PyObject
*resultobj
;
3563 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3566 PyObject
* obj0
= 0 ;
3567 PyObject
* obj1
= 0 ;
3568 PyObject
* obj2
= 0 ;
3570 (char *) "self",(char *) "from",(char *) "to", NULL
3573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3576 arg2
= (long) SWIG_AsLong(obj1
);
3577 if (PyErr_Occurred()) SWIG_fail
;
3578 arg3
= (long) SWIG_AsLong(obj2
);
3579 if (PyErr_Occurred()) SWIG_fail
;
3581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3582 (arg1
)->SetSelection(arg2
,arg3
);
3584 wxPyEndAllowThreads(__tstate
);
3585 if (PyErr_Occurred()) SWIG_fail
;
3587 Py_INCREF(Py_None
); resultobj
= Py_None
;
3594 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3595 PyObject
*resultobj
;
3596 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3597 wxString
*arg2
= 0 ;
3599 bool temp2
= False
;
3600 PyObject
* obj0
= 0 ;
3601 PyObject
* obj1
= 0 ;
3603 (char *) "self",(char *) "string", NULL
3606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3610 arg2
= wxString_in_helper(obj1
);
3611 if (arg2
== NULL
) SWIG_fail
;
3615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3616 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
3618 wxPyEndAllowThreads(__tstate
);
3619 if (PyErr_Occurred()) SWIG_fail
;
3622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3638 static PyObject
*_wrap_ComboBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3639 PyObject
*resultobj
;
3640 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3642 wxString
*arg3
= 0 ;
3643 bool temp3
= False
;
3644 PyObject
* obj0
= 0 ;
3645 PyObject
* obj1
= 0 ;
3646 PyObject
* obj2
= 0 ;
3648 (char *) "self",(char *) "n",(char *) "string", NULL
3651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3654 arg2
= (int) SWIG_AsInt(obj1
);
3655 if (PyErr_Occurred()) SWIG_fail
;
3657 arg3
= wxString_in_helper(obj2
);
3658 if (arg3
== NULL
) SWIG_fail
;
3662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3663 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
3665 wxPyEndAllowThreads(__tstate
);
3666 if (PyErr_Occurred()) SWIG_fail
;
3668 Py_INCREF(Py_None
); resultobj
= Py_None
;
3683 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3684 PyObject
*resultobj
;
3685 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3687 PyObject
* obj0
= 0 ;
3688 PyObject
* obj1
= 0 ;
3690 (char *) "self",(char *) "editable", NULL
3693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3696 arg2
= (bool) SWIG_AsBool(obj1
);
3697 if (PyErr_Occurred()) SWIG_fail
;
3699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3700 (arg1
)->SetEditable(arg2
);
3702 wxPyEndAllowThreads(__tstate
);
3703 if (PyErr_Occurred()) SWIG_fail
;
3705 Py_INCREF(Py_None
); resultobj
= Py_None
;
3712 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3713 PyObject
*resultobj
;
3714 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3715 PyObject
* obj0
= 0 ;
3717 (char *) "self", NULL
3720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3725 (arg1
)->SetInsertionPointEnd();
3727 wxPyEndAllowThreads(__tstate
);
3728 if (PyErr_Occurred()) SWIG_fail
;
3730 Py_INCREF(Py_None
); resultobj
= Py_None
;
3737 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3738 PyObject
*resultobj
;
3739 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3742 PyObject
* obj0
= 0 ;
3743 PyObject
* obj1
= 0 ;
3744 PyObject
* obj2
= 0 ;
3746 (char *) "self",(char *) "from",(char *) "to", NULL
3749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3752 arg2
= (long) SWIG_AsLong(obj1
);
3753 if (PyErr_Occurred()) SWIG_fail
;
3754 arg3
= (long) SWIG_AsLong(obj2
);
3755 if (PyErr_Occurred()) SWIG_fail
;
3757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3758 (arg1
)->Remove(arg2
,arg3
);
3760 wxPyEndAllowThreads(__tstate
);
3761 if (PyErr_Occurred()) SWIG_fail
;
3763 Py_INCREF(Py_None
); resultobj
= Py_None
;
3770 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3771 PyObject
*resultobj
;
3772 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
3773 wxVisualAttributes result
;
3774 PyObject
* obj0
= 0 ;
3776 (char *) "variant", NULL
3779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3781 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
3782 if (PyErr_Occurred()) SWIG_fail
;
3785 if (!wxPyCheckForApp()) SWIG_fail
;
3786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3787 result
= wxComboBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3789 wxPyEndAllowThreads(__tstate
);
3790 if (PyErr_Occurred()) SWIG_fail
;
3793 wxVisualAttributes
* resultptr
;
3794 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
3795 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3803 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
3805 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3806 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3808 return Py_BuildValue((char *)"");
3810 static int _wrap_GaugeNameStr_set(PyObject
*_val
) {
3811 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3816 static PyObject
*_wrap_GaugeNameStr_get() {
3821 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3823 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3830 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3831 PyObject
*resultobj
;
3832 wxWindow
*arg1
= (wxWindow
*) 0 ;
3833 int arg2
= (int) -1 ;
3834 int arg3
= (int) 100 ;
3835 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3836 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3837 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3838 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3839 long arg6
= (long) wxGA_HORIZONTAL
;
3840 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3841 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3842 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3843 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3847 bool temp8
= False
;
3848 PyObject
* obj0
= 0 ;
3849 PyObject
* obj1
= 0 ;
3850 PyObject
* obj2
= 0 ;
3851 PyObject
* obj3
= 0 ;
3852 PyObject
* obj4
= 0 ;
3853 PyObject
* obj5
= 0 ;
3854 PyObject
* obj6
= 0 ;
3855 PyObject
* obj7
= 0 ;
3857 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3864 arg2
= (int) SWIG_AsInt(obj1
);
3865 if (PyErr_Occurred()) SWIG_fail
;
3868 arg3
= (int) SWIG_AsInt(obj2
);
3869 if (PyErr_Occurred()) SWIG_fail
;
3874 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3880 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3884 arg6
= (long) SWIG_AsLong(obj5
);
3885 if (PyErr_Occurred()) SWIG_fail
;
3888 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
3889 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3892 PyErr_SetString(PyExc_TypeError
,"null reference");
3898 arg8
= wxString_in_helper(obj7
);
3899 if (arg8
== NULL
) SWIG_fail
;
3904 if (!wxPyCheckForApp()) SWIG_fail
;
3905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3906 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3908 wxPyEndAllowThreads(__tstate
);
3909 if (PyErr_Occurred()) SWIG_fail
;
3911 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3926 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3927 PyObject
*resultobj
;
3933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3935 if (!wxPyCheckForApp()) SWIG_fail
;
3936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3937 result
= (wxGauge
*)new wxGauge();
3939 wxPyEndAllowThreads(__tstate
);
3940 if (PyErr_Occurred()) SWIG_fail
;
3942 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3949 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3950 PyObject
*resultobj
;
3951 wxGauge
*arg1
= (wxGauge
*) 0 ;
3952 wxWindow
*arg2
= (wxWindow
*) 0 ;
3953 int arg3
= (int) -1 ;
3954 int arg4
= (int) 100 ;
3955 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3956 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3957 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3958 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3959 long arg7
= (long) wxGA_HORIZONTAL
;
3960 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3961 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3962 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3963 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3967 bool temp9
= False
;
3968 PyObject
* obj0
= 0 ;
3969 PyObject
* obj1
= 0 ;
3970 PyObject
* obj2
= 0 ;
3971 PyObject
* obj3
= 0 ;
3972 PyObject
* obj4
= 0 ;
3973 PyObject
* obj5
= 0 ;
3974 PyObject
* obj6
= 0 ;
3975 PyObject
* obj7
= 0 ;
3976 PyObject
* obj8
= 0 ;
3978 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3984 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3987 arg3
= (int) SWIG_AsInt(obj2
);
3988 if (PyErr_Occurred()) SWIG_fail
;
3991 arg4
= (int) SWIG_AsInt(obj3
);
3992 if (PyErr_Occurred()) SWIG_fail
;
3997 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4003 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4007 arg7
= (long) SWIG_AsLong(obj6
);
4008 if (PyErr_Occurred()) SWIG_fail
;
4011 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
4012 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4015 PyErr_SetString(PyExc_TypeError
,"null reference");
4021 arg9
= wxString_in_helper(obj8
);
4022 if (arg9
== NULL
) SWIG_fail
;
4027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4028 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4030 wxPyEndAllowThreads(__tstate
);
4031 if (PyErr_Occurred()) SWIG_fail
;
4034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4050 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4051 PyObject
*resultobj
;
4052 wxGauge
*arg1
= (wxGauge
*) 0 ;
4054 PyObject
* obj0
= 0 ;
4055 PyObject
* obj1
= 0 ;
4057 (char *) "self",(char *) "range", NULL
4060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
4061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4063 arg2
= (int) SWIG_AsInt(obj1
);
4064 if (PyErr_Occurred()) SWIG_fail
;
4066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4067 (arg1
)->SetRange(arg2
);
4069 wxPyEndAllowThreads(__tstate
);
4070 if (PyErr_Occurred()) SWIG_fail
;
4072 Py_INCREF(Py_None
); resultobj
= Py_None
;
4079 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4080 PyObject
*resultobj
;
4081 wxGauge
*arg1
= (wxGauge
*) 0 ;
4083 PyObject
* obj0
= 0 ;
4085 (char *) "self", NULL
4088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
4089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4093 result
= (int)((wxGauge
const *)arg1
)->GetRange();
4095 wxPyEndAllowThreads(__tstate
);
4096 if (PyErr_Occurred()) SWIG_fail
;
4098 resultobj
= SWIG_FromInt((int)result
);
4105 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4106 PyObject
*resultobj
;
4107 wxGauge
*arg1
= (wxGauge
*) 0 ;
4109 PyObject
* obj0
= 0 ;
4110 PyObject
* obj1
= 0 ;
4112 (char *) "self",(char *) "pos", NULL
4115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
4116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4118 arg2
= (int) SWIG_AsInt(obj1
);
4119 if (PyErr_Occurred()) SWIG_fail
;
4121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4122 (arg1
)->SetValue(arg2
);
4124 wxPyEndAllowThreads(__tstate
);
4125 if (PyErr_Occurred()) SWIG_fail
;
4127 Py_INCREF(Py_None
); resultobj
= Py_None
;
4134 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4135 PyObject
*resultobj
;
4136 wxGauge
*arg1
= (wxGauge
*) 0 ;
4138 PyObject
* obj0
= 0 ;
4140 (char *) "self", NULL
4143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
4144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4148 result
= (int)((wxGauge
const *)arg1
)->GetValue();
4150 wxPyEndAllowThreads(__tstate
);
4151 if (PyErr_Occurred()) SWIG_fail
;
4153 resultobj
= SWIG_FromInt((int)result
);
4160 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4161 PyObject
*resultobj
;
4162 wxGauge
*arg1
= (wxGauge
*) 0 ;
4164 PyObject
* obj0
= 0 ;
4166 (char *) "self", NULL
4169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
4170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4174 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
4176 wxPyEndAllowThreads(__tstate
);
4177 if (PyErr_Occurred()) SWIG_fail
;
4180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4188 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4189 PyObject
*resultobj
;
4190 wxGauge
*arg1
= (wxGauge
*) 0 ;
4192 PyObject
* obj0
= 0 ;
4193 PyObject
* obj1
= 0 ;
4195 (char *) "self",(char *) "w", NULL
4198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4201 arg2
= (int) SWIG_AsInt(obj1
);
4202 if (PyErr_Occurred()) SWIG_fail
;
4204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4205 (arg1
)->SetShadowWidth(arg2
);
4207 wxPyEndAllowThreads(__tstate
);
4208 if (PyErr_Occurred()) SWIG_fail
;
4210 Py_INCREF(Py_None
); resultobj
= Py_None
;
4217 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4218 PyObject
*resultobj
;
4219 wxGauge
*arg1
= (wxGauge
*) 0 ;
4221 PyObject
* obj0
= 0 ;
4223 (char *) "self", NULL
4226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
4227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4231 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
4233 wxPyEndAllowThreads(__tstate
);
4234 if (PyErr_Occurred()) SWIG_fail
;
4236 resultobj
= SWIG_FromInt((int)result
);
4243 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4244 PyObject
*resultobj
;
4245 wxGauge
*arg1
= (wxGauge
*) 0 ;
4247 PyObject
* obj0
= 0 ;
4248 PyObject
* obj1
= 0 ;
4250 (char *) "self",(char *) "w", NULL
4253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
4254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4256 arg2
= (int) SWIG_AsInt(obj1
);
4257 if (PyErr_Occurred()) SWIG_fail
;
4259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4260 (arg1
)->SetBezelFace(arg2
);
4262 wxPyEndAllowThreads(__tstate
);
4263 if (PyErr_Occurred()) SWIG_fail
;
4265 Py_INCREF(Py_None
); resultobj
= Py_None
;
4272 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4273 PyObject
*resultobj
;
4274 wxGauge
*arg1
= (wxGauge
*) 0 ;
4276 PyObject
* obj0
= 0 ;
4278 (char *) "self", NULL
4281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
4282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4286 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
4288 wxPyEndAllowThreads(__tstate
);
4289 if (PyErr_Occurred()) SWIG_fail
;
4291 resultobj
= SWIG_FromInt((int)result
);
4298 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4299 PyObject
*resultobj
;
4300 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4301 wxVisualAttributes result
;
4302 PyObject
* obj0
= 0 ;
4304 (char *) "variant", NULL
4307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4309 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4310 if (PyErr_Occurred()) SWIG_fail
;
4313 if (!wxPyCheckForApp()) SWIG_fail
;
4314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4315 result
= wxGauge::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4317 wxPyEndAllowThreads(__tstate
);
4318 if (PyErr_Occurred()) SWIG_fail
;
4321 wxVisualAttributes
* resultptr
;
4322 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4323 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4331 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
4333 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4334 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
4336 return Py_BuildValue((char *)"");
4338 static int _wrap_StaticBitmapNameStr_set(PyObject
*_val
) {
4339 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
4344 static PyObject
*_wrap_StaticBitmapNameStr_get() {
4349 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4351 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4358 static int _wrap_StaticBoxNameStr_set(PyObject
*_val
) {
4359 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
4364 static PyObject
*_wrap_StaticBoxNameStr_get() {
4369 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4371 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4378 static int _wrap_StaticTextNameStr_set(PyObject
*_val
) {
4379 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
4384 static PyObject
*_wrap_StaticTextNameStr_get() {
4389 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4391 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4398 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4399 PyObject
*resultobj
;
4400 wxWindow
*arg1
= (wxWindow
*) 0 ;
4401 int arg2
= (int) -1 ;
4402 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4403 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4404 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4405 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4406 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4407 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4408 long arg6
= (long) 0 ;
4409 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
4410 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4411 wxStaticBox
*result
;
4412 bool temp3
= False
;
4415 bool temp7
= False
;
4416 PyObject
* obj0
= 0 ;
4417 PyObject
* obj1
= 0 ;
4418 PyObject
* obj2
= 0 ;
4419 PyObject
* obj3
= 0 ;
4420 PyObject
* obj4
= 0 ;
4421 PyObject
* obj5
= 0 ;
4422 PyObject
* obj6
= 0 ;
4424 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4431 arg2
= (int) SWIG_AsInt(obj1
);
4432 if (PyErr_Occurred()) SWIG_fail
;
4436 arg3
= wxString_in_helper(obj2
);
4437 if (arg3
== NULL
) SWIG_fail
;
4444 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4450 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4454 arg6
= (long) SWIG_AsLong(obj5
);
4455 if (PyErr_Occurred()) SWIG_fail
;
4459 arg7
= wxString_in_helper(obj6
);
4460 if (arg7
== NULL
) SWIG_fail
;
4465 if (!wxPyCheckForApp()) SWIG_fail
;
4466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4467 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4469 wxPyEndAllowThreads(__tstate
);
4470 if (PyErr_Occurred()) SWIG_fail
;
4473 resultobj
= wxPyMake_wxObject(result
);
4497 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4498 PyObject
*resultobj
;
4499 wxStaticBox
*result
;
4504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4506 if (!wxPyCheckForApp()) SWIG_fail
;
4507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4508 result
= (wxStaticBox
*)new wxStaticBox();
4510 wxPyEndAllowThreads(__tstate
);
4511 if (PyErr_Occurred()) SWIG_fail
;
4514 resultobj
= wxPyMake_wxObject(result
);
4522 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4523 PyObject
*resultobj
;
4524 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4525 wxWindow
*arg2
= (wxWindow
*) 0 ;
4526 int arg3
= (int) -1 ;
4527 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4528 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4529 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4530 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4531 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4532 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4533 long arg7
= (long) 0 ;
4534 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4535 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4537 bool temp4
= False
;
4540 bool temp8
= False
;
4541 PyObject
* obj0
= 0 ;
4542 PyObject
* obj1
= 0 ;
4543 PyObject
* obj2
= 0 ;
4544 PyObject
* obj3
= 0 ;
4545 PyObject
* obj4
= 0 ;
4546 PyObject
* obj5
= 0 ;
4547 PyObject
* obj6
= 0 ;
4548 PyObject
* obj7
= 0 ;
4550 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
4555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4556 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4559 arg3
= (int) SWIG_AsInt(obj2
);
4560 if (PyErr_Occurred()) SWIG_fail
;
4564 arg4
= wxString_in_helper(obj3
);
4565 if (arg4
== NULL
) SWIG_fail
;
4572 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4578 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4582 arg7
= (long) SWIG_AsLong(obj6
);
4583 if (PyErr_Occurred()) SWIG_fail
;
4587 arg8
= wxString_in_helper(obj7
);
4588 if (arg8
== NULL
) SWIG_fail
;
4593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4594 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4596 wxPyEndAllowThreads(__tstate
);
4597 if (PyErr_Occurred()) SWIG_fail
;
4600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4624 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4625 PyObject
*resultobj
;
4626 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4627 wxVisualAttributes result
;
4628 PyObject
* obj0
= 0 ;
4630 (char *) "variant", NULL
4633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4635 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4636 if (PyErr_Occurred()) SWIG_fail
;
4639 if (!wxPyCheckForApp()) SWIG_fail
;
4640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4641 result
= wxStaticBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4643 wxPyEndAllowThreads(__tstate
);
4644 if (PyErr_Occurred()) SWIG_fail
;
4647 wxVisualAttributes
* resultptr
;
4648 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4649 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4657 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
4659 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4660 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4662 return Py_BuildValue((char *)"");
4664 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4665 PyObject
*resultobj
;
4666 wxWindow
*arg1
= (wxWindow
*) 0 ;
4667 int arg2
= (int) -1 ;
4668 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4669 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4670 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4671 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4672 long arg5
= (long) wxLI_HORIZONTAL
;
4673 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4674 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4675 wxStaticLine
*result
;
4678 bool temp6
= False
;
4679 PyObject
* obj0
= 0 ;
4680 PyObject
* obj1
= 0 ;
4681 PyObject
* obj2
= 0 ;
4682 PyObject
* obj3
= 0 ;
4683 PyObject
* obj4
= 0 ;
4684 PyObject
* obj5
= 0 ;
4686 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4693 arg2
= (int) SWIG_AsInt(obj1
);
4694 if (PyErr_Occurred()) SWIG_fail
;
4699 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4705 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4709 arg5
= (long) SWIG_AsLong(obj4
);
4710 if (PyErr_Occurred()) SWIG_fail
;
4714 arg6
= wxString_in_helper(obj5
);
4715 if (arg6
== NULL
) SWIG_fail
;
4720 if (!wxPyCheckForApp()) SWIG_fail
;
4721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4722 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4724 wxPyEndAllowThreads(__tstate
);
4725 if (PyErr_Occurred()) SWIG_fail
;
4727 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4742 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4743 PyObject
*resultobj
;
4744 wxStaticLine
*result
;
4749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4751 if (!wxPyCheckForApp()) SWIG_fail
;
4752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4753 result
= (wxStaticLine
*)new wxStaticLine();
4755 wxPyEndAllowThreads(__tstate
);
4756 if (PyErr_Occurred()) SWIG_fail
;
4758 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4765 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4766 PyObject
*resultobj
;
4767 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4768 wxWindow
*arg2
= (wxWindow
*) 0 ;
4769 int arg3
= (int) -1 ;
4770 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4771 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4772 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4773 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4774 long arg6
= (long) wxLI_HORIZONTAL
;
4775 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4776 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4780 bool temp7
= False
;
4781 PyObject
* obj0
= 0 ;
4782 PyObject
* obj1
= 0 ;
4783 PyObject
* obj2
= 0 ;
4784 PyObject
* obj3
= 0 ;
4785 PyObject
* obj4
= 0 ;
4786 PyObject
* obj5
= 0 ;
4787 PyObject
* obj6
= 0 ;
4789 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4795 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4798 arg3
= (int) SWIG_AsInt(obj2
);
4799 if (PyErr_Occurred()) SWIG_fail
;
4804 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4810 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4814 arg6
= (long) SWIG_AsLong(obj5
);
4815 if (PyErr_Occurred()) SWIG_fail
;
4819 arg7
= wxString_in_helper(obj6
);
4820 if (arg7
== NULL
) SWIG_fail
;
4825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4826 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4828 wxPyEndAllowThreads(__tstate
);
4829 if (PyErr_Occurred()) SWIG_fail
;
4832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4848 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4849 PyObject
*resultobj
;
4850 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4852 PyObject
* obj0
= 0 ;
4854 (char *) "self", NULL
4857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4862 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4864 wxPyEndAllowThreads(__tstate
);
4865 if (PyErr_Occurred()) SWIG_fail
;
4868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4876 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4877 PyObject
*resultobj
;
4883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
4885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4886 result
= (int)wxStaticLine::GetDefaultSize();
4888 wxPyEndAllowThreads(__tstate
);
4889 if (PyErr_Occurred()) SWIG_fail
;
4891 resultobj
= SWIG_FromInt((int)result
);
4898 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4899 PyObject
*resultobj
;
4900 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4901 wxVisualAttributes result
;
4902 PyObject
* obj0
= 0 ;
4904 (char *) "variant", NULL
4907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4909 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4910 if (PyErr_Occurred()) SWIG_fail
;
4913 if (!wxPyCheckForApp()) SWIG_fail
;
4914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4915 result
= wxStaticLine::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4917 wxPyEndAllowThreads(__tstate
);
4918 if (PyErr_Occurred()) SWIG_fail
;
4921 wxVisualAttributes
* resultptr
;
4922 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4923 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4931 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
4933 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4934 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
4936 return Py_BuildValue((char *)"");
4938 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4939 PyObject
*resultobj
;
4940 wxWindow
*arg1
= (wxWindow
*) 0 ;
4941 int arg2
= (int) -1 ;
4942 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4943 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4944 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4945 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4946 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4947 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4948 long arg6
= (long) 0 ;
4949 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4950 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4951 wxStaticText
*result
;
4952 bool temp3
= False
;
4955 bool temp7
= False
;
4956 PyObject
* obj0
= 0 ;
4957 PyObject
* obj1
= 0 ;
4958 PyObject
* obj2
= 0 ;
4959 PyObject
* obj3
= 0 ;
4960 PyObject
* obj4
= 0 ;
4961 PyObject
* obj5
= 0 ;
4962 PyObject
* obj6
= 0 ;
4964 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4971 arg2
= (int) SWIG_AsInt(obj1
);
4972 if (PyErr_Occurred()) SWIG_fail
;
4976 arg3
= wxString_in_helper(obj2
);
4977 if (arg3
== NULL
) SWIG_fail
;
4984 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4990 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4994 arg6
= (long) SWIG_AsLong(obj5
);
4995 if (PyErr_Occurred()) SWIG_fail
;
4999 arg7
= wxString_in_helper(obj6
);
5000 if (arg7
== NULL
) SWIG_fail
;
5005 if (!wxPyCheckForApp()) SWIG_fail
;
5006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5007 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5009 wxPyEndAllowThreads(__tstate
);
5010 if (PyErr_Occurred()) SWIG_fail
;
5012 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
5035 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5036 PyObject
*resultobj
;
5037 wxStaticText
*result
;
5042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
5044 if (!wxPyCheckForApp()) SWIG_fail
;
5045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5046 result
= (wxStaticText
*)new wxStaticText();
5048 wxPyEndAllowThreads(__tstate
);
5049 if (PyErr_Occurred()) SWIG_fail
;
5051 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
5058 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5059 PyObject
*resultobj
;
5060 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
5061 wxWindow
*arg2
= (wxWindow
*) 0 ;
5062 int arg3
= (int) -1 ;
5063 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5064 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5065 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5066 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5067 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5068 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5069 long arg7
= (long) 0 ;
5070 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
5071 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5073 bool temp4
= False
;
5076 bool temp8
= False
;
5077 PyObject
* obj0
= 0 ;
5078 PyObject
* obj1
= 0 ;
5079 PyObject
* obj2
= 0 ;
5080 PyObject
* obj3
= 0 ;
5081 PyObject
* obj4
= 0 ;
5082 PyObject
* obj5
= 0 ;
5083 PyObject
* obj6
= 0 ;
5084 PyObject
* obj7
= 0 ;
5086 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticText
,
5091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5092 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5095 arg3
= (int) SWIG_AsInt(obj2
);
5096 if (PyErr_Occurred()) SWIG_fail
;
5100 arg4
= wxString_in_helper(obj3
);
5101 if (arg4
== NULL
) SWIG_fail
;
5108 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5114 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5118 arg7
= (long) SWIG_AsLong(obj6
);
5119 if (PyErr_Occurred()) SWIG_fail
;
5123 arg8
= wxString_in_helper(obj7
);
5124 if (arg8
== NULL
) SWIG_fail
;
5129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5130 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5132 wxPyEndAllowThreads(__tstate
);
5133 if (PyErr_Occurred()) SWIG_fail
;
5136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5160 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5161 PyObject
*resultobj
;
5162 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5163 wxVisualAttributes result
;
5164 PyObject
* obj0
= 0 ;
5166 (char *) "variant", NULL
5169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5171 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
5172 if (PyErr_Occurred()) SWIG_fail
;
5175 if (!wxPyCheckForApp()) SWIG_fail
;
5176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5177 result
= wxStaticText::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5179 wxPyEndAllowThreads(__tstate
);
5180 if (PyErr_Occurred()) SWIG_fail
;
5183 wxVisualAttributes
* resultptr
;
5184 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5185 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5193 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
5195 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5196 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
5198 return Py_BuildValue((char *)"");
5200 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5201 PyObject
*resultobj
;
5202 wxWindow
*arg1
= (wxWindow
*) 0 ;
5203 int arg2
= (int) -1 ;
5204 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
5205 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
5206 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5207 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5208 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5209 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5210 long arg6
= (long) 0 ;
5211 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
5212 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5213 wxStaticBitmap
*result
;
5216 bool temp7
= False
;
5217 PyObject
* obj0
= 0 ;
5218 PyObject
* obj1
= 0 ;
5219 PyObject
* obj2
= 0 ;
5220 PyObject
* obj3
= 0 ;
5221 PyObject
* obj4
= 0 ;
5222 PyObject
* obj5
= 0 ;
5223 PyObject
* obj6
= 0 ;
5225 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5232 arg2
= (int) SWIG_AsInt(obj1
);
5233 if (PyErr_Occurred()) SWIG_fail
;
5236 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
5237 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5240 PyErr_SetString(PyExc_TypeError
,"null reference");
5247 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5253 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5257 arg6
= (long) SWIG_AsLong(obj5
);
5258 if (PyErr_Occurred()) SWIG_fail
;
5262 arg7
= wxString_in_helper(obj6
);
5263 if (arg7
== NULL
) SWIG_fail
;
5268 if (!wxPyCheckForApp()) SWIG_fail
;
5269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5270 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5272 wxPyEndAllowThreads(__tstate
);
5273 if (PyErr_Occurred()) SWIG_fail
;
5275 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5290 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5291 PyObject
*resultobj
;
5292 wxStaticBitmap
*result
;
5297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
5299 if (!wxPyCheckForApp()) SWIG_fail
;
5300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5301 result
= (wxStaticBitmap
*)new wxStaticBitmap();
5303 wxPyEndAllowThreads(__tstate
);
5304 if (PyErr_Occurred()) SWIG_fail
;
5306 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5313 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5314 PyObject
*resultobj
;
5315 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5316 wxWindow
*arg2
= (wxWindow
*) 0 ;
5317 int arg3
= (int) -1 ;
5318 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
5319 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
5320 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5321 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5322 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5323 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5324 long arg7
= (long) 0 ;
5325 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
5326 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5330 bool temp8
= False
;
5331 PyObject
* obj0
= 0 ;
5332 PyObject
* obj1
= 0 ;
5333 PyObject
* obj2
= 0 ;
5334 PyObject
* obj3
= 0 ;
5335 PyObject
* obj4
= 0 ;
5336 PyObject
* obj5
= 0 ;
5337 PyObject
* obj6
= 0 ;
5338 PyObject
* obj7
= 0 ;
5340 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5346 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5349 arg3
= (int) SWIG_AsInt(obj2
);
5350 if (PyErr_Occurred()) SWIG_fail
;
5353 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
5354 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5357 PyErr_SetString(PyExc_TypeError
,"null reference");
5364 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5370 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5374 arg7
= (long) SWIG_AsLong(obj6
);
5375 if (PyErr_Occurred()) SWIG_fail
;
5379 arg8
= wxString_in_helper(obj7
);
5380 if (arg8
== NULL
) SWIG_fail
;
5385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5386 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5388 wxPyEndAllowThreads(__tstate
);
5389 if (PyErr_Occurred()) SWIG_fail
;
5392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5408 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5409 PyObject
*resultobj
;
5410 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5412 PyObject
* obj0
= 0 ;
5414 (char *) "self", NULL
5417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
5418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5422 result
= (arg1
)->GetBitmap();
5424 wxPyEndAllowThreads(__tstate
);
5425 if (PyErr_Occurred()) SWIG_fail
;
5428 wxBitmap
* resultptr
;
5429 resultptr
= new wxBitmap((wxBitmap
&) result
);
5430 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5438 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5439 PyObject
*resultobj
;
5440 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5441 wxBitmap
*arg2
= 0 ;
5442 PyObject
* obj0
= 0 ;
5443 PyObject
* obj1
= 0 ;
5445 (char *) "self",(char *) "bitmap", NULL
5448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5451 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5452 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5455 PyErr_SetString(PyExc_TypeError
,"null reference");
5459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5460 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
5462 wxPyEndAllowThreads(__tstate
);
5463 if (PyErr_Occurred()) SWIG_fail
;
5465 Py_INCREF(Py_None
); resultobj
= Py_None
;
5472 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5473 PyObject
*resultobj
;
5474 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5476 PyObject
* obj0
= 0 ;
5477 PyObject
* obj1
= 0 ;
5479 (char *) "self",(char *) "icon", NULL
5482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5485 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
5486 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5489 PyErr_SetString(PyExc_TypeError
,"null reference");
5493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5494 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5496 wxPyEndAllowThreads(__tstate
);
5497 if (PyErr_Occurred()) SWIG_fail
;
5499 Py_INCREF(Py_None
); resultobj
= Py_None
;
5506 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5507 PyObject
*resultobj
;
5508 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5509 wxVisualAttributes result
;
5510 PyObject
* obj0
= 0 ;
5512 (char *) "variant", NULL
5515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5517 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
5518 if (PyErr_Occurred()) SWIG_fail
;
5521 if (!wxPyCheckForApp()) SWIG_fail
;
5522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5523 result
= wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5525 wxPyEndAllowThreads(__tstate
);
5526 if (PyErr_Occurred()) SWIG_fail
;
5529 wxVisualAttributes
* resultptr
;
5530 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5531 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5539 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
5541 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5542 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
5544 return Py_BuildValue((char *)"");
5546 static int _wrap_ListBoxNameStr_set(PyObject
*_val
) {
5547 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
5552 static PyObject
*_wrap_ListBoxNameStr_get() {
5557 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5559 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5566 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5567 PyObject
*resultobj
;
5568 wxWindow
*arg1
= (wxWindow
*) 0 ;
5569 int arg2
= (int) -1 ;
5570 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5571 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5572 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5573 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5574 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5575 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5576 long arg6
= (long) 0 ;
5577 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5578 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5579 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5580 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5584 bool temp5
= False
;
5585 bool temp8
= False
;
5586 PyObject
* obj0
= 0 ;
5587 PyObject
* obj1
= 0 ;
5588 PyObject
* obj2
= 0 ;
5589 PyObject
* obj3
= 0 ;
5590 PyObject
* obj4
= 0 ;
5591 PyObject
* obj5
= 0 ;
5592 PyObject
* obj6
= 0 ;
5593 PyObject
* obj7
= 0 ;
5595 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5602 arg2
= (int) SWIG_AsInt(obj1
);
5603 if (PyErr_Occurred()) SWIG_fail
;
5608 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5614 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5619 if (! PySequence_Check(obj4
)) {
5620 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5623 arg5
= new wxArrayString
;
5625 int i
, len
=PySequence_Length(obj4
);
5626 for (i
=0; i
<len
; i
++) {
5627 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5629 PyObject
* str
= PyObject_Unicode(item
);
5631 PyObject
* str
= PyObject_Str(item
);
5633 if (PyErr_Occurred()) SWIG_fail
;
5634 arg5
->Add(Py2wxString(str
));
5641 arg6
= (long) SWIG_AsLong(obj5
);
5642 if (PyErr_Occurred()) SWIG_fail
;
5645 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
5646 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5649 PyErr_SetString(PyExc_TypeError
,"null reference");
5655 arg8
= wxString_in_helper(obj7
);
5656 if (arg8
== NULL
) SWIG_fail
;
5661 if (!wxPyCheckForApp()) SWIG_fail
;
5662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5663 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5665 wxPyEndAllowThreads(__tstate
);
5666 if (PyErr_Occurred()) SWIG_fail
;
5668 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5670 if (temp5
) delete arg5
;
5679 if (temp5
) delete arg5
;
5689 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5690 PyObject
*resultobj
;
5696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5698 if (!wxPyCheckForApp()) SWIG_fail
;
5699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5700 result
= (wxListBox
*)new wxListBox();
5702 wxPyEndAllowThreads(__tstate
);
5703 if (PyErr_Occurred()) SWIG_fail
;
5705 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5712 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5713 PyObject
*resultobj
;
5714 wxListBox
*arg1
= (wxListBox
*) 0 ;
5715 wxWindow
*arg2
= (wxWindow
*) 0 ;
5716 int arg3
= (int) -1 ;
5717 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5718 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5719 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5720 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5721 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5722 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5723 long arg7
= (long) 0 ;
5724 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5725 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5726 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5727 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5731 bool temp6
= False
;
5732 bool temp9
= False
;
5733 PyObject
* obj0
= 0 ;
5734 PyObject
* obj1
= 0 ;
5735 PyObject
* obj2
= 0 ;
5736 PyObject
* obj3
= 0 ;
5737 PyObject
* obj4
= 0 ;
5738 PyObject
* obj5
= 0 ;
5739 PyObject
* obj6
= 0 ;
5740 PyObject
* obj7
= 0 ;
5741 PyObject
* obj8
= 0 ;
5743 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5749 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5752 arg3
= (int) SWIG_AsInt(obj2
);
5753 if (PyErr_Occurred()) SWIG_fail
;
5758 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5764 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5769 if (! PySequence_Check(obj5
)) {
5770 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5773 arg6
= new wxArrayString
;
5775 int i
, len
=PySequence_Length(obj5
);
5776 for (i
=0; i
<len
; i
++) {
5777 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5779 PyObject
* str
= PyObject_Unicode(item
);
5781 PyObject
* str
= PyObject_Str(item
);
5783 if (PyErr_Occurred()) SWIG_fail
;
5784 arg6
->Add(Py2wxString(str
));
5791 arg7
= (long) SWIG_AsLong(obj6
);
5792 if (PyErr_Occurred()) SWIG_fail
;
5795 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
5796 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5799 PyErr_SetString(PyExc_TypeError
,"null reference");
5805 arg9
= wxString_in_helper(obj8
);
5806 if (arg9
== NULL
) SWIG_fail
;
5811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5812 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5814 wxPyEndAllowThreads(__tstate
);
5815 if (PyErr_Occurred()) SWIG_fail
;
5818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5821 if (temp6
) delete arg6
;
5830 if (temp6
) delete arg6
;
5840 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5841 PyObject
*resultobj
;
5842 wxListBox
*arg1
= (wxListBox
*) 0 ;
5843 wxString
*arg2
= 0 ;
5845 PyObject
*arg4
= (PyObject
*) NULL
;
5846 bool temp2
= False
;
5847 PyObject
* obj0
= 0 ;
5848 PyObject
* obj1
= 0 ;
5849 PyObject
* obj2
= 0 ;
5850 PyObject
* obj3
= 0 ;
5852 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5859 arg2
= wxString_in_helper(obj1
);
5860 if (arg2
== NULL
) SWIG_fail
;
5863 arg3
= (int) SWIG_AsInt(obj2
);
5864 if (PyErr_Occurred()) SWIG_fail
;
5869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5870 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5872 wxPyEndAllowThreads(__tstate
);
5873 if (PyErr_Occurred()) SWIG_fail
;
5875 Py_INCREF(Py_None
); resultobj
= Py_None
;
5890 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5891 PyObject
*resultobj
;
5892 wxListBox
*arg1
= (wxListBox
*) 0 ;
5893 wxArrayString
*arg2
= 0 ;
5895 bool temp2
= False
;
5896 PyObject
* obj0
= 0 ;
5897 PyObject
* obj1
= 0 ;
5898 PyObject
* obj2
= 0 ;
5900 (char *) "self",(char *) "items",(char *) "pos", NULL
5903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5907 if (! PySequence_Check(obj1
)) {
5908 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5911 arg2
= new wxArrayString
;
5913 int i
, len
=PySequence_Length(obj1
);
5914 for (i
=0; i
<len
; i
++) {
5915 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5917 PyObject
* str
= PyObject_Unicode(item
);
5919 PyObject
* str
= PyObject_Str(item
);
5921 if (PyErr_Occurred()) SWIG_fail
;
5922 arg2
->Add(Py2wxString(str
));
5927 arg3
= (int) SWIG_AsInt(obj2
);
5928 if (PyErr_Occurred()) SWIG_fail
;
5930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5931 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
5933 wxPyEndAllowThreads(__tstate
);
5934 if (PyErr_Occurred()) SWIG_fail
;
5936 Py_INCREF(Py_None
); resultobj
= Py_None
;
5938 if (temp2
) delete arg2
;
5943 if (temp2
) delete arg2
;
5949 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5950 PyObject
*resultobj
;
5951 wxListBox
*arg1
= (wxListBox
*) 0 ;
5952 wxArrayString
*arg2
= 0 ;
5953 bool temp2
= False
;
5954 PyObject
* obj0
= 0 ;
5955 PyObject
* obj1
= 0 ;
5957 (char *) "self",(char *) "items", NULL
5960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
5961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5964 if (! PySequence_Check(obj1
)) {
5965 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5968 arg2
= new wxArrayString
;
5970 int i
, len
=PySequence_Length(obj1
);
5971 for (i
=0; i
<len
; i
++) {
5972 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5974 PyObject
* str
= PyObject_Unicode(item
);
5976 PyObject
* str
= PyObject_Str(item
);
5978 if (PyErr_Occurred()) SWIG_fail
;
5979 arg2
->Add(Py2wxString(str
));
5985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5986 (arg1
)->Set((wxArrayString
const &)*arg2
);
5988 wxPyEndAllowThreads(__tstate
);
5989 if (PyErr_Occurred()) SWIG_fail
;
5991 Py_INCREF(Py_None
); resultobj
= Py_None
;
5993 if (temp2
) delete arg2
;
5998 if (temp2
) delete arg2
;
6004 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6005 PyObject
*resultobj
;
6006 wxListBox
*arg1
= (wxListBox
*) 0 ;
6009 PyObject
* obj0
= 0 ;
6010 PyObject
* obj1
= 0 ;
6012 (char *) "self",(char *) "n", NULL
6015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
6016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6018 arg2
= (int) SWIG_AsInt(obj1
);
6019 if (PyErr_Occurred()) SWIG_fail
;
6021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6022 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
6024 wxPyEndAllowThreads(__tstate
);
6025 if (PyErr_Occurred()) SWIG_fail
;
6028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6036 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6037 PyObject
*resultobj
;
6038 wxListBox
*arg1
= (wxListBox
*) 0 ;
6040 bool arg3
= (bool) True
;
6041 PyObject
* obj0
= 0 ;
6042 PyObject
* obj1
= 0 ;
6043 PyObject
* obj2
= 0 ;
6045 (char *) "self",(char *) "n",(char *) "select", NULL
6048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6051 arg2
= (int) SWIG_AsInt(obj1
);
6052 if (PyErr_Occurred()) SWIG_fail
;
6054 arg3
= (bool) SWIG_AsBool(obj2
);
6055 if (PyErr_Occurred()) SWIG_fail
;
6058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6059 (arg1
)->SetSelection(arg2
,arg3
);
6061 wxPyEndAllowThreads(__tstate
);
6062 if (PyErr_Occurred()) SWIG_fail
;
6064 Py_INCREF(Py_None
); resultobj
= Py_None
;
6071 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6072 PyObject
*resultobj
;
6073 wxListBox
*arg1
= (wxListBox
*) 0 ;
6075 PyObject
* obj0
= 0 ;
6076 PyObject
* obj1
= 0 ;
6078 (char *) "self",(char *) "n", NULL
6081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
6082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6084 arg2
= (int) SWIG_AsInt(obj1
);
6085 if (PyErr_Occurred()) SWIG_fail
;
6087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6088 (arg1
)->Select(arg2
);
6090 wxPyEndAllowThreads(__tstate
);
6091 if (PyErr_Occurred()) SWIG_fail
;
6093 Py_INCREF(Py_None
); resultobj
= Py_None
;
6100 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6101 PyObject
*resultobj
;
6102 wxListBox
*arg1
= (wxListBox
*) 0 ;
6104 PyObject
* obj0
= 0 ;
6105 PyObject
* obj1
= 0 ;
6107 (char *) "self",(char *) "n", NULL
6110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
6111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6113 arg2
= (int) SWIG_AsInt(obj1
);
6114 if (PyErr_Occurred()) SWIG_fail
;
6116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6117 (arg1
)->Deselect(arg2
);
6119 wxPyEndAllowThreads(__tstate
);
6120 if (PyErr_Occurred()) SWIG_fail
;
6122 Py_INCREF(Py_None
); resultobj
= Py_None
;
6129 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6130 PyObject
*resultobj
;
6131 wxListBox
*arg1
= (wxListBox
*) 0 ;
6132 int arg2
= (int) -1 ;
6133 PyObject
* obj0
= 0 ;
6134 PyObject
* obj1
= 0 ;
6136 (char *) "self",(char *) "itemToLeaveSelected", NULL
6139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
6140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6143 arg2
= (int) SWIG_AsInt(obj1
);
6144 if (PyErr_Occurred()) SWIG_fail
;
6147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6148 (arg1
)->DeselectAll(arg2
);
6150 wxPyEndAllowThreads(__tstate
);
6151 if (PyErr_Occurred()) SWIG_fail
;
6153 Py_INCREF(Py_None
); resultobj
= Py_None
;
6160 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6161 PyObject
*resultobj
;
6162 wxListBox
*arg1
= (wxListBox
*) 0 ;
6163 wxString
*arg2
= 0 ;
6164 bool arg3
= (bool) True
;
6166 bool temp2
= False
;
6167 PyObject
* obj0
= 0 ;
6168 PyObject
* obj1
= 0 ;
6169 PyObject
* obj2
= 0 ;
6171 (char *) "self",(char *) "s",(char *) "select", NULL
6174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6178 arg2
= wxString_in_helper(obj1
);
6179 if (arg2
== NULL
) SWIG_fail
;
6183 arg3
= (bool) SWIG_AsBool(obj2
);
6184 if (PyErr_Occurred()) SWIG_fail
;
6187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6188 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
6190 wxPyEndAllowThreads(__tstate
);
6191 if (PyErr_Occurred()) SWIG_fail
;
6194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6210 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6211 PyObject
*resultobj
;
6212 wxListBox
*arg1
= (wxListBox
*) 0 ;
6214 PyObject
* obj0
= 0 ;
6216 (char *) "self", NULL
6219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
6220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6224 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
6226 wxPyEndAllowThreads(__tstate
);
6227 if (PyErr_Occurred()) SWIG_fail
;
6236 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6237 PyObject
*resultobj
;
6238 wxListBox
*arg1
= (wxListBox
*) 0 ;
6240 PyObject
* obj0
= 0 ;
6241 PyObject
* obj1
= 0 ;
6243 (char *) "self",(char *) "n", NULL
6246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
6247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6249 arg2
= (int) SWIG_AsInt(obj1
);
6250 if (PyErr_Occurred()) SWIG_fail
;
6252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6253 (arg1
)->SetFirstItem(arg2
);
6255 wxPyEndAllowThreads(__tstate
);
6256 if (PyErr_Occurred()) SWIG_fail
;
6258 Py_INCREF(Py_None
); resultobj
= Py_None
;
6265 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6266 PyObject
*resultobj
;
6267 wxListBox
*arg1
= (wxListBox
*) 0 ;
6268 wxString
*arg2
= 0 ;
6269 bool temp2
= False
;
6270 PyObject
* obj0
= 0 ;
6271 PyObject
* obj1
= 0 ;
6273 (char *) "self",(char *) "s", NULL
6276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
6277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6280 arg2
= wxString_in_helper(obj1
);
6281 if (arg2
== NULL
) SWIG_fail
;
6285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6286 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
6288 wxPyEndAllowThreads(__tstate
);
6289 if (PyErr_Occurred()) SWIG_fail
;
6291 Py_INCREF(Py_None
); resultobj
= Py_None
;
6306 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6307 PyObject
*resultobj
;
6308 wxListBox
*arg1
= (wxListBox
*) 0 ;
6310 PyObject
* obj0
= 0 ;
6311 PyObject
* obj1
= 0 ;
6313 (char *) "self",(char *) "n", NULL
6316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6319 arg2
= (int) SWIG_AsInt(obj1
);
6320 if (PyErr_Occurred()) SWIG_fail
;
6322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6323 (arg1
)->EnsureVisible(arg2
);
6325 wxPyEndAllowThreads(__tstate
);
6326 if (PyErr_Occurred()) SWIG_fail
;
6328 Py_INCREF(Py_None
); resultobj
= Py_None
;
6335 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6336 PyObject
*resultobj
;
6337 wxListBox
*arg1
= (wxListBox
*) 0 ;
6338 wxString
*arg2
= 0 ;
6339 bool temp2
= False
;
6340 PyObject
* obj0
= 0 ;
6341 PyObject
* obj1
= 0 ;
6343 (char *) "self",(char *) "s", NULL
6346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6350 arg2
= wxString_in_helper(obj1
);
6351 if (arg2
== NULL
) SWIG_fail
;
6355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6356 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
6358 wxPyEndAllowThreads(__tstate
);
6359 if (PyErr_Occurred()) SWIG_fail
;
6361 Py_INCREF(Py_None
); resultobj
= Py_None
;
6376 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6377 PyObject
*resultobj
;
6378 wxListBox
*arg1
= (wxListBox
*) 0 ;
6380 PyObject
* obj0
= 0 ;
6382 (char *) "self", NULL
6385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
6386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6390 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
6392 wxPyEndAllowThreads(__tstate
);
6393 if (PyErr_Occurred()) SWIG_fail
;
6396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6404 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6405 PyObject
*resultobj
;
6406 wxListBox
*arg1
= (wxListBox
*) 0 ;
6408 wxColour
*arg3
= 0 ;
6410 PyObject
* obj0
= 0 ;
6411 PyObject
* obj1
= 0 ;
6412 PyObject
* obj2
= 0 ;
6414 (char *) "self",(char *) "item",(char *) "c", NULL
6417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6420 arg2
= (int) SWIG_AsInt(obj1
);
6421 if (PyErr_Occurred()) SWIG_fail
;
6424 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6428 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6430 wxPyEndAllowThreads(__tstate
);
6431 if (PyErr_Occurred()) SWIG_fail
;
6433 Py_INCREF(Py_None
); resultobj
= Py_None
;
6440 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6441 PyObject
*resultobj
;
6442 wxListBox
*arg1
= (wxListBox
*) 0 ;
6444 wxColour
*arg3
= 0 ;
6446 PyObject
* obj0
= 0 ;
6447 PyObject
* obj1
= 0 ;
6448 PyObject
* obj2
= 0 ;
6450 (char *) "self",(char *) "item",(char *) "c", NULL
6453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6456 arg2
= (int) SWIG_AsInt(obj1
);
6457 if (PyErr_Occurred()) SWIG_fail
;
6460 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6464 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6466 wxPyEndAllowThreads(__tstate
);
6467 if (PyErr_Occurred()) SWIG_fail
;
6469 Py_INCREF(Py_None
); resultobj
= Py_None
;
6476 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6477 PyObject
*resultobj
;
6478 wxListBox
*arg1
= (wxListBox
*) 0 ;
6481 PyObject
* obj0
= 0 ;
6482 PyObject
* obj1
= 0 ;
6483 PyObject
* obj2
= 0 ;
6485 (char *) "self",(char *) "item",(char *) "f", NULL
6488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6491 arg2
= (int) SWIG_AsInt(obj1
);
6492 if (PyErr_Occurred()) SWIG_fail
;
6493 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6494 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6497 PyErr_SetString(PyExc_TypeError
,"null reference");
6501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6502 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
6504 wxPyEndAllowThreads(__tstate
);
6505 if (PyErr_Occurred()) SWIG_fail
;
6507 Py_INCREF(Py_None
); resultobj
= Py_None
;
6514 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6515 PyObject
*resultobj
;
6516 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6517 wxVisualAttributes result
;
6518 PyObject
* obj0
= 0 ;
6520 (char *) "variant", NULL
6523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6525 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
6526 if (PyErr_Occurred()) SWIG_fail
;
6529 if (!wxPyCheckForApp()) SWIG_fail
;
6530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6531 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6533 wxPyEndAllowThreads(__tstate
);
6534 if (PyErr_Occurred()) SWIG_fail
;
6537 wxVisualAttributes
* resultptr
;
6538 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6539 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6547 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6549 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6550 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
6552 return Py_BuildValue((char *)"");
6554 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6555 PyObject
*resultobj
;
6556 wxWindow
*arg1
= (wxWindow
*) 0 ;
6557 int arg2
= (int) -1 ;
6558 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6559 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6560 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6561 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6562 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
6563 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
6564 long arg6
= (long) 0 ;
6565 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6566 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6567 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
6568 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6569 wxCheckListBox
*result
;
6572 bool temp5
= False
;
6573 bool temp8
= False
;
6574 PyObject
* obj0
= 0 ;
6575 PyObject
* obj1
= 0 ;
6576 PyObject
* obj2
= 0 ;
6577 PyObject
* obj3
= 0 ;
6578 PyObject
* obj4
= 0 ;
6579 PyObject
* obj5
= 0 ;
6580 PyObject
* obj6
= 0 ;
6581 PyObject
* obj7
= 0 ;
6583 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6590 arg2
= (int) SWIG_AsInt(obj1
);
6591 if (PyErr_Occurred()) SWIG_fail
;
6596 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6602 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6607 if (! PySequence_Check(obj4
)) {
6608 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6611 arg5
= new wxArrayString
;
6613 int i
, len
=PySequence_Length(obj4
);
6614 for (i
=0; i
<len
; i
++) {
6615 PyObject
* item
= PySequence_GetItem(obj4
, i
);
6617 PyObject
* str
= PyObject_Unicode(item
);
6619 PyObject
* str
= PyObject_Str(item
);
6621 if (PyErr_Occurred()) SWIG_fail
;
6622 arg5
->Add(Py2wxString(str
));
6629 arg6
= (long) SWIG_AsLong(obj5
);
6630 if (PyErr_Occurred()) SWIG_fail
;
6633 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
6634 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6637 PyErr_SetString(PyExc_TypeError
,"null reference");
6643 arg8
= wxString_in_helper(obj7
);
6644 if (arg8
== NULL
) SWIG_fail
;
6649 if (!wxPyCheckForApp()) SWIG_fail
;
6650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6651 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6653 wxPyEndAllowThreads(__tstate
);
6654 if (PyErr_Occurred()) SWIG_fail
;
6656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6658 if (temp5
) delete arg5
;
6667 if (temp5
) delete arg5
;
6677 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6678 PyObject
*resultobj
;
6679 wxCheckListBox
*result
;
6684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
6686 if (!wxPyCheckForApp()) SWIG_fail
;
6687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6688 result
= (wxCheckListBox
*)new wxCheckListBox();
6690 wxPyEndAllowThreads(__tstate
);
6691 if (PyErr_Occurred()) SWIG_fail
;
6693 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6700 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6701 PyObject
*resultobj
;
6702 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6703 wxWindow
*arg2
= (wxWindow
*) 0 ;
6704 int arg3
= (int) -1 ;
6705 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6706 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6707 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6708 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6709 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
6710 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
6711 long arg7
= (long) 0 ;
6712 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6713 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6714 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
6715 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6719 bool temp6
= False
;
6720 bool temp9
= False
;
6721 PyObject
* obj0
= 0 ;
6722 PyObject
* obj1
= 0 ;
6723 PyObject
* obj2
= 0 ;
6724 PyObject
* obj3
= 0 ;
6725 PyObject
* obj4
= 0 ;
6726 PyObject
* obj5
= 0 ;
6727 PyObject
* obj6
= 0 ;
6728 PyObject
* obj7
= 0 ;
6729 PyObject
* obj8
= 0 ;
6731 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
6735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6737 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6740 arg3
= (int) SWIG_AsInt(obj2
);
6741 if (PyErr_Occurred()) SWIG_fail
;
6746 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6752 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6757 if (! PySequence_Check(obj5
)) {
6758 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6761 arg6
= new wxArrayString
;
6763 int i
, len
=PySequence_Length(obj5
);
6764 for (i
=0; i
<len
; i
++) {
6765 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6767 PyObject
* str
= PyObject_Unicode(item
);
6769 PyObject
* str
= PyObject_Str(item
);
6771 if (PyErr_Occurred()) SWIG_fail
;
6772 arg6
->Add(Py2wxString(str
));
6779 arg7
= (long) SWIG_AsLong(obj6
);
6780 if (PyErr_Occurred()) SWIG_fail
;
6783 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
6784 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6787 PyErr_SetString(PyExc_TypeError
,"null reference");
6793 arg9
= wxString_in_helper(obj8
);
6794 if (arg9
== NULL
) SWIG_fail
;
6799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6800 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6802 wxPyEndAllowThreads(__tstate
);
6803 if (PyErr_Occurred()) SWIG_fail
;
6806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6809 if (temp6
) delete arg6
;
6818 if (temp6
) delete arg6
;
6828 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6829 PyObject
*resultobj
;
6830 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6833 PyObject
* obj0
= 0 ;
6834 PyObject
* obj1
= 0 ;
6836 (char *) "self",(char *) "index", NULL
6839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6842 arg2
= (int) SWIG_AsInt(obj1
);
6843 if (PyErr_Occurred()) SWIG_fail
;
6845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6846 result
= (bool)(arg1
)->IsChecked(arg2
);
6848 wxPyEndAllowThreads(__tstate
);
6849 if (PyErr_Occurred()) SWIG_fail
;
6852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6860 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6861 PyObject
*resultobj
;
6862 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6864 int arg3
= (int) True
;
6865 PyObject
* obj0
= 0 ;
6866 PyObject
* obj1
= 0 ;
6867 PyObject
* obj2
= 0 ;
6869 (char *) "self",(char *) "index",(char *) "check", NULL
6872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6875 arg2
= (int) SWIG_AsInt(obj1
);
6876 if (PyErr_Occurred()) SWIG_fail
;
6878 arg3
= (int) SWIG_AsInt(obj2
);
6879 if (PyErr_Occurred()) SWIG_fail
;
6882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6883 (arg1
)->Check(arg2
,arg3
);
6885 wxPyEndAllowThreads(__tstate
);
6886 if (PyErr_Occurred()) SWIG_fail
;
6888 Py_INCREF(Py_None
); resultobj
= Py_None
;
6895 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6896 PyObject
*resultobj
;
6897 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6899 PyObject
* obj0
= 0 ;
6901 (char *) "self", NULL
6904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
6905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6909 result
= (int)(arg1
)->GetItemHeight();
6911 wxPyEndAllowThreads(__tstate
);
6912 if (PyErr_Occurred()) SWIG_fail
;
6914 resultobj
= SWIG_FromInt((int)result
);
6921 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6922 PyObject
*resultobj
;
6923 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6927 PyObject
* obj0
= 0 ;
6928 PyObject
* obj1
= 0 ;
6930 (char *) "self",(char *) "pt", NULL
6933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
6934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6938 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6942 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
6944 wxPyEndAllowThreads(__tstate
);
6945 if (PyErr_Occurred()) SWIG_fail
;
6947 resultobj
= SWIG_FromInt((int)result
);
6954 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6955 PyObject
*resultobj
;
6956 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6960 PyObject
* obj0
= 0 ;
6961 PyObject
* obj1
= 0 ;
6962 PyObject
* obj2
= 0 ;
6964 (char *) "self",(char *) "x",(char *) "y", NULL
6967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6970 arg2
= (int) SWIG_AsInt(obj1
);
6971 if (PyErr_Occurred()) SWIG_fail
;
6972 arg3
= (int) SWIG_AsInt(obj2
);
6973 if (PyErr_Occurred()) SWIG_fail
;
6975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6976 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
6978 wxPyEndAllowThreads(__tstate
);
6979 if (PyErr_Occurred()) SWIG_fail
;
6981 resultobj
= SWIG_FromInt((int)result
);
6988 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6990 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6991 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
6993 return Py_BuildValue((char *)"");
6995 static int _wrap_TextCtrlNameStr_set(PyObject
*_val
) {
6996 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
7001 static PyObject
*_wrap_TextCtrlNameStr_get() {
7006 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
7008 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
7015 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*self
, PyObject
*args
) {
7016 PyObject
*resultobj
;
7019 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
7021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7022 result
= (wxTextAttr
*)new wxTextAttr();
7024 wxPyEndAllowThreads(__tstate
);
7025 if (PyErr_Occurred()) SWIG_fail
;
7027 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
7034 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*self
, PyObject
*args
) {
7035 PyObject
*resultobj
;
7036 wxColour
*arg1
= 0 ;
7037 wxColour
const &arg2_defvalue
= wxNullColour
;
7038 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
7039 wxFont
const &arg3_defvalue
= wxNullFont
;
7040 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
7041 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
7045 PyObject
* obj0
= 0 ;
7046 PyObject
* obj1
= 0 ;
7047 PyObject
* obj2
= 0 ;
7048 PyObject
* obj3
= 0 ;
7050 if(!PyArg_ParseTuple(args
,(char *)"O|OOO:new_TextAttr",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7053 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
7058 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7062 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
7063 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7066 PyErr_SetString(PyExc_TypeError
,"null reference");
7071 arg4
= (wxTextAttrAlignment
) SWIG_AsInt(obj3
);
7072 if (PyErr_Occurred()) SWIG_fail
;
7075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7076 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
7078 wxPyEndAllowThreads(__tstate
);
7079 if (PyErr_Occurred()) SWIG_fail
;
7081 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
7088 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
7093 argc
= PyObject_Length(args
);
7094 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
7095 argv
[ii
] = PyTuple_GetItem(args
,ii
);
7098 return _wrap_new_TextAttr__SWIG_0(self
,args
);
7100 if ((argc
>= 1) && (argc
<= 4)) {
7103 _v
= wxColour_typecheck(argv
[0]);
7107 return _wrap_new_TextAttr__SWIG_1(self
,args
);
7110 _v
= wxColour_typecheck(argv
[1]);
7114 return _wrap_new_TextAttr__SWIG_1(self
,args
);
7118 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
7127 return _wrap_new_TextAttr__SWIG_1(self
,args
);
7129 _v
= SWIG_CheckInt(argv
[3]);
7131 return _wrap_new_TextAttr__SWIG_1(self
,args
);
7138 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
7143 static PyObject
*_wrap_delete_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7144 PyObject
*resultobj
;
7145 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7146 PyObject
* obj0
= 0 ;
7148 (char *) "self", NULL
7151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
7152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7158 wxPyEndAllowThreads(__tstate
);
7159 if (PyErr_Occurred()) SWIG_fail
;
7161 Py_INCREF(Py_None
); resultobj
= Py_None
;
7168 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7169 PyObject
*resultobj
;
7170 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7171 PyObject
* obj0
= 0 ;
7173 (char *) "self", NULL
7176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
7177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7183 wxPyEndAllowThreads(__tstate
);
7184 if (PyErr_Occurred()) SWIG_fail
;
7186 Py_INCREF(Py_None
); resultobj
= Py_None
;
7193 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7194 PyObject
*resultobj
;
7195 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7196 wxColour
*arg2
= 0 ;
7198 PyObject
* obj0
= 0 ;
7199 PyObject
* obj1
= 0 ;
7201 (char *) "self",(char *) "colText", NULL
7204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7209 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7213 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
7215 wxPyEndAllowThreads(__tstate
);
7216 if (PyErr_Occurred()) SWIG_fail
;
7218 Py_INCREF(Py_None
); resultobj
= Py_None
;
7225 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7226 PyObject
*resultobj
;
7227 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7228 wxColour
*arg2
= 0 ;
7230 PyObject
* obj0
= 0 ;
7231 PyObject
* obj1
= 0 ;
7233 (char *) "self",(char *) "colBack", NULL
7236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7241 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7245 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
7247 wxPyEndAllowThreads(__tstate
);
7248 if (PyErr_Occurred()) SWIG_fail
;
7250 Py_INCREF(Py_None
); resultobj
= Py_None
;
7257 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7258 PyObject
*resultobj
;
7259 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7261 long arg3
= (long) wxTEXT_ATTR_FONT
;
7262 PyObject
* obj0
= 0 ;
7263 PyObject
* obj1
= 0 ;
7264 PyObject
* obj2
= 0 ;
7266 (char *) "self",(char *) "font",(char *) "flags", NULL
7269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7272 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7273 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7276 PyErr_SetString(PyExc_TypeError
,"null reference");
7280 arg3
= (long) SWIG_AsLong(obj2
);
7281 if (PyErr_Occurred()) SWIG_fail
;
7284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7285 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
7287 wxPyEndAllowThreads(__tstate
);
7288 if (PyErr_Occurred()) SWIG_fail
;
7290 Py_INCREF(Py_None
); resultobj
= Py_None
;
7297 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7298 PyObject
*resultobj
;
7299 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7301 PyObject
* obj0
= 0 ;
7302 PyObject
* obj1
= 0 ;
7304 (char *) "self",(char *) "alignment", NULL
7307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7310 arg2
= (wxTextAttrAlignment
) SWIG_AsInt(obj1
);
7311 if (PyErr_Occurred()) SWIG_fail
;
7313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7314 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
7316 wxPyEndAllowThreads(__tstate
);
7317 if (PyErr_Occurred()) SWIG_fail
;
7319 Py_INCREF(Py_None
); resultobj
= Py_None
;
7326 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7327 PyObject
*resultobj
;
7328 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7329 wxArrayInt
*arg2
= 0 ;
7330 bool temp2
= False
;
7331 PyObject
* obj0
= 0 ;
7332 PyObject
* obj1
= 0 ;
7334 (char *) "self",(char *) "tabs", NULL
7337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
7338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7341 if (! PySequence_Check(obj1
)) {
7342 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
7345 arg2
= new wxArrayInt
;
7347 int i
, len
=PySequence_Length(obj1
);
7348 for (i
=0; i
<len
; i
++) {
7349 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7350 PyObject
* number
= PyNumber_Int(item
);
7351 arg2
->Add(PyInt_AS_LONG(number
));
7357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7358 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
7360 wxPyEndAllowThreads(__tstate
);
7361 if (PyErr_Occurred()) SWIG_fail
;
7363 Py_INCREF(Py_None
); resultobj
= Py_None
;
7365 if (temp2
) delete arg2
;
7370 if (temp2
) delete arg2
;
7376 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7377 PyObject
*resultobj
;
7378 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7380 int arg3
= (int) 0 ;
7381 PyObject
* obj0
= 0 ;
7382 PyObject
* obj1
= 0 ;
7383 PyObject
* obj2
= 0 ;
7385 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
7388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7391 arg2
= (int) SWIG_AsInt(obj1
);
7392 if (PyErr_Occurred()) SWIG_fail
;
7394 arg3
= (int) SWIG_AsInt(obj2
);
7395 if (PyErr_Occurred()) SWIG_fail
;
7398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7399 (arg1
)->SetLeftIndent(arg2
,arg3
);
7401 wxPyEndAllowThreads(__tstate
);
7402 if (PyErr_Occurred()) SWIG_fail
;
7404 Py_INCREF(Py_None
); resultobj
= Py_None
;
7411 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7412 PyObject
*resultobj
;
7413 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7415 PyObject
* obj0
= 0 ;
7416 PyObject
* obj1
= 0 ;
7418 (char *) "self",(char *) "indent", NULL
7421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
7422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7424 arg2
= (int) SWIG_AsInt(obj1
);
7425 if (PyErr_Occurred()) SWIG_fail
;
7427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7428 (arg1
)->SetRightIndent(arg2
);
7430 wxPyEndAllowThreads(__tstate
);
7431 if (PyErr_Occurred()) SWIG_fail
;
7433 Py_INCREF(Py_None
); resultobj
= Py_None
;
7440 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7441 PyObject
*resultobj
;
7442 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7444 PyObject
* obj0
= 0 ;
7445 PyObject
* obj1
= 0 ;
7447 (char *) "self",(char *) "flags", NULL
7450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7453 arg2
= (long) SWIG_AsLong(obj1
);
7454 if (PyErr_Occurred()) SWIG_fail
;
7456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7457 (arg1
)->SetFlags(arg2
);
7459 wxPyEndAllowThreads(__tstate
);
7460 if (PyErr_Occurred()) SWIG_fail
;
7462 Py_INCREF(Py_None
); resultobj
= Py_None
;
7469 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7470 PyObject
*resultobj
;
7471 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7473 PyObject
* obj0
= 0 ;
7475 (char *) "self", NULL
7478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
7479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7483 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
7485 wxPyEndAllowThreads(__tstate
);
7486 if (PyErr_Occurred()) SWIG_fail
;
7489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7497 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7498 PyObject
*resultobj
;
7499 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7501 PyObject
* obj0
= 0 ;
7503 (char *) "self", NULL
7506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
7507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7511 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
7513 wxPyEndAllowThreads(__tstate
);
7514 if (PyErr_Occurred()) SWIG_fail
;
7517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7525 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7526 PyObject
*resultobj
;
7527 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7529 PyObject
* obj0
= 0 ;
7531 (char *) "self", NULL
7534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
7535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7539 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
7541 wxPyEndAllowThreads(__tstate
);
7542 if (PyErr_Occurred()) SWIG_fail
;
7545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7553 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7554 PyObject
*resultobj
;
7555 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7557 PyObject
* obj0
= 0 ;
7559 (char *) "self", NULL
7562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
7563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7567 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
7569 wxPyEndAllowThreads(__tstate
);
7570 if (PyErr_Occurred()) SWIG_fail
;
7573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7581 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7582 PyObject
*resultobj
;
7583 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7585 PyObject
* obj0
= 0 ;
7587 (char *) "self", NULL
7590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
7591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7595 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
7597 wxPyEndAllowThreads(__tstate
);
7598 if (PyErr_Occurred()) SWIG_fail
;
7601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7609 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7610 PyObject
*resultobj
;
7611 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7613 PyObject
* obj0
= 0 ;
7615 (char *) "self", NULL
7618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
7619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7623 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
7625 wxPyEndAllowThreads(__tstate
);
7626 if (PyErr_Occurred()) SWIG_fail
;
7629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7637 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7638 PyObject
*resultobj
;
7639 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7641 PyObject
* obj0
= 0 ;
7643 (char *) "self", NULL
7646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
7647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7651 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
7653 wxPyEndAllowThreads(__tstate
);
7654 if (PyErr_Occurred()) SWIG_fail
;
7657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7665 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7666 PyObject
*resultobj
;
7667 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7670 PyObject
* obj0
= 0 ;
7671 PyObject
* obj1
= 0 ;
7673 (char *) "self",(char *) "flag", NULL
7676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
7677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7679 arg2
= (long) SWIG_AsLong(obj1
);
7680 if (PyErr_Occurred()) SWIG_fail
;
7682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7683 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
7685 wxPyEndAllowThreads(__tstate
);
7686 if (PyErr_Occurred()) SWIG_fail
;
7689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7697 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7698 PyObject
*resultobj
;
7699 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7701 PyObject
* obj0
= 0 ;
7703 (char *) "self", NULL
7706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
7707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7712 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
7713 result
= (wxColour
*) &_result_ref
;
7716 wxPyEndAllowThreads(__tstate
);
7717 if (PyErr_Occurred()) SWIG_fail
;
7719 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7726 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7727 PyObject
*resultobj
;
7728 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7730 PyObject
* obj0
= 0 ;
7732 (char *) "self", NULL
7735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
7736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7741 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
7742 result
= (wxColour
*) &_result_ref
;
7745 wxPyEndAllowThreads(__tstate
);
7746 if (PyErr_Occurred()) SWIG_fail
;
7748 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7755 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7756 PyObject
*resultobj
;
7757 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7759 PyObject
* obj0
= 0 ;
7761 (char *) "self", NULL
7764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
7765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7770 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7771 result
= (wxFont
*) &_result_ref
;
7774 wxPyEndAllowThreads(__tstate
);
7775 if (PyErr_Occurred()) SWIG_fail
;
7778 wxFont
* resultptr
= new wxFont(*result
);
7779 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
7787 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7788 PyObject
*resultobj
;
7789 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7791 PyObject
* obj0
= 0 ;
7793 (char *) "self", NULL
7796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7801 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7803 wxPyEndAllowThreads(__tstate
);
7804 if (PyErr_Occurred()) SWIG_fail
;
7806 resultobj
= SWIG_FromInt((int)result
);
7813 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7814 PyObject
*resultobj
;
7815 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7817 PyObject
* obj0
= 0 ;
7819 (char *) "self", NULL
7822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7828 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7829 result
= (wxArrayInt
*) &_result_ref
;
7832 wxPyEndAllowThreads(__tstate
);
7833 if (PyErr_Occurred()) SWIG_fail
;
7836 resultobj
= PyList_New(0);
7838 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7839 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7840 PyList_Append(resultobj
, val
);
7850 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7851 PyObject
*resultobj
;
7852 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7854 PyObject
* obj0
= 0 ;
7856 (char *) "self", NULL
7859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7864 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7866 wxPyEndAllowThreads(__tstate
);
7867 if (PyErr_Occurred()) SWIG_fail
;
7869 resultobj
= SWIG_FromLong((long)result
);
7876 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7877 PyObject
*resultobj
;
7878 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7880 PyObject
* obj0
= 0 ;
7882 (char *) "self", NULL
7885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftSubIndent",kwnames
,&obj0
)) goto fail
;
7886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7890 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
7892 wxPyEndAllowThreads(__tstate
);
7893 if (PyErr_Occurred()) SWIG_fail
;
7895 resultobj
= SWIG_FromLong((long)result
);
7902 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7903 PyObject
*resultobj
;
7904 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7906 PyObject
* obj0
= 0 ;
7908 (char *) "self", NULL
7911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7916 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7918 wxPyEndAllowThreads(__tstate
);
7919 if (PyErr_Occurred()) SWIG_fail
;
7921 resultobj
= SWIG_FromLong((long)result
);
7928 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7929 PyObject
*resultobj
;
7930 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7932 PyObject
* obj0
= 0 ;
7934 (char *) "self", NULL
7937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
7938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7942 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7944 wxPyEndAllowThreads(__tstate
);
7945 if (PyErr_Occurred()) SWIG_fail
;
7947 resultobj
= SWIG_FromLong((long)result
);
7954 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7955 PyObject
*resultobj
;
7956 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7958 PyObject
* obj0
= 0 ;
7960 (char *) "self", NULL
7963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
7964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7968 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
7970 wxPyEndAllowThreads(__tstate
);
7971 if (PyErr_Occurred()) SWIG_fail
;
7974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7982 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7983 PyObject
*resultobj
;
7984 wxTextAttr
*arg1
= 0 ;
7985 wxTextAttr
*arg2
= 0 ;
7986 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
7988 PyObject
* obj0
= 0 ;
7989 PyObject
* obj1
= 0 ;
7990 PyObject
* obj2
= 0 ;
7992 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7997 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8000 PyErr_SetString(PyExc_TypeError
,"null reference");
8003 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
8004 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8007 PyErr_SetString(PyExc_TypeError
,"null reference");
8010 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
,
8011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8014 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
8016 wxPyEndAllowThreads(__tstate
);
8017 if (PyErr_Occurred()) SWIG_fail
;
8020 wxTextAttr
* resultptr
;
8021 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
8022 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
8030 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
8032 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8033 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
8035 return Py_BuildValue((char *)"");
8037 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8038 PyObject
*resultobj
;
8039 wxWindow
*arg1
= (wxWindow
*) 0 ;
8040 int arg2
= (int) -1 ;
8041 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8042 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8043 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8044 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8045 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8046 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8047 long arg6
= (long) 0 ;
8048 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8049 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8050 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
8051 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8053 bool temp3
= False
;
8056 bool temp8
= False
;
8057 PyObject
* obj0
= 0 ;
8058 PyObject
* obj1
= 0 ;
8059 PyObject
* obj2
= 0 ;
8060 PyObject
* obj3
= 0 ;
8061 PyObject
* obj4
= 0 ;
8062 PyObject
* obj5
= 0 ;
8063 PyObject
* obj6
= 0 ;
8064 PyObject
* obj7
= 0 ;
8066 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
8070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8073 arg2
= (int) SWIG_AsInt(obj1
);
8074 if (PyErr_Occurred()) SWIG_fail
;
8078 arg3
= wxString_in_helper(obj2
);
8079 if (arg3
== NULL
) SWIG_fail
;
8086 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8092 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8096 arg6
= (long) SWIG_AsLong(obj5
);
8097 if (PyErr_Occurred()) SWIG_fail
;
8100 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
8101 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8104 PyErr_SetString(PyExc_TypeError
,"null reference");
8110 arg8
= wxString_in_helper(obj7
);
8111 if (arg8
== NULL
) SWIG_fail
;
8116 if (!wxPyCheckForApp()) SWIG_fail
;
8117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8118 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8120 wxPyEndAllowThreads(__tstate
);
8121 if (PyErr_Occurred()) SWIG_fail
;
8124 resultobj
= wxPyMake_wxObject(result
);
8148 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8149 PyObject
*resultobj
;
8155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
8157 if (!wxPyCheckForApp()) SWIG_fail
;
8158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8159 result
= (wxTextCtrl
*)new wxTextCtrl();
8161 wxPyEndAllowThreads(__tstate
);
8162 if (PyErr_Occurred()) SWIG_fail
;
8165 resultobj
= wxPyMake_wxObject(result
);
8173 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8174 PyObject
*resultobj
;
8175 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8176 wxWindow
*arg2
= (wxWindow
*) 0 ;
8177 int arg3
= (int) -1 ;
8178 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8179 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8180 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8181 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8182 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8183 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8184 long arg7
= (long) 0 ;
8185 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8186 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8187 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
8188 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8190 bool temp4
= False
;
8193 bool temp9
= False
;
8194 PyObject
* obj0
= 0 ;
8195 PyObject
* obj1
= 0 ;
8196 PyObject
* obj2
= 0 ;
8197 PyObject
* obj3
= 0 ;
8198 PyObject
* obj4
= 0 ;
8199 PyObject
* obj5
= 0 ;
8200 PyObject
* obj6
= 0 ;
8201 PyObject
* obj7
= 0 ;
8202 PyObject
* obj8
= 0 ;
8204 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8210 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8213 arg3
= (int) SWIG_AsInt(obj2
);
8214 if (PyErr_Occurred()) SWIG_fail
;
8218 arg4
= wxString_in_helper(obj3
);
8219 if (arg4
== NULL
) SWIG_fail
;
8226 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8232 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8236 arg7
= (long) SWIG_AsLong(obj6
);
8237 if (PyErr_Occurred()) SWIG_fail
;
8240 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
8241 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8244 PyErr_SetString(PyExc_TypeError
,"null reference");
8250 arg9
= wxString_in_helper(obj8
);
8251 if (arg9
== NULL
) SWIG_fail
;
8256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8257 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8259 wxPyEndAllowThreads(__tstate
);
8260 if (PyErr_Occurred()) SWIG_fail
;
8263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8287 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8288 PyObject
*resultobj
;
8289 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8291 PyObject
* obj0
= 0 ;
8293 (char *) "self", NULL
8296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
8297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8301 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
8303 wxPyEndAllowThreads(__tstate
);
8304 if (PyErr_Occurred()) SWIG_fail
;
8308 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8310 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8319 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8320 PyObject
*resultobj
;
8321 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8322 wxString
*arg2
= 0 ;
8323 bool temp2
= False
;
8324 PyObject
* obj0
= 0 ;
8325 PyObject
* obj1
= 0 ;
8327 (char *) "self",(char *) "value", NULL
8330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
8331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8334 arg2
= wxString_in_helper(obj1
);
8335 if (arg2
== NULL
) SWIG_fail
;
8339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8340 (arg1
)->SetValue((wxString
const &)*arg2
);
8342 wxPyEndAllowThreads(__tstate
);
8343 if (PyErr_Occurred()) SWIG_fail
;
8345 Py_INCREF(Py_None
); resultobj
= Py_None
;
8360 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8361 PyObject
*resultobj
;
8362 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8366 PyObject
* obj0
= 0 ;
8367 PyObject
* obj1
= 0 ;
8368 PyObject
* obj2
= 0 ;
8370 (char *) "self",(char *) "from",(char *) "to", NULL
8373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8376 arg2
= (long) SWIG_AsLong(obj1
);
8377 if (PyErr_Occurred()) SWIG_fail
;
8378 arg3
= (long) SWIG_AsLong(obj2
);
8379 if (PyErr_Occurred()) SWIG_fail
;
8381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8382 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
8384 wxPyEndAllowThreads(__tstate
);
8385 if (PyErr_Occurred()) SWIG_fail
;
8389 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8391 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8400 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8401 PyObject
*resultobj
;
8402 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8405 PyObject
* obj0
= 0 ;
8406 PyObject
* obj1
= 0 ;
8408 (char *) "self",(char *) "lineNo", NULL
8411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8414 arg2
= (long) SWIG_AsLong(obj1
);
8415 if (PyErr_Occurred()) SWIG_fail
;
8417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8418 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
8420 wxPyEndAllowThreads(__tstate
);
8421 if (PyErr_Occurred()) SWIG_fail
;
8423 resultobj
= SWIG_FromInt((int)result
);
8430 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8431 PyObject
*resultobj
;
8432 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8435 PyObject
* obj0
= 0 ;
8436 PyObject
* obj1
= 0 ;
8438 (char *) "self",(char *) "lineNo", NULL
8441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
8442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8444 arg2
= (long) SWIG_AsLong(obj1
);
8445 if (PyErr_Occurred()) SWIG_fail
;
8447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8448 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
8450 wxPyEndAllowThreads(__tstate
);
8451 if (PyErr_Occurred()) SWIG_fail
;
8455 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8457 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8466 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8467 PyObject
*resultobj
;
8468 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8470 PyObject
* obj0
= 0 ;
8472 (char *) "self", NULL
8475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
8476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8480 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
8482 wxPyEndAllowThreads(__tstate
);
8483 if (PyErr_Occurred()) SWIG_fail
;
8485 resultobj
= SWIG_FromInt((int)result
);
8492 static PyObject
*_wrap_TextCtrl_IsModified(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_IsModified",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
)->IsModified();
8508 wxPyEndAllowThreads(__tstate
);
8509 if (PyErr_Occurred()) SWIG_fail
;
8512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8520 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8521 PyObject
*resultobj
;
8522 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8524 PyObject
* obj0
= 0 ;
8526 (char *) "self", NULL
8529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
8530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8534 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
8536 wxPyEndAllowThreads(__tstate
);
8537 if (PyErr_Occurred()) SWIG_fail
;
8540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8548 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8549 PyObject
*resultobj
;
8550 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8552 PyObject
* obj0
= 0 ;
8554 (char *) "self", NULL
8557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
8558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8562 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
8564 wxPyEndAllowThreads(__tstate
);
8565 if (PyErr_Occurred()) SWIG_fail
;
8568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8576 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8577 PyObject
*resultobj
;
8578 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8580 PyObject
* obj0
= 0 ;
8582 (char *) "self", NULL
8585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
8586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8590 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
8592 wxPyEndAllowThreads(__tstate
);
8593 if (PyErr_Occurred()) SWIG_fail
;
8596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8604 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8605 PyObject
*resultobj
;
8606 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8607 long *arg2
= (long *) 0 ;
8608 long *arg3
= (long *) 0 ;
8611 PyObject
* obj0
= 0 ;
8613 (char *) "self", NULL
8618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
8619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8623 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
8625 wxPyEndAllowThreads(__tstate
);
8626 if (PyErr_Occurred()) SWIG_fail
;
8628 Py_INCREF(Py_None
); resultobj
= Py_None
;
8630 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8631 resultobj
= t_output_helper(resultobj
,o
);
8634 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8635 resultobj
= t_output_helper(resultobj
,o
);
8643 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8644 PyObject
*resultobj
;
8645 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8647 PyObject
* obj0
= 0 ;
8649 (char *) "self", NULL
8652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
8653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8657 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
8659 wxPyEndAllowThreads(__tstate
);
8660 if (PyErr_Occurred()) SWIG_fail
;
8664 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8666 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8675 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8676 PyObject
*resultobj
;
8677 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8678 PyObject
* obj0
= 0 ;
8680 (char *) "self", NULL
8683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
8684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8690 wxPyEndAllowThreads(__tstate
);
8691 if (PyErr_Occurred()) SWIG_fail
;
8693 Py_INCREF(Py_None
); resultobj
= Py_None
;
8700 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8701 PyObject
*resultobj
;
8702 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8705 wxString
*arg4
= 0 ;
8706 bool temp4
= False
;
8707 PyObject
* obj0
= 0 ;
8708 PyObject
* obj1
= 0 ;
8709 PyObject
* obj2
= 0 ;
8710 PyObject
* obj3
= 0 ;
8712 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8718 arg2
= (long) SWIG_AsLong(obj1
);
8719 if (PyErr_Occurred()) SWIG_fail
;
8720 arg3
= (long) SWIG_AsLong(obj2
);
8721 if (PyErr_Occurred()) SWIG_fail
;
8723 arg4
= wxString_in_helper(obj3
);
8724 if (arg4
== NULL
) SWIG_fail
;
8728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8729 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
8731 wxPyEndAllowThreads(__tstate
);
8732 if (PyErr_Occurred()) SWIG_fail
;
8734 Py_INCREF(Py_None
); resultobj
= Py_None
;
8749 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8750 PyObject
*resultobj
;
8751 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8754 PyObject
* obj0
= 0 ;
8755 PyObject
* obj1
= 0 ;
8756 PyObject
* obj2
= 0 ;
8758 (char *) "self",(char *) "from",(char *) "to", NULL
8761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8764 arg2
= (long) SWIG_AsLong(obj1
);
8765 if (PyErr_Occurred()) SWIG_fail
;
8766 arg3
= (long) SWIG_AsLong(obj2
);
8767 if (PyErr_Occurred()) SWIG_fail
;
8769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8770 (arg1
)->Remove(arg2
,arg3
);
8772 wxPyEndAllowThreads(__tstate
);
8773 if (PyErr_Occurred()) SWIG_fail
;
8775 Py_INCREF(Py_None
); resultobj
= Py_None
;
8782 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8783 PyObject
*resultobj
;
8784 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8785 wxString
*arg2
= 0 ;
8787 bool temp2
= False
;
8788 PyObject
* obj0
= 0 ;
8789 PyObject
* obj1
= 0 ;
8791 (char *) "self",(char *) "file", NULL
8794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8798 arg2
= wxString_in_helper(obj1
);
8799 if (arg2
== NULL
) SWIG_fail
;
8803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8804 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
8806 wxPyEndAllowThreads(__tstate
);
8807 if (PyErr_Occurred()) SWIG_fail
;
8810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8826 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8827 PyObject
*resultobj
;
8828 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8829 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8830 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8832 bool temp2
= False
;
8833 PyObject
* obj0
= 0 ;
8834 PyObject
* obj1
= 0 ;
8836 (char *) "self",(char *) "file", NULL
8839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8844 arg2
= wxString_in_helper(obj1
);
8845 if (arg2
== NULL
) SWIG_fail
;
8850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8851 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8853 wxPyEndAllowThreads(__tstate
);
8854 if (PyErr_Occurred()) SWIG_fail
;
8857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8873 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8874 PyObject
*resultobj
;
8875 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8876 PyObject
* obj0
= 0 ;
8878 (char *) "self", NULL
8881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8886 (arg1
)->MarkDirty();
8888 wxPyEndAllowThreads(__tstate
);
8889 if (PyErr_Occurred()) SWIG_fail
;
8891 Py_INCREF(Py_None
); resultobj
= Py_None
;
8898 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8899 PyObject
*resultobj
;
8900 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8901 PyObject
* obj0
= 0 ;
8903 (char *) "self", NULL
8906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8911 (arg1
)->DiscardEdits();
8913 wxPyEndAllowThreads(__tstate
);
8914 if (PyErr_Occurred()) SWIG_fail
;
8916 Py_INCREF(Py_None
); resultobj
= Py_None
;
8923 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8924 PyObject
*resultobj
;
8925 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8926 unsigned long arg2
;
8927 PyObject
* obj0
= 0 ;
8928 PyObject
* obj1
= 0 ;
8930 (char *) "self",(char *) "len", NULL
8933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8936 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
8937 if (PyErr_Occurred()) SWIG_fail
;
8939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8940 (arg1
)->SetMaxLength(arg2
);
8942 wxPyEndAllowThreads(__tstate
);
8943 if (PyErr_Occurred()) SWIG_fail
;
8945 Py_INCREF(Py_None
); resultobj
= Py_None
;
8952 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8953 PyObject
*resultobj
;
8954 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8955 wxString
*arg2
= 0 ;
8956 bool temp2
= False
;
8957 PyObject
* obj0
= 0 ;
8958 PyObject
* obj1
= 0 ;
8960 (char *) "self",(char *) "text", NULL
8963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8967 arg2
= wxString_in_helper(obj1
);
8968 if (arg2
== NULL
) SWIG_fail
;
8972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8973 (arg1
)->WriteText((wxString
const &)*arg2
);
8975 wxPyEndAllowThreads(__tstate
);
8976 if (PyErr_Occurred()) SWIG_fail
;
8978 Py_INCREF(Py_None
); resultobj
= Py_None
;
8993 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8994 PyObject
*resultobj
;
8995 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8996 wxString
*arg2
= 0 ;
8997 bool temp2
= False
;
8998 PyObject
* obj0
= 0 ;
8999 PyObject
* obj1
= 0 ;
9001 (char *) "self",(char *) "text", NULL
9004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
9005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9008 arg2
= wxString_in_helper(obj1
);
9009 if (arg2
== NULL
) SWIG_fail
;
9013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9014 (arg1
)->AppendText((wxString
const &)*arg2
);
9016 wxPyEndAllowThreads(__tstate
);
9017 if (PyErr_Occurred()) SWIG_fail
;
9019 Py_INCREF(Py_None
); resultobj
= Py_None
;
9034 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9035 PyObject
*resultobj
;
9036 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9037 wxKeyEvent
*arg2
= 0 ;
9039 PyObject
* obj0
= 0 ;
9040 PyObject
* obj1
= 0 ;
9042 (char *) "self",(char *) "event", NULL
9045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
9046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9048 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
9049 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9052 PyErr_SetString(PyExc_TypeError
,"null reference");
9056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9057 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
9059 wxPyEndAllowThreads(__tstate
);
9060 if (PyErr_Occurred()) SWIG_fail
;
9063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9071 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9072 PyObject
*resultobj
;
9073 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9076 wxTextAttr
*arg4
= 0 ;
9078 PyObject
* obj0
= 0 ;
9079 PyObject
* obj1
= 0 ;
9080 PyObject
* obj2
= 0 ;
9081 PyObject
* obj3
= 0 ;
9083 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
9086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9089 arg2
= (long) SWIG_AsLong(obj1
);
9090 if (PyErr_Occurred()) SWIG_fail
;
9091 arg3
= (long) SWIG_AsLong(obj2
);
9092 if (PyErr_Occurred()) SWIG_fail
;
9093 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
,
9094 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9097 PyErr_SetString(PyExc_TypeError
,"null reference");
9101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9102 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
9104 wxPyEndAllowThreads(__tstate
);
9105 if (PyErr_Occurred()) SWIG_fail
;
9108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9116 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9117 PyObject
*resultobj
;
9118 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9120 wxTextAttr
*arg3
= 0 ;
9122 PyObject
* obj0
= 0 ;
9123 PyObject
* obj1
= 0 ;
9124 PyObject
* obj2
= 0 ;
9126 (char *) "self",(char *) "position",(char *) "style", NULL
9129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9132 arg2
= (long) SWIG_AsLong(obj1
);
9133 if (PyErr_Occurred()) SWIG_fail
;
9134 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
,
9135 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9138 PyErr_SetString(PyExc_TypeError
,"null reference");
9142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9143 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
9145 wxPyEndAllowThreads(__tstate
);
9146 if (PyErr_Occurred()) SWIG_fail
;
9149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9157 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9158 PyObject
*resultobj
;
9159 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9160 wxTextAttr
*arg2
= 0 ;
9162 PyObject
* obj0
= 0 ;
9163 PyObject
* obj1
= 0 ;
9165 (char *) "self",(char *) "style", NULL
9168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
9169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9171 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
9172 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9175 PyErr_SetString(PyExc_TypeError
,"null reference");
9179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9180 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
9182 wxPyEndAllowThreads(__tstate
);
9183 if (PyErr_Occurred()) SWIG_fail
;
9186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9194 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9195 PyObject
*resultobj
;
9196 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9198 PyObject
* obj0
= 0 ;
9200 (char *) "self", NULL
9203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
9204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9209 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
9210 result
= (wxTextAttr
*) &_result_ref
;
9213 wxPyEndAllowThreads(__tstate
);
9214 if (PyErr_Occurred()) SWIG_fail
;
9216 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
9223 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9224 PyObject
*resultobj
;
9225 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9229 PyObject
* obj0
= 0 ;
9230 PyObject
* obj1
= 0 ;
9231 PyObject
* obj2
= 0 ;
9233 (char *) "self",(char *) "x",(char *) "y", NULL
9236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9239 arg2
= (long) SWIG_AsLong(obj1
);
9240 if (PyErr_Occurred()) SWIG_fail
;
9241 arg3
= (long) SWIG_AsLong(obj2
);
9242 if (PyErr_Occurred()) SWIG_fail
;
9244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9245 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
9247 wxPyEndAllowThreads(__tstate
);
9248 if (PyErr_Occurred()) SWIG_fail
;
9250 resultobj
= SWIG_FromLong((long)result
);
9257 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9258 PyObject
*resultobj
;
9259 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9261 long *arg3
= (long *) 0 ;
9262 long *arg4
= (long *) 0 ;
9265 PyObject
* obj0
= 0 ;
9266 PyObject
* obj1
= 0 ;
9268 (char *) "self",(char *) "pos", NULL
9273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
9274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9276 arg2
= (long) SWIG_AsLong(obj1
);
9277 if (PyErr_Occurred()) SWIG_fail
;
9279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9280 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
9282 wxPyEndAllowThreads(__tstate
);
9283 if (PyErr_Occurred()) SWIG_fail
;
9285 Py_INCREF(Py_None
); resultobj
= Py_None
;
9287 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9288 resultobj
= t_output_helper(resultobj
,o
);
9291 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9292 resultobj
= t_output_helper(resultobj
,o
);
9300 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9301 PyObject
*resultobj
;
9302 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9304 PyObject
* obj0
= 0 ;
9305 PyObject
* obj1
= 0 ;
9307 (char *) "self",(char *) "pos", NULL
9310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9313 arg2
= (long) SWIG_AsLong(obj1
);
9314 if (PyErr_Occurred()) SWIG_fail
;
9316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9317 (arg1
)->ShowPosition(arg2
);
9319 wxPyEndAllowThreads(__tstate
);
9320 if (PyErr_Occurred()) SWIG_fail
;
9322 Py_INCREF(Py_None
); resultobj
= Py_None
;
9329 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9330 PyObject
*resultobj
;
9331 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9333 long *arg3
= (long *) 0 ;
9334 long *arg4
= (long *) 0 ;
9339 PyObject
* obj0
= 0 ;
9340 PyObject
* obj1
= 0 ;
9342 (char *) "self",(char *) "pt", NULL
9347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9352 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9356 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
9358 wxPyEndAllowThreads(__tstate
);
9359 if (PyErr_Occurred()) SWIG_fail
;
9361 resultobj
= SWIG_FromInt((int)result
);
9363 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9364 resultobj
= t_output_helper(resultobj
,o
);
9367 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9368 resultobj
= t_output_helper(resultobj
,o
);
9376 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9377 PyObject
*resultobj
;
9378 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9379 PyObject
* obj0
= 0 ;
9381 (char *) "self", NULL
9384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
9385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9391 wxPyEndAllowThreads(__tstate
);
9392 if (PyErr_Occurred()) SWIG_fail
;
9394 Py_INCREF(Py_None
); resultobj
= Py_None
;
9401 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9402 PyObject
*resultobj
;
9403 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9404 PyObject
* obj0
= 0 ;
9406 (char *) "self", NULL
9409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
9410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9416 wxPyEndAllowThreads(__tstate
);
9417 if (PyErr_Occurred()) SWIG_fail
;
9419 Py_INCREF(Py_None
); resultobj
= Py_None
;
9426 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9427 PyObject
*resultobj
;
9428 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9429 PyObject
* obj0
= 0 ;
9431 (char *) "self", NULL
9434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
9435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9441 wxPyEndAllowThreads(__tstate
);
9442 if (PyErr_Occurred()) SWIG_fail
;
9444 Py_INCREF(Py_None
); resultobj
= Py_None
;
9451 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9452 PyObject
*resultobj
;
9453 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9455 PyObject
* obj0
= 0 ;
9457 (char *) "self", NULL
9460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
9461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9465 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
9467 wxPyEndAllowThreads(__tstate
);
9468 if (PyErr_Occurred()) SWIG_fail
;
9471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9479 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9480 PyObject
*resultobj
;
9481 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9483 PyObject
* obj0
= 0 ;
9485 (char *) "self", NULL
9488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
9489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9493 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
9495 wxPyEndAllowThreads(__tstate
);
9496 if (PyErr_Occurred()) SWIG_fail
;
9499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9507 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9508 PyObject
*resultobj
;
9509 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9511 PyObject
* obj0
= 0 ;
9513 (char *) "self", NULL
9516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
9517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9521 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
9523 wxPyEndAllowThreads(__tstate
);
9524 if (PyErr_Occurred()) SWIG_fail
;
9527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9535 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9536 PyObject
*resultobj
;
9537 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9538 PyObject
* obj0
= 0 ;
9540 (char *) "self", NULL
9543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
9544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9550 wxPyEndAllowThreads(__tstate
);
9551 if (PyErr_Occurred()) SWIG_fail
;
9553 Py_INCREF(Py_None
); resultobj
= Py_None
;
9560 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9561 PyObject
*resultobj
;
9562 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9563 PyObject
* obj0
= 0 ;
9565 (char *) "self", NULL
9568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
9569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9575 wxPyEndAllowThreads(__tstate
);
9576 if (PyErr_Occurred()) SWIG_fail
;
9578 Py_INCREF(Py_None
); resultobj
= Py_None
;
9585 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9586 PyObject
*resultobj
;
9587 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9589 PyObject
* obj0
= 0 ;
9591 (char *) "self", NULL
9594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
9595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9599 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
9601 wxPyEndAllowThreads(__tstate
);
9602 if (PyErr_Occurred()) SWIG_fail
;
9605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9613 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9614 PyObject
*resultobj
;
9615 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9617 PyObject
* obj0
= 0 ;
9619 (char *) "self", NULL
9622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
9623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9627 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
9629 wxPyEndAllowThreads(__tstate
);
9630 if (PyErr_Occurred()) SWIG_fail
;
9633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9641 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9642 PyObject
*resultobj
;
9643 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9645 PyObject
* obj0
= 0 ;
9646 PyObject
* obj1
= 0 ;
9648 (char *) "self",(char *) "pos", NULL
9651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
9652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9654 arg2
= (long) SWIG_AsLong(obj1
);
9655 if (PyErr_Occurred()) SWIG_fail
;
9657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9658 (arg1
)->SetInsertionPoint(arg2
);
9660 wxPyEndAllowThreads(__tstate
);
9661 if (PyErr_Occurred()) SWIG_fail
;
9663 Py_INCREF(Py_None
); resultobj
= Py_None
;
9670 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9671 PyObject
*resultobj
;
9672 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9673 PyObject
* obj0
= 0 ;
9675 (char *) "self", NULL
9678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
9679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9683 (arg1
)->SetInsertionPointEnd();
9685 wxPyEndAllowThreads(__tstate
);
9686 if (PyErr_Occurred()) SWIG_fail
;
9688 Py_INCREF(Py_None
); resultobj
= Py_None
;
9695 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9696 PyObject
*resultobj
;
9697 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9699 PyObject
* obj0
= 0 ;
9701 (char *) "self", NULL
9704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
9705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9709 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
9711 wxPyEndAllowThreads(__tstate
);
9712 if (PyErr_Occurred()) SWIG_fail
;
9714 resultobj
= SWIG_FromLong((long)result
);
9721 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9722 PyObject
*resultobj
;
9723 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9725 PyObject
* obj0
= 0 ;
9727 (char *) "self", NULL
9730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
9731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9735 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
9737 wxPyEndAllowThreads(__tstate
);
9738 if (PyErr_Occurred()) SWIG_fail
;
9740 resultobj
= SWIG_FromLong((long)result
);
9747 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9748 PyObject
*resultobj
;
9749 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9752 PyObject
* obj0
= 0 ;
9753 PyObject
* obj1
= 0 ;
9754 PyObject
* obj2
= 0 ;
9756 (char *) "self",(char *) "from",(char *) "to", NULL
9759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9762 arg2
= (long) SWIG_AsLong(obj1
);
9763 if (PyErr_Occurred()) SWIG_fail
;
9764 arg3
= (long) SWIG_AsLong(obj2
);
9765 if (PyErr_Occurred()) SWIG_fail
;
9767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9768 (arg1
)->SetSelection(arg2
,arg3
);
9770 wxPyEndAllowThreads(__tstate
);
9771 if (PyErr_Occurred()) SWIG_fail
;
9773 Py_INCREF(Py_None
); resultobj
= Py_None
;
9780 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9781 PyObject
*resultobj
;
9782 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9783 PyObject
* obj0
= 0 ;
9785 (char *) "self", NULL
9788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
9789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9793 (arg1
)->SelectAll();
9795 wxPyEndAllowThreads(__tstate
);
9796 if (PyErr_Occurred()) SWIG_fail
;
9798 Py_INCREF(Py_None
); resultobj
= Py_None
;
9805 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9806 PyObject
*resultobj
;
9807 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9809 PyObject
* obj0
= 0 ;
9810 PyObject
* obj1
= 0 ;
9812 (char *) "self",(char *) "editable", NULL
9815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
9816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9818 arg2
= (bool) SWIG_AsBool(obj1
);
9819 if (PyErr_Occurred()) SWIG_fail
;
9821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9822 (arg1
)->SetEditable(arg2
);
9824 wxPyEndAllowThreads(__tstate
);
9825 if (PyErr_Occurred()) SWIG_fail
;
9827 Py_INCREF(Py_None
); resultobj
= Py_None
;
9834 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9835 PyObject
*resultobj
;
9836 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9837 wxString
*arg2
= 0 ;
9838 bool temp2
= False
;
9839 PyObject
* obj0
= 0 ;
9840 PyObject
* obj1
= 0 ;
9842 (char *) "self",(char *) "text", NULL
9845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9849 arg2
= wxString_in_helper(obj1
);
9850 if (arg2
== NULL
) SWIG_fail
;
9854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9855 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
9857 wxPyEndAllowThreads(__tstate
);
9858 if (PyErr_Occurred()) SWIG_fail
;
9860 Py_INCREF(Py_None
); resultobj
= Py_None
;
9875 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9876 PyObject
*resultobj
;
9877 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9881 PyObject
* obj0
= 0 ;
9882 PyObject
* obj1
= 0 ;
9883 PyObject
* obj2
= 0 ;
9885 (char *) "self",(char *) "from",(char *) "to", NULL
9888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9891 arg2
= (long) SWIG_AsLong(obj1
);
9892 if (PyErr_Occurred()) SWIG_fail
;
9893 arg3
= (long) SWIG_AsLong(obj2
);
9894 if (PyErr_Occurred()) SWIG_fail
;
9896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9897 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9899 wxPyEndAllowThreads(__tstate
);
9900 if (PyErr_Occurred()) SWIG_fail
;
9904 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9906 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9915 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9916 PyObject
*resultobj
;
9917 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
9918 wxVisualAttributes result
;
9919 PyObject
* obj0
= 0 ;
9921 (char *) "variant", NULL
9924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
9926 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
9927 if (PyErr_Occurred()) SWIG_fail
;
9930 if (!wxPyCheckForApp()) SWIG_fail
;
9931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9932 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
9934 wxPyEndAllowThreads(__tstate
);
9935 if (PyErr_Occurred()) SWIG_fail
;
9938 wxVisualAttributes
* resultptr
;
9939 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
9940 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
9948 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9950 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9951 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
9953 return Py_BuildValue((char *)"");
9955 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9956 PyObject
*resultobj
;
9958 wxMouseEvent
*arg2
= 0 ;
9961 wxTextUrlEvent
*result
;
9962 PyObject
* obj0
= 0 ;
9963 PyObject
* obj1
= 0 ;
9964 PyObject
* obj2
= 0 ;
9965 PyObject
* obj3
= 0 ;
9967 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9971 arg1
= (int) SWIG_AsInt(obj0
);
9972 if (PyErr_Occurred()) SWIG_fail
;
9973 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
9974 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9977 PyErr_SetString(PyExc_TypeError
,"null reference");
9980 arg3
= (long) SWIG_AsLong(obj2
);
9981 if (PyErr_Occurred()) SWIG_fail
;
9982 arg4
= (long) SWIG_AsLong(obj3
);
9983 if (PyErr_Occurred()) SWIG_fail
;
9985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9986 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
9988 wxPyEndAllowThreads(__tstate
);
9989 if (PyErr_Occurred()) SWIG_fail
;
9991 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
9998 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9999 PyObject
*resultobj
;
10000 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
10001 wxMouseEvent
*result
;
10002 PyObject
* obj0
= 0 ;
10003 char *kwnames
[] = {
10004 (char *) "self", NULL
10007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
10008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
10009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10013 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
10014 result
= (wxMouseEvent
*) &_result_ref
;
10017 wxPyEndAllowThreads(__tstate
);
10018 if (PyErr_Occurred()) SWIG_fail
;
10020 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
10027 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10028 PyObject
*resultobj
;
10029 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
10031 PyObject
* obj0
= 0 ;
10032 char *kwnames
[] = {
10033 (char *) "self", NULL
10036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
10037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
10038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10041 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
10043 wxPyEndAllowThreads(__tstate
);
10044 if (PyErr_Occurred()) SWIG_fail
;
10046 resultobj
= SWIG_FromLong((long)result
);
10053 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10054 PyObject
*resultobj
;
10055 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
10057 PyObject
* obj0
= 0 ;
10058 char *kwnames
[] = {
10059 (char *) "self", NULL
10062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
10063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
10064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10067 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
10069 wxPyEndAllowThreads(__tstate
);
10070 if (PyErr_Occurred()) SWIG_fail
;
10072 resultobj
= SWIG_FromLong((long)result
);
10079 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10081 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10082 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
10084 return Py_BuildValue((char *)"");
10086 static int _wrap_ScrollBarNameStr_set(PyObject
*_val
) {
10087 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
10092 static PyObject
*_wrap_ScrollBarNameStr_get() {
10097 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
10099 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
10106 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10107 PyObject
*resultobj
;
10108 wxWindow
*arg1
= (wxWindow
*) 0 ;
10109 int arg2
= (int) -1 ;
10110 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10111 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10112 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10113 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10114 long arg5
= (long) wxSB_HORIZONTAL
;
10115 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
10116 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
10117 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
10118 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10119 wxScrollBar
*result
;
10122 bool temp7
= False
;
10123 PyObject
* obj0
= 0 ;
10124 PyObject
* obj1
= 0 ;
10125 PyObject
* obj2
= 0 ;
10126 PyObject
* obj3
= 0 ;
10127 PyObject
* obj4
= 0 ;
10128 PyObject
* obj5
= 0 ;
10129 PyObject
* obj6
= 0 ;
10130 char *kwnames
[] = {
10131 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10138 arg2
= (int) SWIG_AsInt(obj1
);
10139 if (PyErr_Occurred()) SWIG_fail
;
10144 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10150 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10154 arg5
= (long) SWIG_AsLong(obj4
);
10155 if (PyErr_Occurred()) SWIG_fail
;
10158 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
10159 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10161 if (arg6
== NULL
) {
10162 PyErr_SetString(PyExc_TypeError
,"null reference");
10168 arg7
= wxString_in_helper(obj6
);
10169 if (arg7
== NULL
) SWIG_fail
;
10174 if (!wxPyCheckForApp()) SWIG_fail
;
10175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10176 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
10178 wxPyEndAllowThreads(__tstate
);
10179 if (PyErr_Occurred()) SWIG_fail
;
10181 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10196 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10197 PyObject
*resultobj
;
10198 wxScrollBar
*result
;
10199 char *kwnames
[] = {
10203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
10205 if (!wxPyCheckForApp()) SWIG_fail
;
10206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10207 result
= (wxScrollBar
*)new wxScrollBar();
10209 wxPyEndAllowThreads(__tstate
);
10210 if (PyErr_Occurred()) SWIG_fail
;
10212 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10219 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10220 PyObject
*resultobj
;
10221 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10222 wxWindow
*arg2
= (wxWindow
*) 0 ;
10223 int arg3
= (int) -1 ;
10224 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10225 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10226 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10227 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10228 long arg6
= (long) wxSB_HORIZONTAL
;
10229 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10230 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10231 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
10232 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10236 bool temp8
= False
;
10237 PyObject
* obj0
= 0 ;
10238 PyObject
* obj1
= 0 ;
10239 PyObject
* obj2
= 0 ;
10240 PyObject
* obj3
= 0 ;
10241 PyObject
* obj4
= 0 ;
10242 PyObject
* obj5
= 0 ;
10243 PyObject
* obj6
= 0 ;
10244 PyObject
* obj7
= 0 ;
10245 char *kwnames
[] = {
10246 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
10250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10252 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10255 arg3
= (int) SWIG_AsInt(obj2
);
10256 if (PyErr_Occurred()) SWIG_fail
;
10261 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10267 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10271 arg6
= (long) SWIG_AsLong(obj5
);
10272 if (PyErr_Occurred()) SWIG_fail
;
10275 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
10276 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10278 if (arg7
== NULL
) {
10279 PyErr_SetString(PyExc_TypeError
,"null reference");
10285 arg8
= wxString_in_helper(obj7
);
10286 if (arg8
== NULL
) SWIG_fail
;
10291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10292 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10294 wxPyEndAllowThreads(__tstate
);
10295 if (PyErr_Occurred()) SWIG_fail
;
10298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10314 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10315 PyObject
*resultobj
;
10316 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10318 PyObject
* obj0
= 0 ;
10319 char *kwnames
[] = {
10320 (char *) "self", NULL
10323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
10324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10328 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
10330 wxPyEndAllowThreads(__tstate
);
10331 if (PyErr_Occurred()) SWIG_fail
;
10333 resultobj
= SWIG_FromInt((int)result
);
10340 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10341 PyObject
*resultobj
;
10342 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10344 PyObject
* obj0
= 0 ;
10345 char *kwnames
[] = {
10346 (char *) "self", NULL
10349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
10350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10354 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
10356 wxPyEndAllowThreads(__tstate
);
10357 if (PyErr_Occurred()) SWIG_fail
;
10359 resultobj
= SWIG_FromInt((int)result
);
10366 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10367 PyObject
*resultobj
;
10368 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10370 PyObject
* obj0
= 0 ;
10371 char *kwnames
[] = {
10372 (char *) "self", NULL
10375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
10376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10380 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
10382 wxPyEndAllowThreads(__tstate
);
10383 if (PyErr_Occurred()) SWIG_fail
;
10385 resultobj
= SWIG_FromInt((int)result
);
10392 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10393 PyObject
*resultobj
;
10394 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10396 PyObject
* obj0
= 0 ;
10397 char *kwnames
[] = {
10398 (char *) "self", NULL
10401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
10402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10406 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
10408 wxPyEndAllowThreads(__tstate
);
10409 if (PyErr_Occurred()) SWIG_fail
;
10411 resultobj
= SWIG_FromInt((int)result
);
10418 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10419 PyObject
*resultobj
;
10420 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10422 PyObject
* obj0
= 0 ;
10423 char *kwnames
[] = {
10424 (char *) "self", NULL
10427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
10428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10432 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
10434 wxPyEndAllowThreads(__tstate
);
10435 if (PyErr_Occurred()) SWIG_fail
;
10438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10446 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10447 PyObject
*resultobj
;
10448 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10450 PyObject
* obj0
= 0 ;
10451 PyObject
* obj1
= 0 ;
10452 char *kwnames
[] = {
10453 (char *) "self",(char *) "viewStart", NULL
10456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10459 arg2
= (int) SWIG_AsInt(obj1
);
10460 if (PyErr_Occurred()) SWIG_fail
;
10462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10463 (arg1
)->SetThumbPosition(arg2
);
10465 wxPyEndAllowThreads(__tstate
);
10466 if (PyErr_Occurred()) SWIG_fail
;
10468 Py_INCREF(Py_None
); resultobj
= Py_None
;
10475 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10476 PyObject
*resultobj
;
10477 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10482 bool arg6
= (bool) True
;
10483 PyObject
* obj0
= 0 ;
10484 PyObject
* obj1
= 0 ;
10485 PyObject
* obj2
= 0 ;
10486 PyObject
* obj3
= 0 ;
10487 PyObject
* obj4
= 0 ;
10488 PyObject
* obj5
= 0 ;
10489 char *kwnames
[] = {
10490 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
10493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10496 arg2
= (int) SWIG_AsInt(obj1
);
10497 if (PyErr_Occurred()) SWIG_fail
;
10498 arg3
= (int) SWIG_AsInt(obj2
);
10499 if (PyErr_Occurred()) SWIG_fail
;
10500 arg4
= (int) SWIG_AsInt(obj3
);
10501 if (PyErr_Occurred()) SWIG_fail
;
10502 arg5
= (int) SWIG_AsInt(obj4
);
10503 if (PyErr_Occurred()) SWIG_fail
;
10505 arg6
= (bool) SWIG_AsBool(obj5
);
10506 if (PyErr_Occurred()) SWIG_fail
;
10509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10510 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
10512 wxPyEndAllowThreads(__tstate
);
10513 if (PyErr_Occurred()) SWIG_fail
;
10515 Py_INCREF(Py_None
); resultobj
= Py_None
;
10522 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10523 PyObject
*resultobj
;
10524 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10525 wxVisualAttributes result
;
10526 PyObject
* obj0
= 0 ;
10527 char *kwnames
[] = {
10528 (char *) "variant", NULL
10531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10533 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
10534 if (PyErr_Occurred()) SWIG_fail
;
10537 if (!wxPyCheckForApp()) SWIG_fail
;
10538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10539 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10541 wxPyEndAllowThreads(__tstate
);
10542 if (PyErr_Occurred()) SWIG_fail
;
10545 wxVisualAttributes
* resultptr
;
10546 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10547 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10555 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
10557 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10558 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
10560 return Py_BuildValue((char *)"");
10562 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*_val
) {
10563 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
10568 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
10573 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10575 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10582 static int _wrap_SpinCtrlNameStr_set(PyObject
*_val
) {
10583 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
10588 static PyObject
*_wrap_SpinCtrlNameStr_get() {
10593 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10595 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10602 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10603 PyObject
*resultobj
;
10604 wxWindow
*arg1
= (wxWindow
*) 0 ;
10605 int arg2
= (int) -1 ;
10606 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10607 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10608 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10609 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10610 long arg5
= (long) wxSP_HORIZONTAL
;
10611 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
10612 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10613 wxSpinButton
*result
;
10616 bool temp6
= False
;
10617 PyObject
* obj0
= 0 ;
10618 PyObject
* obj1
= 0 ;
10619 PyObject
* obj2
= 0 ;
10620 PyObject
* obj3
= 0 ;
10621 PyObject
* obj4
= 0 ;
10622 PyObject
* obj5
= 0 ;
10623 char *kwnames
[] = {
10624 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10631 arg2
= (int) SWIG_AsInt(obj1
);
10632 if (PyErr_Occurred()) SWIG_fail
;
10637 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10643 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10647 arg5
= (long) SWIG_AsLong(obj4
);
10648 if (PyErr_Occurred()) SWIG_fail
;
10652 arg6
= wxString_in_helper(obj5
);
10653 if (arg6
== NULL
) SWIG_fail
;
10658 if (!wxPyCheckForApp()) SWIG_fail
;
10659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10660 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10662 wxPyEndAllowThreads(__tstate
);
10663 if (PyErr_Occurred()) SWIG_fail
;
10665 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10680 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10681 PyObject
*resultobj
;
10682 wxSpinButton
*result
;
10683 char *kwnames
[] = {
10687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
10689 if (!wxPyCheckForApp()) SWIG_fail
;
10690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10691 result
= (wxSpinButton
*)new wxSpinButton();
10693 wxPyEndAllowThreads(__tstate
);
10694 if (PyErr_Occurred()) SWIG_fail
;
10696 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10703 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10704 PyObject
*resultobj
;
10705 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10706 wxWindow
*arg2
= (wxWindow
*) 0 ;
10707 int arg3
= (int) -1 ;
10708 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10709 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10710 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10711 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10712 long arg6
= (long) wxSP_HORIZONTAL
;
10713 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
10714 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10718 bool temp7
= False
;
10719 PyObject
* obj0
= 0 ;
10720 PyObject
* obj1
= 0 ;
10721 PyObject
* obj2
= 0 ;
10722 PyObject
* obj3
= 0 ;
10723 PyObject
* obj4
= 0 ;
10724 PyObject
* obj5
= 0 ;
10725 PyObject
* obj6
= 0 ;
10726 char *kwnames
[] = {
10727 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10733 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10736 arg3
= (int) SWIG_AsInt(obj2
);
10737 if (PyErr_Occurred()) SWIG_fail
;
10742 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10748 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10752 arg6
= (long) SWIG_AsLong(obj5
);
10753 if (PyErr_Occurred()) SWIG_fail
;
10757 arg7
= wxString_in_helper(obj6
);
10758 if (arg7
== NULL
) SWIG_fail
;
10763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10764 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10766 wxPyEndAllowThreads(__tstate
);
10767 if (PyErr_Occurred()) SWIG_fail
;
10770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10786 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10787 PyObject
*resultobj
;
10788 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10790 PyObject
* obj0
= 0 ;
10791 char *kwnames
[] = {
10792 (char *) "self", NULL
10795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
10796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10800 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
10802 wxPyEndAllowThreads(__tstate
);
10803 if (PyErr_Occurred()) SWIG_fail
;
10805 resultobj
= SWIG_FromInt((int)result
);
10812 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10813 PyObject
*resultobj
;
10814 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10816 PyObject
* obj0
= 0 ;
10817 char *kwnames
[] = {
10818 (char *) "self", NULL
10821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
10822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10826 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
10828 wxPyEndAllowThreads(__tstate
);
10829 if (PyErr_Occurred()) SWIG_fail
;
10831 resultobj
= SWIG_FromInt((int)result
);
10838 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10839 PyObject
*resultobj
;
10840 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10842 PyObject
* obj0
= 0 ;
10843 char *kwnames
[] = {
10844 (char *) "self", NULL
10847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
10848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10852 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
10854 wxPyEndAllowThreads(__tstate
);
10855 if (PyErr_Occurred()) SWIG_fail
;
10857 resultobj
= SWIG_FromInt((int)result
);
10864 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10865 PyObject
*resultobj
;
10866 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10868 PyObject
* obj0
= 0 ;
10869 PyObject
* obj1
= 0 ;
10870 char *kwnames
[] = {
10871 (char *) "self",(char *) "val", NULL
10874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10877 arg2
= (int) SWIG_AsInt(obj1
);
10878 if (PyErr_Occurred()) SWIG_fail
;
10880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10881 (arg1
)->SetValue(arg2
);
10883 wxPyEndAllowThreads(__tstate
);
10884 if (PyErr_Occurred()) SWIG_fail
;
10886 Py_INCREF(Py_None
); resultobj
= Py_None
;
10893 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10894 PyObject
*resultobj
;
10895 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10897 PyObject
* obj0
= 0 ;
10898 PyObject
* obj1
= 0 ;
10899 char *kwnames
[] = {
10900 (char *) "self",(char *) "minVal", NULL
10903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
10904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10906 arg2
= (int) SWIG_AsInt(obj1
);
10907 if (PyErr_Occurred()) SWIG_fail
;
10909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10910 (arg1
)->SetMin(arg2
);
10912 wxPyEndAllowThreads(__tstate
);
10913 if (PyErr_Occurred()) SWIG_fail
;
10915 Py_INCREF(Py_None
); resultobj
= Py_None
;
10922 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10923 PyObject
*resultobj
;
10924 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10926 PyObject
* obj0
= 0 ;
10927 PyObject
* obj1
= 0 ;
10928 char *kwnames
[] = {
10929 (char *) "self",(char *) "maxVal", NULL
10932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
10933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10935 arg2
= (int) SWIG_AsInt(obj1
);
10936 if (PyErr_Occurred()) SWIG_fail
;
10938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10939 (arg1
)->SetMax(arg2
);
10941 wxPyEndAllowThreads(__tstate
);
10942 if (PyErr_Occurred()) SWIG_fail
;
10944 Py_INCREF(Py_None
); resultobj
= Py_None
;
10951 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10952 PyObject
*resultobj
;
10953 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10956 PyObject
* obj0
= 0 ;
10957 PyObject
* obj1
= 0 ;
10958 PyObject
* obj2
= 0 ;
10959 char *kwnames
[] = {
10960 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10966 arg2
= (int) SWIG_AsInt(obj1
);
10967 if (PyErr_Occurred()) SWIG_fail
;
10968 arg3
= (int) SWIG_AsInt(obj2
);
10969 if (PyErr_Occurred()) SWIG_fail
;
10971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10972 (arg1
)->SetRange(arg2
,arg3
);
10974 wxPyEndAllowThreads(__tstate
);
10975 if (PyErr_Occurred()) SWIG_fail
;
10977 Py_INCREF(Py_None
); resultobj
= Py_None
;
10984 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10985 PyObject
*resultobj
;
10986 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10988 PyObject
* obj0
= 0 ;
10989 char *kwnames
[] = {
10990 (char *) "self", NULL
10993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
10994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10998 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
11000 wxPyEndAllowThreads(__tstate
);
11001 if (PyErr_Occurred()) SWIG_fail
;
11004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11012 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11013 PyObject
*resultobj
;
11014 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
11015 wxVisualAttributes result
;
11016 PyObject
* obj0
= 0 ;
11017 char *kwnames
[] = {
11018 (char *) "variant", NULL
11021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11023 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
11024 if (PyErr_Occurred()) SWIG_fail
;
11027 if (!wxPyCheckForApp()) SWIG_fail
;
11028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11029 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11031 wxPyEndAllowThreads(__tstate
);
11032 if (PyErr_Occurred()) SWIG_fail
;
11035 wxVisualAttributes
* resultptr
;
11036 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
11037 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11045 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
11047 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11048 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
11050 return Py_BuildValue((char *)"");
11052 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11053 PyObject
*resultobj
;
11054 wxWindow
*arg1
= (wxWindow
*) 0 ;
11055 int arg2
= (int) -1 ;
11056 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11057 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11058 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11059 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11060 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11061 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11062 long arg6
= (long) wxSP_ARROW_KEYS
;
11063 int arg7
= (int) 0 ;
11064 int arg8
= (int) 100 ;
11065 int arg9
= (int) 0 ;
11066 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
11067 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11068 wxSpinCtrl
*result
;
11069 bool temp3
= False
;
11072 bool temp10
= False
;
11073 PyObject
* obj0
= 0 ;
11074 PyObject
* obj1
= 0 ;
11075 PyObject
* obj2
= 0 ;
11076 PyObject
* obj3
= 0 ;
11077 PyObject
* obj4
= 0 ;
11078 PyObject
* obj5
= 0 ;
11079 PyObject
* obj6
= 0 ;
11080 PyObject
* obj7
= 0 ;
11081 PyObject
* obj8
= 0 ;
11082 PyObject
* obj9
= 0 ;
11083 char *kwnames
[] = {
11084 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11091 arg2
= (int) SWIG_AsInt(obj1
);
11092 if (PyErr_Occurred()) SWIG_fail
;
11096 arg3
= wxString_in_helper(obj2
);
11097 if (arg3
== NULL
) SWIG_fail
;
11104 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11110 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11114 arg6
= (long) SWIG_AsLong(obj5
);
11115 if (PyErr_Occurred()) SWIG_fail
;
11118 arg7
= (int) SWIG_AsInt(obj6
);
11119 if (PyErr_Occurred()) SWIG_fail
;
11122 arg8
= (int) SWIG_AsInt(obj7
);
11123 if (PyErr_Occurred()) SWIG_fail
;
11126 arg9
= (int) SWIG_AsInt(obj8
);
11127 if (PyErr_Occurred()) SWIG_fail
;
11131 arg10
= wxString_in_helper(obj9
);
11132 if (arg10
== NULL
) SWIG_fail
;
11137 if (!wxPyCheckForApp()) SWIG_fail
;
11138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11139 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
11141 wxPyEndAllowThreads(__tstate
);
11142 if (PyErr_Occurred()) SWIG_fail
;
11144 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11167 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11168 PyObject
*resultobj
;
11169 wxSpinCtrl
*result
;
11170 char *kwnames
[] = {
11174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
11176 if (!wxPyCheckForApp()) SWIG_fail
;
11177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11178 result
= (wxSpinCtrl
*)new wxSpinCtrl();
11180 wxPyEndAllowThreads(__tstate
);
11181 if (PyErr_Occurred()) SWIG_fail
;
11183 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11190 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11191 PyObject
*resultobj
;
11192 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11193 wxWindow
*arg2
= (wxWindow
*) 0 ;
11194 int arg3
= (int) -1 ;
11195 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11196 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11197 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11198 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11199 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11200 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11201 long arg7
= (long) wxSP_ARROW_KEYS
;
11202 int arg8
= (int) 0 ;
11203 int arg9
= (int) 100 ;
11204 int arg10
= (int) 0 ;
11205 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
11206 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11208 bool temp4
= False
;
11211 bool temp11
= False
;
11212 PyObject
* obj0
= 0 ;
11213 PyObject
* obj1
= 0 ;
11214 PyObject
* obj2
= 0 ;
11215 PyObject
* obj3
= 0 ;
11216 PyObject
* obj4
= 0 ;
11217 PyObject
* obj5
= 0 ;
11218 PyObject
* obj6
= 0 ;
11219 PyObject
* obj7
= 0 ;
11220 PyObject
* obj8
= 0 ;
11221 PyObject
* obj9
= 0 ;
11222 PyObject
* obj10
= 0 ;
11223 char *kwnames
[] = {
11224 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11230 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11233 arg3
= (int) SWIG_AsInt(obj2
);
11234 if (PyErr_Occurred()) SWIG_fail
;
11238 arg4
= wxString_in_helper(obj3
);
11239 if (arg4
== NULL
) SWIG_fail
;
11246 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11252 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11256 arg7
= (long) SWIG_AsLong(obj6
);
11257 if (PyErr_Occurred()) SWIG_fail
;
11260 arg8
= (int) SWIG_AsInt(obj7
);
11261 if (PyErr_Occurred()) SWIG_fail
;
11264 arg9
= (int) SWIG_AsInt(obj8
);
11265 if (PyErr_Occurred()) SWIG_fail
;
11268 arg10
= (int) SWIG_AsInt(obj9
);
11269 if (PyErr_Occurred()) SWIG_fail
;
11273 arg11
= wxString_in_helper(obj10
);
11274 if (arg11
== NULL
) SWIG_fail
;
11279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11280 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
11282 wxPyEndAllowThreads(__tstate
);
11283 if (PyErr_Occurred()) SWIG_fail
;
11286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11310 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11311 PyObject
*resultobj
;
11312 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11314 PyObject
* obj0
= 0 ;
11315 char *kwnames
[] = {
11316 (char *) "self", NULL
11319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
11320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11324 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
11326 wxPyEndAllowThreads(__tstate
);
11327 if (PyErr_Occurred()) SWIG_fail
;
11329 resultobj
= SWIG_FromInt((int)result
);
11336 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11337 PyObject
*resultobj
;
11338 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11340 PyObject
* obj0
= 0 ;
11341 PyObject
* obj1
= 0 ;
11342 char *kwnames
[] = {
11343 (char *) "self",(char *) "value", NULL
11346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11349 arg2
= (int) SWIG_AsInt(obj1
);
11350 if (PyErr_Occurred()) SWIG_fail
;
11352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11353 (arg1
)->SetValue(arg2
);
11355 wxPyEndAllowThreads(__tstate
);
11356 if (PyErr_Occurred()) SWIG_fail
;
11358 Py_INCREF(Py_None
); resultobj
= Py_None
;
11365 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11366 PyObject
*resultobj
;
11367 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11368 wxString
*arg2
= 0 ;
11369 bool temp2
= False
;
11370 PyObject
* obj0
= 0 ;
11371 PyObject
* obj1
= 0 ;
11372 char *kwnames
[] = {
11373 (char *) "self",(char *) "text", NULL
11376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
11377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11380 arg2
= wxString_in_helper(obj1
);
11381 if (arg2
== NULL
) SWIG_fail
;
11385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11386 (arg1
)->SetValue((wxString
const &)*arg2
);
11388 wxPyEndAllowThreads(__tstate
);
11389 if (PyErr_Occurred()) SWIG_fail
;
11391 Py_INCREF(Py_None
); resultobj
= Py_None
;
11406 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11407 PyObject
*resultobj
;
11408 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11411 PyObject
* obj0
= 0 ;
11412 PyObject
* obj1
= 0 ;
11413 PyObject
* obj2
= 0 ;
11414 char *kwnames
[] = {
11415 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11421 arg2
= (int) SWIG_AsInt(obj1
);
11422 if (PyErr_Occurred()) SWIG_fail
;
11423 arg3
= (int) SWIG_AsInt(obj2
);
11424 if (PyErr_Occurred()) SWIG_fail
;
11426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11427 (arg1
)->SetRange(arg2
,arg3
);
11429 wxPyEndAllowThreads(__tstate
);
11430 if (PyErr_Occurred()) SWIG_fail
;
11432 Py_INCREF(Py_None
); resultobj
= Py_None
;
11439 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11440 PyObject
*resultobj
;
11441 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11443 PyObject
* obj0
= 0 ;
11444 char *kwnames
[] = {
11445 (char *) "self", NULL
11448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
11449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11453 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
11455 wxPyEndAllowThreads(__tstate
);
11456 if (PyErr_Occurred()) SWIG_fail
;
11458 resultobj
= SWIG_FromInt((int)result
);
11465 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11466 PyObject
*resultobj
;
11467 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11469 PyObject
* obj0
= 0 ;
11470 char *kwnames
[] = {
11471 (char *) "self", NULL
11474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
11475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11479 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
11481 wxPyEndAllowThreads(__tstate
);
11482 if (PyErr_Occurred()) SWIG_fail
;
11484 resultobj
= SWIG_FromInt((int)result
);
11491 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11492 PyObject
*resultobj
;
11493 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11496 PyObject
* obj0
= 0 ;
11497 PyObject
* obj1
= 0 ;
11498 PyObject
* obj2
= 0 ;
11499 char *kwnames
[] = {
11500 (char *) "self",(char *) "from",(char *) "to", NULL
11503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11506 arg2
= (long) SWIG_AsLong(obj1
);
11507 if (PyErr_Occurred()) SWIG_fail
;
11508 arg3
= (long) SWIG_AsLong(obj2
);
11509 if (PyErr_Occurred()) SWIG_fail
;
11511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11512 (arg1
)->SetSelection(arg2
,arg3
);
11514 wxPyEndAllowThreads(__tstate
);
11515 if (PyErr_Occurred()) SWIG_fail
;
11517 Py_INCREF(Py_None
); resultobj
= Py_None
;
11524 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11525 PyObject
*resultobj
;
11526 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
11527 wxVisualAttributes result
;
11528 PyObject
* obj0
= 0 ;
11529 char *kwnames
[] = {
11530 (char *) "variant", NULL
11533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11535 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
11536 if (PyErr_Occurred()) SWIG_fail
;
11539 if (!wxPyCheckForApp()) SWIG_fail
;
11540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11541 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11543 wxPyEndAllowThreads(__tstate
);
11544 if (PyErr_Occurred()) SWIG_fail
;
11547 wxVisualAttributes
* resultptr
;
11548 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
11549 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11557 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
11559 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11560 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
11562 return Py_BuildValue((char *)"");
11564 static PyObject
*_wrap_new_SpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11565 PyObject
*resultobj
;
11566 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11567 int arg2
= (int) 0 ;
11568 wxSpinEvent
*result
;
11569 PyObject
* obj0
= 0 ;
11570 PyObject
* obj1
= 0 ;
11571 char *kwnames
[] = {
11572 (char *) "commandType",(char *) "winid", NULL
11575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11577 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
11578 if (PyErr_Occurred()) SWIG_fail
;
11581 arg2
= (int) SWIG_AsInt(obj1
);
11582 if (PyErr_Occurred()) SWIG_fail
;
11585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11586 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
11588 wxPyEndAllowThreads(__tstate
);
11589 if (PyErr_Occurred()) SWIG_fail
;
11591 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
11598 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11599 PyObject
*resultobj
;
11600 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11602 PyObject
* obj0
= 0 ;
11603 char *kwnames
[] = {
11604 (char *) "self", NULL
11607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11612 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
11614 wxPyEndAllowThreads(__tstate
);
11615 if (PyErr_Occurred()) SWIG_fail
;
11617 resultobj
= SWIG_FromInt((int)result
);
11624 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11625 PyObject
*resultobj
;
11626 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11628 PyObject
* obj0
= 0 ;
11629 PyObject
* obj1
= 0 ;
11630 char *kwnames
[] = {
11631 (char *) "self",(char *) "pos", NULL
11634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11637 arg2
= (int) SWIG_AsInt(obj1
);
11638 if (PyErr_Occurred()) SWIG_fail
;
11640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11641 (arg1
)->SetPosition(arg2
);
11643 wxPyEndAllowThreads(__tstate
);
11644 if (PyErr_Occurred()) SWIG_fail
;
11646 Py_INCREF(Py_None
); resultobj
= Py_None
;
11653 static PyObject
* SpinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11655 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11656 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
11658 return Py_BuildValue((char *)"");
11660 static int _wrap_RadioBoxNameStr_set(PyObject
*_val
) {
11661 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
11666 static PyObject
*_wrap_RadioBoxNameStr_get() {
11671 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11673 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11680 static int _wrap_RadioButtonNameStr_set(PyObject
*_val
) {
11681 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
11686 static PyObject
*_wrap_RadioButtonNameStr_get() {
11691 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11693 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11700 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11701 PyObject
*resultobj
;
11702 wxWindow
*arg1
= (wxWindow
*) 0 ;
11703 int arg2
= (int) -1 ;
11704 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11705 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11706 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11707 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11708 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11709 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11710 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
11711 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
11712 int arg7
= (int) 0 ;
11713 long arg8
= (long) wxRA_HORIZONTAL
;
11714 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11715 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11716 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
11717 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11718 wxRadioBox
*result
;
11719 bool temp3
= False
;
11722 bool temp6
= False
;
11723 bool temp10
= False
;
11724 PyObject
* obj0
= 0 ;
11725 PyObject
* obj1
= 0 ;
11726 PyObject
* obj2
= 0 ;
11727 PyObject
* obj3
= 0 ;
11728 PyObject
* obj4
= 0 ;
11729 PyObject
* obj5
= 0 ;
11730 PyObject
* obj6
= 0 ;
11731 PyObject
* obj7
= 0 ;
11732 PyObject
* obj8
= 0 ;
11733 PyObject
* obj9
= 0 ;
11734 char *kwnames
[] = {
11735 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11742 arg2
= (int) SWIG_AsInt(obj1
);
11743 if (PyErr_Occurred()) SWIG_fail
;
11747 arg3
= wxString_in_helper(obj2
);
11748 if (arg3
== NULL
) SWIG_fail
;
11755 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11761 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11766 if (! PySequence_Check(obj5
)) {
11767 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11770 arg6
= new wxArrayString
;
11772 int i
, len
=PySequence_Length(obj5
);
11773 for (i
=0; i
<len
; i
++) {
11774 PyObject
* item
= PySequence_GetItem(obj5
, i
);
11776 PyObject
* str
= PyObject_Unicode(item
);
11778 PyObject
* str
= PyObject_Str(item
);
11780 if (PyErr_Occurred()) SWIG_fail
;
11781 arg6
->Add(Py2wxString(str
));
11788 arg7
= (int) SWIG_AsInt(obj6
);
11789 if (PyErr_Occurred()) SWIG_fail
;
11792 arg8
= (long) SWIG_AsLong(obj7
);
11793 if (PyErr_Occurred()) SWIG_fail
;
11796 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
11797 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11799 if (arg9
== NULL
) {
11800 PyErr_SetString(PyExc_TypeError
,"null reference");
11806 arg10
= wxString_in_helper(obj9
);
11807 if (arg10
== NULL
) SWIG_fail
;
11812 if (!wxPyCheckForApp()) SWIG_fail
;
11813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11814 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
);
11816 wxPyEndAllowThreads(__tstate
);
11817 if (PyErr_Occurred()) SWIG_fail
;
11819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11825 if (temp6
) delete arg6
;
11838 if (temp6
) delete arg6
;
11848 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11849 PyObject
*resultobj
;
11850 wxRadioBox
*result
;
11851 char *kwnames
[] = {
11855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
11857 if (!wxPyCheckForApp()) SWIG_fail
;
11858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11859 result
= (wxRadioBox
*)new wxRadioBox();
11861 wxPyEndAllowThreads(__tstate
);
11862 if (PyErr_Occurred()) SWIG_fail
;
11864 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11871 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11872 PyObject
*resultobj
;
11873 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11874 wxWindow
*arg2
= (wxWindow
*) 0 ;
11875 int arg3
= (int) -1 ;
11876 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11877 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11878 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11879 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11880 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11881 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11882 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
11883 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
11884 int arg8
= (int) 0 ;
11885 long arg9
= (long) wxRA_HORIZONTAL
;
11886 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11887 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11888 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
11889 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11891 bool temp4
= False
;
11894 bool temp7
= False
;
11895 bool temp11
= False
;
11896 PyObject
* obj0
= 0 ;
11897 PyObject
* obj1
= 0 ;
11898 PyObject
* obj2
= 0 ;
11899 PyObject
* obj3
= 0 ;
11900 PyObject
* obj4
= 0 ;
11901 PyObject
* obj5
= 0 ;
11902 PyObject
* obj6
= 0 ;
11903 PyObject
* obj7
= 0 ;
11904 PyObject
* obj8
= 0 ;
11905 PyObject
* obj9
= 0 ;
11906 PyObject
* obj10
= 0 ;
11907 char *kwnames
[] = {
11908 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11914 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11917 arg3
= (int) SWIG_AsInt(obj2
);
11918 if (PyErr_Occurred()) SWIG_fail
;
11922 arg4
= wxString_in_helper(obj3
);
11923 if (arg4
== NULL
) SWIG_fail
;
11930 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11936 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11941 if (! PySequence_Check(obj6
)) {
11942 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11945 arg7
= new wxArrayString
;
11947 int i
, len
=PySequence_Length(obj6
);
11948 for (i
=0; i
<len
; i
++) {
11949 PyObject
* item
= PySequence_GetItem(obj6
, i
);
11951 PyObject
* str
= PyObject_Unicode(item
);
11953 PyObject
* str
= PyObject_Str(item
);
11955 if (PyErr_Occurred()) SWIG_fail
;
11956 arg7
->Add(Py2wxString(str
));
11963 arg8
= (int) SWIG_AsInt(obj7
);
11964 if (PyErr_Occurred()) SWIG_fail
;
11967 arg9
= (long) SWIG_AsLong(obj8
);
11968 if (PyErr_Occurred()) SWIG_fail
;
11971 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
11972 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11974 if (arg10
== NULL
) {
11975 PyErr_SetString(PyExc_TypeError
,"null reference");
11981 arg11
= wxString_in_helper(obj10
);
11982 if (arg11
== NULL
) SWIG_fail
;
11987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11988 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
);
11990 wxPyEndAllowThreads(__tstate
);
11991 if (PyErr_Occurred()) SWIG_fail
;
11994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12001 if (temp7
) delete arg7
;
12014 if (temp7
) delete arg7
;
12024 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12025 PyObject
*resultobj
;
12026 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12028 PyObject
* obj0
= 0 ;
12029 PyObject
* obj1
= 0 ;
12030 char *kwnames
[] = {
12031 (char *) "self",(char *) "n", NULL
12034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12037 arg2
= (int) SWIG_AsInt(obj1
);
12038 if (PyErr_Occurred()) SWIG_fail
;
12040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12041 (arg1
)->SetSelection(arg2
);
12043 wxPyEndAllowThreads(__tstate
);
12044 if (PyErr_Occurred()) SWIG_fail
;
12046 Py_INCREF(Py_None
); resultobj
= Py_None
;
12053 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12054 PyObject
*resultobj
;
12055 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12057 PyObject
* obj0
= 0 ;
12058 char *kwnames
[] = {
12059 (char *) "self", NULL
12062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
12063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12067 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
12069 wxPyEndAllowThreads(__tstate
);
12070 if (PyErr_Occurred()) SWIG_fail
;
12072 resultobj
= SWIG_FromInt((int)result
);
12079 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12080 PyObject
*resultobj
;
12081 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12083 PyObject
* obj0
= 0 ;
12084 char *kwnames
[] = {
12085 (char *) "self", NULL
12088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12093 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
12095 wxPyEndAllowThreads(__tstate
);
12096 if (PyErr_Occurred()) SWIG_fail
;
12100 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12102 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12111 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12112 PyObject
*resultobj
;
12113 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12114 wxString
*arg2
= 0 ;
12116 bool temp2
= False
;
12117 PyObject
* obj0
= 0 ;
12118 PyObject
* obj1
= 0 ;
12119 char *kwnames
[] = {
12120 (char *) "self",(char *) "s", NULL
12123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12127 arg2
= wxString_in_helper(obj1
);
12128 if (arg2
== NULL
) SWIG_fail
;
12132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12133 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
12135 wxPyEndAllowThreads(__tstate
);
12136 if (PyErr_Occurred()) SWIG_fail
;
12139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12155 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12156 PyObject
*resultobj
;
12157 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12159 PyObject
* obj0
= 0 ;
12160 char *kwnames
[] = {
12161 (char *) "self", NULL
12164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
12165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12169 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
12171 wxPyEndAllowThreads(__tstate
);
12172 if (PyErr_Occurred()) SWIG_fail
;
12174 resultobj
= SWIG_FromInt((int)result
);
12181 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12182 PyObject
*resultobj
;
12183 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12184 wxString
*arg2
= 0 ;
12186 bool temp2
= False
;
12187 PyObject
* obj0
= 0 ;
12188 PyObject
* obj1
= 0 ;
12189 char *kwnames
[] = {
12190 (char *) "self",(char *) "s", NULL
12193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
12194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12197 arg2
= wxString_in_helper(obj1
);
12198 if (arg2
== NULL
) SWIG_fail
;
12202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12203 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
12205 wxPyEndAllowThreads(__tstate
);
12206 if (PyErr_Occurred()) SWIG_fail
;
12208 resultobj
= SWIG_FromInt((int)result
);
12223 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12224 PyObject
*resultobj
;
12225 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12228 PyObject
* obj0
= 0 ;
12229 PyObject
* obj1
= 0 ;
12230 char *kwnames
[] = {
12231 (char *) "self",(char *) "n", NULL
12234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12237 arg2
= (int) SWIG_AsInt(obj1
);
12238 if (PyErr_Occurred()) SWIG_fail
;
12240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12241 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
12243 wxPyEndAllowThreads(__tstate
);
12244 if (PyErr_Occurred()) SWIG_fail
;
12248 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12250 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12259 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12260 PyObject
*resultobj
;
12261 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12263 wxString
*arg3
= 0 ;
12264 bool temp3
= False
;
12265 PyObject
* obj0
= 0 ;
12266 PyObject
* obj1
= 0 ;
12267 PyObject
* obj2
= 0 ;
12268 char *kwnames
[] = {
12269 (char *) "self",(char *) "n",(char *) "label", NULL
12272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",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
= wxString_in_helper(obj2
);
12279 if (arg3
== NULL
) SWIG_fail
;
12283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12284 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
12286 wxPyEndAllowThreads(__tstate
);
12287 if (PyErr_Occurred()) SWIG_fail
;
12289 Py_INCREF(Py_None
); resultobj
= Py_None
;
12304 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12305 PyObject
*resultobj
;
12306 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12308 bool arg3
= (bool) True
;
12309 PyObject
* obj0
= 0 ;
12310 PyObject
* obj1
= 0 ;
12311 PyObject
* obj2
= 0 ;
12312 char *kwnames
[] = {
12313 (char *) "self",(char *) "n",(char *) "enable", NULL
12316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12319 arg2
= (int) SWIG_AsInt(obj1
);
12320 if (PyErr_Occurred()) SWIG_fail
;
12322 arg3
= (bool) SWIG_AsBool(obj2
);
12323 if (PyErr_Occurred()) SWIG_fail
;
12326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12327 (arg1
)->Enable(arg2
,arg3
);
12329 wxPyEndAllowThreads(__tstate
);
12330 if (PyErr_Occurred()) SWIG_fail
;
12332 Py_INCREF(Py_None
); resultobj
= Py_None
;
12339 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12340 PyObject
*resultobj
;
12341 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12343 bool arg3
= (bool) True
;
12344 PyObject
* obj0
= 0 ;
12345 PyObject
* obj1
= 0 ;
12346 PyObject
* obj2
= 0 ;
12347 char *kwnames
[] = {
12348 (char *) "self",(char *) "n",(char *) "show", NULL
12351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12354 arg2
= (int) SWIG_AsInt(obj1
);
12355 if (PyErr_Occurred()) SWIG_fail
;
12357 arg3
= (bool) SWIG_AsBool(obj2
);
12358 if (PyErr_Occurred()) SWIG_fail
;
12361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12362 (arg1
)->Show(arg2
,arg3
);
12364 wxPyEndAllowThreads(__tstate
);
12365 if (PyErr_Occurred()) SWIG_fail
;
12367 Py_INCREF(Py_None
); resultobj
= Py_None
;
12374 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12375 PyObject
*resultobj
;
12376 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12378 PyObject
* obj0
= 0 ;
12379 char *kwnames
[] = {
12380 (char *) "self", NULL
12383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
12384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12388 result
= (int)wxRadioBox_GetColumnCount((wxRadioBox
const *)arg1
);
12390 wxPyEndAllowThreads(__tstate
);
12391 if (PyErr_Occurred()) SWIG_fail
;
12393 resultobj
= SWIG_FromInt((int)result
);
12400 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12401 PyObject
*resultobj
;
12402 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12404 PyObject
* obj0
= 0 ;
12405 char *kwnames
[] = {
12406 (char *) "self", NULL
12409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
12410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12414 result
= (int)wxRadioBox_GetRowCount((wxRadioBox
const *)arg1
);
12416 wxPyEndAllowThreads(__tstate
);
12417 if (PyErr_Occurred()) SWIG_fail
;
12419 resultobj
= SWIG_FromInt((int)result
);
12426 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12427 PyObject
*resultobj
;
12428 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12433 PyObject
* obj0
= 0 ;
12434 PyObject
* obj1
= 0 ;
12435 PyObject
* obj2
= 0 ;
12436 PyObject
* obj3
= 0 ;
12437 char *kwnames
[] = {
12438 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
12441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12444 arg2
= (int) SWIG_AsInt(obj1
);
12445 if (PyErr_Occurred()) SWIG_fail
;
12446 arg3
= (wxDirection
) SWIG_AsInt(obj2
);
12447 if (PyErr_Occurred()) SWIG_fail
;
12448 arg4
= (long) SWIG_AsLong(obj3
);
12449 if (PyErr_Occurred()) SWIG_fail
;
12451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12452 result
= (int)wxRadioBox_GetNextItem((wxRadioBox
const *)arg1
,arg2
,(wxDirection
)arg3
,arg4
);
12454 wxPyEndAllowThreads(__tstate
);
12455 if (PyErr_Occurred()) SWIG_fail
;
12457 resultobj
= SWIG_FromInt((int)result
);
12464 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12465 PyObject
*resultobj
;
12466 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12467 wxVisualAttributes result
;
12468 PyObject
* obj0
= 0 ;
12469 char *kwnames
[] = {
12470 (char *) "variant", NULL
12473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12475 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
12476 if (PyErr_Occurred()) SWIG_fail
;
12479 if (!wxPyCheckForApp()) SWIG_fail
;
12480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12481 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12483 wxPyEndAllowThreads(__tstate
);
12484 if (PyErr_Occurred()) SWIG_fail
;
12487 wxVisualAttributes
* resultptr
;
12488 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12489 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12497 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
12499 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12500 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
12502 return Py_BuildValue((char *)"");
12504 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12505 PyObject
*resultobj
;
12506 wxWindow
*arg1
= (wxWindow
*) 0 ;
12507 int arg2
= (int) -1 ;
12508 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12509 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12510 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12511 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12512 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12513 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12514 long arg6
= (long) 0 ;
12515 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12516 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12517 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
12518 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12519 wxRadioButton
*result
;
12520 bool temp3
= False
;
12523 bool temp8
= False
;
12524 PyObject
* obj0
= 0 ;
12525 PyObject
* obj1
= 0 ;
12526 PyObject
* obj2
= 0 ;
12527 PyObject
* obj3
= 0 ;
12528 PyObject
* obj4
= 0 ;
12529 PyObject
* obj5
= 0 ;
12530 PyObject
* obj6
= 0 ;
12531 PyObject
* obj7
= 0 ;
12532 char *kwnames
[] = {
12533 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12540 arg2
= (int) SWIG_AsInt(obj1
);
12541 if (PyErr_Occurred()) SWIG_fail
;
12545 arg3
= wxString_in_helper(obj2
);
12546 if (arg3
== NULL
) SWIG_fail
;
12553 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12559 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12563 arg6
= (long) SWIG_AsLong(obj5
);
12564 if (PyErr_Occurred()) SWIG_fail
;
12567 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
12568 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12570 if (arg7
== NULL
) {
12571 PyErr_SetString(PyExc_TypeError
,"null reference");
12577 arg8
= wxString_in_helper(obj7
);
12578 if (arg8
== NULL
) SWIG_fail
;
12583 if (!wxPyCheckForApp()) SWIG_fail
;
12584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12585 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12587 wxPyEndAllowThreads(__tstate
);
12588 if (PyErr_Occurred()) SWIG_fail
;
12590 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12613 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12614 PyObject
*resultobj
;
12615 wxRadioButton
*result
;
12616 char *kwnames
[] = {
12620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
12622 if (!wxPyCheckForApp()) SWIG_fail
;
12623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12624 result
= (wxRadioButton
*)new wxRadioButton();
12626 wxPyEndAllowThreads(__tstate
);
12627 if (PyErr_Occurred()) SWIG_fail
;
12629 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12636 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12637 PyObject
*resultobj
;
12638 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12639 wxWindow
*arg2
= (wxWindow
*) 0 ;
12640 int arg3
= (int) -1 ;
12641 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12642 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12643 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12644 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12645 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12646 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12647 long arg7
= (long) 0 ;
12648 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
12649 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
12650 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
12651 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
12653 bool temp4
= False
;
12656 bool temp9
= False
;
12657 PyObject
* obj0
= 0 ;
12658 PyObject
* obj1
= 0 ;
12659 PyObject
* obj2
= 0 ;
12660 PyObject
* obj3
= 0 ;
12661 PyObject
* obj4
= 0 ;
12662 PyObject
* obj5
= 0 ;
12663 PyObject
* obj6
= 0 ;
12664 PyObject
* obj7
= 0 ;
12665 PyObject
* obj8
= 0 ;
12666 char *kwnames
[] = {
12667 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
12671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12673 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12676 arg3
= (int) SWIG_AsInt(obj2
);
12677 if (PyErr_Occurred()) SWIG_fail
;
12681 arg4
= wxString_in_helper(obj3
);
12682 if (arg4
== NULL
) SWIG_fail
;
12689 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12695 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12699 arg7
= (long) SWIG_AsLong(obj6
);
12700 if (PyErr_Occurred()) SWIG_fail
;
12703 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
12704 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12706 if (arg8
== NULL
) {
12707 PyErr_SetString(PyExc_TypeError
,"null reference");
12713 arg9
= wxString_in_helper(obj8
);
12714 if (arg9
== NULL
) SWIG_fail
;
12719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12720 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
12722 wxPyEndAllowThreads(__tstate
);
12723 if (PyErr_Occurred()) SWIG_fail
;
12726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12750 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12751 PyObject
*resultobj
;
12752 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12754 PyObject
* obj0
= 0 ;
12755 char *kwnames
[] = {
12756 (char *) "self", NULL
12759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
12760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12764 result
= (bool)(arg1
)->GetValue();
12766 wxPyEndAllowThreads(__tstate
);
12767 if (PyErr_Occurred()) SWIG_fail
;
12770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12778 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12779 PyObject
*resultobj
;
12780 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12782 PyObject
* obj0
= 0 ;
12783 PyObject
* obj1
= 0 ;
12784 char *kwnames
[] = {
12785 (char *) "self",(char *) "value", NULL
12788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12791 arg2
= (bool) SWIG_AsBool(obj1
);
12792 if (PyErr_Occurred()) SWIG_fail
;
12794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12795 (arg1
)->SetValue(arg2
);
12797 wxPyEndAllowThreads(__tstate
);
12798 if (PyErr_Occurred()) SWIG_fail
;
12800 Py_INCREF(Py_None
); resultobj
= Py_None
;
12807 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12808 PyObject
*resultobj
;
12809 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12810 wxVisualAttributes result
;
12811 PyObject
* obj0
= 0 ;
12812 char *kwnames
[] = {
12813 (char *) "variant", NULL
12816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12818 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
12819 if (PyErr_Occurred()) SWIG_fail
;
12822 if (!wxPyCheckForApp()) SWIG_fail
;
12823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12824 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12826 wxPyEndAllowThreads(__tstate
);
12827 if (PyErr_Occurred()) SWIG_fail
;
12830 wxVisualAttributes
* resultptr
;
12831 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12832 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12840 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
12842 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12843 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
12845 return Py_BuildValue((char *)"");
12847 static int _wrap_SliderNameStr_set(PyObject
*_val
) {
12848 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
12853 static PyObject
*_wrap_SliderNameStr_get() {
12858 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12860 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12867 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12868 PyObject
*resultobj
;
12869 wxWindow
*arg1
= (wxWindow
*) 0 ;
12870 int arg2
= (int) -1 ;
12871 int arg3
= (int) 0 ;
12872 int arg4
= (int) 0 ;
12873 int arg5
= (int) 100 ;
12874 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12875 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12876 wxSize
const &arg7_defvalue
= wxDefaultSize
;
12877 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
12878 long arg8
= (long) wxSL_HORIZONTAL
;
12879 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
12880 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
12881 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
12882 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12886 bool temp10
= False
;
12887 PyObject
* obj0
= 0 ;
12888 PyObject
* obj1
= 0 ;
12889 PyObject
* obj2
= 0 ;
12890 PyObject
* obj3
= 0 ;
12891 PyObject
* obj4
= 0 ;
12892 PyObject
* obj5
= 0 ;
12893 PyObject
* obj6
= 0 ;
12894 PyObject
* obj7
= 0 ;
12895 PyObject
* obj8
= 0 ;
12896 PyObject
* obj9
= 0 ;
12897 char *kwnames
[] = {
12898 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12905 arg2
= (int) SWIG_AsInt(obj1
);
12906 if (PyErr_Occurred()) SWIG_fail
;
12909 arg3
= (int) SWIG_AsInt(obj2
);
12910 if (PyErr_Occurred()) SWIG_fail
;
12913 arg4
= (int) SWIG_AsInt(obj3
);
12914 if (PyErr_Occurred()) SWIG_fail
;
12917 arg5
= (int) SWIG_AsInt(obj4
);
12918 if (PyErr_Occurred()) SWIG_fail
;
12923 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12929 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
12933 arg8
= (long) SWIG_AsLong(obj7
);
12934 if (PyErr_Occurred()) SWIG_fail
;
12937 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
12938 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12940 if (arg9
== NULL
) {
12941 PyErr_SetString(PyExc_TypeError
,"null reference");
12947 arg10
= wxString_in_helper(obj9
);
12948 if (arg10
== NULL
) SWIG_fail
;
12953 if (!wxPyCheckForApp()) SWIG_fail
;
12954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12955 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
12957 wxPyEndAllowThreads(__tstate
);
12958 if (PyErr_Occurred()) SWIG_fail
;
12960 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12975 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12976 PyObject
*resultobj
;
12978 char *kwnames
[] = {
12982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
12984 if (!wxPyCheckForApp()) SWIG_fail
;
12985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12986 result
= (wxSlider
*)new wxSlider();
12988 wxPyEndAllowThreads(__tstate
);
12989 if (PyErr_Occurred()) SWIG_fail
;
12991 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12998 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12999 PyObject
*resultobj
;
13000 wxSlider
*arg1
= (wxSlider
*) 0 ;
13001 wxWindow
*arg2
= (wxWindow
*) 0 ;
13002 int arg3
= (int) -1 ;
13003 int arg4
= (int) 0 ;
13004 int arg5
= (int) 0 ;
13005 int arg6
= (int) 100 ;
13006 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
13007 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
13008 wxSize
const &arg8_defvalue
= wxDefaultSize
;
13009 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
13010 long arg9
= (long) wxSL_HORIZONTAL
;
13011 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
13012 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
13013 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
13014 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13018 bool temp11
= False
;
13019 PyObject
* obj0
= 0 ;
13020 PyObject
* obj1
= 0 ;
13021 PyObject
* obj2
= 0 ;
13022 PyObject
* obj3
= 0 ;
13023 PyObject
* obj4
= 0 ;
13024 PyObject
* obj5
= 0 ;
13025 PyObject
* obj6
= 0 ;
13026 PyObject
* obj7
= 0 ;
13027 PyObject
* obj8
= 0 ;
13028 PyObject
* obj9
= 0 ;
13029 PyObject
* obj10
= 0 ;
13030 char *kwnames
[] = {
13031 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13037 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13040 arg3
= (int) SWIG_AsInt(obj2
);
13041 if (PyErr_Occurred()) SWIG_fail
;
13044 arg4
= (int) SWIG_AsInt(obj3
);
13045 if (PyErr_Occurred()) SWIG_fail
;
13048 arg5
= (int) SWIG_AsInt(obj4
);
13049 if (PyErr_Occurred()) SWIG_fail
;
13052 arg6
= (int) SWIG_AsInt(obj5
);
13053 if (PyErr_Occurred()) SWIG_fail
;
13058 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
13064 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
13068 arg9
= (long) SWIG_AsLong(obj8
);
13069 if (PyErr_Occurred()) SWIG_fail
;
13072 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
13073 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13075 if (arg10
== NULL
) {
13076 PyErr_SetString(PyExc_TypeError
,"null reference");
13082 arg11
= wxString_in_helper(obj10
);
13083 if (arg11
== NULL
) SWIG_fail
;
13088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13089 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
13091 wxPyEndAllowThreads(__tstate
);
13092 if (PyErr_Occurred()) SWIG_fail
;
13095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13111 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13112 PyObject
*resultobj
;
13113 wxSlider
*arg1
= (wxSlider
*) 0 ;
13115 PyObject
* obj0
= 0 ;
13116 char *kwnames
[] = {
13117 (char *) "self", NULL
13120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
13121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13125 result
= (int)((wxSlider
const *)arg1
)->GetValue();
13127 wxPyEndAllowThreads(__tstate
);
13128 if (PyErr_Occurred()) SWIG_fail
;
13130 resultobj
= SWIG_FromInt((int)result
);
13137 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13138 PyObject
*resultobj
;
13139 wxSlider
*arg1
= (wxSlider
*) 0 ;
13141 PyObject
* obj0
= 0 ;
13142 PyObject
* obj1
= 0 ;
13143 char *kwnames
[] = {
13144 (char *) "self",(char *) "value", NULL
13147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13150 arg2
= (int) SWIG_AsInt(obj1
);
13151 if (PyErr_Occurred()) SWIG_fail
;
13153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13154 (arg1
)->SetValue(arg2
);
13156 wxPyEndAllowThreads(__tstate
);
13157 if (PyErr_Occurred()) SWIG_fail
;
13159 Py_INCREF(Py_None
); resultobj
= Py_None
;
13166 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13167 PyObject
*resultobj
;
13168 wxSlider
*arg1
= (wxSlider
*) 0 ;
13171 PyObject
* obj0
= 0 ;
13172 PyObject
* obj1
= 0 ;
13173 PyObject
* obj2
= 0 ;
13174 char *kwnames
[] = {
13175 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
13178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13181 arg2
= (int) SWIG_AsInt(obj1
);
13182 if (PyErr_Occurred()) SWIG_fail
;
13183 arg3
= (int) SWIG_AsInt(obj2
);
13184 if (PyErr_Occurred()) SWIG_fail
;
13186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13187 (arg1
)->SetRange(arg2
,arg3
);
13189 wxPyEndAllowThreads(__tstate
);
13190 if (PyErr_Occurred()) SWIG_fail
;
13192 Py_INCREF(Py_None
); resultobj
= Py_None
;
13199 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13200 PyObject
*resultobj
;
13201 wxSlider
*arg1
= (wxSlider
*) 0 ;
13203 PyObject
* obj0
= 0 ;
13204 char *kwnames
[] = {
13205 (char *) "self", NULL
13208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
13209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13213 result
= (int)((wxSlider
const *)arg1
)->GetMin();
13215 wxPyEndAllowThreads(__tstate
);
13216 if (PyErr_Occurred()) SWIG_fail
;
13218 resultobj
= SWIG_FromInt((int)result
);
13225 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13226 PyObject
*resultobj
;
13227 wxSlider
*arg1
= (wxSlider
*) 0 ;
13229 PyObject
* obj0
= 0 ;
13230 char *kwnames
[] = {
13231 (char *) "self", NULL
13234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
13235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13239 result
= (int)((wxSlider
const *)arg1
)->GetMax();
13241 wxPyEndAllowThreads(__tstate
);
13242 if (PyErr_Occurred()) SWIG_fail
;
13244 resultobj
= SWIG_FromInt((int)result
);
13251 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13252 PyObject
*resultobj
;
13253 wxSlider
*arg1
= (wxSlider
*) 0 ;
13255 PyObject
* obj0
= 0 ;
13256 PyObject
* obj1
= 0 ;
13257 char *kwnames
[] = {
13258 (char *) "self",(char *) "minValue", NULL
13261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
13262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13264 arg2
= (int) SWIG_AsInt(obj1
);
13265 if (PyErr_Occurred()) SWIG_fail
;
13267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13268 (arg1
)->SetMin(arg2
);
13270 wxPyEndAllowThreads(__tstate
);
13271 if (PyErr_Occurred()) SWIG_fail
;
13273 Py_INCREF(Py_None
); resultobj
= Py_None
;
13280 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13281 PyObject
*resultobj
;
13282 wxSlider
*arg1
= (wxSlider
*) 0 ;
13284 PyObject
* obj0
= 0 ;
13285 PyObject
* obj1
= 0 ;
13286 char *kwnames
[] = {
13287 (char *) "self",(char *) "maxValue", NULL
13290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
13291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13293 arg2
= (int) SWIG_AsInt(obj1
);
13294 if (PyErr_Occurred()) SWIG_fail
;
13296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13297 (arg1
)->SetMax(arg2
);
13299 wxPyEndAllowThreads(__tstate
);
13300 if (PyErr_Occurred()) SWIG_fail
;
13302 Py_INCREF(Py_None
); resultobj
= Py_None
;
13309 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13310 PyObject
*resultobj
;
13311 wxSlider
*arg1
= (wxSlider
*) 0 ;
13313 PyObject
* obj0
= 0 ;
13314 PyObject
* obj1
= 0 ;
13315 char *kwnames
[] = {
13316 (char *) "self",(char *) "lineSize", NULL
13319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13322 arg2
= (int) SWIG_AsInt(obj1
);
13323 if (PyErr_Occurred()) SWIG_fail
;
13325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13326 (arg1
)->SetLineSize(arg2
);
13328 wxPyEndAllowThreads(__tstate
);
13329 if (PyErr_Occurred()) SWIG_fail
;
13331 Py_INCREF(Py_None
); resultobj
= Py_None
;
13338 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13339 PyObject
*resultobj
;
13340 wxSlider
*arg1
= (wxSlider
*) 0 ;
13342 PyObject
* obj0
= 0 ;
13343 PyObject
* obj1
= 0 ;
13344 char *kwnames
[] = {
13345 (char *) "self",(char *) "pageSize", NULL
13348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13351 arg2
= (int) SWIG_AsInt(obj1
);
13352 if (PyErr_Occurred()) SWIG_fail
;
13354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13355 (arg1
)->SetPageSize(arg2
);
13357 wxPyEndAllowThreads(__tstate
);
13358 if (PyErr_Occurred()) SWIG_fail
;
13360 Py_INCREF(Py_None
); resultobj
= Py_None
;
13367 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13368 PyObject
*resultobj
;
13369 wxSlider
*arg1
= (wxSlider
*) 0 ;
13371 PyObject
* obj0
= 0 ;
13372 char *kwnames
[] = {
13373 (char *) "self", NULL
13376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
13377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13381 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
13383 wxPyEndAllowThreads(__tstate
);
13384 if (PyErr_Occurred()) SWIG_fail
;
13386 resultobj
= SWIG_FromInt((int)result
);
13393 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13394 PyObject
*resultobj
;
13395 wxSlider
*arg1
= (wxSlider
*) 0 ;
13397 PyObject
* obj0
= 0 ;
13398 char *kwnames
[] = {
13399 (char *) "self", NULL
13402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
13403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13407 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
13409 wxPyEndAllowThreads(__tstate
);
13410 if (PyErr_Occurred()) SWIG_fail
;
13412 resultobj
= SWIG_FromInt((int)result
);
13419 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13420 PyObject
*resultobj
;
13421 wxSlider
*arg1
= (wxSlider
*) 0 ;
13423 PyObject
* obj0
= 0 ;
13424 PyObject
* obj1
= 0 ;
13425 char *kwnames
[] = {
13426 (char *) "self",(char *) "lenPixels", NULL
13429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
13430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13432 arg2
= (int) SWIG_AsInt(obj1
);
13433 if (PyErr_Occurred()) SWIG_fail
;
13435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13436 (arg1
)->SetThumbLength(arg2
);
13438 wxPyEndAllowThreads(__tstate
);
13439 if (PyErr_Occurred()) SWIG_fail
;
13441 Py_INCREF(Py_None
); resultobj
= Py_None
;
13448 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13449 PyObject
*resultobj
;
13450 wxSlider
*arg1
= (wxSlider
*) 0 ;
13452 PyObject
* obj0
= 0 ;
13453 char *kwnames
[] = {
13454 (char *) "self", NULL
13457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
13458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13462 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
13464 wxPyEndAllowThreads(__tstate
);
13465 if (PyErr_Occurred()) SWIG_fail
;
13467 resultobj
= SWIG_FromInt((int)result
);
13474 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13475 PyObject
*resultobj
;
13476 wxSlider
*arg1
= (wxSlider
*) 0 ;
13478 int arg3
= (int) 1 ;
13479 PyObject
* obj0
= 0 ;
13480 PyObject
* obj1
= 0 ;
13481 PyObject
* obj2
= 0 ;
13482 char *kwnames
[] = {
13483 (char *) "self",(char *) "n",(char *) "pos", NULL
13486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13489 arg2
= (int) SWIG_AsInt(obj1
);
13490 if (PyErr_Occurred()) SWIG_fail
;
13492 arg3
= (int) SWIG_AsInt(obj2
);
13493 if (PyErr_Occurred()) SWIG_fail
;
13496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13497 (arg1
)->SetTickFreq(arg2
,arg3
);
13499 wxPyEndAllowThreads(__tstate
);
13500 if (PyErr_Occurred()) SWIG_fail
;
13502 Py_INCREF(Py_None
); resultobj
= Py_None
;
13509 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13510 PyObject
*resultobj
;
13511 wxSlider
*arg1
= (wxSlider
*) 0 ;
13513 PyObject
* obj0
= 0 ;
13514 char *kwnames
[] = {
13515 (char *) "self", NULL
13518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
13519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13523 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
13525 wxPyEndAllowThreads(__tstate
);
13526 if (PyErr_Occurred()) SWIG_fail
;
13528 resultobj
= SWIG_FromInt((int)result
);
13535 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13536 PyObject
*resultobj
;
13537 wxSlider
*arg1
= (wxSlider
*) 0 ;
13538 PyObject
* obj0
= 0 ;
13539 char *kwnames
[] = {
13540 (char *) "self", NULL
13543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
13544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13548 (arg1
)->ClearTicks();
13550 wxPyEndAllowThreads(__tstate
);
13551 if (PyErr_Occurred()) SWIG_fail
;
13553 Py_INCREF(Py_None
); resultobj
= Py_None
;
13560 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13561 PyObject
*resultobj
;
13562 wxSlider
*arg1
= (wxSlider
*) 0 ;
13564 PyObject
* obj0
= 0 ;
13565 PyObject
* obj1
= 0 ;
13566 char *kwnames
[] = {
13567 (char *) "self",(char *) "tickPos", NULL
13570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
13571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13573 arg2
= (int) SWIG_AsInt(obj1
);
13574 if (PyErr_Occurred()) SWIG_fail
;
13576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13577 (arg1
)->SetTick(arg2
);
13579 wxPyEndAllowThreads(__tstate
);
13580 if (PyErr_Occurred()) SWIG_fail
;
13582 Py_INCREF(Py_None
); resultobj
= Py_None
;
13589 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13590 PyObject
*resultobj
;
13591 wxSlider
*arg1
= (wxSlider
*) 0 ;
13592 PyObject
* obj0
= 0 ;
13593 char *kwnames
[] = {
13594 (char *) "self", NULL
13597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
13598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13602 (arg1
)->ClearSel();
13604 wxPyEndAllowThreads(__tstate
);
13605 if (PyErr_Occurred()) SWIG_fail
;
13607 Py_INCREF(Py_None
); resultobj
= Py_None
;
13614 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13615 PyObject
*resultobj
;
13616 wxSlider
*arg1
= (wxSlider
*) 0 ;
13618 PyObject
* obj0
= 0 ;
13619 char *kwnames
[] = {
13620 (char *) "self", NULL
13623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
13624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13628 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
13630 wxPyEndAllowThreads(__tstate
);
13631 if (PyErr_Occurred()) SWIG_fail
;
13633 resultobj
= SWIG_FromInt((int)result
);
13640 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13641 PyObject
*resultobj
;
13642 wxSlider
*arg1
= (wxSlider
*) 0 ;
13644 PyObject
* obj0
= 0 ;
13645 char *kwnames
[] = {
13646 (char *) "self", NULL
13649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
13650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13654 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
13656 wxPyEndAllowThreads(__tstate
);
13657 if (PyErr_Occurred()) SWIG_fail
;
13659 resultobj
= SWIG_FromInt((int)result
);
13666 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13667 PyObject
*resultobj
;
13668 wxSlider
*arg1
= (wxSlider
*) 0 ;
13671 PyObject
* obj0
= 0 ;
13672 PyObject
* obj1
= 0 ;
13673 PyObject
* obj2
= 0 ;
13674 char *kwnames
[] = {
13675 (char *) "self",(char *) "min",(char *) "max", NULL
13678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13681 arg2
= (int) SWIG_AsInt(obj1
);
13682 if (PyErr_Occurred()) SWIG_fail
;
13683 arg3
= (int) SWIG_AsInt(obj2
);
13684 if (PyErr_Occurred()) SWIG_fail
;
13686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13687 (arg1
)->SetSelection(arg2
,arg3
);
13689 wxPyEndAllowThreads(__tstate
);
13690 if (PyErr_Occurred()) SWIG_fail
;
13692 Py_INCREF(Py_None
); resultobj
= Py_None
;
13699 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13700 PyObject
*resultobj
;
13701 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
13702 wxVisualAttributes result
;
13703 PyObject
* obj0
= 0 ;
13704 char *kwnames
[] = {
13705 (char *) "variant", NULL
13708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13710 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
13711 if (PyErr_Occurred()) SWIG_fail
;
13714 if (!wxPyCheckForApp()) SWIG_fail
;
13715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13716 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13718 wxPyEndAllowThreads(__tstate
);
13719 if (PyErr_Occurred()) SWIG_fail
;
13722 wxVisualAttributes
* resultptr
;
13723 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
13724 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13732 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
13734 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13735 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
13737 return Py_BuildValue((char *)"");
13739 static int _wrap_ToggleButtonNameStr_set(PyObject
*_val
) {
13740 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
13745 static PyObject
*_wrap_ToggleButtonNameStr_get() {
13750 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13752 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13759 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13760 PyObject
*resultobj
;
13761 wxWindow
*arg1
= (wxWindow
*) 0 ;
13762 int arg2
= (int) -1 ;
13763 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13764 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13765 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13766 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13767 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13768 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13769 long arg6
= (long) 0 ;
13770 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
13771 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
13772 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
13773 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13774 wxToggleButton
*result
;
13775 bool temp3
= False
;
13778 bool temp8
= False
;
13779 PyObject
* obj0
= 0 ;
13780 PyObject
* obj1
= 0 ;
13781 PyObject
* obj2
= 0 ;
13782 PyObject
* obj3
= 0 ;
13783 PyObject
* obj4
= 0 ;
13784 PyObject
* obj5
= 0 ;
13785 PyObject
* obj6
= 0 ;
13786 PyObject
* obj7
= 0 ;
13787 char *kwnames
[] = {
13788 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
13792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13795 arg2
= (int) SWIG_AsInt(obj1
);
13796 if (PyErr_Occurred()) SWIG_fail
;
13800 arg3
= wxString_in_helper(obj2
);
13801 if (arg3
== NULL
) SWIG_fail
;
13808 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13814 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13818 arg6
= (long) SWIG_AsLong(obj5
);
13819 if (PyErr_Occurred()) SWIG_fail
;
13822 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
13823 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13825 if (arg7
== NULL
) {
13826 PyErr_SetString(PyExc_TypeError
,"null reference");
13832 arg8
= wxString_in_helper(obj7
);
13833 if (arg8
== NULL
) SWIG_fail
;
13838 if (!wxPyCheckForApp()) SWIG_fail
;
13839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13840 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
13842 wxPyEndAllowThreads(__tstate
);
13843 if (PyErr_Occurred()) SWIG_fail
;
13845 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13868 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13869 PyObject
*resultobj
;
13870 wxToggleButton
*result
;
13871 char *kwnames
[] = {
13875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
13877 if (!wxPyCheckForApp()) SWIG_fail
;
13878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13879 result
= (wxToggleButton
*)new wxToggleButton();
13881 wxPyEndAllowThreads(__tstate
);
13882 if (PyErr_Occurred()) SWIG_fail
;
13884 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13891 static PyObject
*_wrap_ToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13892 PyObject
*resultobj
;
13893 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13894 wxWindow
*arg2
= (wxWindow
*) 0 ;
13895 int arg3
= (int) -1 ;
13896 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13897 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13898 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13899 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13900 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13901 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13902 long arg7
= (long) 0 ;
13903 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
13904 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
13905 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
13906 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
13908 bool temp4
= False
;
13911 bool temp9
= False
;
13912 PyObject
* obj0
= 0 ;
13913 PyObject
* obj1
= 0 ;
13914 PyObject
* obj2
= 0 ;
13915 PyObject
* obj3
= 0 ;
13916 PyObject
* obj4
= 0 ;
13917 PyObject
* obj5
= 0 ;
13918 PyObject
* obj6
= 0 ;
13919 PyObject
* obj7
= 0 ;
13920 PyObject
* obj8
= 0 ;
13921 char *kwnames
[] = {
13922 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
13926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13928 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13931 arg3
= (int) SWIG_AsInt(obj2
);
13932 if (PyErr_Occurred()) SWIG_fail
;
13936 arg4
= wxString_in_helper(obj3
);
13937 if (arg4
== NULL
) SWIG_fail
;
13944 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13950 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13954 arg7
= (long) SWIG_AsLong(obj6
);
13955 if (PyErr_Occurred()) SWIG_fail
;
13958 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
13959 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13961 if (arg8
== NULL
) {
13962 PyErr_SetString(PyExc_TypeError
,"null reference");
13968 arg9
= wxString_in_helper(obj8
);
13969 if (arg9
== NULL
) SWIG_fail
;
13974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13975 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
13977 wxPyEndAllowThreads(__tstate
);
13978 if (PyErr_Occurred()) SWIG_fail
;
13981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14005 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14006 PyObject
*resultobj
;
14007 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14009 PyObject
* obj0
= 0 ;
14010 PyObject
* obj1
= 0 ;
14011 char *kwnames
[] = {
14012 (char *) "self",(char *) "value", NULL
14015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14018 arg2
= (bool) SWIG_AsBool(obj1
);
14019 if (PyErr_Occurred()) SWIG_fail
;
14021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14022 (arg1
)->SetValue(arg2
);
14024 wxPyEndAllowThreads(__tstate
);
14025 if (PyErr_Occurred()) SWIG_fail
;
14027 Py_INCREF(Py_None
); resultobj
= Py_None
;
14034 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14035 PyObject
*resultobj
;
14036 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14038 PyObject
* obj0
= 0 ;
14039 char *kwnames
[] = {
14040 (char *) "self", NULL
14043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
14044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14048 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
14050 wxPyEndAllowThreads(__tstate
);
14051 if (PyErr_Occurred()) SWIG_fail
;
14054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14062 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14063 PyObject
*resultobj
;
14064 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14065 wxString
*arg2
= 0 ;
14066 bool temp2
= False
;
14067 PyObject
* obj0
= 0 ;
14068 PyObject
* obj1
= 0 ;
14069 char *kwnames
[] = {
14070 (char *) "self",(char *) "label", NULL
14073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
14074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14077 arg2
= wxString_in_helper(obj1
);
14078 if (arg2
== NULL
) SWIG_fail
;
14082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14083 (arg1
)->SetLabel((wxString
const &)*arg2
);
14085 wxPyEndAllowThreads(__tstate
);
14086 if (PyErr_Occurred()) SWIG_fail
;
14088 Py_INCREF(Py_None
); resultobj
= Py_None
;
14103 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14104 PyObject
*resultobj
;
14105 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14106 wxVisualAttributes result
;
14107 PyObject
* obj0
= 0 ;
14108 char *kwnames
[] = {
14109 (char *) "variant", NULL
14112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14114 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
14115 if (PyErr_Occurred()) SWIG_fail
;
14118 if (!wxPyCheckForApp()) SWIG_fail
;
14119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14120 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14122 wxPyEndAllowThreads(__tstate
);
14123 if (PyErr_Occurred()) SWIG_fail
;
14126 wxVisualAttributes
* resultptr
;
14127 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14128 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14136 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
14138 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14139 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
14141 return Py_BuildValue((char *)"");
14143 static int _wrap_NOTEBOOK_NAME_set(PyObject
*_val
) {
14144 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
14149 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
14154 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
14156 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
14163 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14164 PyObject
*resultobj
;
14165 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14167 PyObject
* obj0
= 0 ;
14168 char *kwnames
[] = {
14169 (char *) "self", NULL
14172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
14173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14177 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
14179 wxPyEndAllowThreads(__tstate
);
14180 if (PyErr_Occurred()) SWIG_fail
;
14182 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14189 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14190 PyObject
*resultobj
;
14191 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14194 PyObject
* obj0
= 0 ;
14195 PyObject
* obj1
= 0 ;
14196 char *kwnames
[] = {
14197 (char *) "self",(char *) "n", NULL
14200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14203 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14204 if (PyErr_Occurred()) SWIG_fail
;
14206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14207 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
14209 wxPyEndAllowThreads(__tstate
);
14210 if (PyErr_Occurred()) SWIG_fail
;
14213 resultobj
= wxPyMake_wxObject(result
);
14221 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14222 PyObject
*resultobj
;
14223 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14225 PyObject
* obj0
= 0 ;
14226 char *kwnames
[] = {
14227 (char *) "self", NULL
14230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
14231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14235 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
14237 wxPyEndAllowThreads(__tstate
);
14238 if (PyErr_Occurred()) SWIG_fail
;
14240 resultobj
= SWIG_FromInt((int)result
);
14247 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14248 PyObject
*resultobj
;
14249 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14251 wxString
*arg3
= 0 ;
14253 bool temp3
= False
;
14254 PyObject
* obj0
= 0 ;
14255 PyObject
* obj1
= 0 ;
14256 PyObject
* obj2
= 0 ;
14257 char *kwnames
[] = {
14258 (char *) "self",(char *) "n",(char *) "strText", NULL
14261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14264 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14265 if (PyErr_Occurred()) SWIG_fail
;
14267 arg3
= wxString_in_helper(obj2
);
14268 if (arg3
== NULL
) SWIG_fail
;
14272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14273 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
14275 wxPyEndAllowThreads(__tstate
);
14276 if (PyErr_Occurred()) SWIG_fail
;
14279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14295 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14296 PyObject
*resultobj
;
14297 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14300 PyObject
* obj0
= 0 ;
14301 PyObject
* obj1
= 0 ;
14302 char *kwnames
[] = {
14303 (char *) "self",(char *) "n", NULL
14306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
14307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14309 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14310 if (PyErr_Occurred()) SWIG_fail
;
14312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14313 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
14315 wxPyEndAllowThreads(__tstate
);
14316 if (PyErr_Occurred()) SWIG_fail
;
14320 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14322 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14331 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14332 PyObject
*resultobj
;
14333 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14334 wxImageList
*arg2
= (wxImageList
*) 0 ;
14335 PyObject
* obj0
= 0 ;
14336 PyObject
* obj1
= 0 ;
14337 char *kwnames
[] = {
14338 (char *) "self",(char *) "imageList", NULL
14341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14344 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14348 (arg1
)->SetImageList(arg2
);
14350 wxPyEndAllowThreads(__tstate
);
14351 if (PyErr_Occurred()) SWIG_fail
;
14353 Py_INCREF(Py_None
); resultobj
= Py_None
;
14360 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14361 PyObject
*resultobj
;
14362 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14363 wxImageList
*arg2
= (wxImageList
*) 0 ;
14364 PyObject
* obj0
= 0 ;
14365 PyObject
* obj1
= 0 ;
14366 char *kwnames
[] = {
14367 (char *) "self",(char *) "imageList", NULL
14370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14373 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14374 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
14376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14377 (arg1
)->AssignImageList(arg2
);
14379 wxPyEndAllowThreads(__tstate
);
14380 if (PyErr_Occurred()) SWIG_fail
;
14382 Py_INCREF(Py_None
); resultobj
= Py_None
;
14389 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14390 PyObject
*resultobj
;
14391 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14392 wxImageList
*result
;
14393 PyObject
* obj0
= 0 ;
14394 char *kwnames
[] = {
14395 (char *) "self", NULL
14398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
14399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14403 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
14405 wxPyEndAllowThreads(__tstate
);
14406 if (PyErr_Occurred()) SWIG_fail
;
14409 resultobj
= wxPyMake_wxObject(result
);
14417 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14418 PyObject
*resultobj
;
14419 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14422 PyObject
* obj0
= 0 ;
14423 PyObject
* obj1
= 0 ;
14424 char *kwnames
[] = {
14425 (char *) "self",(char *) "n", NULL
14428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
14429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14431 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14432 if (PyErr_Occurred()) SWIG_fail
;
14434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14435 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
14437 wxPyEndAllowThreads(__tstate
);
14438 if (PyErr_Occurred()) SWIG_fail
;
14440 resultobj
= SWIG_FromInt((int)result
);
14447 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14448 PyObject
*resultobj
;
14449 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14453 PyObject
* obj0
= 0 ;
14454 PyObject
* obj1
= 0 ;
14455 PyObject
* obj2
= 0 ;
14456 char *kwnames
[] = {
14457 (char *) "self",(char *) "n",(char *) "imageId", NULL
14460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14463 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14464 if (PyErr_Occurred()) SWIG_fail
;
14465 arg3
= (int) SWIG_AsInt(obj2
);
14466 if (PyErr_Occurred()) SWIG_fail
;
14468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14469 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
14471 wxPyEndAllowThreads(__tstate
);
14472 if (PyErr_Occurred()) SWIG_fail
;
14475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14483 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14484 PyObject
*resultobj
;
14485 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14488 PyObject
* obj0
= 0 ;
14489 PyObject
* obj1
= 0 ;
14490 char *kwnames
[] = {
14491 (char *) "self",(char *) "size", NULL
14494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14499 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14503 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
14505 wxPyEndAllowThreads(__tstate
);
14506 if (PyErr_Occurred()) SWIG_fail
;
14508 Py_INCREF(Py_None
); resultobj
= Py_None
;
14515 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14516 PyObject
*resultobj
;
14517 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14521 PyObject
* obj0
= 0 ;
14522 PyObject
* obj1
= 0 ;
14523 char *kwnames
[] = {
14524 (char *) "self",(char *) "sizePage", NULL
14527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14532 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14536 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14538 wxPyEndAllowThreads(__tstate
);
14539 if (PyErr_Occurred()) SWIG_fail
;
14542 wxSize
* resultptr
;
14543 resultptr
= new wxSize((wxSize
&) result
);
14544 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14552 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14553 PyObject
*resultobj
;
14554 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14557 PyObject
* obj0
= 0 ;
14558 PyObject
* obj1
= 0 ;
14559 char *kwnames
[] = {
14560 (char *) "self",(char *) "n", NULL
14563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14566 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14567 if (PyErr_Occurred()) SWIG_fail
;
14569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14570 result
= (bool)(arg1
)->DeletePage(arg2
);
14572 wxPyEndAllowThreads(__tstate
);
14573 if (PyErr_Occurred()) SWIG_fail
;
14576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14584 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14585 PyObject
*resultobj
;
14586 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14589 PyObject
* obj0
= 0 ;
14590 PyObject
* obj1
= 0 ;
14591 char *kwnames
[] = {
14592 (char *) "self",(char *) "n", NULL
14595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14598 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14599 if (PyErr_Occurred()) SWIG_fail
;
14601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14602 result
= (bool)(arg1
)->RemovePage(arg2
);
14604 wxPyEndAllowThreads(__tstate
);
14605 if (PyErr_Occurred()) SWIG_fail
;
14608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14616 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14617 PyObject
*resultobj
;
14618 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14620 PyObject
* obj0
= 0 ;
14621 char *kwnames
[] = {
14622 (char *) "self", NULL
14625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
14626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14630 result
= (bool)(arg1
)->DeleteAllPages();
14632 wxPyEndAllowThreads(__tstate
);
14633 if (PyErr_Occurred()) SWIG_fail
;
14636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14644 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14645 PyObject
*resultobj
;
14646 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14647 wxWindow
*arg2
= (wxWindow
*) 0 ;
14648 wxString
*arg3
= 0 ;
14649 bool arg4
= (bool) False
;
14650 int arg5
= (int) -1 ;
14652 bool temp3
= False
;
14653 PyObject
* obj0
= 0 ;
14654 PyObject
* obj1
= 0 ;
14655 PyObject
* obj2
= 0 ;
14656 PyObject
* obj3
= 0 ;
14657 PyObject
* obj4
= 0 ;
14658 char *kwnames
[] = {
14659 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14665 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14668 arg3
= wxString_in_helper(obj2
);
14669 if (arg3
== NULL
) SWIG_fail
;
14673 arg4
= (bool) SWIG_AsBool(obj3
);
14674 if (PyErr_Occurred()) SWIG_fail
;
14677 arg5
= (int) SWIG_AsInt(obj4
);
14678 if (PyErr_Occurred()) SWIG_fail
;
14681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14682 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
14684 wxPyEndAllowThreads(__tstate
);
14685 if (PyErr_Occurred()) SWIG_fail
;
14688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14704 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14705 PyObject
*resultobj
;
14706 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14708 wxWindow
*arg3
= (wxWindow
*) 0 ;
14709 wxString
*arg4
= 0 ;
14710 bool arg5
= (bool) False
;
14711 int arg6
= (int) -1 ;
14713 bool temp4
= False
;
14714 PyObject
* obj0
= 0 ;
14715 PyObject
* obj1
= 0 ;
14716 PyObject
* obj2
= 0 ;
14717 PyObject
* obj3
= 0 ;
14718 PyObject
* obj4
= 0 ;
14719 PyObject
* obj5
= 0 ;
14720 char *kwnames
[] = {
14721 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14727 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14728 if (PyErr_Occurred()) SWIG_fail
;
14729 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
14730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14732 arg4
= wxString_in_helper(obj3
);
14733 if (arg4
== NULL
) SWIG_fail
;
14737 arg5
= (bool) SWIG_AsBool(obj4
);
14738 if (PyErr_Occurred()) SWIG_fail
;
14741 arg6
= (int) SWIG_AsInt(obj5
);
14742 if (PyErr_Occurred()) SWIG_fail
;
14745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14746 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
14748 wxPyEndAllowThreads(__tstate
);
14749 if (PyErr_Occurred()) SWIG_fail
;
14752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14768 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14769 PyObject
*resultobj
;
14770 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14773 PyObject
* obj0
= 0 ;
14774 PyObject
* obj1
= 0 ;
14775 char *kwnames
[] = {
14776 (char *) "self",(char *) "n", NULL
14779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14782 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14783 if (PyErr_Occurred()) SWIG_fail
;
14785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14786 result
= (int)(arg1
)->SetSelection(arg2
);
14788 wxPyEndAllowThreads(__tstate
);
14789 if (PyErr_Occurred()) SWIG_fail
;
14791 resultobj
= SWIG_FromInt((int)result
);
14798 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14799 PyObject
*resultobj
;
14800 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14801 bool arg2
= (bool) True
;
14802 PyObject
* obj0
= 0 ;
14803 PyObject
* obj1
= 0 ;
14804 char *kwnames
[] = {
14805 (char *) "self",(char *) "forward", NULL
14808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14812 arg2
= (bool) SWIG_AsBool(obj1
);
14813 if (PyErr_Occurred()) SWIG_fail
;
14816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14817 (arg1
)->AdvanceSelection(arg2
);
14819 wxPyEndAllowThreads(__tstate
);
14820 if (PyErr_Occurred()) SWIG_fail
;
14822 Py_INCREF(Py_None
); resultobj
= Py_None
;
14829 static PyObject
*_wrap_BookCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14830 PyObject
*resultobj
;
14831 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14832 wxVisualAttributes result
;
14833 PyObject
* obj0
= 0 ;
14834 char *kwnames
[] = {
14835 (char *) "variant", NULL
14838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14840 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
14841 if (PyErr_Occurred()) SWIG_fail
;
14844 if (!wxPyCheckForApp()) SWIG_fail
;
14845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14846 result
= wxBookCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14848 wxPyEndAllowThreads(__tstate
);
14849 if (PyErr_Occurred()) SWIG_fail
;
14852 wxVisualAttributes
* resultptr
;
14853 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14854 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14862 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
14864 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14865 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
14867 return Py_BuildValue((char *)"");
14869 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14870 PyObject
*resultobj
;
14871 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14872 int arg2
= (int) 0 ;
14873 int arg3
= (int) -1 ;
14874 int arg4
= (int) -1 ;
14875 wxBookCtrlEvent
*result
;
14876 PyObject
* obj0
= 0 ;
14877 PyObject
* obj1
= 0 ;
14878 PyObject
* obj2
= 0 ;
14879 PyObject
* obj3
= 0 ;
14880 char *kwnames
[] = {
14881 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14886 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14887 if (PyErr_Occurred()) SWIG_fail
;
14890 arg2
= (int) SWIG_AsInt(obj1
);
14891 if (PyErr_Occurred()) SWIG_fail
;
14894 arg3
= (int) SWIG_AsInt(obj2
);
14895 if (PyErr_Occurred()) SWIG_fail
;
14898 arg4
= (int) SWIG_AsInt(obj3
);
14899 if (PyErr_Occurred()) SWIG_fail
;
14902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14903 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
14905 wxPyEndAllowThreads(__tstate
);
14906 if (PyErr_Occurred()) SWIG_fail
;
14908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlEvent
, 1);
14915 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14916 PyObject
*resultobj
;
14917 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14919 PyObject
* obj0
= 0 ;
14920 char *kwnames
[] = {
14921 (char *) "self", NULL
14924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
14925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14929 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
14931 wxPyEndAllowThreads(__tstate
);
14932 if (PyErr_Occurred()) SWIG_fail
;
14934 resultobj
= SWIG_FromInt((int)result
);
14941 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14942 PyObject
*resultobj
;
14943 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14945 PyObject
* obj0
= 0 ;
14946 PyObject
* obj1
= 0 ;
14947 char *kwnames
[] = {
14948 (char *) "self",(char *) "nSel", NULL
14951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14954 arg2
= (int) SWIG_AsInt(obj1
);
14955 if (PyErr_Occurred()) SWIG_fail
;
14957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14958 (arg1
)->SetSelection(arg2
);
14960 wxPyEndAllowThreads(__tstate
);
14961 if (PyErr_Occurred()) SWIG_fail
;
14963 Py_INCREF(Py_None
); resultobj
= Py_None
;
14970 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14971 PyObject
*resultobj
;
14972 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14974 PyObject
* obj0
= 0 ;
14975 char *kwnames
[] = {
14976 (char *) "self", NULL
14979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
14980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14984 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
14986 wxPyEndAllowThreads(__tstate
);
14987 if (PyErr_Occurred()) SWIG_fail
;
14989 resultobj
= SWIG_FromInt((int)result
);
14996 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14997 PyObject
*resultobj
;
14998 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
15000 PyObject
* obj0
= 0 ;
15001 PyObject
* obj1
= 0 ;
15002 char *kwnames
[] = {
15003 (char *) "self",(char *) "nOldSel", NULL
15006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
15007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
15008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15009 arg2
= (int) SWIG_AsInt(obj1
);
15010 if (PyErr_Occurred()) SWIG_fail
;
15012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15013 (arg1
)->SetOldSelection(arg2
);
15015 wxPyEndAllowThreads(__tstate
);
15016 if (PyErr_Occurred()) SWIG_fail
;
15018 Py_INCREF(Py_None
); resultobj
= Py_None
;
15025 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15027 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15028 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
15030 return Py_BuildValue((char *)"");
15032 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15033 PyObject
*resultobj
;
15034 wxWindow
*arg1
= (wxWindow
*) 0 ;
15035 int arg2
= (int) -1 ;
15036 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15037 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15038 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15039 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15040 long arg5
= (long) 0 ;
15041 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
15042 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15043 wxNotebook
*result
;
15046 bool temp6
= False
;
15047 PyObject
* obj0
= 0 ;
15048 PyObject
* obj1
= 0 ;
15049 PyObject
* obj2
= 0 ;
15050 PyObject
* obj3
= 0 ;
15051 PyObject
* obj4
= 0 ;
15052 PyObject
* obj5
= 0 ;
15053 char *kwnames
[] = {
15054 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15061 arg2
= (int) SWIG_AsInt(obj1
);
15062 if (PyErr_Occurred()) SWIG_fail
;
15067 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15073 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15077 arg5
= (long) SWIG_AsLong(obj4
);
15078 if (PyErr_Occurred()) SWIG_fail
;
15082 arg6
= wxString_in_helper(obj5
);
15083 if (arg6
== NULL
) SWIG_fail
;
15088 if (!wxPyCheckForApp()) SWIG_fail
;
15089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15090 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15092 wxPyEndAllowThreads(__tstate
);
15093 if (PyErr_Occurred()) SWIG_fail
;
15096 resultobj
= wxPyMake_wxObject(result
);
15112 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15113 PyObject
*resultobj
;
15114 wxNotebook
*result
;
15115 char *kwnames
[] = {
15119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
15121 if (!wxPyCheckForApp()) SWIG_fail
;
15122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15123 result
= (wxNotebook
*)new wxNotebook();
15125 wxPyEndAllowThreads(__tstate
);
15126 if (PyErr_Occurred()) SWIG_fail
;
15129 resultobj
= wxPyMake_wxObject(result
);
15137 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15138 PyObject
*resultobj
;
15139 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15140 wxWindow
*arg2
= (wxWindow
*) 0 ;
15141 int arg3
= (int) -1 ;
15142 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15143 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15144 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15145 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15146 long arg6
= (long) 0 ;
15147 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
15148 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15152 bool temp7
= False
;
15153 PyObject
* obj0
= 0 ;
15154 PyObject
* obj1
= 0 ;
15155 PyObject
* obj2
= 0 ;
15156 PyObject
* obj3
= 0 ;
15157 PyObject
* obj4
= 0 ;
15158 PyObject
* obj5
= 0 ;
15159 PyObject
* obj6
= 0 ;
15160 char *kwnames
[] = {
15161 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15167 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15170 arg3
= (int) SWIG_AsInt(obj2
);
15171 if (PyErr_Occurred()) SWIG_fail
;
15176 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15182 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15186 arg6
= (long) SWIG_AsLong(obj5
);
15187 if (PyErr_Occurred()) SWIG_fail
;
15191 arg7
= wxString_in_helper(obj6
);
15192 if (arg7
== NULL
) SWIG_fail
;
15197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15198 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15200 wxPyEndAllowThreads(__tstate
);
15201 if (PyErr_Occurred()) SWIG_fail
;
15204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15220 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15221 PyObject
*resultobj
;
15222 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15224 PyObject
* obj0
= 0 ;
15225 char *kwnames
[] = {
15226 (char *) "self", NULL
15229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
15230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15234 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
15236 wxPyEndAllowThreads(__tstate
);
15237 if (PyErr_Occurred()) SWIG_fail
;
15239 resultobj
= SWIG_FromInt((int)result
);
15246 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15247 PyObject
*resultobj
;
15248 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15251 PyObject
* obj0
= 0 ;
15252 PyObject
* obj1
= 0 ;
15253 char *kwnames
[] = {
15254 (char *) "self",(char *) "padding", NULL
15257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
15258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15262 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15266 (arg1
)->SetPadding((wxSize
const &)*arg2
);
15268 wxPyEndAllowThreads(__tstate
);
15269 if (PyErr_Occurred()) SWIG_fail
;
15271 Py_INCREF(Py_None
); resultobj
= Py_None
;
15278 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15279 PyObject
*resultobj
;
15280 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15283 PyObject
* obj0
= 0 ;
15284 PyObject
* obj1
= 0 ;
15285 char *kwnames
[] = {
15286 (char *) "self",(char *) "sz", NULL
15289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15294 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15298 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
15300 wxPyEndAllowThreads(__tstate
);
15301 if (PyErr_Occurred()) SWIG_fail
;
15303 Py_INCREF(Py_None
); resultobj
= Py_None
;
15310 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15311 PyObject
*resultobj
;
15312 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15313 wxPoint
*arg2
= 0 ;
15314 long *arg3
= (long *) 0 ;
15318 PyObject
* obj0
= 0 ;
15319 PyObject
* obj1
= 0 ;
15320 char *kwnames
[] = {
15321 (char *) "self",(char *) "pt", NULL
15325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
15326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15330 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15334 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
15336 wxPyEndAllowThreads(__tstate
);
15337 if (PyErr_Occurred()) SWIG_fail
;
15339 resultobj
= SWIG_FromInt((int)result
);
15341 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15342 resultobj
= t_output_helper(resultobj
,o
);
15350 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15351 PyObject
*resultobj
;
15352 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15356 PyObject
* obj0
= 0 ;
15357 PyObject
* obj1
= 0 ;
15358 char *kwnames
[] = {
15359 (char *) "self",(char *) "sizePage", NULL
15362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
15363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15367 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15371 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
15373 wxPyEndAllowThreads(__tstate
);
15374 if (PyErr_Occurred()) SWIG_fail
;
15377 wxSize
* resultptr
;
15378 resultptr
= new wxSize((wxSize
&) result
);
15379 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15387 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15388 PyObject
*resultobj
;
15389 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
15390 wxVisualAttributes result
;
15391 PyObject
* obj0
= 0 ;
15392 char *kwnames
[] = {
15393 (char *) "variant", NULL
15396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15398 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
15399 if (PyErr_Occurred()) SWIG_fail
;
15402 if (!wxPyCheckForApp()) SWIG_fail
;
15403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15404 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15406 wxPyEndAllowThreads(__tstate
);
15407 if (PyErr_Occurred()) SWIG_fail
;
15410 wxVisualAttributes
* resultptr
;
15411 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
15412 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15420 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
15422 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15423 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
15425 return Py_BuildValue((char *)"");
15427 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15428 PyObject
*resultobj
;
15429 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15430 int arg2
= (int) 0 ;
15431 int arg3
= (int) -1 ;
15432 int arg4
= (int) -1 ;
15433 wxNotebookEvent
*result
;
15434 PyObject
* obj0
= 0 ;
15435 PyObject
* obj1
= 0 ;
15436 PyObject
* obj2
= 0 ;
15437 PyObject
* obj3
= 0 ;
15438 char *kwnames
[] = {
15439 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15444 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15445 if (PyErr_Occurred()) SWIG_fail
;
15448 arg2
= (int) SWIG_AsInt(obj1
);
15449 if (PyErr_Occurred()) SWIG_fail
;
15452 arg3
= (int) SWIG_AsInt(obj2
);
15453 if (PyErr_Occurred()) SWIG_fail
;
15456 arg4
= (int) SWIG_AsInt(obj3
);
15457 if (PyErr_Occurred()) SWIG_fail
;
15460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15461 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
15463 wxPyEndAllowThreads(__tstate
);
15464 if (PyErr_Occurred()) SWIG_fail
;
15466 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
15473 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15475 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15476 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
15478 return Py_BuildValue((char *)"");
15480 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15481 PyObject
*resultobj
;
15482 wxWindow
*arg1
= (wxWindow
*) 0 ;
15483 int arg2
= (int) -1 ;
15484 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15485 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15486 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15487 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15488 long arg5
= (long) 0 ;
15489 wxString
const &arg6_defvalue
= wxPyEmptyString
;
15490 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15491 wxListbook
*result
;
15494 bool temp6
= False
;
15495 PyObject
* obj0
= 0 ;
15496 PyObject
* obj1
= 0 ;
15497 PyObject
* obj2
= 0 ;
15498 PyObject
* obj3
= 0 ;
15499 PyObject
* obj4
= 0 ;
15500 PyObject
* obj5
= 0 ;
15501 char *kwnames
[] = {
15502 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15509 arg2
= (int) SWIG_AsInt(obj1
);
15510 if (PyErr_Occurred()) SWIG_fail
;
15515 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15521 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15525 arg5
= (long) SWIG_AsLong(obj4
);
15526 if (PyErr_Occurred()) SWIG_fail
;
15530 arg6
= wxString_in_helper(obj5
);
15531 if (arg6
== NULL
) SWIG_fail
;
15536 if (!wxPyCheckForApp()) SWIG_fail
;
15537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15538 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15540 wxPyEndAllowThreads(__tstate
);
15541 if (PyErr_Occurred()) SWIG_fail
;
15543 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15558 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15559 PyObject
*resultobj
;
15560 wxListbook
*result
;
15561 char *kwnames
[] = {
15565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
15567 if (!wxPyCheckForApp()) SWIG_fail
;
15568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15569 result
= (wxListbook
*)new wxListbook();
15571 wxPyEndAllowThreads(__tstate
);
15572 if (PyErr_Occurred()) SWIG_fail
;
15574 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15581 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15582 PyObject
*resultobj
;
15583 wxListbook
*arg1
= (wxListbook
*) 0 ;
15584 wxWindow
*arg2
= (wxWindow
*) 0 ;
15585 int arg3
= (int) -1 ;
15586 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15587 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15588 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15589 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15590 long arg6
= (long) 0 ;
15591 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15592 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15596 bool temp7
= False
;
15597 PyObject
* obj0
= 0 ;
15598 PyObject
* obj1
= 0 ;
15599 PyObject
* obj2
= 0 ;
15600 PyObject
* obj3
= 0 ;
15601 PyObject
* obj4
= 0 ;
15602 PyObject
* obj5
= 0 ;
15603 PyObject
* obj6
= 0 ;
15604 char *kwnames
[] = {
15605 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15611 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15614 arg3
= (int) SWIG_AsInt(obj2
);
15615 if (PyErr_Occurred()) SWIG_fail
;
15620 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15626 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15630 arg6
= (long) SWIG_AsLong(obj5
);
15631 if (PyErr_Occurred()) SWIG_fail
;
15635 arg7
= wxString_in_helper(obj6
);
15636 if (arg7
== NULL
) SWIG_fail
;
15641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15642 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15644 wxPyEndAllowThreads(__tstate
);
15645 if (PyErr_Occurred()) SWIG_fail
;
15648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15664 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15665 PyObject
*resultobj
;
15666 wxListbook
*arg1
= (wxListbook
*) 0 ;
15668 PyObject
* obj0
= 0 ;
15669 char *kwnames
[] = {
15670 (char *) "self", NULL
15673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
15674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15678 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
15680 wxPyEndAllowThreads(__tstate
);
15681 if (PyErr_Occurred()) SWIG_fail
;
15684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15692 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
15694 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15695 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
15697 return Py_BuildValue((char *)"");
15699 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15700 PyObject
*resultobj
;
15701 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15702 int arg2
= (int) 0 ;
15703 int arg3
= (int) -1 ;
15704 int arg4
= (int) -1 ;
15705 wxListbookEvent
*result
;
15706 PyObject
* obj0
= 0 ;
15707 PyObject
* obj1
= 0 ;
15708 PyObject
* obj2
= 0 ;
15709 PyObject
* obj3
= 0 ;
15710 char *kwnames
[] = {
15711 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15716 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15717 if (PyErr_Occurred()) SWIG_fail
;
15720 arg2
= (int) SWIG_AsInt(obj1
);
15721 if (PyErr_Occurred()) SWIG_fail
;
15724 arg3
= (int) SWIG_AsInt(obj2
);
15725 if (PyErr_Occurred()) SWIG_fail
;
15728 arg4
= (int) SWIG_AsInt(obj3
);
15729 if (PyErr_Occurred()) SWIG_fail
;
15732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15733 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
15735 wxPyEndAllowThreads(__tstate
);
15736 if (PyErr_Occurred()) SWIG_fail
;
15738 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
15745 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15747 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15748 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
15750 return Py_BuildValue((char *)"");
15752 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15753 PyObject
*resultobj
;
15754 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
15755 wxBookCtrlSizer
*result
;
15756 PyObject
* obj0
= 0 ;
15757 char *kwnames
[] = {
15758 (char *) "nb", NULL
15761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
15762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
15763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15766 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
15768 wxPyEndAllowThreads(__tstate
);
15769 if (PyErr_Occurred()) SWIG_fail
;
15771 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
15778 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15779 PyObject
*resultobj
;
15780 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15781 PyObject
* obj0
= 0 ;
15782 char *kwnames
[] = {
15783 (char *) "self", NULL
15786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15791 (arg1
)->RecalcSizes();
15793 wxPyEndAllowThreads(__tstate
);
15794 if (PyErr_Occurred()) SWIG_fail
;
15796 Py_INCREF(Py_None
); resultobj
= Py_None
;
15803 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15804 PyObject
*resultobj
;
15805 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15807 PyObject
* obj0
= 0 ;
15808 char *kwnames
[] = {
15809 (char *) "self", NULL
15812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
15813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15817 result
= (arg1
)->CalcMin();
15819 wxPyEndAllowThreads(__tstate
);
15820 if (PyErr_Occurred()) SWIG_fail
;
15823 wxSize
* resultptr
;
15824 resultptr
= new wxSize((wxSize
&) result
);
15825 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15833 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15834 PyObject
*resultobj
;
15835 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15836 wxBookCtrl
*result
;
15837 PyObject
* obj0
= 0 ;
15838 char *kwnames
[] = {
15839 (char *) "self", NULL
15842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
15843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15847 result
= (wxBookCtrl
*)(arg1
)->GetControl();
15849 wxPyEndAllowThreads(__tstate
);
15850 if (PyErr_Occurred()) SWIG_fail
;
15852 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrl
, 0);
15859 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
15861 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15862 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
15864 return Py_BuildValue((char *)"");
15866 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15867 PyObject
*resultobj
;
15868 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15869 wxNotebookSizer
*result
;
15870 PyObject
* obj0
= 0 ;
15871 char *kwnames
[] = {
15872 (char *) "nb", NULL
15875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
15876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15880 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
15882 wxPyEndAllowThreads(__tstate
);
15883 if (PyErr_Occurred()) SWIG_fail
;
15885 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
15892 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15893 PyObject
*resultobj
;
15894 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15895 PyObject
* obj0
= 0 ;
15896 char *kwnames
[] = {
15897 (char *) "self", NULL
15900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15905 (arg1
)->RecalcSizes();
15907 wxPyEndAllowThreads(__tstate
);
15908 if (PyErr_Occurred()) SWIG_fail
;
15910 Py_INCREF(Py_None
); resultobj
= Py_None
;
15917 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15918 PyObject
*resultobj
;
15919 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15921 PyObject
* obj0
= 0 ;
15922 char *kwnames
[] = {
15923 (char *) "self", NULL
15926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
15927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15931 result
= (arg1
)->CalcMin();
15933 wxPyEndAllowThreads(__tstate
);
15934 if (PyErr_Occurred()) SWIG_fail
;
15937 wxSize
* resultptr
;
15938 resultptr
= new wxSize((wxSize
&) result
);
15939 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15947 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15948 PyObject
*resultobj
;
15949 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15950 wxNotebook
*result
;
15951 PyObject
* obj0
= 0 ;
15952 char *kwnames
[] = {
15953 (char *) "self", NULL
15956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
15957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15961 result
= (wxNotebook
*)(arg1
)->GetNotebook();
15963 wxPyEndAllowThreads(__tstate
);
15964 if (PyErr_Occurred()) SWIG_fail
;
15967 resultobj
= wxPyMake_wxObject(result
);
15975 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
15977 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15978 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
15980 return Py_BuildValue((char *)"");
15982 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15983 PyObject
*resultobj
;
15984 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15986 PyObject
* obj0
= 0 ;
15987 char *kwnames
[] = {
15988 (char *) "self", NULL
15991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
15992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15996 result
= (int)(arg1
)->GetId();
15998 wxPyEndAllowThreads(__tstate
);
15999 if (PyErr_Occurred()) SWIG_fail
;
16001 resultobj
= SWIG_FromInt((int)result
);
16008 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16009 PyObject
*resultobj
;
16010 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16012 PyObject
* obj0
= 0 ;
16013 char *kwnames
[] = {
16014 (char *) "self", NULL
16017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
16018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16022 result
= (wxControl
*)(arg1
)->GetControl();
16024 wxPyEndAllowThreads(__tstate
);
16025 if (PyErr_Occurred()) SWIG_fail
;
16028 resultobj
= wxPyMake_wxObject(result
);
16036 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16037 PyObject
*resultobj
;
16038 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16039 wxToolBarBase
*result
;
16040 PyObject
* obj0
= 0 ;
16041 char *kwnames
[] = {
16042 (char *) "self", NULL
16045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
16046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16050 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
16052 wxPyEndAllowThreads(__tstate
);
16053 if (PyErr_Occurred()) SWIG_fail
;
16056 resultobj
= wxPyMake_wxObject(result
);
16064 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16065 PyObject
*resultobj
;
16066 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16068 PyObject
* obj0
= 0 ;
16069 char *kwnames
[] = {
16070 (char *) "self", NULL
16073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
16074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16078 result
= (int)(arg1
)->IsButton();
16080 wxPyEndAllowThreads(__tstate
);
16081 if (PyErr_Occurred()) SWIG_fail
;
16083 resultobj
= SWIG_FromInt((int)result
);
16090 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16091 PyObject
*resultobj
;
16092 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16094 PyObject
* obj0
= 0 ;
16095 char *kwnames
[] = {
16096 (char *) "self", NULL
16099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
16100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16104 result
= (int)(arg1
)->IsControl();
16106 wxPyEndAllowThreads(__tstate
);
16107 if (PyErr_Occurred()) SWIG_fail
;
16109 resultobj
= SWIG_FromInt((int)result
);
16116 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16117 PyObject
*resultobj
;
16118 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16120 PyObject
* obj0
= 0 ;
16121 char *kwnames
[] = {
16122 (char *) "self", NULL
16125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
16126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16130 result
= (int)(arg1
)->IsSeparator();
16132 wxPyEndAllowThreads(__tstate
);
16133 if (PyErr_Occurred()) SWIG_fail
;
16135 resultobj
= SWIG_FromInt((int)result
);
16142 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16143 PyObject
*resultobj
;
16144 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16146 PyObject
* obj0
= 0 ;
16147 char *kwnames
[] = {
16148 (char *) "self", NULL
16151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16156 result
= (int)(arg1
)->GetStyle();
16158 wxPyEndAllowThreads(__tstate
);
16159 if (PyErr_Occurred()) SWIG_fail
;
16161 resultobj
= SWIG_FromInt((int)result
);
16168 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16169 PyObject
*resultobj
;
16170 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16172 PyObject
* obj0
= 0 ;
16173 char *kwnames
[] = {
16174 (char *) "self", NULL
16177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
16178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16182 result
= (int)(arg1
)->GetKind();
16184 wxPyEndAllowThreads(__tstate
);
16185 if (PyErr_Occurred()) SWIG_fail
;
16187 resultobj
= SWIG_FromInt((int)result
);
16194 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16195 PyObject
*resultobj
;
16196 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16198 PyObject
* obj0
= 0 ;
16199 char *kwnames
[] = {
16200 (char *) "self", NULL
16203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
16204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16208 result
= (bool)(arg1
)->IsEnabled();
16210 wxPyEndAllowThreads(__tstate
);
16211 if (PyErr_Occurred()) SWIG_fail
;
16214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16222 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16223 PyObject
*resultobj
;
16224 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16226 PyObject
* obj0
= 0 ;
16227 char *kwnames
[] = {
16228 (char *) "self", NULL
16231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
16232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16236 result
= (bool)(arg1
)->IsToggled();
16238 wxPyEndAllowThreads(__tstate
);
16239 if (PyErr_Occurred()) SWIG_fail
;
16242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16250 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16251 PyObject
*resultobj
;
16252 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16254 PyObject
* obj0
= 0 ;
16255 char *kwnames
[] = {
16256 (char *) "self", NULL
16259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
16260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16264 result
= (bool)(arg1
)->CanBeToggled();
16266 wxPyEndAllowThreads(__tstate
);
16267 if (PyErr_Occurred()) SWIG_fail
;
16270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16278 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16279 PyObject
*resultobj
;
16280 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16282 PyObject
* obj0
= 0 ;
16283 char *kwnames
[] = {
16284 (char *) "self", NULL
16287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
16288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16293 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
16294 result
= (wxBitmap
*) &_result_ref
;
16297 wxPyEndAllowThreads(__tstate
);
16298 if (PyErr_Occurred()) SWIG_fail
;
16301 wxBitmap
* resultptr
= new wxBitmap(*result
);
16302 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16310 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16311 PyObject
*resultobj
;
16312 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16314 PyObject
* obj0
= 0 ;
16315 char *kwnames
[] = {
16316 (char *) "self", NULL
16319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
16320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16325 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
16326 result
= (wxBitmap
*) &_result_ref
;
16329 wxPyEndAllowThreads(__tstate
);
16330 if (PyErr_Occurred()) SWIG_fail
;
16333 wxBitmap
* resultptr
= new wxBitmap(*result
);
16334 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16342 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16343 PyObject
*resultobj
;
16344 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16346 PyObject
* obj0
= 0 ;
16347 char *kwnames
[] = {
16348 (char *) "self", NULL
16351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
16352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16356 result
= (arg1
)->GetBitmap();
16358 wxPyEndAllowThreads(__tstate
);
16359 if (PyErr_Occurred()) SWIG_fail
;
16362 wxBitmap
* resultptr
;
16363 resultptr
= new wxBitmap((wxBitmap
&) result
);
16364 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16372 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16373 PyObject
*resultobj
;
16374 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16376 PyObject
* obj0
= 0 ;
16377 char *kwnames
[] = {
16378 (char *) "self", NULL
16381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
16382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16386 result
= (arg1
)->GetLabel();
16388 wxPyEndAllowThreads(__tstate
);
16389 if (PyErr_Occurred()) SWIG_fail
;
16393 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16395 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16404 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16405 PyObject
*resultobj
;
16406 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16408 PyObject
* obj0
= 0 ;
16409 char *kwnames
[] = {
16410 (char *) "self", NULL
16413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
16414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16418 result
= (arg1
)->GetShortHelp();
16420 wxPyEndAllowThreads(__tstate
);
16421 if (PyErr_Occurred()) SWIG_fail
;
16425 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16427 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16436 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16437 PyObject
*resultobj
;
16438 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16440 PyObject
* obj0
= 0 ;
16441 char *kwnames
[] = {
16442 (char *) "self", NULL
16445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
16446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16450 result
= (arg1
)->GetLongHelp();
16452 wxPyEndAllowThreads(__tstate
);
16453 if (PyErr_Occurred()) SWIG_fail
;
16457 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16459 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16468 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16469 PyObject
*resultobj
;
16470 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16473 PyObject
* obj0
= 0 ;
16474 PyObject
* obj1
= 0 ;
16475 char *kwnames
[] = {
16476 (char *) "self",(char *) "enable", NULL
16479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
16480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16482 arg2
= (bool) SWIG_AsBool(obj1
);
16483 if (PyErr_Occurred()) SWIG_fail
;
16485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16486 result
= (bool)(arg1
)->Enable(arg2
);
16488 wxPyEndAllowThreads(__tstate
);
16489 if (PyErr_Occurred()) SWIG_fail
;
16492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16500 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16501 PyObject
*resultobj
;
16502 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16503 PyObject
* obj0
= 0 ;
16504 char *kwnames
[] = {
16505 (char *) "self", NULL
16508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
16509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16515 wxPyEndAllowThreads(__tstate
);
16516 if (PyErr_Occurred()) SWIG_fail
;
16518 Py_INCREF(Py_None
); resultobj
= Py_None
;
16525 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16526 PyObject
*resultobj
;
16527 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16530 PyObject
* obj0
= 0 ;
16531 PyObject
* obj1
= 0 ;
16532 char *kwnames
[] = {
16533 (char *) "self",(char *) "toggle", NULL
16536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
16537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16539 arg2
= (bool) SWIG_AsBool(obj1
);
16540 if (PyErr_Occurred()) SWIG_fail
;
16542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16543 result
= (bool)(arg1
)->SetToggle(arg2
);
16545 wxPyEndAllowThreads(__tstate
);
16546 if (PyErr_Occurred()) SWIG_fail
;
16549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16557 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16558 PyObject
*resultobj
;
16559 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16560 wxString
*arg2
= 0 ;
16562 bool temp2
= False
;
16563 PyObject
* obj0
= 0 ;
16564 PyObject
* obj1
= 0 ;
16565 char *kwnames
[] = {
16566 (char *) "self",(char *) "help", NULL
16569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16573 arg2
= wxString_in_helper(obj1
);
16574 if (arg2
== NULL
) SWIG_fail
;
16578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16579 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
16581 wxPyEndAllowThreads(__tstate
);
16582 if (PyErr_Occurred()) SWIG_fail
;
16585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16601 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16602 PyObject
*resultobj
;
16603 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16604 wxString
*arg2
= 0 ;
16606 bool temp2
= False
;
16607 PyObject
* obj0
= 0 ;
16608 PyObject
* obj1
= 0 ;
16609 char *kwnames
[] = {
16610 (char *) "self",(char *) "help", NULL
16613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16617 arg2
= wxString_in_helper(obj1
);
16618 if (arg2
== NULL
) SWIG_fail
;
16622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16623 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
16625 wxPyEndAllowThreads(__tstate
);
16626 if (PyErr_Occurred()) SWIG_fail
;
16629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16645 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16646 PyObject
*resultobj
;
16647 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16648 wxBitmap
*arg2
= 0 ;
16649 PyObject
* obj0
= 0 ;
16650 PyObject
* obj1
= 0 ;
16651 char *kwnames
[] = {
16652 (char *) "self",(char *) "bmp", NULL
16655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
16656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16658 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16659 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16661 if (arg2
== NULL
) {
16662 PyErr_SetString(PyExc_TypeError
,"null reference");
16666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16667 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
16669 wxPyEndAllowThreads(__tstate
);
16670 if (PyErr_Occurred()) SWIG_fail
;
16672 Py_INCREF(Py_None
); resultobj
= Py_None
;
16679 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16680 PyObject
*resultobj
;
16681 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16682 wxBitmap
*arg2
= 0 ;
16683 PyObject
* obj0
= 0 ;
16684 PyObject
* obj1
= 0 ;
16685 char *kwnames
[] = {
16686 (char *) "self",(char *) "bmp", NULL
16689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
16690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16692 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16693 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16695 if (arg2
== NULL
) {
16696 PyErr_SetString(PyExc_TypeError
,"null reference");
16700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16701 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
16703 wxPyEndAllowThreads(__tstate
);
16704 if (PyErr_Occurred()) SWIG_fail
;
16706 Py_INCREF(Py_None
); resultobj
= Py_None
;
16713 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16714 PyObject
*resultobj
;
16715 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16716 wxString
*arg2
= 0 ;
16717 bool temp2
= False
;
16718 PyObject
* obj0
= 0 ;
16719 PyObject
* obj1
= 0 ;
16720 char *kwnames
[] = {
16721 (char *) "self",(char *) "label", NULL
16724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
16725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16728 arg2
= wxString_in_helper(obj1
);
16729 if (arg2
== NULL
) SWIG_fail
;
16733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16734 (arg1
)->SetLabel((wxString
const &)*arg2
);
16736 wxPyEndAllowThreads(__tstate
);
16737 if (PyErr_Occurred()) SWIG_fail
;
16739 Py_INCREF(Py_None
); resultobj
= Py_None
;
16754 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16755 PyObject
*resultobj
;
16756 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16757 PyObject
* obj0
= 0 ;
16758 char *kwnames
[] = {
16759 (char *) "self", NULL
16762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
16763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16769 wxPyEndAllowThreads(__tstate
);
16770 if (PyErr_Occurred()) SWIG_fail
;
16772 Py_INCREF(Py_None
); resultobj
= Py_None
;
16779 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16780 PyObject
*resultobj
;
16781 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16782 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
16783 PyObject
* obj0
= 0 ;
16784 PyObject
* obj1
= 0 ;
16785 char *kwnames
[] = {
16786 (char *) "self",(char *) "tbar", NULL
16789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
16790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16792 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
16793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16796 (arg1
)->Attach(arg2
);
16798 wxPyEndAllowThreads(__tstate
);
16799 if (PyErr_Occurred()) SWIG_fail
;
16801 Py_INCREF(Py_None
); resultobj
= Py_None
;
16808 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16809 PyObject
*resultobj
;
16810 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16812 PyObject
* obj0
= 0 ;
16813 char *kwnames
[] = {
16814 (char *) "self", NULL
16817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
16818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16822 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
16824 wxPyEndAllowThreads(__tstate
);
16825 if (PyErr_Occurred()) SWIG_fail
;
16827 resultobj
= result
;
16834 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16835 PyObject
*resultobj
;
16836 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16837 PyObject
*arg2
= (PyObject
*) 0 ;
16838 PyObject
* obj0
= 0 ;
16839 PyObject
* obj1
= 0 ;
16840 char *kwnames
[] = {
16841 (char *) "self",(char *) "clientData", NULL
16844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16850 wxToolBarToolBase_SetClientData(arg1
,arg2
);
16852 wxPyEndAllowThreads(__tstate
);
16853 if (PyErr_Occurred()) SWIG_fail
;
16855 Py_INCREF(Py_None
); resultobj
= Py_None
;
16862 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
16864 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16865 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
16867 return Py_BuildValue((char *)"");
16869 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16870 PyObject
*resultobj
;
16871 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16873 wxString
*arg3
= 0 ;
16874 wxBitmap
*arg4
= 0 ;
16875 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
16876 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
16877 int arg6
= (int) wxITEM_NORMAL
;
16878 wxString
const &arg7_defvalue
= wxPyEmptyString
;
16879 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16880 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16881 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16882 PyObject
*arg9
= (PyObject
*) NULL
;
16883 wxToolBarToolBase
*result
;
16884 bool temp3
= False
;
16885 bool temp7
= False
;
16886 bool temp8
= False
;
16887 PyObject
* obj0
= 0 ;
16888 PyObject
* obj1
= 0 ;
16889 PyObject
* obj2
= 0 ;
16890 PyObject
* obj3
= 0 ;
16891 PyObject
* obj4
= 0 ;
16892 PyObject
* obj5
= 0 ;
16893 PyObject
* obj6
= 0 ;
16894 PyObject
* obj7
= 0 ;
16895 PyObject
* obj8
= 0 ;
16896 char *kwnames
[] = {
16897 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
16901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16903 arg2
= (int) SWIG_AsInt(obj1
);
16904 if (PyErr_Occurred()) SWIG_fail
;
16906 arg3
= wxString_in_helper(obj2
);
16907 if (arg3
== NULL
) SWIG_fail
;
16910 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
16911 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16913 if (arg4
== NULL
) {
16914 PyErr_SetString(PyExc_TypeError
,"null reference");
16918 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16919 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16921 if (arg5
== NULL
) {
16922 PyErr_SetString(PyExc_TypeError
,"null reference");
16927 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
16928 if (PyErr_Occurred()) SWIG_fail
;
16932 arg7
= wxString_in_helper(obj6
);
16933 if (arg7
== NULL
) SWIG_fail
;
16939 arg8
= wxString_in_helper(obj7
);
16940 if (arg8
== NULL
) SWIG_fail
;
16948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16949 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
16951 wxPyEndAllowThreads(__tstate
);
16952 if (PyErr_Occurred()) SWIG_fail
;
16955 resultobj
= wxPyMake_wxObject(result
);
16987 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16988 PyObject
*resultobj
;
16989 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16992 wxString
*arg4
= 0 ;
16993 wxBitmap
*arg5
= 0 ;
16994 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
16995 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
16996 int arg7
= (int) wxITEM_NORMAL
;
16997 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16998 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16999 wxString
const &arg9_defvalue
= wxPyEmptyString
;
17000 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17001 PyObject
*arg10
= (PyObject
*) NULL
;
17002 wxToolBarToolBase
*result
;
17003 bool temp4
= False
;
17004 bool temp8
= False
;
17005 bool temp9
= False
;
17006 PyObject
* obj0
= 0 ;
17007 PyObject
* obj1
= 0 ;
17008 PyObject
* obj2
= 0 ;
17009 PyObject
* obj3
= 0 ;
17010 PyObject
* obj4
= 0 ;
17011 PyObject
* obj5
= 0 ;
17012 PyObject
* obj6
= 0 ;
17013 PyObject
* obj7
= 0 ;
17014 PyObject
* obj8
= 0 ;
17015 PyObject
* obj9
= 0 ;
17016 char *kwnames
[] = {
17017 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
17020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
17021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17023 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17024 if (PyErr_Occurred()) SWIG_fail
;
17025 arg3
= (int) SWIG_AsInt(obj2
);
17026 if (PyErr_Occurred()) SWIG_fail
;
17028 arg4
= wxString_in_helper(obj3
);
17029 if (arg4
== NULL
) SWIG_fail
;
17032 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
17033 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17035 if (arg5
== NULL
) {
17036 PyErr_SetString(PyExc_TypeError
,"null reference");
17040 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
17041 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17043 if (arg6
== NULL
) {
17044 PyErr_SetString(PyExc_TypeError
,"null reference");
17049 arg7
= (wxItemKind
) SWIG_AsInt(obj6
);
17050 if (PyErr_Occurred()) SWIG_fail
;
17054 arg8
= wxString_in_helper(obj7
);
17055 if (arg8
== NULL
) SWIG_fail
;
17061 arg9
= wxString_in_helper(obj8
);
17062 if (arg9
== NULL
) SWIG_fail
;
17070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17071 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
);
17073 wxPyEndAllowThreads(__tstate
);
17074 if (PyErr_Occurred()) SWIG_fail
;
17077 resultobj
= wxPyMake_wxObject(result
);
17109 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17110 PyObject
*resultobj
;
17111 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17112 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
17113 wxToolBarToolBase
*result
;
17114 PyObject
* obj0
= 0 ;
17115 PyObject
* obj1
= 0 ;
17116 char *kwnames
[] = {
17117 (char *) "self",(char *) "tool", NULL
17120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
17121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17123 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
17124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17127 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
17129 wxPyEndAllowThreads(__tstate
);
17130 if (PyErr_Occurred()) SWIG_fail
;
17133 resultobj
= wxPyMake_wxObject(result
);
17141 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17142 PyObject
*resultobj
;
17143 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17145 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
17146 wxToolBarToolBase
*result
;
17147 PyObject
* obj0
= 0 ;
17148 PyObject
* obj1
= 0 ;
17149 PyObject
* obj2
= 0 ;
17150 char *kwnames
[] = {
17151 (char *) "self",(char *) "pos",(char *) "tool", NULL
17154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17157 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17158 if (PyErr_Occurred()) SWIG_fail
;
17159 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
17160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17163 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
17165 wxPyEndAllowThreads(__tstate
);
17166 if (PyErr_Occurred()) SWIG_fail
;
17169 resultobj
= wxPyMake_wxObject(result
);
17177 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17178 PyObject
*resultobj
;
17179 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17180 wxControl
*arg2
= (wxControl
*) 0 ;
17181 wxToolBarToolBase
*result
;
17182 PyObject
* obj0
= 0 ;
17183 PyObject
* obj1
= 0 ;
17184 char *kwnames
[] = {
17185 (char *) "self",(char *) "control", NULL
17188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17191 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
17192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17195 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
17197 wxPyEndAllowThreads(__tstate
);
17198 if (PyErr_Occurred()) SWIG_fail
;
17201 resultobj
= wxPyMake_wxObject(result
);
17209 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17210 PyObject
*resultobj
;
17211 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17213 wxControl
*arg3
= (wxControl
*) 0 ;
17214 wxToolBarToolBase
*result
;
17215 PyObject
* obj0
= 0 ;
17216 PyObject
* obj1
= 0 ;
17217 PyObject
* obj2
= 0 ;
17218 char *kwnames
[] = {
17219 (char *) "self",(char *) "pos",(char *) "control", NULL
17222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17225 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17226 if (PyErr_Occurred()) SWIG_fail
;
17227 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
17228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17231 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
17233 wxPyEndAllowThreads(__tstate
);
17234 if (PyErr_Occurred()) SWIG_fail
;
17237 resultobj
= wxPyMake_wxObject(result
);
17245 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17246 PyObject
*resultobj
;
17247 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17250 PyObject
* obj0
= 0 ;
17251 PyObject
* obj1
= 0 ;
17252 char *kwnames
[] = {
17253 (char *) "self",(char *) "id", NULL
17256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17259 arg2
= (int) SWIG_AsInt(obj1
);
17260 if (PyErr_Occurred()) SWIG_fail
;
17262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17263 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
17265 wxPyEndAllowThreads(__tstate
);
17266 if (PyErr_Occurred()) SWIG_fail
;
17269 resultobj
= wxPyMake_wxObject(result
);
17277 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17278 PyObject
*resultobj
;
17279 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17280 wxToolBarToolBase
*result
;
17281 PyObject
* obj0
= 0 ;
17282 char *kwnames
[] = {
17283 (char *) "self", NULL
17286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
17287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17291 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
17293 wxPyEndAllowThreads(__tstate
);
17294 if (PyErr_Occurred()) SWIG_fail
;
17297 resultobj
= wxPyMake_wxObject(result
);
17305 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17306 PyObject
*resultobj
;
17307 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17309 wxToolBarToolBase
*result
;
17310 PyObject
* obj0
= 0 ;
17311 PyObject
* obj1
= 0 ;
17312 char *kwnames
[] = {
17313 (char *) "self",(char *) "pos", NULL
17316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
17317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17319 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17320 if (PyErr_Occurred()) SWIG_fail
;
17322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17323 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
17325 wxPyEndAllowThreads(__tstate
);
17326 if (PyErr_Occurred()) SWIG_fail
;
17329 resultobj
= wxPyMake_wxObject(result
);
17337 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17338 PyObject
*resultobj
;
17339 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17341 wxToolBarToolBase
*result
;
17342 PyObject
* obj0
= 0 ;
17343 PyObject
* obj1
= 0 ;
17344 char *kwnames
[] = {
17345 (char *) "self",(char *) "id", NULL
17348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17351 arg2
= (int) SWIG_AsInt(obj1
);
17352 if (PyErr_Occurred()) SWIG_fail
;
17354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17355 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
17357 wxPyEndAllowThreads(__tstate
);
17358 if (PyErr_Occurred()) SWIG_fail
;
17361 resultobj
= wxPyMake_wxObject(result
);
17369 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17370 PyObject
*resultobj
;
17371 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17374 PyObject
* obj0
= 0 ;
17375 PyObject
* obj1
= 0 ;
17376 char *kwnames
[] = {
17377 (char *) "self",(char *) "pos", NULL
17380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17383 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17384 if (PyErr_Occurred()) SWIG_fail
;
17386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17387 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
17389 wxPyEndAllowThreads(__tstate
);
17390 if (PyErr_Occurred()) SWIG_fail
;
17393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17401 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17402 PyObject
*resultobj
;
17403 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17406 PyObject
* obj0
= 0 ;
17407 PyObject
* obj1
= 0 ;
17408 char *kwnames
[] = {
17409 (char *) "self",(char *) "id", NULL
17412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17415 arg2
= (int) SWIG_AsInt(obj1
);
17416 if (PyErr_Occurred()) SWIG_fail
;
17418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17419 result
= (bool)(arg1
)->DeleteTool(arg2
);
17421 wxPyEndAllowThreads(__tstate
);
17422 if (PyErr_Occurred()) SWIG_fail
;
17425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17433 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17434 PyObject
*resultobj
;
17435 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17436 PyObject
* obj0
= 0 ;
17437 char *kwnames
[] = {
17438 (char *) "self", NULL
17441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
17442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17446 (arg1
)->ClearTools();
17448 wxPyEndAllowThreads(__tstate
);
17449 if (PyErr_Occurred()) SWIG_fail
;
17451 Py_INCREF(Py_None
); resultobj
= Py_None
;
17458 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17459 PyObject
*resultobj
;
17460 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17462 PyObject
* obj0
= 0 ;
17463 char *kwnames
[] = {
17464 (char *) "self", NULL
17467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
17468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17472 result
= (bool)(arg1
)->Realize();
17474 wxPyEndAllowThreads(__tstate
);
17475 if (PyErr_Occurred()) SWIG_fail
;
17478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17486 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17487 PyObject
*resultobj
;
17488 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17491 PyObject
* obj0
= 0 ;
17492 PyObject
* obj1
= 0 ;
17493 PyObject
* obj2
= 0 ;
17494 char *kwnames
[] = {
17495 (char *) "self",(char *) "id",(char *) "enable", NULL
17498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17501 arg2
= (int) SWIG_AsInt(obj1
);
17502 if (PyErr_Occurred()) SWIG_fail
;
17503 arg3
= (bool) SWIG_AsBool(obj2
);
17504 if (PyErr_Occurred()) SWIG_fail
;
17506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17507 (arg1
)->EnableTool(arg2
,arg3
);
17509 wxPyEndAllowThreads(__tstate
);
17510 if (PyErr_Occurred()) SWIG_fail
;
17512 Py_INCREF(Py_None
); resultobj
= Py_None
;
17519 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17520 PyObject
*resultobj
;
17521 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17524 PyObject
* obj0
= 0 ;
17525 PyObject
* obj1
= 0 ;
17526 PyObject
* obj2
= 0 ;
17527 char *kwnames
[] = {
17528 (char *) "self",(char *) "id",(char *) "toggle", NULL
17531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17534 arg2
= (int) SWIG_AsInt(obj1
);
17535 if (PyErr_Occurred()) SWIG_fail
;
17536 arg3
= (bool) SWIG_AsBool(obj2
);
17537 if (PyErr_Occurred()) SWIG_fail
;
17539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17540 (arg1
)->ToggleTool(arg2
,arg3
);
17542 wxPyEndAllowThreads(__tstate
);
17543 if (PyErr_Occurred()) SWIG_fail
;
17545 Py_INCREF(Py_None
); resultobj
= Py_None
;
17552 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17553 PyObject
*resultobj
;
17554 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17557 PyObject
* obj0
= 0 ;
17558 PyObject
* obj1
= 0 ;
17559 PyObject
* obj2
= 0 ;
17560 char *kwnames
[] = {
17561 (char *) "self",(char *) "id",(char *) "toggle", NULL
17564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17567 arg2
= (int) SWIG_AsInt(obj1
);
17568 if (PyErr_Occurred()) SWIG_fail
;
17569 arg3
= (bool) SWIG_AsBool(obj2
);
17570 if (PyErr_Occurred()) SWIG_fail
;
17572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17573 (arg1
)->SetToggle(arg2
,arg3
);
17575 wxPyEndAllowThreads(__tstate
);
17576 if (PyErr_Occurred()) SWIG_fail
;
17578 Py_INCREF(Py_None
); resultobj
= Py_None
;
17585 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17586 PyObject
*resultobj
;
17587 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17590 PyObject
* obj0
= 0 ;
17591 PyObject
* obj1
= 0 ;
17592 char *kwnames
[] = {
17593 (char *) "self",(char *) "id", NULL
17596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
17597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17599 arg2
= (int) SWIG_AsInt(obj1
);
17600 if (PyErr_Occurred()) SWIG_fail
;
17602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17603 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
17605 wxPyEndAllowThreads(__tstate
);
17606 if (PyErr_Occurred()) SWIG_fail
;
17608 resultobj
= result
;
17615 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17616 PyObject
*resultobj
;
17617 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17619 PyObject
*arg3
= (PyObject
*) 0 ;
17620 PyObject
* obj0
= 0 ;
17621 PyObject
* obj1
= 0 ;
17622 PyObject
* obj2
= 0 ;
17623 char *kwnames
[] = {
17624 (char *) "self",(char *) "id",(char *) "clientData", NULL
17627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17630 arg2
= (int) SWIG_AsInt(obj1
);
17631 if (PyErr_Occurred()) SWIG_fail
;
17634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17635 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
17637 wxPyEndAllowThreads(__tstate
);
17638 if (PyErr_Occurred()) SWIG_fail
;
17640 Py_INCREF(Py_None
); resultobj
= Py_None
;
17647 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17648 PyObject
*resultobj
;
17649 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17652 PyObject
* obj0
= 0 ;
17653 PyObject
* obj1
= 0 ;
17654 char *kwnames
[] = {
17655 (char *) "self",(char *) "id", NULL
17658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17661 arg2
= (int) SWIG_AsInt(obj1
);
17662 if (PyErr_Occurred()) SWIG_fail
;
17664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17665 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
17667 wxPyEndAllowThreads(__tstate
);
17668 if (PyErr_Occurred()) SWIG_fail
;
17670 resultobj
= SWIG_FromInt((int)result
);
17677 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17678 PyObject
*resultobj
;
17679 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17682 PyObject
* obj0
= 0 ;
17683 PyObject
* obj1
= 0 ;
17684 char *kwnames
[] = {
17685 (char *) "self",(char *) "id", NULL
17688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
17689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17691 arg2
= (int) SWIG_AsInt(obj1
);
17692 if (PyErr_Occurred()) SWIG_fail
;
17694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17695 result
= (bool)(arg1
)->GetToolState(arg2
);
17697 wxPyEndAllowThreads(__tstate
);
17698 if (PyErr_Occurred()) SWIG_fail
;
17701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17709 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17710 PyObject
*resultobj
;
17711 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17714 PyObject
* obj0
= 0 ;
17715 PyObject
* obj1
= 0 ;
17716 char *kwnames
[] = {
17717 (char *) "self",(char *) "id", NULL
17720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
17721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17723 arg2
= (int) SWIG_AsInt(obj1
);
17724 if (PyErr_Occurred()) SWIG_fail
;
17726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17727 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
17729 wxPyEndAllowThreads(__tstate
);
17730 if (PyErr_Occurred()) SWIG_fail
;
17733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17741 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17742 PyObject
*resultobj
;
17743 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17745 wxString
*arg3
= 0 ;
17746 bool temp3
= False
;
17747 PyObject
* obj0
= 0 ;
17748 PyObject
* obj1
= 0 ;
17749 PyObject
* obj2
= 0 ;
17750 char *kwnames
[] = {
17751 (char *) "self",(char *) "id",(char *) "helpString", NULL
17754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17757 arg2
= (int) SWIG_AsInt(obj1
);
17758 if (PyErr_Occurred()) SWIG_fail
;
17760 arg3
= wxString_in_helper(obj2
);
17761 if (arg3
== NULL
) SWIG_fail
;
17765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17766 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
17768 wxPyEndAllowThreads(__tstate
);
17769 if (PyErr_Occurred()) SWIG_fail
;
17771 Py_INCREF(Py_None
); resultobj
= Py_None
;
17786 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17787 PyObject
*resultobj
;
17788 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17791 PyObject
* obj0
= 0 ;
17792 PyObject
* obj1
= 0 ;
17793 char *kwnames
[] = {
17794 (char *) "self",(char *) "id", NULL
17797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17800 arg2
= (int) SWIG_AsInt(obj1
);
17801 if (PyErr_Occurred()) SWIG_fail
;
17803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17804 result
= (arg1
)->GetToolShortHelp(arg2
);
17806 wxPyEndAllowThreads(__tstate
);
17807 if (PyErr_Occurred()) SWIG_fail
;
17811 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17813 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17822 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17823 PyObject
*resultobj
;
17824 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17826 wxString
*arg3
= 0 ;
17827 bool temp3
= False
;
17828 PyObject
* obj0
= 0 ;
17829 PyObject
* obj1
= 0 ;
17830 PyObject
* obj2
= 0 ;
17831 char *kwnames
[] = {
17832 (char *) "self",(char *) "id",(char *) "helpString", NULL
17835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17838 arg2
= (int) SWIG_AsInt(obj1
);
17839 if (PyErr_Occurred()) SWIG_fail
;
17841 arg3
= wxString_in_helper(obj2
);
17842 if (arg3
== NULL
) SWIG_fail
;
17846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17847 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
17849 wxPyEndAllowThreads(__tstate
);
17850 if (PyErr_Occurred()) SWIG_fail
;
17852 Py_INCREF(Py_None
); resultobj
= Py_None
;
17867 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17868 PyObject
*resultobj
;
17869 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17872 PyObject
* obj0
= 0 ;
17873 PyObject
* obj1
= 0 ;
17874 char *kwnames
[] = {
17875 (char *) "self",(char *) "id", NULL
17878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17881 arg2
= (int) SWIG_AsInt(obj1
);
17882 if (PyErr_Occurred()) SWIG_fail
;
17884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17885 result
= (arg1
)->GetToolLongHelp(arg2
);
17887 wxPyEndAllowThreads(__tstate
);
17888 if (PyErr_Occurred()) SWIG_fail
;
17892 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17894 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17903 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17904 PyObject
*resultobj
;
17905 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17908 PyObject
* obj0
= 0 ;
17909 PyObject
* obj1
= 0 ;
17910 PyObject
* obj2
= 0 ;
17911 char *kwnames
[] = {
17912 (char *) "self",(char *) "x",(char *) "y", NULL
17915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17918 arg2
= (int) SWIG_AsInt(obj1
);
17919 if (PyErr_Occurred()) SWIG_fail
;
17920 arg3
= (int) SWIG_AsInt(obj2
);
17921 if (PyErr_Occurred()) SWIG_fail
;
17923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17924 (arg1
)->SetMargins(arg2
,arg3
);
17926 wxPyEndAllowThreads(__tstate
);
17927 if (PyErr_Occurred()) SWIG_fail
;
17929 Py_INCREF(Py_None
); resultobj
= Py_None
;
17936 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17937 PyObject
*resultobj
;
17938 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17941 PyObject
* obj0
= 0 ;
17942 PyObject
* obj1
= 0 ;
17943 char *kwnames
[] = {
17944 (char *) "self",(char *) "size", NULL
17947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
17948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17952 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17956 (arg1
)->SetMargins((wxSize
const &)*arg2
);
17958 wxPyEndAllowThreads(__tstate
);
17959 if (PyErr_Occurred()) SWIG_fail
;
17961 Py_INCREF(Py_None
); resultobj
= Py_None
;
17968 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17969 PyObject
*resultobj
;
17970 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17972 PyObject
* obj0
= 0 ;
17973 PyObject
* obj1
= 0 ;
17974 char *kwnames
[] = {
17975 (char *) "self",(char *) "packing", NULL
17978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
17979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17981 arg2
= (int) SWIG_AsInt(obj1
);
17982 if (PyErr_Occurred()) SWIG_fail
;
17984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17985 (arg1
)->SetToolPacking(arg2
);
17987 wxPyEndAllowThreads(__tstate
);
17988 if (PyErr_Occurred()) SWIG_fail
;
17990 Py_INCREF(Py_None
); resultobj
= Py_None
;
17997 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17998 PyObject
*resultobj
;
17999 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18001 PyObject
* obj0
= 0 ;
18002 PyObject
* obj1
= 0 ;
18003 char *kwnames
[] = {
18004 (char *) "self",(char *) "separation", NULL
18007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
18008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18010 arg2
= (int) SWIG_AsInt(obj1
);
18011 if (PyErr_Occurred()) SWIG_fail
;
18013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18014 (arg1
)->SetToolSeparation(arg2
);
18016 wxPyEndAllowThreads(__tstate
);
18017 if (PyErr_Occurred()) SWIG_fail
;
18019 Py_INCREF(Py_None
); resultobj
= Py_None
;
18026 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18027 PyObject
*resultobj
;
18028 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18030 PyObject
* obj0
= 0 ;
18031 char *kwnames
[] = {
18032 (char *) "self", NULL
18035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
18036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18040 result
= (arg1
)->GetToolMargins();
18042 wxPyEndAllowThreads(__tstate
);
18043 if (PyErr_Occurred()) SWIG_fail
;
18046 wxSize
* resultptr
;
18047 resultptr
= new wxSize((wxSize
&) result
);
18048 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18056 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18057 PyObject
*resultobj
;
18058 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18060 PyObject
* obj0
= 0 ;
18061 char *kwnames
[] = {
18062 (char *) "self", NULL
18065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
18066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18070 result
= (arg1
)->GetMargins();
18072 wxPyEndAllowThreads(__tstate
);
18073 if (PyErr_Occurred()) SWIG_fail
;
18076 wxSize
* resultptr
;
18077 resultptr
= new wxSize((wxSize
&) result
);
18078 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18086 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18087 PyObject
*resultobj
;
18088 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18090 PyObject
* obj0
= 0 ;
18091 char *kwnames
[] = {
18092 (char *) "self", NULL
18095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
18096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18100 result
= (int)(arg1
)->GetToolPacking();
18102 wxPyEndAllowThreads(__tstate
);
18103 if (PyErr_Occurred()) SWIG_fail
;
18105 resultobj
= SWIG_FromInt((int)result
);
18112 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18113 PyObject
*resultobj
;
18114 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18116 PyObject
* obj0
= 0 ;
18117 char *kwnames
[] = {
18118 (char *) "self", NULL
18121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
18122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18126 result
= (int)(arg1
)->GetToolSeparation();
18128 wxPyEndAllowThreads(__tstate
);
18129 if (PyErr_Occurred()) SWIG_fail
;
18131 resultobj
= SWIG_FromInt((int)result
);
18138 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18139 PyObject
*resultobj
;
18140 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18142 PyObject
* obj0
= 0 ;
18143 PyObject
* obj1
= 0 ;
18144 char *kwnames
[] = {
18145 (char *) "self",(char *) "nRows", NULL
18148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
18149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18151 arg2
= (int) SWIG_AsInt(obj1
);
18152 if (PyErr_Occurred()) SWIG_fail
;
18154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18155 (arg1
)->SetRows(arg2
);
18157 wxPyEndAllowThreads(__tstate
);
18158 if (PyErr_Occurred()) SWIG_fail
;
18160 Py_INCREF(Py_None
); resultobj
= Py_None
;
18167 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18168 PyObject
*resultobj
;
18169 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18172 PyObject
* obj0
= 0 ;
18173 PyObject
* obj1
= 0 ;
18174 PyObject
* obj2
= 0 ;
18175 char *kwnames
[] = {
18176 (char *) "self",(char *) "rows",(char *) "cols", NULL
18179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18182 arg2
= (int) SWIG_AsInt(obj1
);
18183 if (PyErr_Occurred()) SWIG_fail
;
18184 arg3
= (int) SWIG_AsInt(obj2
);
18185 if (PyErr_Occurred()) SWIG_fail
;
18187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18188 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
18190 wxPyEndAllowThreads(__tstate
);
18191 if (PyErr_Occurred()) SWIG_fail
;
18193 Py_INCREF(Py_None
); resultobj
= Py_None
;
18200 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18201 PyObject
*resultobj
;
18202 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18204 PyObject
* obj0
= 0 ;
18205 char *kwnames
[] = {
18206 (char *) "self", NULL
18209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
18210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18214 result
= (int)(arg1
)->GetMaxRows();
18216 wxPyEndAllowThreads(__tstate
);
18217 if (PyErr_Occurred()) SWIG_fail
;
18219 resultobj
= SWIG_FromInt((int)result
);
18226 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18227 PyObject
*resultobj
;
18228 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18230 PyObject
* obj0
= 0 ;
18231 char *kwnames
[] = {
18232 (char *) "self", NULL
18235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
18236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18240 result
= (int)(arg1
)->GetMaxCols();
18242 wxPyEndAllowThreads(__tstate
);
18243 if (PyErr_Occurred()) SWIG_fail
;
18245 resultobj
= SWIG_FromInt((int)result
);
18252 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18253 PyObject
*resultobj
;
18254 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18257 PyObject
* obj0
= 0 ;
18258 PyObject
* obj1
= 0 ;
18259 char *kwnames
[] = {
18260 (char *) "self",(char *) "size", NULL
18263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18268 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18272 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
18274 wxPyEndAllowThreads(__tstate
);
18275 if (PyErr_Occurred()) SWIG_fail
;
18277 Py_INCREF(Py_None
); resultobj
= Py_None
;
18284 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18285 PyObject
*resultobj
;
18286 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18288 PyObject
* obj0
= 0 ;
18289 char *kwnames
[] = {
18290 (char *) "self", NULL
18293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
18294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18298 result
= (arg1
)->GetToolBitmapSize();
18300 wxPyEndAllowThreads(__tstate
);
18301 if (PyErr_Occurred()) SWIG_fail
;
18304 wxSize
* resultptr
;
18305 resultptr
= new wxSize((wxSize
&) result
);
18306 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18314 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18315 PyObject
*resultobj
;
18316 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18318 PyObject
* obj0
= 0 ;
18319 char *kwnames
[] = {
18320 (char *) "self", NULL
18323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
18324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18328 result
= (arg1
)->GetToolSize();
18330 wxPyEndAllowThreads(__tstate
);
18331 if (PyErr_Occurred()) SWIG_fail
;
18334 wxSize
* resultptr
;
18335 resultptr
= new wxSize((wxSize
&) result
);
18336 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18344 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18345 PyObject
*resultobj
;
18346 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18349 wxToolBarToolBase
*result
;
18350 PyObject
* obj0
= 0 ;
18351 PyObject
* obj1
= 0 ;
18352 PyObject
* obj2
= 0 ;
18353 char *kwnames
[] = {
18354 (char *) "self",(char *) "x",(char *) "y", NULL
18357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18360 arg2
= (int) SWIG_AsInt(obj1
);
18361 if (PyErr_Occurred()) SWIG_fail
;
18362 arg3
= (int) SWIG_AsInt(obj2
);
18363 if (PyErr_Occurred()) SWIG_fail
;
18365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18366 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18368 wxPyEndAllowThreads(__tstate
);
18369 if (PyErr_Occurred()) SWIG_fail
;
18372 resultobj
= wxPyMake_wxObject(result
);
18380 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18381 PyObject
*resultobj
;
18382 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18384 wxToolBarToolBase
*result
;
18385 PyObject
* obj0
= 0 ;
18386 PyObject
* obj1
= 0 ;
18387 char *kwnames
[] = {
18388 (char *) "self",(char *) "toolid", NULL
18391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
18392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18394 arg2
= (int) SWIG_AsInt(obj1
);
18395 if (PyErr_Occurred()) SWIG_fail
;
18397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18398 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
18400 wxPyEndAllowThreads(__tstate
);
18401 if (PyErr_Occurred()) SWIG_fail
;
18404 resultobj
= wxPyMake_wxObject(result
);
18412 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18413 PyObject
*resultobj
;
18414 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18416 PyObject
* obj0
= 0 ;
18417 char *kwnames
[] = {
18418 (char *) "self", NULL
18421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
18422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18426 result
= (bool)(arg1
)->IsVertical();
18428 wxPyEndAllowThreads(__tstate
);
18429 if (PyErr_Occurred()) SWIG_fail
;
18432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18440 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
18442 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18443 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
18445 return Py_BuildValue((char *)"");
18447 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18448 PyObject
*resultobj
;
18449 wxWindow
*arg1
= (wxWindow
*) 0 ;
18450 int arg2
= (int) -1 ;
18451 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18452 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18453 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18454 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18455 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18456 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
18457 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18461 bool temp6
= False
;
18462 PyObject
* obj0
= 0 ;
18463 PyObject
* obj1
= 0 ;
18464 PyObject
* obj2
= 0 ;
18465 PyObject
* obj3
= 0 ;
18466 PyObject
* obj4
= 0 ;
18467 PyObject
* obj5
= 0 ;
18468 char *kwnames
[] = {
18469 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18476 arg2
= (int) SWIG_AsInt(obj1
);
18477 if (PyErr_Occurred()) SWIG_fail
;
18482 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18488 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18492 arg5
= (long) SWIG_AsLong(obj4
);
18493 if (PyErr_Occurred()) SWIG_fail
;
18497 arg6
= wxString_in_helper(obj5
);
18498 if (arg6
== NULL
) SWIG_fail
;
18503 if (!wxPyCheckForApp()) SWIG_fail
;
18504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18505 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18507 wxPyEndAllowThreads(__tstate
);
18508 if (PyErr_Occurred()) SWIG_fail
;
18511 resultobj
= wxPyMake_wxObject(result
);
18527 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18528 PyObject
*resultobj
;
18530 char *kwnames
[] = {
18534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
18536 if (!wxPyCheckForApp()) SWIG_fail
;
18537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18538 result
= (wxToolBar
*)new wxToolBar();
18540 wxPyEndAllowThreads(__tstate
);
18541 if (PyErr_Occurred()) SWIG_fail
;
18544 resultobj
= wxPyMake_wxObject(result
);
18552 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18553 PyObject
*resultobj
;
18554 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18555 wxWindow
*arg2
= (wxWindow
*) 0 ;
18556 int arg3
= (int) -1 ;
18557 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18558 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18559 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18560 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18561 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18562 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
18563 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18567 bool temp7
= False
;
18568 PyObject
* obj0
= 0 ;
18569 PyObject
* obj1
= 0 ;
18570 PyObject
* obj2
= 0 ;
18571 PyObject
* obj3
= 0 ;
18572 PyObject
* obj4
= 0 ;
18573 PyObject
* obj5
= 0 ;
18574 PyObject
* obj6
= 0 ;
18575 char *kwnames
[] = {
18576 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18582 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18585 arg3
= (int) SWIG_AsInt(obj2
);
18586 if (PyErr_Occurred()) SWIG_fail
;
18591 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18597 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18601 arg6
= (long) SWIG_AsLong(obj5
);
18602 if (PyErr_Occurred()) SWIG_fail
;
18606 arg7
= wxString_in_helper(obj6
);
18607 if (arg7
== NULL
) SWIG_fail
;
18612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18613 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18615 wxPyEndAllowThreads(__tstate
);
18616 if (PyErr_Occurred()) SWIG_fail
;
18619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18635 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18636 PyObject
*resultobj
;
18637 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18640 wxToolBarToolBase
*result
;
18641 PyObject
* obj0
= 0 ;
18642 PyObject
* obj1
= 0 ;
18643 PyObject
* obj2
= 0 ;
18644 char *kwnames
[] = {
18645 (char *) "self",(char *) "x",(char *) "y", NULL
18648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18651 arg2
= (int) SWIG_AsInt(obj1
);
18652 if (PyErr_Occurred()) SWIG_fail
;
18653 arg3
= (int) SWIG_AsInt(obj2
);
18654 if (PyErr_Occurred()) SWIG_fail
;
18656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18657 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18659 wxPyEndAllowThreads(__tstate
);
18660 if (PyErr_Occurred()) SWIG_fail
;
18663 resultobj
= wxPyMake_wxObject(result
);
18671 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18672 PyObject
*resultobj
;
18673 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
18674 wxVisualAttributes result
;
18675 PyObject
* obj0
= 0 ;
18676 char *kwnames
[] = {
18677 (char *) "variant", NULL
18680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18682 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
18683 if (PyErr_Occurred()) SWIG_fail
;
18686 if (!wxPyCheckForApp()) SWIG_fail
;
18687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18688 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
18690 wxPyEndAllowThreads(__tstate
);
18691 if (PyErr_Occurred()) SWIG_fail
;
18694 wxVisualAttributes
* resultptr
;
18695 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
18696 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18704 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
18706 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18707 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
18709 return Py_BuildValue((char *)"");
18711 static int _wrap_ListCtrlNameStr_set(PyObject
*_val
) {
18712 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
18717 static PyObject
*_wrap_ListCtrlNameStr_get() {
18722 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
18724 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
18731 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18732 PyObject
*resultobj
;
18733 wxColour
const &arg1_defvalue
= wxNullColour
;
18734 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
18735 wxColour
const &arg2_defvalue
= wxNullColour
;
18736 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
18737 wxFont
const &arg3_defvalue
= wxNullFont
;
18738 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
18739 wxListItemAttr
*result
;
18742 PyObject
* obj0
= 0 ;
18743 PyObject
* obj1
= 0 ;
18744 PyObject
* obj2
= 0 ;
18745 char *kwnames
[] = {
18746 (char *) "colText",(char *) "colBack",(char *) "font", NULL
18749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18753 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
18759 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18763 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
18764 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18766 if (arg3
== NULL
) {
18767 PyErr_SetString(PyExc_TypeError
,"null reference");
18772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18773 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
18775 wxPyEndAllowThreads(__tstate
);
18776 if (PyErr_Occurred()) SWIG_fail
;
18778 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
18785 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18786 PyObject
*resultobj
;
18787 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18788 wxColour
*arg2
= 0 ;
18790 PyObject
* obj0
= 0 ;
18791 PyObject
* obj1
= 0 ;
18792 char *kwnames
[] = {
18793 (char *) "self",(char *) "colText", NULL
18796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18801 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18805 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18807 wxPyEndAllowThreads(__tstate
);
18808 if (PyErr_Occurred()) SWIG_fail
;
18810 Py_INCREF(Py_None
); resultobj
= Py_None
;
18817 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18818 PyObject
*resultobj
;
18819 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18820 wxColour
*arg2
= 0 ;
18822 PyObject
* obj0
= 0 ;
18823 PyObject
* obj1
= 0 ;
18824 char *kwnames
[] = {
18825 (char *) "self",(char *) "colBack", NULL
18828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18833 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18837 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18839 wxPyEndAllowThreads(__tstate
);
18840 if (PyErr_Occurred()) SWIG_fail
;
18842 Py_INCREF(Py_None
); resultobj
= Py_None
;
18849 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18850 PyObject
*resultobj
;
18851 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18853 PyObject
* obj0
= 0 ;
18854 PyObject
* obj1
= 0 ;
18855 char *kwnames
[] = {
18856 (char *) "self",(char *) "font", NULL
18859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18862 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18863 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18865 if (arg2
== NULL
) {
18866 PyErr_SetString(PyExc_TypeError
,"null reference");
18870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18871 (arg1
)->SetFont((wxFont
const &)*arg2
);
18873 wxPyEndAllowThreads(__tstate
);
18874 if (PyErr_Occurred()) SWIG_fail
;
18876 Py_INCREF(Py_None
); resultobj
= Py_None
;
18883 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18884 PyObject
*resultobj
;
18885 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18887 PyObject
* obj0
= 0 ;
18888 char *kwnames
[] = {
18889 (char *) "self", NULL
18892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
18893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18897 result
= (bool)(arg1
)->HasTextColour();
18899 wxPyEndAllowThreads(__tstate
);
18900 if (PyErr_Occurred()) SWIG_fail
;
18903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18911 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18912 PyObject
*resultobj
;
18913 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18915 PyObject
* obj0
= 0 ;
18916 char *kwnames
[] = {
18917 (char *) "self", NULL
18920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
18921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18925 result
= (bool)(arg1
)->HasBackgroundColour();
18927 wxPyEndAllowThreads(__tstate
);
18928 if (PyErr_Occurred()) SWIG_fail
;
18931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18939 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18940 PyObject
*resultobj
;
18941 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18943 PyObject
* obj0
= 0 ;
18944 char *kwnames
[] = {
18945 (char *) "self", NULL
18948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
18949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18953 result
= (bool)(arg1
)->HasFont();
18955 wxPyEndAllowThreads(__tstate
);
18956 if (PyErr_Occurred()) SWIG_fail
;
18959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18967 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18968 PyObject
*resultobj
;
18969 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18971 PyObject
* obj0
= 0 ;
18972 char *kwnames
[] = {
18973 (char *) "self", NULL
18976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
18977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18981 result
= (arg1
)->GetTextColour();
18983 wxPyEndAllowThreads(__tstate
);
18984 if (PyErr_Occurred()) SWIG_fail
;
18987 wxColour
* resultptr
;
18988 resultptr
= new wxColour((wxColour
&) result
);
18989 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18997 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18998 PyObject
*resultobj
;
18999 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19001 PyObject
* obj0
= 0 ;
19002 char *kwnames
[] = {
19003 (char *) "self", NULL
19006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
19007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19011 result
= (arg1
)->GetBackgroundColour();
19013 wxPyEndAllowThreads(__tstate
);
19014 if (PyErr_Occurred()) SWIG_fail
;
19017 wxColour
* resultptr
;
19018 resultptr
= new wxColour((wxColour
&) result
);
19019 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19027 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19028 PyObject
*resultobj
;
19029 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19031 PyObject
* obj0
= 0 ;
19032 char *kwnames
[] = {
19033 (char *) "self", NULL
19036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
19037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19041 result
= (arg1
)->GetFont();
19043 wxPyEndAllowThreads(__tstate
);
19044 if (PyErr_Occurred()) SWIG_fail
;
19047 wxFont
* resultptr
;
19048 resultptr
= new wxFont((wxFont
&) result
);
19049 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
19057 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19058 PyObject
*resultobj
;
19059 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19060 PyObject
* obj0
= 0 ;
19061 char *kwnames
[] = {
19062 (char *) "self", NULL
19065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
19066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19070 wxListItemAttr_Destroy(arg1
);
19072 wxPyEndAllowThreads(__tstate
);
19073 if (PyErr_Occurred()) SWIG_fail
;
19075 Py_INCREF(Py_None
); resultobj
= Py_None
;
19082 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
19084 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19085 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
19087 return Py_BuildValue((char *)"");
19089 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19090 PyObject
*resultobj
;
19091 wxListItem
*result
;
19092 char *kwnames
[] = {
19096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
19098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19099 result
= (wxListItem
*)new wxListItem();
19101 wxPyEndAllowThreads(__tstate
);
19102 if (PyErr_Occurred()) SWIG_fail
;
19105 resultobj
= wxPyMake_wxObject(result
);
19113 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19114 PyObject
*resultobj
;
19115 wxListItem
*arg1
= (wxListItem
*) 0 ;
19116 PyObject
* obj0
= 0 ;
19117 char *kwnames
[] = {
19118 (char *) "self", NULL
19121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
19122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19128 wxPyEndAllowThreads(__tstate
);
19129 if (PyErr_Occurred()) SWIG_fail
;
19131 Py_INCREF(Py_None
); resultobj
= Py_None
;
19138 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19139 PyObject
*resultobj
;
19140 wxListItem
*arg1
= (wxListItem
*) 0 ;
19141 PyObject
* obj0
= 0 ;
19142 char *kwnames
[] = {
19143 (char *) "self", NULL
19146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
19147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19153 wxPyEndAllowThreads(__tstate
);
19154 if (PyErr_Occurred()) SWIG_fail
;
19156 Py_INCREF(Py_None
); resultobj
= Py_None
;
19163 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19164 PyObject
*resultobj
;
19165 wxListItem
*arg1
= (wxListItem
*) 0 ;
19166 PyObject
* obj0
= 0 ;
19167 char *kwnames
[] = {
19168 (char *) "self", NULL
19171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
19172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19176 (arg1
)->ClearAttributes();
19178 wxPyEndAllowThreads(__tstate
);
19179 if (PyErr_Occurred()) SWIG_fail
;
19181 Py_INCREF(Py_None
); resultobj
= Py_None
;
19188 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19189 PyObject
*resultobj
;
19190 wxListItem
*arg1
= (wxListItem
*) 0 ;
19192 PyObject
* obj0
= 0 ;
19193 PyObject
* obj1
= 0 ;
19194 char *kwnames
[] = {
19195 (char *) "self",(char *) "mask", NULL
19198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19201 arg2
= (long) SWIG_AsLong(obj1
);
19202 if (PyErr_Occurred()) SWIG_fail
;
19204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19205 (arg1
)->SetMask(arg2
);
19207 wxPyEndAllowThreads(__tstate
);
19208 if (PyErr_Occurred()) SWIG_fail
;
19210 Py_INCREF(Py_None
); resultobj
= Py_None
;
19217 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19218 PyObject
*resultobj
;
19219 wxListItem
*arg1
= (wxListItem
*) 0 ;
19221 PyObject
* obj0
= 0 ;
19222 PyObject
* obj1
= 0 ;
19223 char *kwnames
[] = {
19224 (char *) "self",(char *) "id", NULL
19227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
19228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19230 arg2
= (long) SWIG_AsLong(obj1
);
19231 if (PyErr_Occurred()) SWIG_fail
;
19233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19234 (arg1
)->SetId(arg2
);
19236 wxPyEndAllowThreads(__tstate
);
19237 if (PyErr_Occurred()) SWIG_fail
;
19239 Py_INCREF(Py_None
); resultobj
= Py_None
;
19246 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19247 PyObject
*resultobj
;
19248 wxListItem
*arg1
= (wxListItem
*) 0 ;
19250 PyObject
* obj0
= 0 ;
19251 PyObject
* obj1
= 0 ;
19252 char *kwnames
[] = {
19253 (char *) "self",(char *) "col", NULL
19256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
19257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19259 arg2
= (int) SWIG_AsInt(obj1
);
19260 if (PyErr_Occurred()) SWIG_fail
;
19262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19263 (arg1
)->SetColumn(arg2
);
19265 wxPyEndAllowThreads(__tstate
);
19266 if (PyErr_Occurred()) SWIG_fail
;
19268 Py_INCREF(Py_None
); resultobj
= Py_None
;
19275 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19276 PyObject
*resultobj
;
19277 wxListItem
*arg1
= (wxListItem
*) 0 ;
19279 PyObject
* obj0
= 0 ;
19280 PyObject
* obj1
= 0 ;
19281 char *kwnames
[] = {
19282 (char *) "self",(char *) "state", NULL
19285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
19286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19288 arg2
= (long) SWIG_AsLong(obj1
);
19289 if (PyErr_Occurred()) SWIG_fail
;
19291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19292 (arg1
)->SetState(arg2
);
19294 wxPyEndAllowThreads(__tstate
);
19295 if (PyErr_Occurred()) SWIG_fail
;
19297 Py_INCREF(Py_None
); resultobj
= Py_None
;
19304 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19305 PyObject
*resultobj
;
19306 wxListItem
*arg1
= (wxListItem
*) 0 ;
19308 PyObject
* obj0
= 0 ;
19309 PyObject
* obj1
= 0 ;
19310 char *kwnames
[] = {
19311 (char *) "self",(char *) "stateMask", NULL
19314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19317 arg2
= (long) SWIG_AsLong(obj1
);
19318 if (PyErr_Occurred()) SWIG_fail
;
19320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19321 (arg1
)->SetStateMask(arg2
);
19323 wxPyEndAllowThreads(__tstate
);
19324 if (PyErr_Occurred()) SWIG_fail
;
19326 Py_INCREF(Py_None
); resultobj
= Py_None
;
19333 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19334 PyObject
*resultobj
;
19335 wxListItem
*arg1
= (wxListItem
*) 0 ;
19336 wxString
*arg2
= 0 ;
19337 bool temp2
= False
;
19338 PyObject
* obj0
= 0 ;
19339 PyObject
* obj1
= 0 ;
19340 char *kwnames
[] = {
19341 (char *) "self",(char *) "text", NULL
19344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
19345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19348 arg2
= wxString_in_helper(obj1
);
19349 if (arg2
== NULL
) SWIG_fail
;
19353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19354 (arg1
)->SetText((wxString
const &)*arg2
);
19356 wxPyEndAllowThreads(__tstate
);
19357 if (PyErr_Occurred()) SWIG_fail
;
19359 Py_INCREF(Py_None
); resultobj
= Py_None
;
19374 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19375 PyObject
*resultobj
;
19376 wxListItem
*arg1
= (wxListItem
*) 0 ;
19378 PyObject
* obj0
= 0 ;
19379 PyObject
* obj1
= 0 ;
19380 char *kwnames
[] = {
19381 (char *) "self",(char *) "image", NULL
19384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
19385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19387 arg2
= (int) SWIG_AsInt(obj1
);
19388 if (PyErr_Occurred()) SWIG_fail
;
19390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19391 (arg1
)->SetImage(arg2
);
19393 wxPyEndAllowThreads(__tstate
);
19394 if (PyErr_Occurred()) SWIG_fail
;
19396 Py_INCREF(Py_None
); resultobj
= Py_None
;
19403 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19404 PyObject
*resultobj
;
19405 wxListItem
*arg1
= (wxListItem
*) 0 ;
19407 PyObject
* obj0
= 0 ;
19408 PyObject
* obj1
= 0 ;
19409 char *kwnames
[] = {
19410 (char *) "self",(char *) "data", NULL
19413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
19414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19416 arg2
= (long) SWIG_AsLong(obj1
);
19417 if (PyErr_Occurred()) SWIG_fail
;
19419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19420 (arg1
)->SetData(arg2
);
19422 wxPyEndAllowThreads(__tstate
);
19423 if (PyErr_Occurred()) SWIG_fail
;
19425 Py_INCREF(Py_None
); resultobj
= Py_None
;
19432 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19433 PyObject
*resultobj
;
19434 wxListItem
*arg1
= (wxListItem
*) 0 ;
19436 PyObject
* obj0
= 0 ;
19437 PyObject
* obj1
= 0 ;
19438 char *kwnames
[] = {
19439 (char *) "self",(char *) "width", NULL
19442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
19443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19445 arg2
= (int) SWIG_AsInt(obj1
);
19446 if (PyErr_Occurred()) SWIG_fail
;
19448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19449 (arg1
)->SetWidth(arg2
);
19451 wxPyEndAllowThreads(__tstate
);
19452 if (PyErr_Occurred()) SWIG_fail
;
19454 Py_INCREF(Py_None
); resultobj
= Py_None
;
19461 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19462 PyObject
*resultobj
;
19463 wxListItem
*arg1
= (wxListItem
*) 0 ;
19465 PyObject
* obj0
= 0 ;
19466 PyObject
* obj1
= 0 ;
19467 char *kwnames
[] = {
19468 (char *) "self",(char *) "align", NULL
19471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
19472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19474 arg2
= (wxListColumnFormat
) SWIG_AsInt(obj1
);
19475 if (PyErr_Occurred()) SWIG_fail
;
19477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19478 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
19480 wxPyEndAllowThreads(__tstate
);
19481 if (PyErr_Occurred()) SWIG_fail
;
19483 Py_INCREF(Py_None
); resultobj
= Py_None
;
19490 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19491 PyObject
*resultobj
;
19492 wxListItem
*arg1
= (wxListItem
*) 0 ;
19493 wxColour
*arg2
= 0 ;
19495 PyObject
* obj0
= 0 ;
19496 PyObject
* obj1
= 0 ;
19497 char *kwnames
[] = {
19498 (char *) "self",(char *) "colText", NULL
19501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19506 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19510 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
19512 wxPyEndAllowThreads(__tstate
);
19513 if (PyErr_Occurred()) SWIG_fail
;
19515 Py_INCREF(Py_None
); resultobj
= Py_None
;
19522 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19523 PyObject
*resultobj
;
19524 wxListItem
*arg1
= (wxListItem
*) 0 ;
19525 wxColour
*arg2
= 0 ;
19527 PyObject
* obj0
= 0 ;
19528 PyObject
* obj1
= 0 ;
19529 char *kwnames
[] = {
19530 (char *) "self",(char *) "colBack", NULL
19533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19538 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19542 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
19544 wxPyEndAllowThreads(__tstate
);
19545 if (PyErr_Occurred()) SWIG_fail
;
19547 Py_INCREF(Py_None
); resultobj
= Py_None
;
19554 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19555 PyObject
*resultobj
;
19556 wxListItem
*arg1
= (wxListItem
*) 0 ;
19558 PyObject
* obj0
= 0 ;
19559 PyObject
* obj1
= 0 ;
19560 char *kwnames
[] = {
19561 (char *) "self",(char *) "font", NULL
19564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
19565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19567 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
19568 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19570 if (arg2
== NULL
) {
19571 PyErr_SetString(PyExc_TypeError
,"null reference");
19575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19576 (arg1
)->SetFont((wxFont
const &)*arg2
);
19578 wxPyEndAllowThreads(__tstate
);
19579 if (PyErr_Occurred()) SWIG_fail
;
19581 Py_INCREF(Py_None
); resultobj
= Py_None
;
19588 static PyObject
*_wrap_ListItem_GetMask(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_GetMask",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
= (long)(arg1
)->GetMask();
19604 wxPyEndAllowThreads(__tstate
);
19605 if (PyErr_Occurred()) SWIG_fail
;
19607 resultobj
= SWIG_FromLong((long)result
);
19614 static PyObject
*_wrap_ListItem_GetId(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_GetId",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
)->GetId();
19630 wxPyEndAllowThreads(__tstate
);
19631 if (PyErr_Occurred()) SWIG_fail
;
19633 resultobj
= SWIG_FromLong((long)result
);
19640 static PyObject
*_wrap_ListItem_GetColumn(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_GetColumn",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();
19654 result
= (int)(arg1
)->GetColumn();
19656 wxPyEndAllowThreads(__tstate
);
19657 if (PyErr_Occurred()) SWIG_fail
;
19659 resultobj
= SWIG_FromInt((int)result
);
19666 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19667 PyObject
*resultobj
;
19668 wxListItem
*arg1
= (wxListItem
*) 0 ;
19670 PyObject
* obj0
= 0 ;
19671 char *kwnames
[] = {
19672 (char *) "self", NULL
19675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
19676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19680 result
= (long)(arg1
)->GetState();
19682 wxPyEndAllowThreads(__tstate
);
19683 if (PyErr_Occurred()) SWIG_fail
;
19685 resultobj
= SWIG_FromLong((long)result
);
19692 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19693 PyObject
*resultobj
;
19694 wxListItem
*arg1
= (wxListItem
*) 0 ;
19696 PyObject
* obj0
= 0 ;
19697 char *kwnames
[] = {
19698 (char *) "self", NULL
19701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
19702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19707 wxString
const &_result_ref
= (arg1
)->GetText();
19708 result
= (wxString
*) &_result_ref
;
19711 wxPyEndAllowThreads(__tstate
);
19712 if (PyErr_Occurred()) SWIG_fail
;
19716 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19718 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19727 static PyObject
*_wrap_ListItem_GetImage(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_GetImage",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
)->GetImage();
19743 wxPyEndAllowThreads(__tstate
);
19744 if (PyErr_Occurred()) SWIG_fail
;
19746 resultobj
= SWIG_FromInt((int)result
);
19753 static PyObject
*_wrap_ListItem_GetData(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_GetData",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
= (long)(arg1
)->GetData();
19769 wxPyEndAllowThreads(__tstate
);
19770 if (PyErr_Occurred()) SWIG_fail
;
19772 resultobj
= SWIG_FromLong((long)result
);
19779 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19780 PyObject
*resultobj
;
19781 wxListItem
*arg1
= (wxListItem
*) 0 ;
19783 PyObject
* obj0
= 0 ;
19784 char *kwnames
[] = {
19785 (char *) "self", NULL
19788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",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
= (int)(arg1
)->GetWidth();
19795 wxPyEndAllowThreads(__tstate
);
19796 if (PyErr_Occurred()) SWIG_fail
;
19798 resultobj
= SWIG_FromInt((int)result
);
19805 static PyObject
*_wrap_ListItem_GetAlign(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_GetAlign",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
= (int)(arg1
)->GetAlign();
19821 wxPyEndAllowThreads(__tstate
);
19822 if (PyErr_Occurred()) SWIG_fail
;
19824 resultobj
= SWIG_FromInt((int)result
);
19831 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19832 PyObject
*resultobj
;
19833 wxListItem
*arg1
= (wxListItem
*) 0 ;
19834 wxListItemAttr
*result
;
19835 PyObject
* obj0
= 0 ;
19836 char *kwnames
[] = {
19837 (char *) "self", NULL
19840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
19841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19845 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
19847 wxPyEndAllowThreads(__tstate
);
19848 if (PyErr_Occurred()) SWIG_fail
;
19850 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
19857 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19858 PyObject
*resultobj
;
19859 wxListItem
*arg1
= (wxListItem
*) 0 ;
19861 PyObject
* obj0
= 0 ;
19862 char *kwnames
[] = {
19863 (char *) "self", NULL
19866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
19867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19871 result
= (bool)(arg1
)->HasAttributes();
19873 wxPyEndAllowThreads(__tstate
);
19874 if (PyErr_Occurred()) SWIG_fail
;
19877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19885 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19886 PyObject
*resultobj
;
19887 wxListItem
*arg1
= (wxListItem
*) 0 ;
19889 PyObject
* obj0
= 0 ;
19890 char *kwnames
[] = {
19891 (char *) "self", NULL
19894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
19895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19899 result
= ((wxListItem
const *)arg1
)->GetTextColour();
19901 wxPyEndAllowThreads(__tstate
);
19902 if (PyErr_Occurred()) SWIG_fail
;
19905 wxColour
* resultptr
;
19906 resultptr
= new wxColour((wxColour
&) result
);
19907 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19915 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19916 PyObject
*resultobj
;
19917 wxListItem
*arg1
= (wxListItem
*) 0 ;
19919 PyObject
* obj0
= 0 ;
19920 char *kwnames
[] = {
19921 (char *) "self", NULL
19924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
19925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19929 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
19931 wxPyEndAllowThreads(__tstate
);
19932 if (PyErr_Occurred()) SWIG_fail
;
19935 wxColour
* resultptr
;
19936 resultptr
= new wxColour((wxColour
&) result
);
19937 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19945 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19946 PyObject
*resultobj
;
19947 wxListItem
*arg1
= (wxListItem
*) 0 ;
19949 PyObject
* obj0
= 0 ;
19950 char *kwnames
[] = {
19951 (char *) "self", NULL
19954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
19955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19959 result
= ((wxListItem
const *)arg1
)->GetFont();
19961 wxPyEndAllowThreads(__tstate
);
19962 if (PyErr_Occurred()) SWIG_fail
;
19965 wxFont
* resultptr
;
19966 resultptr
= new wxFont((wxFont
&) result
);
19967 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
19975 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19976 PyObject
*resultobj
;
19977 wxListItem
*arg1
= (wxListItem
*) 0 ;
19979 PyObject
* obj0
= 0 ;
19980 PyObject
* obj1
= 0 ;
19981 char *kwnames
[] = {
19982 (char *) "self",(char *) "m_mask", NULL
19985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19988 arg2
= (long) SWIG_AsLong(obj1
);
19989 if (PyErr_Occurred()) SWIG_fail
;
19990 if (arg1
) (arg1
)->m_mask
= arg2
;
19992 Py_INCREF(Py_None
); resultobj
= Py_None
;
19999 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20000 PyObject
*resultobj
;
20001 wxListItem
*arg1
= (wxListItem
*) 0 ;
20003 PyObject
* obj0
= 0 ;
20004 char *kwnames
[] = {
20005 (char *) "self", NULL
20008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
20009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20011 result
= (long) ((arg1
)->m_mask
);
20013 resultobj
= SWIG_FromLong((long)result
);
20020 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20021 PyObject
*resultobj
;
20022 wxListItem
*arg1
= (wxListItem
*) 0 ;
20024 PyObject
* obj0
= 0 ;
20025 PyObject
* obj1
= 0 ;
20026 char *kwnames
[] = {
20027 (char *) "self",(char *) "m_itemId", NULL
20030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20033 arg2
= (long) SWIG_AsLong(obj1
);
20034 if (PyErr_Occurred()) SWIG_fail
;
20035 if (arg1
) (arg1
)->m_itemId
= arg2
;
20037 Py_INCREF(Py_None
); resultobj
= Py_None
;
20044 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20045 PyObject
*resultobj
;
20046 wxListItem
*arg1
= (wxListItem
*) 0 ;
20048 PyObject
* obj0
= 0 ;
20049 char *kwnames
[] = {
20050 (char *) "self", NULL
20053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
20054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20056 result
= (long) ((arg1
)->m_itemId
);
20058 resultobj
= SWIG_FromLong((long)result
);
20065 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20066 PyObject
*resultobj
;
20067 wxListItem
*arg1
= (wxListItem
*) 0 ;
20069 PyObject
* obj0
= 0 ;
20070 PyObject
* obj1
= 0 ;
20071 char *kwnames
[] = {
20072 (char *) "self",(char *) "m_col", NULL
20075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20078 arg2
= (int) SWIG_AsInt(obj1
);
20079 if (PyErr_Occurred()) SWIG_fail
;
20080 if (arg1
) (arg1
)->m_col
= arg2
;
20082 Py_INCREF(Py_None
); resultobj
= Py_None
;
20089 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20090 PyObject
*resultobj
;
20091 wxListItem
*arg1
= (wxListItem
*) 0 ;
20093 PyObject
* obj0
= 0 ;
20094 char *kwnames
[] = {
20095 (char *) "self", NULL
20098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
20099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20101 result
= (int) ((arg1
)->m_col
);
20103 resultobj
= SWIG_FromInt((int)result
);
20110 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20111 PyObject
*resultobj
;
20112 wxListItem
*arg1
= (wxListItem
*) 0 ;
20114 PyObject
* obj0
= 0 ;
20115 PyObject
* obj1
= 0 ;
20116 char *kwnames
[] = {
20117 (char *) "self",(char *) "m_state", NULL
20120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20123 arg2
= (long) SWIG_AsLong(obj1
);
20124 if (PyErr_Occurred()) SWIG_fail
;
20125 if (arg1
) (arg1
)->m_state
= arg2
;
20127 Py_INCREF(Py_None
); resultobj
= Py_None
;
20134 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20135 PyObject
*resultobj
;
20136 wxListItem
*arg1
= (wxListItem
*) 0 ;
20138 PyObject
* obj0
= 0 ;
20139 char *kwnames
[] = {
20140 (char *) "self", NULL
20143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
20144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20146 result
= (long) ((arg1
)->m_state
);
20148 resultobj
= SWIG_FromLong((long)result
);
20155 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20156 PyObject
*resultobj
;
20157 wxListItem
*arg1
= (wxListItem
*) 0 ;
20159 PyObject
* obj0
= 0 ;
20160 PyObject
* obj1
= 0 ;
20161 char *kwnames
[] = {
20162 (char *) "self",(char *) "m_stateMask", NULL
20165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20168 arg2
= (long) SWIG_AsLong(obj1
);
20169 if (PyErr_Occurred()) SWIG_fail
;
20170 if (arg1
) (arg1
)->m_stateMask
= arg2
;
20172 Py_INCREF(Py_None
); resultobj
= Py_None
;
20179 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20180 PyObject
*resultobj
;
20181 wxListItem
*arg1
= (wxListItem
*) 0 ;
20183 PyObject
* obj0
= 0 ;
20184 char *kwnames
[] = {
20185 (char *) "self", NULL
20188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
20189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20191 result
= (long) ((arg1
)->m_stateMask
);
20193 resultobj
= SWIG_FromLong((long)result
);
20200 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20201 PyObject
*resultobj
;
20202 wxListItem
*arg1
= (wxListItem
*) 0 ;
20203 wxString
*arg2
= (wxString
*) 0 ;
20204 bool temp2
= False
;
20205 PyObject
* obj0
= 0 ;
20206 PyObject
* obj1
= 0 ;
20207 char *kwnames
[] = {
20208 (char *) "self",(char *) "m_text", NULL
20211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20215 arg2
= wxString_in_helper(obj1
);
20216 if (arg2
== NULL
) SWIG_fail
;
20219 if (arg1
) (arg1
)->m_text
= *arg2
;
20221 Py_INCREF(Py_None
); resultobj
= Py_None
;
20236 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20237 PyObject
*resultobj
;
20238 wxListItem
*arg1
= (wxListItem
*) 0 ;
20240 PyObject
* obj0
= 0 ;
20241 char *kwnames
[] = {
20242 (char *) "self", NULL
20245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
20246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20248 result
= (wxString
*)& ((arg1
)->m_text
);
20252 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20254 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20263 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20264 PyObject
*resultobj
;
20265 wxListItem
*arg1
= (wxListItem
*) 0 ;
20267 PyObject
* obj0
= 0 ;
20268 PyObject
* obj1
= 0 ;
20269 char *kwnames
[] = {
20270 (char *) "self",(char *) "m_image", NULL
20273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20276 arg2
= (int) SWIG_AsInt(obj1
);
20277 if (PyErr_Occurred()) SWIG_fail
;
20278 if (arg1
) (arg1
)->m_image
= arg2
;
20280 Py_INCREF(Py_None
); resultobj
= Py_None
;
20287 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20288 PyObject
*resultobj
;
20289 wxListItem
*arg1
= (wxListItem
*) 0 ;
20291 PyObject
* obj0
= 0 ;
20292 char *kwnames
[] = {
20293 (char *) "self", NULL
20296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
20297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20299 result
= (int) ((arg1
)->m_image
);
20301 resultobj
= SWIG_FromInt((int)result
);
20308 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20309 PyObject
*resultobj
;
20310 wxListItem
*arg1
= (wxListItem
*) 0 ;
20312 PyObject
* obj0
= 0 ;
20313 PyObject
* obj1
= 0 ;
20314 char *kwnames
[] = {
20315 (char *) "self",(char *) "m_data", NULL
20318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20321 arg2
= (long) SWIG_AsLong(obj1
);
20322 if (PyErr_Occurred()) SWIG_fail
;
20323 if (arg1
) (arg1
)->m_data
= arg2
;
20325 Py_INCREF(Py_None
); resultobj
= Py_None
;
20332 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20333 PyObject
*resultobj
;
20334 wxListItem
*arg1
= (wxListItem
*) 0 ;
20336 PyObject
* obj0
= 0 ;
20337 char *kwnames
[] = {
20338 (char *) "self", NULL
20341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
20342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20344 result
= (long) ((arg1
)->m_data
);
20346 resultobj
= SWIG_FromLong((long)result
);
20353 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20354 PyObject
*resultobj
;
20355 wxListItem
*arg1
= (wxListItem
*) 0 ;
20357 PyObject
* obj0
= 0 ;
20358 PyObject
* obj1
= 0 ;
20359 char *kwnames
[] = {
20360 (char *) "self",(char *) "m_format", NULL
20363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20366 arg2
= (int) SWIG_AsInt(obj1
);
20367 if (PyErr_Occurred()) SWIG_fail
;
20368 if (arg1
) (arg1
)->m_format
= arg2
;
20370 Py_INCREF(Py_None
); resultobj
= Py_None
;
20377 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20378 PyObject
*resultobj
;
20379 wxListItem
*arg1
= (wxListItem
*) 0 ;
20381 PyObject
* obj0
= 0 ;
20382 char *kwnames
[] = {
20383 (char *) "self", NULL
20386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
20387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20389 result
= (int) ((arg1
)->m_format
);
20391 resultobj
= SWIG_FromInt((int)result
);
20398 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20399 PyObject
*resultobj
;
20400 wxListItem
*arg1
= (wxListItem
*) 0 ;
20402 PyObject
* obj0
= 0 ;
20403 PyObject
* obj1
= 0 ;
20404 char *kwnames
[] = {
20405 (char *) "self",(char *) "m_width", NULL
20408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20411 arg2
= (int) SWIG_AsInt(obj1
);
20412 if (PyErr_Occurred()) SWIG_fail
;
20413 if (arg1
) (arg1
)->m_width
= arg2
;
20415 Py_INCREF(Py_None
); resultobj
= Py_None
;
20422 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20423 PyObject
*resultobj
;
20424 wxListItem
*arg1
= (wxListItem
*) 0 ;
20426 PyObject
* obj0
= 0 ;
20427 char *kwnames
[] = {
20428 (char *) "self", NULL
20431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
20432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20434 result
= (int) ((arg1
)->m_width
);
20436 resultobj
= SWIG_FromInt((int)result
);
20443 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
20445 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20446 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
20448 return Py_BuildValue((char *)"");
20450 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20451 PyObject
*resultobj
;
20452 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20453 int arg2
= (int) 0 ;
20454 wxListEvent
*result
;
20455 PyObject
* obj0
= 0 ;
20456 PyObject
* obj1
= 0 ;
20457 char *kwnames
[] = {
20458 (char *) "commandType",(char *) "id", NULL
20461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20463 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
20464 if (PyErr_Occurred()) SWIG_fail
;
20467 arg2
= (int) SWIG_AsInt(obj1
);
20468 if (PyErr_Occurred()) SWIG_fail
;
20471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20472 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
20474 wxPyEndAllowThreads(__tstate
);
20475 if (PyErr_Occurred()) SWIG_fail
;
20477 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
20484 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20485 PyObject
*resultobj
;
20486 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20488 PyObject
* obj0
= 0 ;
20489 PyObject
* obj1
= 0 ;
20490 char *kwnames
[] = {
20491 (char *) "self",(char *) "m_code", NULL
20494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20497 arg2
= (int) SWIG_AsInt(obj1
);
20498 if (PyErr_Occurred()) SWIG_fail
;
20499 if (arg1
) (arg1
)->m_code
= arg2
;
20501 Py_INCREF(Py_None
); resultobj
= Py_None
;
20508 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20509 PyObject
*resultobj
;
20510 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20512 PyObject
* obj0
= 0 ;
20513 char *kwnames
[] = {
20514 (char *) "self", NULL
20517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
20518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20520 result
= (int) ((arg1
)->m_code
);
20522 resultobj
= SWIG_FromInt((int)result
);
20529 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20530 PyObject
*resultobj
;
20531 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20533 PyObject
* obj0
= 0 ;
20534 PyObject
* obj1
= 0 ;
20535 char *kwnames
[] = {
20536 (char *) "self",(char *) "m_oldItemIndex", NULL
20539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20542 arg2
= (long) SWIG_AsLong(obj1
);
20543 if (PyErr_Occurred()) SWIG_fail
;
20544 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
20546 Py_INCREF(Py_None
); resultobj
= Py_None
;
20553 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20554 PyObject
*resultobj
;
20555 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20557 PyObject
* obj0
= 0 ;
20558 char *kwnames
[] = {
20559 (char *) "self", NULL
20562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
20563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20565 result
= (long) ((arg1
)->m_oldItemIndex
);
20567 resultobj
= SWIG_FromLong((long)result
);
20574 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20575 PyObject
*resultobj
;
20576 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20578 PyObject
* obj0
= 0 ;
20579 PyObject
* obj1
= 0 ;
20580 char *kwnames
[] = {
20581 (char *) "self",(char *) "m_itemIndex", NULL
20584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20587 arg2
= (long) SWIG_AsLong(obj1
);
20588 if (PyErr_Occurred()) SWIG_fail
;
20589 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
20591 Py_INCREF(Py_None
); resultobj
= Py_None
;
20598 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20599 PyObject
*resultobj
;
20600 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20602 PyObject
* obj0
= 0 ;
20603 char *kwnames
[] = {
20604 (char *) "self", NULL
20607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
20608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20610 result
= (long) ((arg1
)->m_itemIndex
);
20612 resultobj
= SWIG_FromLong((long)result
);
20619 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20620 PyObject
*resultobj
;
20621 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20623 PyObject
* obj0
= 0 ;
20624 PyObject
* obj1
= 0 ;
20625 char *kwnames
[] = {
20626 (char *) "self",(char *) "m_col", NULL
20629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20632 arg2
= (int) SWIG_AsInt(obj1
);
20633 if (PyErr_Occurred()) SWIG_fail
;
20634 if (arg1
) (arg1
)->m_col
= arg2
;
20636 Py_INCREF(Py_None
); resultobj
= Py_None
;
20643 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20644 PyObject
*resultobj
;
20645 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20647 PyObject
* obj0
= 0 ;
20648 char *kwnames
[] = {
20649 (char *) "self", NULL
20652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
20653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20655 result
= (int) ((arg1
)->m_col
);
20657 resultobj
= SWIG_FromInt((int)result
);
20664 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20665 PyObject
*resultobj
;
20666 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20667 wxPoint
*arg2
= (wxPoint
*) 0 ;
20668 PyObject
* obj0
= 0 ;
20669 PyObject
* obj1
= 0 ;
20670 char *kwnames
[] = {
20671 (char *) "self",(char *) "m_pointDrag", NULL
20674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20677 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
20678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20679 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
20681 Py_INCREF(Py_None
); resultobj
= Py_None
;
20688 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20689 PyObject
*resultobj
;
20690 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20692 PyObject
* obj0
= 0 ;
20693 char *kwnames
[] = {
20694 (char *) "self", NULL
20697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
20698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20700 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
20702 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
20709 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20710 PyObject
*resultobj
;
20711 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20712 wxListItem
*result
;
20713 PyObject
* obj0
= 0 ;
20714 char *kwnames
[] = {
20715 (char *) "self", NULL
20718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
20719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20721 result
= (wxListItem
*)& ((arg1
)->m_item
);
20724 resultobj
= wxPyMake_wxObject(result
);
20732 static PyObject
*_wrap_ListEvent_GetKeyCode(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_GetKeyCode",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
)->GetKeyCode();
20748 wxPyEndAllowThreads(__tstate
);
20749 if (PyErr_Occurred()) SWIG_fail
;
20751 resultobj
= SWIG_FromInt((int)result
);
20758 static PyObject
*_wrap_ListEvent_GetIndex(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_GetIndex",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
= (long)(arg1
)->GetIndex();
20774 wxPyEndAllowThreads(__tstate
);
20775 if (PyErr_Occurred()) SWIG_fail
;
20777 resultobj
= SWIG_FromLong((long)result
);
20784 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20785 PyObject
*resultobj
;
20786 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20788 PyObject
* obj0
= 0 ;
20789 char *kwnames
[] = {
20790 (char *) "self", NULL
20793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
20794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20798 result
= (int)(arg1
)->GetColumn();
20800 wxPyEndAllowThreads(__tstate
);
20801 if (PyErr_Occurred()) SWIG_fail
;
20803 resultobj
= SWIG_FromInt((int)result
);
20810 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20811 PyObject
*resultobj
;
20812 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20814 PyObject
* obj0
= 0 ;
20815 char *kwnames
[] = {
20816 (char *) "self", NULL
20819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
20820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20824 result
= (arg1
)->GetPoint();
20826 wxPyEndAllowThreads(__tstate
);
20827 if (PyErr_Occurred()) SWIG_fail
;
20830 wxPoint
* resultptr
;
20831 resultptr
= new wxPoint((wxPoint
&) result
);
20832 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20840 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20841 PyObject
*resultobj
;
20842 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20844 PyObject
* obj0
= 0 ;
20845 char *kwnames
[] = {
20846 (char *) "self", NULL
20849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
20850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20855 wxString
const &_result_ref
= (arg1
)->GetLabel();
20856 result
= (wxString
*) &_result_ref
;
20859 wxPyEndAllowThreads(__tstate
);
20860 if (PyErr_Occurred()) SWIG_fail
;
20864 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20866 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20875 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20876 PyObject
*resultobj
;
20877 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20879 PyObject
* obj0
= 0 ;
20880 char *kwnames
[] = {
20881 (char *) "self", NULL
20884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
20885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20890 wxString
const &_result_ref
= (arg1
)->GetText();
20891 result
= (wxString
*) &_result_ref
;
20894 wxPyEndAllowThreads(__tstate
);
20895 if (PyErr_Occurred()) SWIG_fail
;
20899 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20901 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20910 static PyObject
*_wrap_ListEvent_GetImage(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_GetImage",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
= (int)(arg1
)->GetImage();
20926 wxPyEndAllowThreads(__tstate
);
20927 if (PyErr_Occurred()) SWIG_fail
;
20929 resultobj
= SWIG_FromInt((int)result
);
20936 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20937 PyObject
*resultobj
;
20938 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20940 PyObject
* obj0
= 0 ;
20941 char *kwnames
[] = {
20942 (char *) "self", NULL
20945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",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();
20950 result
= (long)(arg1
)->GetData();
20952 wxPyEndAllowThreads(__tstate
);
20953 if (PyErr_Occurred()) SWIG_fail
;
20955 resultobj
= SWIG_FromLong((long)result
);
20962 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20963 PyObject
*resultobj
;
20964 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20966 PyObject
* obj0
= 0 ;
20967 char *kwnames
[] = {
20968 (char *) "self", NULL
20971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
20972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20976 result
= (long)(arg1
)->GetMask();
20978 wxPyEndAllowThreads(__tstate
);
20979 if (PyErr_Occurred()) SWIG_fail
;
20981 resultobj
= SWIG_FromLong((long)result
);
20988 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20989 PyObject
*resultobj
;
20990 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20991 wxListItem
*result
;
20992 PyObject
* obj0
= 0 ;
20993 char *kwnames
[] = {
20994 (char *) "self", NULL
20997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
20998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21003 wxListItem
const &_result_ref
= (arg1
)->GetItem();
21004 result
= (wxListItem
*) &_result_ref
;
21007 wxPyEndAllowThreads(__tstate
);
21008 if (PyErr_Occurred()) SWIG_fail
;
21010 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
21017 static PyObject
*_wrap_ListEvent_GetCacheFrom(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_GetCacheFrom",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
= (long)(arg1
)->GetCacheFrom();
21033 wxPyEndAllowThreads(__tstate
);
21034 if (PyErr_Occurred()) SWIG_fail
;
21036 resultobj
= SWIG_FromLong((long)result
);
21043 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21044 PyObject
*resultobj
;
21045 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21047 PyObject
* obj0
= 0 ;
21048 char *kwnames
[] = {
21049 (char *) "self", NULL
21052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
21053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21057 result
= (long)(arg1
)->GetCacheTo();
21059 wxPyEndAllowThreads(__tstate
);
21060 if (PyErr_Occurred()) SWIG_fail
;
21062 resultobj
= SWIG_FromLong((long)result
);
21069 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21070 PyObject
*resultobj
;
21071 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21073 PyObject
* obj0
= 0 ;
21074 char *kwnames
[] = {
21075 (char *) "self", NULL
21078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
21079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21083 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
21085 wxPyEndAllowThreads(__tstate
);
21086 if (PyErr_Occurred()) SWIG_fail
;
21089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21097 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21098 PyObject
*resultobj
;
21099 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21101 PyObject
* obj0
= 0 ;
21102 PyObject
* obj1
= 0 ;
21103 char *kwnames
[] = {
21104 (char *) "self",(char *) "editCancelled", NULL
21107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
21108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21110 arg2
= (bool) SWIG_AsBool(obj1
);
21111 if (PyErr_Occurred()) SWIG_fail
;
21113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21114 (arg1
)->SetEditCanceled(arg2
);
21116 wxPyEndAllowThreads(__tstate
);
21117 if (PyErr_Occurred()) SWIG_fail
;
21119 Py_INCREF(Py_None
); resultobj
= Py_None
;
21126 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
21128 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21129 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
21131 return Py_BuildValue((char *)"");
21133 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21134 PyObject
*resultobj
;
21135 wxWindow
*arg1
= (wxWindow
*) 0 ;
21136 int arg2
= (int) -1 ;
21137 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21138 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21139 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21140 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21141 long arg5
= (long) wxLC_ICON
;
21142 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
21143 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
21144 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
21145 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21146 wxPyListCtrl
*result
;
21149 bool temp7
= False
;
21150 PyObject
* obj0
= 0 ;
21151 PyObject
* obj1
= 0 ;
21152 PyObject
* obj2
= 0 ;
21153 PyObject
* obj3
= 0 ;
21154 PyObject
* obj4
= 0 ;
21155 PyObject
* obj5
= 0 ;
21156 PyObject
* obj6
= 0 ;
21157 char *kwnames
[] = {
21158 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21165 arg2
= (int) SWIG_AsInt(obj1
);
21166 if (PyErr_Occurred()) SWIG_fail
;
21171 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21177 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21181 arg5
= (long) SWIG_AsLong(obj4
);
21182 if (PyErr_Occurred()) SWIG_fail
;
21185 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
21186 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21188 if (arg6
== NULL
) {
21189 PyErr_SetString(PyExc_TypeError
,"null reference");
21195 arg7
= wxString_in_helper(obj6
);
21196 if (arg7
== NULL
) SWIG_fail
;
21201 if (!wxPyCheckForApp()) SWIG_fail
;
21202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21203 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
21205 wxPyEndAllowThreads(__tstate
);
21206 if (PyErr_Occurred()) SWIG_fail
;
21208 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21223 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21224 PyObject
*resultobj
;
21225 wxPyListCtrl
*result
;
21226 char *kwnames
[] = {
21230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
21232 if (!wxPyCheckForApp()) SWIG_fail
;
21233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21234 result
= (wxPyListCtrl
*)new wxPyListCtrl();
21236 wxPyEndAllowThreads(__tstate
);
21237 if (PyErr_Occurred()) SWIG_fail
;
21239 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21246 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21247 PyObject
*resultobj
;
21248 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21249 wxWindow
*arg2
= (wxWindow
*) 0 ;
21250 int arg3
= (int) -1 ;
21251 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21252 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21253 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21254 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21255 long arg6
= (long) wxLC_ICON
;
21256 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
21257 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
21258 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
21259 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21263 bool temp8
= False
;
21264 PyObject
* obj0
= 0 ;
21265 PyObject
* obj1
= 0 ;
21266 PyObject
* obj2
= 0 ;
21267 PyObject
* obj3
= 0 ;
21268 PyObject
* obj4
= 0 ;
21269 PyObject
* obj5
= 0 ;
21270 PyObject
* obj6
= 0 ;
21271 PyObject
* obj7
= 0 ;
21272 char *kwnames
[] = {
21273 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
21277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21279 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21282 arg3
= (int) SWIG_AsInt(obj2
);
21283 if (PyErr_Occurred()) SWIG_fail
;
21288 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21294 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21298 arg6
= (long) SWIG_AsLong(obj5
);
21299 if (PyErr_Occurred()) SWIG_fail
;
21302 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
21303 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21305 if (arg7
== NULL
) {
21306 PyErr_SetString(PyExc_TypeError
,"null reference");
21312 arg8
= wxString_in_helper(obj7
);
21313 if (arg8
== NULL
) SWIG_fail
;
21318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21319 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
21321 wxPyEndAllowThreads(__tstate
);
21322 if (PyErr_Occurred()) SWIG_fail
;
21325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21341 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21342 PyObject
*resultobj
;
21343 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21344 PyObject
*arg2
= (PyObject
*) 0 ;
21345 PyObject
*arg3
= (PyObject
*) 0 ;
21346 PyObject
* obj0
= 0 ;
21347 PyObject
* obj1
= 0 ;
21348 PyObject
* obj2
= 0 ;
21349 char *kwnames
[] = {
21350 (char *) "self",(char *) "self",(char *) "_class", NULL
21353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21360 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21362 wxPyEndAllowThreads(__tstate
);
21363 if (PyErr_Occurred()) SWIG_fail
;
21365 Py_INCREF(Py_None
); resultobj
= Py_None
;
21372 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21373 PyObject
*resultobj
;
21374 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21375 wxColour
*arg2
= 0 ;
21378 PyObject
* obj0
= 0 ;
21379 PyObject
* obj1
= 0 ;
21380 char *kwnames
[] = {
21381 (char *) "self",(char *) "col", NULL
21384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21389 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21393 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
21395 wxPyEndAllowThreads(__tstate
);
21396 if (PyErr_Occurred()) SWIG_fail
;
21399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21407 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21408 PyObject
*resultobj
;
21409 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21410 wxColour
*arg2
= 0 ;
21413 PyObject
* obj0
= 0 ;
21414 PyObject
* obj1
= 0 ;
21415 char *kwnames
[] = {
21416 (char *) "self",(char *) "col", NULL
21419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21424 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21428 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21430 wxPyEndAllowThreads(__tstate
);
21431 if (PyErr_Occurred()) SWIG_fail
;
21434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21442 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21443 PyObject
*resultobj
;
21444 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21446 wxListItem
*result
;
21447 PyObject
* obj0
= 0 ;
21448 PyObject
* obj1
= 0 ;
21449 char *kwnames
[] = {
21450 (char *) "self",(char *) "col", NULL
21453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21456 arg2
= (int) SWIG_AsInt(obj1
);
21457 if (PyErr_Occurred()) SWIG_fail
;
21459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21460 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
21462 wxPyEndAllowThreads(__tstate
);
21463 if (PyErr_Occurred()) SWIG_fail
;
21466 resultobj
= wxPyMake_wxObject(result
);
21474 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21475 PyObject
*resultobj
;
21476 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21478 wxListItem
*arg3
= 0 ;
21480 PyObject
* obj0
= 0 ;
21481 PyObject
* obj1
= 0 ;
21482 PyObject
* obj2
= 0 ;
21483 char *kwnames
[] = {
21484 (char *) "self",(char *) "col",(char *) "item", NULL
21487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21490 arg2
= (int) SWIG_AsInt(obj1
);
21491 if (PyErr_Occurred()) SWIG_fail
;
21492 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
21493 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21495 if (arg3
== NULL
) {
21496 PyErr_SetString(PyExc_TypeError
,"null reference");
21500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21501 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
21503 wxPyEndAllowThreads(__tstate
);
21504 if (PyErr_Occurred()) SWIG_fail
;
21507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21515 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21516 PyObject
*resultobj
;
21517 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21520 PyObject
* obj0
= 0 ;
21521 PyObject
* obj1
= 0 ;
21522 char *kwnames
[] = {
21523 (char *) "self",(char *) "col", NULL
21526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
21527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21529 arg2
= (int) SWIG_AsInt(obj1
);
21530 if (PyErr_Occurred()) SWIG_fail
;
21532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21533 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
21535 wxPyEndAllowThreads(__tstate
);
21536 if (PyErr_Occurred()) SWIG_fail
;
21538 resultobj
= SWIG_FromInt((int)result
);
21545 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21546 PyObject
*resultobj
;
21547 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21551 PyObject
* obj0
= 0 ;
21552 PyObject
* obj1
= 0 ;
21553 PyObject
* obj2
= 0 ;
21554 char *kwnames
[] = {
21555 (char *) "self",(char *) "col",(char *) "width", NULL
21558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21561 arg2
= (int) SWIG_AsInt(obj1
);
21562 if (PyErr_Occurred()) SWIG_fail
;
21563 arg3
= (int) SWIG_AsInt(obj2
);
21564 if (PyErr_Occurred()) SWIG_fail
;
21566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21567 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
21569 wxPyEndAllowThreads(__tstate
);
21570 if (PyErr_Occurred()) SWIG_fail
;
21573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21581 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21582 PyObject
*resultobj
;
21583 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21585 PyObject
* obj0
= 0 ;
21586 char *kwnames
[] = {
21587 (char *) "self", NULL
21590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
21591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21595 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
21597 wxPyEndAllowThreads(__tstate
);
21598 if (PyErr_Occurred()) SWIG_fail
;
21600 resultobj
= SWIG_FromInt((int)result
);
21607 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21608 PyObject
*resultobj
;
21609 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21611 PyObject
* obj0
= 0 ;
21612 char *kwnames
[] = {
21613 (char *) "self", NULL
21616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
21617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21621 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
21623 wxPyEndAllowThreads(__tstate
);
21624 if (PyErr_Occurred()) SWIG_fail
;
21627 wxRect
* resultptr
;
21628 resultptr
= new wxRect((wxRect
&) result
);
21629 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
21637 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21638 PyObject
*resultobj
;
21639 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21641 int arg3
= (int) 0 ;
21642 wxListItem
*result
;
21643 PyObject
* obj0
= 0 ;
21644 PyObject
* obj1
= 0 ;
21645 PyObject
* obj2
= 0 ;
21646 char *kwnames
[] = {
21647 (char *) "self",(char *) "itemId",(char *) "col", NULL
21650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21653 arg2
= (long) SWIG_AsLong(obj1
);
21654 if (PyErr_Occurred()) SWIG_fail
;
21656 arg3
= (int) SWIG_AsInt(obj2
);
21657 if (PyErr_Occurred()) SWIG_fail
;
21660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21661 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
21663 wxPyEndAllowThreads(__tstate
);
21664 if (PyErr_Occurred()) SWIG_fail
;
21667 resultobj
= wxPyMake_wxObject(result
);
21675 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21676 PyObject
*resultobj
;
21677 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21678 wxListItem
*arg2
= 0 ;
21680 PyObject
* obj0
= 0 ;
21681 PyObject
* obj1
= 0 ;
21682 char *kwnames
[] = {
21683 (char *) "self",(char *) "info", NULL
21686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21689 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
21690 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21692 if (arg2
== NULL
) {
21693 PyErr_SetString(PyExc_TypeError
,"null reference");
21697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21698 result
= (bool)(arg1
)->SetItem(*arg2
);
21700 wxPyEndAllowThreads(__tstate
);
21701 if (PyErr_Occurred()) SWIG_fail
;
21704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21712 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21713 PyObject
*resultobj
;
21714 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21717 wxString
*arg4
= 0 ;
21718 int arg5
= (int) -1 ;
21720 bool temp4
= False
;
21721 PyObject
* obj0
= 0 ;
21722 PyObject
* obj1
= 0 ;
21723 PyObject
* obj2
= 0 ;
21724 PyObject
* obj3
= 0 ;
21725 PyObject
* obj4
= 0 ;
21726 char *kwnames
[] = {
21727 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
21730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21733 arg2
= (long) SWIG_AsLong(obj1
);
21734 if (PyErr_Occurred()) SWIG_fail
;
21735 arg3
= (int) SWIG_AsInt(obj2
);
21736 if (PyErr_Occurred()) SWIG_fail
;
21738 arg4
= wxString_in_helper(obj3
);
21739 if (arg4
== NULL
) SWIG_fail
;
21743 arg5
= (int) SWIG_AsInt(obj4
);
21744 if (PyErr_Occurred()) SWIG_fail
;
21747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21748 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
21750 wxPyEndAllowThreads(__tstate
);
21751 if (PyErr_Occurred()) SWIG_fail
;
21753 resultobj
= SWIG_FromLong((long)result
);
21768 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21769 PyObject
*resultobj
;
21770 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21774 PyObject
* obj0
= 0 ;
21775 PyObject
* obj1
= 0 ;
21776 PyObject
* obj2
= 0 ;
21777 char *kwnames
[] = {
21778 (char *) "self",(char *) "item",(char *) "stateMask", NULL
21781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21784 arg2
= (long) SWIG_AsLong(obj1
);
21785 if (PyErr_Occurred()) SWIG_fail
;
21786 arg3
= (long) SWIG_AsLong(obj2
);
21787 if (PyErr_Occurred()) SWIG_fail
;
21789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21790 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
21792 wxPyEndAllowThreads(__tstate
);
21793 if (PyErr_Occurred()) SWIG_fail
;
21795 resultobj
= SWIG_FromInt((int)result
);
21802 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21803 PyObject
*resultobj
;
21804 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21809 PyObject
* obj0
= 0 ;
21810 PyObject
* obj1
= 0 ;
21811 PyObject
* obj2
= 0 ;
21812 PyObject
* obj3
= 0 ;
21813 char *kwnames
[] = {
21814 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
21817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21820 arg2
= (long) SWIG_AsLong(obj1
);
21821 if (PyErr_Occurred()) SWIG_fail
;
21822 arg3
= (long) SWIG_AsLong(obj2
);
21823 if (PyErr_Occurred()) SWIG_fail
;
21824 arg4
= (long) SWIG_AsLong(obj3
);
21825 if (PyErr_Occurred()) SWIG_fail
;
21827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21828 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
21830 wxPyEndAllowThreads(__tstate
);
21831 if (PyErr_Occurred()) SWIG_fail
;
21834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21842 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21843 PyObject
*resultobj
;
21844 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21849 PyObject
* obj0
= 0 ;
21850 PyObject
* obj1
= 0 ;
21851 PyObject
* obj2
= 0 ;
21852 PyObject
* obj3
= 0 ;
21853 char *kwnames
[] = {
21854 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
21857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21860 arg2
= (long) SWIG_AsLong(obj1
);
21861 if (PyErr_Occurred()) SWIG_fail
;
21862 arg3
= (int) SWIG_AsInt(obj2
);
21863 if (PyErr_Occurred()) SWIG_fail
;
21864 arg4
= (int) SWIG_AsInt(obj3
);
21865 if (PyErr_Occurred()) SWIG_fail
;
21867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21868 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
21870 wxPyEndAllowThreads(__tstate
);
21871 if (PyErr_Occurred()) SWIG_fail
;
21874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21882 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21883 PyObject
*resultobj
;
21884 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21887 PyObject
* obj0
= 0 ;
21888 PyObject
* obj1
= 0 ;
21889 char *kwnames
[] = {
21890 (char *) "self",(char *) "item", NULL
21893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
21894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21896 arg2
= (long) SWIG_AsLong(obj1
);
21897 if (PyErr_Occurred()) SWIG_fail
;
21899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21900 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
21902 wxPyEndAllowThreads(__tstate
);
21903 if (PyErr_Occurred()) SWIG_fail
;
21907 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21909 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21918 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21919 PyObject
*resultobj
;
21920 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21922 wxString
*arg3
= 0 ;
21923 bool temp3
= False
;
21924 PyObject
* obj0
= 0 ;
21925 PyObject
* obj1
= 0 ;
21926 PyObject
* obj2
= 0 ;
21927 char *kwnames
[] = {
21928 (char *) "self",(char *) "item",(char *) "str", NULL
21931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21934 arg2
= (long) SWIG_AsLong(obj1
);
21935 if (PyErr_Occurred()) SWIG_fail
;
21937 arg3
= wxString_in_helper(obj2
);
21938 if (arg3
== NULL
) SWIG_fail
;
21942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21943 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
21945 wxPyEndAllowThreads(__tstate
);
21946 if (PyErr_Occurred()) SWIG_fail
;
21948 Py_INCREF(Py_None
); resultobj
= Py_None
;
21963 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21964 PyObject
*resultobj
;
21965 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21968 PyObject
* obj0
= 0 ;
21969 PyObject
* obj1
= 0 ;
21970 char *kwnames
[] = {
21971 (char *) "self",(char *) "item", NULL
21974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
21975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21977 arg2
= (long) SWIG_AsLong(obj1
);
21978 if (PyErr_Occurred()) SWIG_fail
;
21980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21981 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
21983 wxPyEndAllowThreads(__tstate
);
21984 if (PyErr_Occurred()) SWIG_fail
;
21986 resultobj
= SWIG_FromLong((long)result
);
21993 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21994 PyObject
*resultobj
;
21995 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21999 PyObject
* obj0
= 0 ;
22000 PyObject
* obj1
= 0 ;
22001 PyObject
* obj2
= 0 ;
22002 char *kwnames
[] = {
22003 (char *) "self",(char *) "item",(char *) "data", NULL
22006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22009 arg2
= (long) SWIG_AsLong(obj1
);
22010 if (PyErr_Occurred()) SWIG_fail
;
22011 arg3
= (long) SWIG_AsLong(obj2
);
22012 if (PyErr_Occurred()) SWIG_fail
;
22014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22015 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
22017 wxPyEndAllowThreads(__tstate
);
22018 if (PyErr_Occurred()) SWIG_fail
;
22021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22029 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22030 PyObject
*resultobj
;
22031 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22034 PyObject
* obj0
= 0 ;
22035 PyObject
* obj1
= 0 ;
22036 char *kwnames
[] = {
22037 (char *) "self",(char *) "item", NULL
22040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
22041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22043 arg2
= (long) SWIG_AsLong(obj1
);
22044 if (PyErr_Occurred()) SWIG_fail
;
22046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22047 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
22049 wxPyEndAllowThreads(__tstate
);
22050 if (PyErr_Occurred()) SWIG_fail
;
22053 wxPoint
* resultptr
;
22054 resultptr
= new wxPoint((wxPoint
&) result
);
22055 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22063 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22064 PyObject
*resultobj
;
22065 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22067 int arg3
= (int) wxLIST_RECT_BOUNDS
;
22069 PyObject
* obj0
= 0 ;
22070 PyObject
* obj1
= 0 ;
22071 PyObject
* obj2
= 0 ;
22072 char *kwnames
[] = {
22073 (char *) "self",(char *) "item",(char *) "code", NULL
22076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22079 arg2
= (long) SWIG_AsLong(obj1
);
22080 if (PyErr_Occurred()) SWIG_fail
;
22082 arg3
= (int) SWIG_AsInt(obj2
);
22083 if (PyErr_Occurred()) SWIG_fail
;
22086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22087 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
22089 wxPyEndAllowThreads(__tstate
);
22090 if (PyErr_Occurred()) SWIG_fail
;
22093 wxRect
* resultptr
;
22094 resultptr
= new wxRect((wxRect
&) result
);
22095 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22103 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22104 PyObject
*resultobj
;
22105 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22107 wxPoint
*arg3
= 0 ;
22110 PyObject
* obj0
= 0 ;
22111 PyObject
* obj1
= 0 ;
22112 PyObject
* obj2
= 0 ;
22113 char *kwnames
[] = {
22114 (char *) "self",(char *) "item",(char *) "pos", NULL
22117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22120 arg2
= (long) SWIG_AsLong(obj1
);
22121 if (PyErr_Occurred()) SWIG_fail
;
22124 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22128 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
22130 wxPyEndAllowThreads(__tstate
);
22131 if (PyErr_Occurred()) SWIG_fail
;
22134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22142 static PyObject
*_wrap_ListCtrl_GetItemCount(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_GetItemCount",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
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
22158 wxPyEndAllowThreads(__tstate
);
22159 if (PyErr_Occurred()) SWIG_fail
;
22161 resultobj
= SWIG_FromInt((int)result
);
22168 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22169 PyObject
*resultobj
;
22170 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22172 PyObject
* obj0
= 0 ;
22173 char *kwnames
[] = {
22174 (char *) "self", NULL
22177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
22178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22182 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
22184 wxPyEndAllowThreads(__tstate
);
22185 if (PyErr_Occurred()) SWIG_fail
;
22187 resultobj
= SWIG_FromInt((int)result
);
22194 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22195 PyObject
*resultobj
;
22196 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22198 PyObject
* obj0
= 0 ;
22199 char *kwnames
[] = {
22200 (char *) "self", NULL
22203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
22204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22208 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
22210 wxPyEndAllowThreads(__tstate
);
22211 if (PyErr_Occurred()) SWIG_fail
;
22214 wxSize
* resultptr
;
22215 resultptr
= new wxSize((wxSize
&) result
);
22216 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22224 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22225 PyObject
*resultobj
;
22226 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22228 bool arg3
= (bool) False
;
22229 PyObject
* obj0
= 0 ;
22230 PyObject
* obj1
= 0 ;
22231 PyObject
* obj2
= 0 ;
22232 char *kwnames
[] = {
22233 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
22236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22239 arg2
= (int) SWIG_AsInt(obj1
);
22240 if (PyErr_Occurred()) SWIG_fail
;
22242 arg3
= (bool) SWIG_AsBool(obj2
);
22243 if (PyErr_Occurred()) SWIG_fail
;
22246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22247 (arg1
)->SetItemSpacing(arg2
,arg3
);
22249 wxPyEndAllowThreads(__tstate
);
22250 if (PyErr_Occurred()) SWIG_fail
;
22252 Py_INCREF(Py_None
); resultobj
= Py_None
;
22259 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22260 PyObject
*resultobj
;
22261 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22263 PyObject
* obj0
= 0 ;
22264 char *kwnames
[] = {
22265 (char *) "self", NULL
22268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
22269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22273 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
22275 wxPyEndAllowThreads(__tstate
);
22276 if (PyErr_Occurred()) SWIG_fail
;
22278 resultobj
= SWIG_FromInt((int)result
);
22285 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22286 PyObject
*resultobj
;
22287 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22289 PyObject
* obj0
= 0 ;
22290 char *kwnames
[] = {
22291 (char *) "self", NULL
22294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
22295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22299 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
22301 wxPyEndAllowThreads(__tstate
);
22302 if (PyErr_Occurred()) SWIG_fail
;
22305 wxColour
* resultptr
;
22306 resultptr
= new wxColour((wxColour
&) result
);
22307 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22315 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22316 PyObject
*resultobj
;
22317 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22318 wxColour
*arg2
= 0 ;
22320 PyObject
* obj0
= 0 ;
22321 PyObject
* obj1
= 0 ;
22322 char *kwnames
[] = {
22323 (char *) "self",(char *) "col", NULL
22326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22331 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22335 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22337 wxPyEndAllowThreads(__tstate
);
22338 if (PyErr_Occurred()) SWIG_fail
;
22340 Py_INCREF(Py_None
); resultobj
= Py_None
;
22347 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22348 PyObject
*resultobj
;
22349 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22351 PyObject
* obj0
= 0 ;
22352 char *kwnames
[] = {
22353 (char *) "self", NULL
22356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
22357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22361 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
22363 wxPyEndAllowThreads(__tstate
);
22364 if (PyErr_Occurred()) SWIG_fail
;
22366 resultobj
= SWIG_FromLong((long)result
);
22373 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22374 PyObject
*resultobj
;
22375 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22377 bool arg3
= (bool) True
;
22378 PyObject
* obj0
= 0 ;
22379 PyObject
* obj1
= 0 ;
22380 PyObject
* obj2
= 0 ;
22381 char *kwnames
[] = {
22382 (char *) "self",(char *) "style",(char *) "add", NULL
22385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22388 arg2
= (long) SWIG_AsLong(obj1
);
22389 if (PyErr_Occurred()) SWIG_fail
;
22391 arg3
= (bool) SWIG_AsBool(obj2
);
22392 if (PyErr_Occurred()) SWIG_fail
;
22395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22396 (arg1
)->SetSingleStyle(arg2
,arg3
);
22398 wxPyEndAllowThreads(__tstate
);
22399 if (PyErr_Occurred()) SWIG_fail
;
22401 Py_INCREF(Py_None
); resultobj
= Py_None
;
22408 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22409 PyObject
*resultobj
;
22410 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22412 PyObject
* obj0
= 0 ;
22413 PyObject
* obj1
= 0 ;
22414 char *kwnames
[] = {
22415 (char *) "self",(char *) "style", NULL
22418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
22419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22421 arg2
= (long) SWIG_AsLong(obj1
);
22422 if (PyErr_Occurred()) SWIG_fail
;
22424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22425 (arg1
)->SetWindowStyleFlag(arg2
);
22427 wxPyEndAllowThreads(__tstate
);
22428 if (PyErr_Occurred()) SWIG_fail
;
22430 Py_INCREF(Py_None
); resultobj
= Py_None
;
22437 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22438 PyObject
*resultobj
;
22439 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22441 int arg3
= (int) wxLIST_NEXT_ALL
;
22442 int arg4
= (int) wxLIST_STATE_DONTCARE
;
22444 PyObject
* obj0
= 0 ;
22445 PyObject
* obj1
= 0 ;
22446 PyObject
* obj2
= 0 ;
22447 PyObject
* obj3
= 0 ;
22448 char *kwnames
[] = {
22449 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
22452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22455 arg2
= (long) SWIG_AsLong(obj1
);
22456 if (PyErr_Occurred()) SWIG_fail
;
22458 arg3
= (int) SWIG_AsInt(obj2
);
22459 if (PyErr_Occurred()) SWIG_fail
;
22462 arg4
= (int) SWIG_AsInt(obj3
);
22463 if (PyErr_Occurred()) SWIG_fail
;
22466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22467 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
22469 wxPyEndAllowThreads(__tstate
);
22470 if (PyErr_Occurred()) SWIG_fail
;
22472 resultobj
= SWIG_FromLong((long)result
);
22479 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22480 PyObject
*resultobj
;
22481 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22483 wxImageList
*result
;
22484 PyObject
* obj0
= 0 ;
22485 PyObject
* obj1
= 0 ;
22486 char *kwnames
[] = {
22487 (char *) "self",(char *) "which", NULL
22490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
22491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22493 arg2
= (int) SWIG_AsInt(obj1
);
22494 if (PyErr_Occurred()) SWIG_fail
;
22496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22497 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
22499 wxPyEndAllowThreads(__tstate
);
22500 if (PyErr_Occurred()) SWIG_fail
;
22503 resultobj
= wxPyMake_wxObject(result
);
22511 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22512 PyObject
*resultobj
;
22513 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22514 wxImageList
*arg2
= (wxImageList
*) 0 ;
22516 PyObject
* obj0
= 0 ;
22517 PyObject
* obj1
= 0 ;
22518 PyObject
* obj2
= 0 ;
22519 char *kwnames
[] = {
22520 (char *) "self",(char *) "imageList",(char *) "which", NULL
22523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22526 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22528 arg3
= (int) SWIG_AsInt(obj2
);
22529 if (PyErr_Occurred()) SWIG_fail
;
22531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22532 (arg1
)->SetImageList(arg2
,arg3
);
22534 wxPyEndAllowThreads(__tstate
);
22535 if (PyErr_Occurred()) SWIG_fail
;
22537 Py_INCREF(Py_None
); resultobj
= Py_None
;
22544 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22545 PyObject
*resultobj
;
22546 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22547 wxImageList
*arg2
= (wxImageList
*) 0 ;
22549 PyObject
* obj0
= 0 ;
22550 PyObject
* obj1
= 0 ;
22551 PyObject
* obj2
= 0 ;
22552 char *kwnames
[] = {
22553 (char *) "self",(char *) "imageList",(char *) "which", NULL
22556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22559 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22560 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22561 arg3
= (int) SWIG_AsInt(obj2
);
22562 if (PyErr_Occurred()) SWIG_fail
;
22564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22565 (arg1
)->AssignImageList(arg2
,arg3
);
22567 wxPyEndAllowThreads(__tstate
);
22568 if (PyErr_Occurred()) SWIG_fail
;
22570 Py_INCREF(Py_None
); resultobj
= Py_None
;
22577 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22578 PyObject
*resultobj
;
22579 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22581 PyObject
* obj0
= 0 ;
22582 char *kwnames
[] = {
22583 (char *) "self", NULL
22586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
22587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22591 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
22593 wxPyEndAllowThreads(__tstate
);
22594 if (PyErr_Occurred()) SWIG_fail
;
22597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22605 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22606 PyObject
*resultobj
;
22607 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22609 PyObject
* obj0
= 0 ;
22610 char *kwnames
[] = {
22611 (char *) "self", NULL
22614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
22615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22619 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
22621 wxPyEndAllowThreads(__tstate
);
22622 if (PyErr_Occurred()) SWIG_fail
;
22625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22633 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22634 PyObject
*resultobj
;
22635 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22637 PyObject
* obj0
= 0 ;
22638 PyObject
* obj1
= 0 ;
22639 char *kwnames
[] = {
22640 (char *) "self",(char *) "item", NULL
22643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22646 arg2
= (long) SWIG_AsLong(obj1
);
22647 if (PyErr_Occurred()) SWIG_fail
;
22649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22650 (arg1
)->RefreshItem(arg2
);
22652 wxPyEndAllowThreads(__tstate
);
22653 if (PyErr_Occurred()) SWIG_fail
;
22655 Py_INCREF(Py_None
); resultobj
= Py_None
;
22662 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22663 PyObject
*resultobj
;
22664 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22667 PyObject
* obj0
= 0 ;
22668 PyObject
* obj1
= 0 ;
22669 PyObject
* obj2
= 0 ;
22670 char *kwnames
[] = {
22671 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
22674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22677 arg2
= (long) SWIG_AsLong(obj1
);
22678 if (PyErr_Occurred()) SWIG_fail
;
22679 arg3
= (long) SWIG_AsLong(obj2
);
22680 if (PyErr_Occurred()) SWIG_fail
;
22682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22683 (arg1
)->RefreshItems(arg2
,arg3
);
22685 wxPyEndAllowThreads(__tstate
);
22686 if (PyErr_Occurred()) SWIG_fail
;
22688 Py_INCREF(Py_None
); resultobj
= Py_None
;
22695 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22696 PyObject
*resultobj
;
22697 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22698 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
22700 PyObject
* obj0
= 0 ;
22701 PyObject
* obj1
= 0 ;
22702 char *kwnames
[] = {
22703 (char *) "self",(char *) "flag", NULL
22706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
22707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22710 arg2
= (int) SWIG_AsInt(obj1
);
22711 if (PyErr_Occurred()) SWIG_fail
;
22714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22715 result
= (bool)(arg1
)->Arrange(arg2
);
22717 wxPyEndAllowThreads(__tstate
);
22718 if (PyErr_Occurred()) SWIG_fail
;
22721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22729 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22730 PyObject
*resultobj
;
22731 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22734 PyObject
* obj0
= 0 ;
22735 PyObject
* obj1
= 0 ;
22736 char *kwnames
[] = {
22737 (char *) "self",(char *) "item", NULL
22740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22743 arg2
= (long) SWIG_AsLong(obj1
);
22744 if (PyErr_Occurred()) SWIG_fail
;
22746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22747 result
= (bool)(arg1
)->DeleteItem(arg2
);
22749 wxPyEndAllowThreads(__tstate
);
22750 if (PyErr_Occurred()) SWIG_fail
;
22753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22761 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22762 PyObject
*resultobj
;
22763 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22765 PyObject
* obj0
= 0 ;
22766 char *kwnames
[] = {
22767 (char *) "self", NULL
22770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
22771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22775 result
= (bool)(arg1
)->DeleteAllItems();
22777 wxPyEndAllowThreads(__tstate
);
22778 if (PyErr_Occurred()) SWIG_fail
;
22781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22789 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22790 PyObject
*resultobj
;
22791 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22794 PyObject
* obj0
= 0 ;
22795 PyObject
* obj1
= 0 ;
22796 char *kwnames
[] = {
22797 (char *) "self",(char *) "col", NULL
22800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
22801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22803 arg2
= (int) SWIG_AsInt(obj1
);
22804 if (PyErr_Occurred()) SWIG_fail
;
22806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22807 result
= (bool)(arg1
)->DeleteColumn(arg2
);
22809 wxPyEndAllowThreads(__tstate
);
22810 if (PyErr_Occurred()) SWIG_fail
;
22813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22821 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22822 PyObject
*resultobj
;
22823 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22825 PyObject
* obj0
= 0 ;
22826 char *kwnames
[] = {
22827 (char *) "self", NULL
22830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
22831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22835 result
= (bool)(arg1
)->DeleteAllColumns();
22837 wxPyEndAllowThreads(__tstate
);
22838 if (PyErr_Occurred()) SWIG_fail
;
22841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22849 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22850 PyObject
*resultobj
;
22851 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22852 PyObject
* obj0
= 0 ;
22853 char *kwnames
[] = {
22854 (char *) "self", NULL
22857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
22858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22862 (arg1
)->ClearAll();
22864 wxPyEndAllowThreads(__tstate
);
22865 if (PyErr_Occurred()) SWIG_fail
;
22867 Py_INCREF(Py_None
); resultobj
= Py_None
;
22874 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22875 PyObject
*resultobj
;
22876 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22878 PyObject
* obj0
= 0 ;
22879 PyObject
* obj1
= 0 ;
22880 char *kwnames
[] = {
22881 (char *) "self",(char *) "item", NULL
22884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22887 arg2
= (long) SWIG_AsLong(obj1
);
22888 if (PyErr_Occurred()) SWIG_fail
;
22890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22891 (arg1
)->EditLabel(arg2
);
22893 wxPyEndAllowThreads(__tstate
);
22894 if (PyErr_Occurred()) SWIG_fail
;
22896 Py_INCREF(Py_None
); resultobj
= Py_None
;
22903 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22904 PyObject
*resultobj
;
22905 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22908 PyObject
* obj0
= 0 ;
22909 PyObject
* obj1
= 0 ;
22910 char *kwnames
[] = {
22911 (char *) "self",(char *) "item", NULL
22914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22917 arg2
= (long) SWIG_AsLong(obj1
);
22918 if (PyErr_Occurred()) SWIG_fail
;
22920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22921 result
= (bool)(arg1
)->EnsureVisible(arg2
);
22923 wxPyEndAllowThreads(__tstate
);
22924 if (PyErr_Occurred()) SWIG_fail
;
22927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22935 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22936 PyObject
*resultobj
;
22937 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22939 wxString
*arg3
= 0 ;
22940 bool arg4
= (bool) False
;
22942 bool temp3
= False
;
22943 PyObject
* obj0
= 0 ;
22944 PyObject
* obj1
= 0 ;
22945 PyObject
* obj2
= 0 ;
22946 PyObject
* obj3
= 0 ;
22947 char *kwnames
[] = {
22948 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
22951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22954 arg2
= (long) SWIG_AsLong(obj1
);
22955 if (PyErr_Occurred()) SWIG_fail
;
22957 arg3
= wxString_in_helper(obj2
);
22958 if (arg3
== NULL
) SWIG_fail
;
22962 arg4
= (bool) SWIG_AsBool(obj3
);
22963 if (PyErr_Occurred()) SWIG_fail
;
22966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22967 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
22969 wxPyEndAllowThreads(__tstate
);
22970 if (PyErr_Occurred()) SWIG_fail
;
22972 resultobj
= SWIG_FromLong((long)result
);
22987 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22988 PyObject
*resultobj
;
22989 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22993 PyObject
* obj0
= 0 ;
22994 PyObject
* obj1
= 0 ;
22995 PyObject
* obj2
= 0 ;
22996 char *kwnames
[] = {
22997 (char *) "self",(char *) "start",(char *) "data", NULL
23000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23003 arg2
= (long) SWIG_AsLong(obj1
);
23004 if (PyErr_Occurred()) SWIG_fail
;
23005 arg3
= (long) SWIG_AsLong(obj2
);
23006 if (PyErr_Occurred()) SWIG_fail
;
23008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23009 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
23011 wxPyEndAllowThreads(__tstate
);
23012 if (PyErr_Occurred()) SWIG_fail
;
23014 resultobj
= SWIG_FromLong((long)result
);
23021 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23022 PyObject
*resultobj
;
23023 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23025 wxPoint
*arg3
= 0 ;
23029 PyObject
* obj0
= 0 ;
23030 PyObject
* obj1
= 0 ;
23031 PyObject
* obj2
= 0 ;
23032 PyObject
* obj3
= 0 ;
23033 char *kwnames
[] = {
23034 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
23037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23040 arg2
= (long) SWIG_AsLong(obj1
);
23041 if (PyErr_Occurred()) SWIG_fail
;
23044 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23046 arg4
= (int) SWIG_AsInt(obj3
);
23047 if (PyErr_Occurred()) SWIG_fail
;
23049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23050 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
23052 wxPyEndAllowThreads(__tstate
);
23053 if (PyErr_Occurred()) SWIG_fail
;
23055 resultobj
= SWIG_FromLong((long)result
);
23062 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23063 PyObject
*resultobj
;
23064 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23065 wxPoint
*arg2
= 0 ;
23070 PyObject
* obj0
= 0 ;
23071 PyObject
* obj1
= 0 ;
23072 char *kwnames
[] = {
23073 (char *) "self",(char *) "point", NULL
23077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
23078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23082 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23086 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
23088 wxPyEndAllowThreads(__tstate
);
23089 if (PyErr_Occurred()) SWIG_fail
;
23091 resultobj
= SWIG_FromLong((long)result
);
23093 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23094 resultobj
= t_output_helper(resultobj
,o
);
23102 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23103 PyObject
*resultobj
;
23104 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23105 wxListItem
*arg2
= 0 ;
23107 PyObject
* obj0
= 0 ;
23108 PyObject
* obj1
= 0 ;
23109 char *kwnames
[] = {
23110 (char *) "self",(char *) "info", NULL
23113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23116 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
23117 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23119 if (arg2
== NULL
) {
23120 PyErr_SetString(PyExc_TypeError
,"null reference");
23124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23125 result
= (long)(arg1
)->InsertItem(*arg2
);
23127 wxPyEndAllowThreads(__tstate
);
23128 if (PyErr_Occurred()) SWIG_fail
;
23130 resultobj
= SWIG_FromLong((long)result
);
23137 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23138 PyObject
*resultobj
;
23139 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23141 wxString
*arg3
= 0 ;
23143 bool temp3
= False
;
23144 PyObject
* obj0
= 0 ;
23145 PyObject
* obj1
= 0 ;
23146 PyObject
* obj2
= 0 ;
23147 char *kwnames
[] = {
23148 (char *) "self",(char *) "index",(char *) "label", NULL
23151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23154 arg2
= (long) SWIG_AsLong(obj1
);
23155 if (PyErr_Occurred()) SWIG_fail
;
23157 arg3
= wxString_in_helper(obj2
);
23158 if (arg3
== NULL
) SWIG_fail
;
23162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23163 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
23165 wxPyEndAllowThreads(__tstate
);
23166 if (PyErr_Occurred()) SWIG_fail
;
23168 resultobj
= SWIG_FromLong((long)result
);
23183 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23184 PyObject
*resultobj
;
23185 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23189 PyObject
* obj0
= 0 ;
23190 PyObject
* obj1
= 0 ;
23191 PyObject
* obj2
= 0 ;
23192 char *kwnames
[] = {
23193 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
23196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23199 arg2
= (long) SWIG_AsLong(obj1
);
23200 if (PyErr_Occurred()) SWIG_fail
;
23201 arg3
= (int) SWIG_AsInt(obj2
);
23202 if (PyErr_Occurred()) SWIG_fail
;
23204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23205 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
23207 wxPyEndAllowThreads(__tstate
);
23208 if (PyErr_Occurred()) SWIG_fail
;
23210 resultobj
= SWIG_FromLong((long)result
);
23217 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23218 PyObject
*resultobj
;
23219 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23221 wxString
*arg3
= 0 ;
23224 bool temp3
= False
;
23225 PyObject
* obj0
= 0 ;
23226 PyObject
* obj1
= 0 ;
23227 PyObject
* obj2
= 0 ;
23228 PyObject
* obj3
= 0 ;
23229 char *kwnames
[] = {
23230 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
23233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23236 arg2
= (long) SWIG_AsLong(obj1
);
23237 if (PyErr_Occurred()) SWIG_fail
;
23239 arg3
= wxString_in_helper(obj2
);
23240 if (arg3
== NULL
) SWIG_fail
;
23243 arg4
= (int) SWIG_AsInt(obj3
);
23244 if (PyErr_Occurred()) SWIG_fail
;
23246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23247 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
23249 wxPyEndAllowThreads(__tstate
);
23250 if (PyErr_Occurred()) SWIG_fail
;
23252 resultobj
= SWIG_FromLong((long)result
);
23267 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23268 PyObject
*resultobj
;
23269 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23271 wxListItem
*arg3
= 0 ;
23273 PyObject
* obj0
= 0 ;
23274 PyObject
* obj1
= 0 ;
23275 PyObject
* obj2
= 0 ;
23276 char *kwnames
[] = {
23277 (char *) "self",(char *) "col",(char *) "info", NULL
23280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23283 arg2
= (long) SWIG_AsLong(obj1
);
23284 if (PyErr_Occurred()) SWIG_fail
;
23285 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
23286 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23288 if (arg3
== NULL
) {
23289 PyErr_SetString(PyExc_TypeError
,"null reference");
23293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23294 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
23296 wxPyEndAllowThreads(__tstate
);
23297 if (PyErr_Occurred()) SWIG_fail
;
23299 resultobj
= SWIG_FromLong((long)result
);
23306 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23307 PyObject
*resultobj
;
23308 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23310 wxString
*arg3
= 0 ;
23311 int arg4
= (int) wxLIST_FORMAT_LEFT
;
23312 int arg5
= (int) -1 ;
23314 bool temp3
= False
;
23315 PyObject
* obj0
= 0 ;
23316 PyObject
* obj1
= 0 ;
23317 PyObject
* obj2
= 0 ;
23318 PyObject
* obj3
= 0 ;
23319 PyObject
* obj4
= 0 ;
23320 char *kwnames
[] = {
23321 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
23324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23327 arg2
= (long) SWIG_AsLong(obj1
);
23328 if (PyErr_Occurred()) SWIG_fail
;
23330 arg3
= wxString_in_helper(obj2
);
23331 if (arg3
== NULL
) SWIG_fail
;
23335 arg4
= (int) SWIG_AsInt(obj3
);
23336 if (PyErr_Occurred()) SWIG_fail
;
23339 arg5
= (int) SWIG_AsInt(obj4
);
23340 if (PyErr_Occurred()) SWIG_fail
;
23343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23344 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
23346 wxPyEndAllowThreads(__tstate
);
23347 if (PyErr_Occurred()) SWIG_fail
;
23349 resultobj
= SWIG_FromLong((long)result
);
23364 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23365 PyObject
*resultobj
;
23366 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23368 PyObject
* obj0
= 0 ;
23369 PyObject
* obj1
= 0 ;
23370 char *kwnames
[] = {
23371 (char *) "self",(char *) "count", NULL
23374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
23375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23377 arg2
= (long) SWIG_AsLong(obj1
);
23378 if (PyErr_Occurred()) SWIG_fail
;
23380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23381 (arg1
)->SetItemCount(arg2
);
23383 wxPyEndAllowThreads(__tstate
);
23384 if (PyErr_Occurred()) SWIG_fail
;
23386 Py_INCREF(Py_None
); resultobj
= Py_None
;
23393 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23394 PyObject
*resultobj
;
23395 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23399 PyObject
* obj0
= 0 ;
23400 PyObject
* obj1
= 0 ;
23401 PyObject
* obj2
= 0 ;
23402 char *kwnames
[] = {
23403 (char *) "self",(char *) "dx",(char *) "dy", NULL
23406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23409 arg2
= (int) SWIG_AsInt(obj1
);
23410 if (PyErr_Occurred()) SWIG_fail
;
23411 arg3
= (int) SWIG_AsInt(obj2
);
23412 if (PyErr_Occurred()) SWIG_fail
;
23414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23415 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
23417 wxPyEndAllowThreads(__tstate
);
23418 if (PyErr_Occurred()) SWIG_fail
;
23421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23429 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23430 PyObject
*resultobj
;
23431 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23433 wxColour
*arg3
= 0 ;
23435 PyObject
* obj0
= 0 ;
23436 PyObject
* obj1
= 0 ;
23437 PyObject
* obj2
= 0 ;
23438 char *kwnames
[] = {
23439 (char *) "self",(char *) "item",(char *) "col", NULL
23442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23445 arg2
= (long) SWIG_AsLong(obj1
);
23446 if (PyErr_Occurred()) SWIG_fail
;
23449 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23453 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
23455 wxPyEndAllowThreads(__tstate
);
23456 if (PyErr_Occurred()) SWIG_fail
;
23458 Py_INCREF(Py_None
); resultobj
= Py_None
;
23465 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23466 PyObject
*resultobj
;
23467 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23470 PyObject
* obj0
= 0 ;
23471 PyObject
* obj1
= 0 ;
23472 char *kwnames
[] = {
23473 (char *) "self",(char *) "item", NULL
23476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23479 arg2
= (long) SWIG_AsLong(obj1
);
23480 if (PyErr_Occurred()) SWIG_fail
;
23482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23483 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
23485 wxPyEndAllowThreads(__tstate
);
23486 if (PyErr_Occurred()) SWIG_fail
;
23489 wxColour
* resultptr
;
23490 resultptr
= new wxColour((wxColour
&) result
);
23491 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23499 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23500 PyObject
*resultobj
;
23501 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23503 wxColour
*arg3
= 0 ;
23505 PyObject
* obj0
= 0 ;
23506 PyObject
* obj1
= 0 ;
23507 PyObject
* obj2
= 0 ;
23508 char *kwnames
[] = {
23509 (char *) "self",(char *) "item",(char *) "col", NULL
23512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23515 arg2
= (long) SWIG_AsLong(obj1
);
23516 if (PyErr_Occurred()) SWIG_fail
;
23519 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23523 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
23525 wxPyEndAllowThreads(__tstate
);
23526 if (PyErr_Occurred()) SWIG_fail
;
23528 Py_INCREF(Py_None
); resultobj
= Py_None
;
23535 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23536 PyObject
*resultobj
;
23537 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23540 PyObject
* obj0
= 0 ;
23541 PyObject
* obj1
= 0 ;
23542 char *kwnames
[] = {
23543 (char *) "self",(char *) "item", NULL
23546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23549 arg2
= (long) SWIG_AsLong(obj1
);
23550 if (PyErr_Occurred()) SWIG_fail
;
23552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23553 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
23555 wxPyEndAllowThreads(__tstate
);
23556 if (PyErr_Occurred()) SWIG_fail
;
23559 wxColour
* resultptr
;
23560 resultptr
= new wxColour((wxColour
&) result
);
23561 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23569 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23570 PyObject
*resultobj
;
23571 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23572 PyObject
*arg2
= (PyObject
*) 0 ;
23574 PyObject
* obj0
= 0 ;
23575 PyObject
* obj1
= 0 ;
23576 char *kwnames
[] = {
23577 (char *) "self",(char *) "func", NULL
23580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
23581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23586 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
23588 wxPyEndAllowThreads(__tstate
);
23589 if (PyErr_Occurred()) SWIG_fail
;
23592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23600 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23601 PyObject
*resultobj
;
23602 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23604 PyObject
* obj0
= 0 ;
23605 char *kwnames
[] = {
23606 (char *) "self", NULL
23609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
23610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23614 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
23616 wxPyEndAllowThreads(__tstate
);
23617 if (PyErr_Occurred()) SWIG_fail
;
23620 resultobj
= wxPyMake_wxObject(result
);
23628 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23629 PyObject
*resultobj
;
23630 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
23631 wxVisualAttributes result
;
23632 PyObject
* obj0
= 0 ;
23633 char *kwnames
[] = {
23634 (char *) "variant", NULL
23637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
23639 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
23640 if (PyErr_Occurred()) SWIG_fail
;
23643 if (!wxPyCheckForApp()) SWIG_fail
;
23644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23645 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
23647 wxPyEndAllowThreads(__tstate
);
23648 if (PyErr_Occurred()) SWIG_fail
;
23651 wxVisualAttributes
* resultptr
;
23652 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
23653 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
23661 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
23663 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23664 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
23666 return Py_BuildValue((char *)"");
23668 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23669 PyObject
*resultobj
;
23670 wxWindow
*arg1
= (wxWindow
*) 0 ;
23671 int arg2
= (int) -1 ;
23672 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23673 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23674 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23675 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23676 long arg5
= (long) wxLC_REPORT
;
23677 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23678 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23679 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
23680 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23681 wxListView
*result
;
23684 bool temp7
= False
;
23685 PyObject
* obj0
= 0 ;
23686 PyObject
* obj1
= 0 ;
23687 PyObject
* obj2
= 0 ;
23688 PyObject
* obj3
= 0 ;
23689 PyObject
* obj4
= 0 ;
23690 PyObject
* obj5
= 0 ;
23691 PyObject
* obj6
= 0 ;
23692 char *kwnames
[] = {
23693 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23700 arg2
= (int) SWIG_AsInt(obj1
);
23701 if (PyErr_Occurred()) SWIG_fail
;
23706 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23712 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23716 arg5
= (long) SWIG_AsLong(obj4
);
23717 if (PyErr_Occurred()) SWIG_fail
;
23720 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
23721 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23723 if (arg6
== NULL
) {
23724 PyErr_SetString(PyExc_TypeError
,"null reference");
23730 arg7
= wxString_in_helper(obj6
);
23731 if (arg7
== NULL
) SWIG_fail
;
23736 if (!wxPyCheckForApp()) SWIG_fail
;
23737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23738 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23740 wxPyEndAllowThreads(__tstate
);
23741 if (PyErr_Occurred()) SWIG_fail
;
23743 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
23758 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23759 PyObject
*resultobj
;
23760 wxListView
*result
;
23761 char *kwnames
[] = {
23765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
23767 if (!wxPyCheckForApp()) SWIG_fail
;
23768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23769 result
= (wxListView
*)new wxListView();
23771 wxPyEndAllowThreads(__tstate
);
23772 if (PyErr_Occurred()) SWIG_fail
;
23774 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
23781 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23782 PyObject
*resultobj
;
23783 wxListView
*arg1
= (wxListView
*) 0 ;
23784 wxWindow
*arg2
= (wxWindow
*) 0 ;
23785 int arg3
= (int) -1 ;
23786 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23787 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23788 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23789 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23790 long arg6
= (long) wxLC_REPORT
;
23791 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23792 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23793 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
23794 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23798 bool temp8
= False
;
23799 PyObject
* obj0
= 0 ;
23800 PyObject
* obj1
= 0 ;
23801 PyObject
* obj2
= 0 ;
23802 PyObject
* obj3
= 0 ;
23803 PyObject
* obj4
= 0 ;
23804 PyObject
* obj5
= 0 ;
23805 PyObject
* obj6
= 0 ;
23806 PyObject
* obj7
= 0 ;
23807 char *kwnames
[] = {
23808 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23814 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23817 arg3
= (int) SWIG_AsInt(obj2
);
23818 if (PyErr_Occurred()) SWIG_fail
;
23823 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23829 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23833 arg6
= (long) SWIG_AsLong(obj5
);
23834 if (PyErr_Occurred()) SWIG_fail
;
23837 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
23838 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23840 if (arg7
== NULL
) {
23841 PyErr_SetString(PyExc_TypeError
,"null reference");
23847 arg8
= wxString_in_helper(obj7
);
23848 if (arg8
== NULL
) SWIG_fail
;
23853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23854 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23856 wxPyEndAllowThreads(__tstate
);
23857 if (PyErr_Occurred()) SWIG_fail
;
23860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23876 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23877 PyObject
*resultobj
;
23878 wxListView
*arg1
= (wxListView
*) 0 ;
23880 bool arg3
= (bool) True
;
23881 PyObject
* obj0
= 0 ;
23882 PyObject
* obj1
= 0 ;
23883 PyObject
* obj2
= 0 ;
23884 char *kwnames
[] = {
23885 (char *) "self",(char *) "n",(char *) "on", NULL
23888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23891 arg2
= (long) SWIG_AsLong(obj1
);
23892 if (PyErr_Occurred()) SWIG_fail
;
23894 arg3
= (bool) SWIG_AsBool(obj2
);
23895 if (PyErr_Occurred()) SWIG_fail
;
23898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23899 (arg1
)->Select(arg2
,arg3
);
23901 wxPyEndAllowThreads(__tstate
);
23902 if (PyErr_Occurred()) SWIG_fail
;
23904 Py_INCREF(Py_None
); resultobj
= Py_None
;
23911 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23912 PyObject
*resultobj
;
23913 wxListView
*arg1
= (wxListView
*) 0 ;
23915 PyObject
* obj0
= 0 ;
23916 PyObject
* obj1
= 0 ;
23917 char *kwnames
[] = {
23918 (char *) "self",(char *) "index", NULL
23921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
23922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23924 arg2
= (long) SWIG_AsLong(obj1
);
23925 if (PyErr_Occurred()) SWIG_fail
;
23927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23928 (arg1
)->Focus(arg2
);
23930 wxPyEndAllowThreads(__tstate
);
23931 if (PyErr_Occurred()) SWIG_fail
;
23933 Py_INCREF(Py_None
); resultobj
= Py_None
;
23940 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23941 PyObject
*resultobj
;
23942 wxListView
*arg1
= (wxListView
*) 0 ;
23944 PyObject
* obj0
= 0 ;
23945 char *kwnames
[] = {
23946 (char *) "self", NULL
23949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
23950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23954 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
23956 wxPyEndAllowThreads(__tstate
);
23957 if (PyErr_Occurred()) SWIG_fail
;
23959 resultobj
= SWIG_FromLong((long)result
);
23966 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23967 PyObject
*resultobj
;
23968 wxListView
*arg1
= (wxListView
*) 0 ;
23971 PyObject
* obj0
= 0 ;
23972 PyObject
* obj1
= 0 ;
23973 char *kwnames
[] = {
23974 (char *) "self",(char *) "item", NULL
23977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
23978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23980 arg2
= (long) SWIG_AsLong(obj1
);
23981 if (PyErr_Occurred()) SWIG_fail
;
23983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23984 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
23986 wxPyEndAllowThreads(__tstate
);
23987 if (PyErr_Occurred()) SWIG_fail
;
23989 resultobj
= SWIG_FromLong((long)result
);
23996 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23997 PyObject
*resultobj
;
23998 wxListView
*arg1
= (wxListView
*) 0 ;
24000 PyObject
* obj0
= 0 ;
24001 char *kwnames
[] = {
24002 (char *) "self", NULL
24005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
24006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24010 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
24012 wxPyEndAllowThreads(__tstate
);
24013 if (PyErr_Occurred()) SWIG_fail
;
24015 resultobj
= SWIG_FromLong((long)result
);
24022 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24023 PyObject
*resultobj
;
24024 wxListView
*arg1
= (wxListView
*) 0 ;
24027 PyObject
* obj0
= 0 ;
24028 PyObject
* obj1
= 0 ;
24029 char *kwnames
[] = {
24030 (char *) "self",(char *) "index", NULL
24033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
24034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24036 arg2
= (long) SWIG_AsLong(obj1
);
24037 if (PyErr_Occurred()) SWIG_fail
;
24039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24040 result
= (bool)(arg1
)->IsSelected(arg2
);
24042 wxPyEndAllowThreads(__tstate
);
24043 if (PyErr_Occurred()) SWIG_fail
;
24046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24054 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24055 PyObject
*resultobj
;
24056 wxListView
*arg1
= (wxListView
*) 0 ;
24059 PyObject
* obj0
= 0 ;
24060 PyObject
* obj1
= 0 ;
24061 PyObject
* obj2
= 0 ;
24062 char *kwnames
[] = {
24063 (char *) "self",(char *) "col",(char *) "image", NULL
24066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24069 arg2
= (int) SWIG_AsInt(obj1
);
24070 if (PyErr_Occurred()) SWIG_fail
;
24071 arg3
= (int) SWIG_AsInt(obj2
);
24072 if (PyErr_Occurred()) SWIG_fail
;
24074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24075 (arg1
)->SetColumnImage(arg2
,arg3
);
24077 wxPyEndAllowThreads(__tstate
);
24078 if (PyErr_Occurred()) SWIG_fail
;
24080 Py_INCREF(Py_None
); resultobj
= Py_None
;
24087 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24088 PyObject
*resultobj
;
24089 wxListView
*arg1
= (wxListView
*) 0 ;
24091 PyObject
* obj0
= 0 ;
24092 PyObject
* obj1
= 0 ;
24093 char *kwnames
[] = {
24094 (char *) "self",(char *) "col", NULL
24097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
24098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24100 arg2
= (int) SWIG_AsInt(obj1
);
24101 if (PyErr_Occurred()) SWIG_fail
;
24103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24104 (arg1
)->ClearColumnImage(arg2
);
24106 wxPyEndAllowThreads(__tstate
);
24107 if (PyErr_Occurred()) SWIG_fail
;
24109 Py_INCREF(Py_None
); resultobj
= Py_None
;
24116 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
24118 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24119 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
24121 return Py_BuildValue((char *)"");
24123 static int _wrap_TreeCtrlNameStr_set(PyObject
*_val
) {
24124 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
24129 static PyObject
*_wrap_TreeCtrlNameStr_get() {
24134 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24136 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24143 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24144 PyObject
*resultobj
;
24145 wxTreeItemId
*result
;
24146 char *kwnames
[] = {
24150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
24152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24153 result
= (wxTreeItemId
*)new wxTreeItemId();
24155 wxPyEndAllowThreads(__tstate
);
24156 if (PyErr_Occurred()) SWIG_fail
;
24158 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
24165 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24166 PyObject
*resultobj
;
24167 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24168 PyObject
* obj0
= 0 ;
24169 char *kwnames
[] = {
24170 (char *) "self", NULL
24173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
24174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24180 wxPyEndAllowThreads(__tstate
);
24181 if (PyErr_Occurred()) SWIG_fail
;
24183 Py_INCREF(Py_None
); resultobj
= Py_None
;
24190 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24191 PyObject
*resultobj
;
24192 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24194 PyObject
* obj0
= 0 ;
24195 char *kwnames
[] = {
24196 (char *) "self", NULL
24199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
24200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24204 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
24206 wxPyEndAllowThreads(__tstate
);
24207 if (PyErr_Occurred()) SWIG_fail
;
24210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24218 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24219 PyObject
*resultobj
;
24220 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24221 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24223 PyObject
* obj0
= 0 ;
24224 PyObject
* obj1
= 0 ;
24225 char *kwnames
[] = {
24226 (char *) "self",(char *) "other", NULL
24229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24232 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24236 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
24238 wxPyEndAllowThreads(__tstate
);
24239 if (PyErr_Occurred()) SWIG_fail
;
24242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24250 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24251 PyObject
*resultobj
;
24252 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24253 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24255 PyObject
* obj0
= 0 ;
24256 PyObject
* obj1
= 0 ;
24257 char *kwnames
[] = {
24258 (char *) "self",(char *) "other", NULL
24261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24264 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24268 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
24270 wxPyEndAllowThreads(__tstate
);
24271 if (PyErr_Occurred()) SWIG_fail
;
24274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24282 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24283 PyObject
*resultobj
;
24284 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24285 void *arg2
= (void *) 0 ;
24286 PyObject
* obj0
= 0 ;
24287 PyObject
* obj1
= 0 ;
24288 char *kwnames
[] = {
24289 (char *) "self",(char *) "m_pItem", NULL
24292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24295 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24296 if (arg1
) (arg1
)->m_pItem
= arg2
;
24298 Py_INCREF(Py_None
); resultobj
= Py_None
;
24305 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24306 PyObject
*resultobj
;
24307 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24309 PyObject
* obj0
= 0 ;
24310 char *kwnames
[] = {
24311 (char *) "self", NULL
24314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
24315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24317 result
= (void *) ((arg1
)->m_pItem
);
24319 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
24326 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
24328 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24329 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
24331 return Py_BuildValue((char *)"");
24333 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24334 PyObject
*resultobj
;
24335 PyObject
*arg1
= (PyObject
*) NULL
;
24336 wxPyTreeItemData
*result
;
24337 PyObject
* obj0
= 0 ;
24338 char *kwnames
[] = {
24339 (char *) "obj", NULL
24342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
24347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24348 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
24350 wxPyEndAllowThreads(__tstate
);
24351 if (PyErr_Occurred()) SWIG_fail
;
24353 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
24360 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24361 PyObject
*resultobj
;
24362 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24364 PyObject
* obj0
= 0 ;
24365 char *kwnames
[] = {
24366 (char *) "self", NULL
24369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
24370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24374 result
= (PyObject
*)(arg1
)->GetData();
24376 wxPyEndAllowThreads(__tstate
);
24377 if (PyErr_Occurred()) SWIG_fail
;
24379 resultobj
= result
;
24386 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24387 PyObject
*resultobj
;
24388 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24389 PyObject
*arg2
= (PyObject
*) 0 ;
24390 PyObject
* obj0
= 0 ;
24391 PyObject
* obj1
= 0 ;
24392 char *kwnames
[] = {
24393 (char *) "self",(char *) "obj", NULL
24396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24402 (arg1
)->SetData(arg2
);
24404 wxPyEndAllowThreads(__tstate
);
24405 if (PyErr_Occurred()) SWIG_fail
;
24407 Py_INCREF(Py_None
); resultobj
= Py_None
;
24414 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24415 PyObject
*resultobj
;
24416 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24417 wxTreeItemId
*result
;
24418 PyObject
* obj0
= 0 ;
24419 char *kwnames
[] = {
24420 (char *) "self", NULL
24423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
24424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24429 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
24430 result
= (wxTreeItemId
*) &_result_ref
;
24433 wxPyEndAllowThreads(__tstate
);
24434 if (PyErr_Occurred()) SWIG_fail
;
24436 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
24443 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24444 PyObject
*resultobj
;
24445 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24446 wxTreeItemId
*arg2
= 0 ;
24447 PyObject
* obj0
= 0 ;
24448 PyObject
* obj1
= 0 ;
24449 char *kwnames
[] = {
24450 (char *) "self",(char *) "id", NULL
24453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24456 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24457 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24459 if (arg2
== NULL
) {
24460 PyErr_SetString(PyExc_TypeError
,"null reference");
24464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24465 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
24467 wxPyEndAllowThreads(__tstate
);
24468 if (PyErr_Occurred()) SWIG_fail
;
24470 Py_INCREF(Py_None
); resultobj
= Py_None
;
24477 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24478 PyObject
*resultobj
;
24479 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24480 PyObject
* obj0
= 0 ;
24481 char *kwnames
[] = {
24482 (char *) "self", NULL
24485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
24486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24490 wxPyTreeItemData_Destroy(arg1
);
24492 wxPyEndAllowThreads(__tstate
);
24493 if (PyErr_Occurred()) SWIG_fail
;
24495 Py_INCREF(Py_None
); resultobj
= Py_None
;
24502 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
24504 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24505 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
24507 return Py_BuildValue((char *)"");
24509 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24510 PyObject
*resultobj
;
24511 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
24512 int arg2
= (int) 0 ;
24513 wxTreeEvent
*result
;
24514 PyObject
* obj0
= 0 ;
24515 PyObject
* obj1
= 0 ;
24516 char *kwnames
[] = {
24517 (char *) "commandType",(char *) "id", NULL
24520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24522 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
24523 if (PyErr_Occurred()) SWIG_fail
;
24526 arg2
= (int) SWIG_AsInt(obj1
);
24527 if (PyErr_Occurred()) SWIG_fail
;
24530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24531 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
24533 wxPyEndAllowThreads(__tstate
);
24534 if (PyErr_Occurred()) SWIG_fail
;
24536 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
24543 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24544 PyObject
*resultobj
;
24545 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24546 wxTreeItemId result
;
24547 PyObject
* obj0
= 0 ;
24548 char *kwnames
[] = {
24549 (char *) "self", NULL
24552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
24553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24557 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
24559 wxPyEndAllowThreads(__tstate
);
24560 if (PyErr_Occurred()) SWIG_fail
;
24563 wxTreeItemId
* resultptr
;
24564 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24565 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24573 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24574 PyObject
*resultobj
;
24575 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24576 wxTreeItemId
*arg2
= 0 ;
24577 PyObject
* obj0
= 0 ;
24578 PyObject
* obj1
= 0 ;
24579 char *kwnames
[] = {
24580 (char *) "self",(char *) "item", NULL
24583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24586 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24587 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24589 if (arg2
== NULL
) {
24590 PyErr_SetString(PyExc_TypeError
,"null reference");
24594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24595 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
24597 wxPyEndAllowThreads(__tstate
);
24598 if (PyErr_Occurred()) SWIG_fail
;
24600 Py_INCREF(Py_None
); resultobj
= Py_None
;
24607 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24608 PyObject
*resultobj
;
24609 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24610 wxTreeItemId result
;
24611 PyObject
* obj0
= 0 ;
24612 char *kwnames
[] = {
24613 (char *) "self", NULL
24616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
24617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24621 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
24623 wxPyEndAllowThreads(__tstate
);
24624 if (PyErr_Occurred()) SWIG_fail
;
24627 wxTreeItemId
* resultptr
;
24628 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24629 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24637 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24638 PyObject
*resultobj
;
24639 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24640 wxTreeItemId
*arg2
= 0 ;
24641 PyObject
* obj0
= 0 ;
24642 PyObject
* obj1
= 0 ;
24643 char *kwnames
[] = {
24644 (char *) "self",(char *) "item", NULL
24647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24650 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24651 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24653 if (arg2
== NULL
) {
24654 PyErr_SetString(PyExc_TypeError
,"null reference");
24658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24659 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
24661 wxPyEndAllowThreads(__tstate
);
24662 if (PyErr_Occurred()) SWIG_fail
;
24664 Py_INCREF(Py_None
); resultobj
= Py_None
;
24671 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24672 PyObject
*resultobj
;
24673 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24675 PyObject
* obj0
= 0 ;
24676 char *kwnames
[] = {
24677 (char *) "self", NULL
24680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
24681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24685 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
24687 wxPyEndAllowThreads(__tstate
);
24688 if (PyErr_Occurred()) SWIG_fail
;
24691 wxPoint
* resultptr
;
24692 resultptr
= new wxPoint((wxPoint
&) result
);
24693 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24701 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24702 PyObject
*resultobj
;
24703 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24704 wxPoint
*arg2
= 0 ;
24706 PyObject
* obj0
= 0 ;
24707 PyObject
* obj1
= 0 ;
24708 char *kwnames
[] = {
24709 (char *) "self",(char *) "pt", NULL
24712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
24713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24717 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24721 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
24723 wxPyEndAllowThreads(__tstate
);
24724 if (PyErr_Occurred()) SWIG_fail
;
24726 Py_INCREF(Py_None
); resultobj
= Py_None
;
24733 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24734 PyObject
*resultobj
;
24735 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24736 wxKeyEvent
*result
;
24737 PyObject
* obj0
= 0 ;
24738 char *kwnames
[] = {
24739 (char *) "self", NULL
24742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
24743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24748 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
24749 result
= (wxKeyEvent
*) &_result_ref
;
24752 wxPyEndAllowThreads(__tstate
);
24753 if (PyErr_Occurred()) SWIG_fail
;
24755 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
24762 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24763 PyObject
*resultobj
;
24764 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24766 PyObject
* obj0
= 0 ;
24767 char *kwnames
[] = {
24768 (char *) "self", NULL
24771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24776 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
24778 wxPyEndAllowThreads(__tstate
);
24779 if (PyErr_Occurred()) SWIG_fail
;
24781 resultobj
= SWIG_FromInt((int)result
);
24788 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24789 PyObject
*resultobj
;
24790 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24791 wxKeyEvent
*arg2
= 0 ;
24792 PyObject
* obj0
= 0 ;
24793 PyObject
* obj1
= 0 ;
24794 char *kwnames
[] = {
24795 (char *) "self",(char *) "evt", NULL
24798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24801 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
24802 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24804 if (arg2
== NULL
) {
24805 PyErr_SetString(PyExc_TypeError
,"null reference");
24809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24810 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
24812 wxPyEndAllowThreads(__tstate
);
24813 if (PyErr_Occurred()) SWIG_fail
;
24815 Py_INCREF(Py_None
); resultobj
= Py_None
;
24822 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24823 PyObject
*resultobj
;
24824 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24826 PyObject
* obj0
= 0 ;
24827 char *kwnames
[] = {
24828 (char *) "self", NULL
24831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
24832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24837 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
24838 result
= (wxString
*) &_result_ref
;
24841 wxPyEndAllowThreads(__tstate
);
24842 if (PyErr_Occurred()) SWIG_fail
;
24846 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24848 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24857 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24858 PyObject
*resultobj
;
24859 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24860 wxString
*arg2
= 0 ;
24861 bool temp2
= False
;
24862 PyObject
* obj0
= 0 ;
24863 PyObject
* obj1
= 0 ;
24864 char *kwnames
[] = {
24865 (char *) "self",(char *) "label", NULL
24868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
24869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24872 arg2
= wxString_in_helper(obj1
);
24873 if (arg2
== NULL
) SWIG_fail
;
24877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24878 (arg1
)->SetLabel((wxString
const &)*arg2
);
24880 wxPyEndAllowThreads(__tstate
);
24881 if (PyErr_Occurred()) SWIG_fail
;
24883 Py_INCREF(Py_None
); resultobj
= Py_None
;
24898 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24899 PyObject
*resultobj
;
24900 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24902 PyObject
* obj0
= 0 ;
24903 char *kwnames
[] = {
24904 (char *) "self", NULL
24907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
24908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24912 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
24914 wxPyEndAllowThreads(__tstate
);
24915 if (PyErr_Occurred()) SWIG_fail
;
24918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24926 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24927 PyObject
*resultobj
;
24928 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24930 PyObject
* obj0
= 0 ;
24931 PyObject
* obj1
= 0 ;
24932 char *kwnames
[] = {
24933 (char *) "self",(char *) "editCancelled", NULL
24936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
24937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24939 arg2
= (bool) SWIG_AsBool(obj1
);
24940 if (PyErr_Occurred()) SWIG_fail
;
24942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24943 (arg1
)->SetEditCanceled(arg2
);
24945 wxPyEndAllowThreads(__tstate
);
24946 if (PyErr_Occurred()) SWIG_fail
;
24948 Py_INCREF(Py_None
); resultobj
= Py_None
;
24955 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24956 PyObject
*resultobj
;
24957 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24958 wxString
*arg2
= 0 ;
24959 bool temp2
= False
;
24960 PyObject
* obj0
= 0 ;
24961 PyObject
* obj1
= 0 ;
24962 char *kwnames
[] = {
24963 (char *) "self",(char *) "toolTip", NULL
24966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
24967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24970 arg2
= wxString_in_helper(obj1
);
24971 if (arg2
== NULL
) SWIG_fail
;
24975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24976 (arg1
)->SetToolTip((wxString
const &)*arg2
);
24978 wxPyEndAllowThreads(__tstate
);
24979 if (PyErr_Occurred()) SWIG_fail
;
24981 Py_INCREF(Py_None
); resultobj
= Py_None
;
24996 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
24998 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24999 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
25001 return Py_BuildValue((char *)"");
25003 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25004 PyObject
*resultobj
;
25005 wxWindow
*arg1
= (wxWindow
*) 0 ;
25006 int arg2
= (int) -1 ;
25007 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25008 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25009 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25010 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25011 long arg5
= (long) wxTR_DEFAULT_STYLE
;
25012 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
25013 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
25014 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
25015 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25016 wxPyTreeCtrl
*result
;
25019 bool temp7
= False
;
25020 PyObject
* obj0
= 0 ;
25021 PyObject
* obj1
= 0 ;
25022 PyObject
* obj2
= 0 ;
25023 PyObject
* obj3
= 0 ;
25024 PyObject
* obj4
= 0 ;
25025 PyObject
* obj5
= 0 ;
25026 PyObject
* obj6
= 0 ;
25027 char *kwnames
[] = {
25028 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25035 arg2
= (int) SWIG_AsInt(obj1
);
25036 if (PyErr_Occurred()) SWIG_fail
;
25041 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25047 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25051 arg5
= (long) SWIG_AsLong(obj4
);
25052 if (PyErr_Occurred()) SWIG_fail
;
25055 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
25056 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25058 if (arg6
== NULL
) {
25059 PyErr_SetString(PyExc_TypeError
,"null reference");
25065 arg7
= wxString_in_helper(obj6
);
25066 if (arg7
== NULL
) SWIG_fail
;
25071 if (!wxPyCheckForApp()) SWIG_fail
;
25072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25073 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
25075 wxPyEndAllowThreads(__tstate
);
25076 if (PyErr_Occurred()) SWIG_fail
;
25079 resultobj
= wxPyMake_wxObject(result
);
25095 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25096 PyObject
*resultobj
;
25097 wxPyTreeCtrl
*result
;
25098 char *kwnames
[] = {
25102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
25104 if (!wxPyCheckForApp()) SWIG_fail
;
25105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25106 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
25108 wxPyEndAllowThreads(__tstate
);
25109 if (PyErr_Occurred()) SWIG_fail
;
25112 resultobj
= wxPyMake_wxObject(result
);
25120 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25121 PyObject
*resultobj
;
25122 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25123 wxWindow
*arg2
= (wxWindow
*) 0 ;
25124 int arg3
= (int) -1 ;
25125 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25126 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25127 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25128 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25129 long arg6
= (long) wxTR_DEFAULT_STYLE
;
25130 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
25131 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
25132 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
25133 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
25137 bool temp8
= False
;
25138 PyObject
* obj0
= 0 ;
25139 PyObject
* obj1
= 0 ;
25140 PyObject
* obj2
= 0 ;
25141 PyObject
* obj3
= 0 ;
25142 PyObject
* obj4
= 0 ;
25143 PyObject
* obj5
= 0 ;
25144 PyObject
* obj6
= 0 ;
25145 PyObject
* obj7
= 0 ;
25146 char *kwnames
[] = {
25147 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
25151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25153 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25156 arg3
= (int) SWIG_AsInt(obj2
);
25157 if (PyErr_Occurred()) SWIG_fail
;
25162 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25168 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25172 arg6
= (long) SWIG_AsLong(obj5
);
25173 if (PyErr_Occurred()) SWIG_fail
;
25176 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
25177 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25179 if (arg7
== NULL
) {
25180 PyErr_SetString(PyExc_TypeError
,"null reference");
25186 arg8
= wxString_in_helper(obj7
);
25187 if (arg8
== NULL
) SWIG_fail
;
25192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25193 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
25195 wxPyEndAllowThreads(__tstate
);
25196 if (PyErr_Occurred()) SWIG_fail
;
25199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25215 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25216 PyObject
*resultobj
;
25217 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25218 PyObject
*arg2
= (PyObject
*) 0 ;
25219 PyObject
*arg3
= (PyObject
*) 0 ;
25220 PyObject
* obj0
= 0 ;
25221 PyObject
* obj1
= 0 ;
25222 PyObject
* obj2
= 0 ;
25223 char *kwnames
[] = {
25224 (char *) "self",(char *) "self",(char *) "_class", NULL
25227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25234 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25236 wxPyEndAllowThreads(__tstate
);
25237 if (PyErr_Occurred()) SWIG_fail
;
25239 Py_INCREF(Py_None
); resultobj
= Py_None
;
25246 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25247 PyObject
*resultobj
;
25248 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25250 PyObject
* obj0
= 0 ;
25251 char *kwnames
[] = {
25252 (char *) "self", NULL
25255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
25256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25260 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
25262 wxPyEndAllowThreads(__tstate
);
25263 if (PyErr_Occurred()) SWIG_fail
;
25265 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25272 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25273 PyObject
*resultobj
;
25274 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25275 unsigned int result
;
25276 PyObject
* obj0
= 0 ;
25277 char *kwnames
[] = {
25278 (char *) "self", NULL
25281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
25282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25286 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
25288 wxPyEndAllowThreads(__tstate
);
25289 if (PyErr_Occurred()) SWIG_fail
;
25291 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
25298 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25299 PyObject
*resultobj
;
25300 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25301 unsigned int arg2
;
25302 PyObject
* obj0
= 0 ;
25303 PyObject
* obj1
= 0 ;
25304 char *kwnames
[] = {
25305 (char *) "self",(char *) "indent", NULL
25308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
25309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25311 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
25312 if (PyErr_Occurred()) SWIG_fail
;
25314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25315 (arg1
)->SetIndent(arg2
);
25317 wxPyEndAllowThreads(__tstate
);
25318 if (PyErr_Occurred()) SWIG_fail
;
25320 Py_INCREF(Py_None
); resultobj
= Py_None
;
25327 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25328 PyObject
*resultobj
;
25329 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25330 unsigned int result
;
25331 PyObject
* obj0
= 0 ;
25332 char *kwnames
[] = {
25333 (char *) "self", NULL
25336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
25337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25341 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
25343 wxPyEndAllowThreads(__tstate
);
25344 if (PyErr_Occurred()) SWIG_fail
;
25346 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
25353 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25354 PyObject
*resultobj
;
25355 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25356 unsigned int arg2
;
25357 PyObject
* obj0
= 0 ;
25358 PyObject
* obj1
= 0 ;
25359 char *kwnames
[] = {
25360 (char *) "self",(char *) "spacing", NULL
25363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
25364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25366 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
25367 if (PyErr_Occurred()) SWIG_fail
;
25369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25370 (arg1
)->SetSpacing(arg2
);
25372 wxPyEndAllowThreads(__tstate
);
25373 if (PyErr_Occurred()) SWIG_fail
;
25375 Py_INCREF(Py_None
); resultobj
= Py_None
;
25382 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25383 PyObject
*resultobj
;
25384 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25385 wxImageList
*result
;
25386 PyObject
* obj0
= 0 ;
25387 char *kwnames
[] = {
25388 (char *) "self", NULL
25391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
25392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25396 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
25398 wxPyEndAllowThreads(__tstate
);
25399 if (PyErr_Occurred()) SWIG_fail
;
25402 resultobj
= wxPyMake_wxObject(result
);
25410 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25411 PyObject
*resultobj
;
25412 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25413 wxImageList
*result
;
25414 PyObject
* obj0
= 0 ;
25415 char *kwnames
[] = {
25416 (char *) "self", NULL
25419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
25420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25424 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
25426 wxPyEndAllowThreads(__tstate
);
25427 if (PyErr_Occurred()) SWIG_fail
;
25430 resultobj
= wxPyMake_wxObject(result
);
25438 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25439 PyObject
*resultobj
;
25440 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25441 wxImageList
*arg2
= (wxImageList
*) 0 ;
25442 PyObject
* obj0
= 0 ;
25443 PyObject
* obj1
= 0 ;
25444 char *kwnames
[] = {
25445 (char *) "self",(char *) "imageList", NULL
25448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25451 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25455 (arg1
)->SetImageList(arg2
);
25457 wxPyEndAllowThreads(__tstate
);
25458 if (PyErr_Occurred()) SWIG_fail
;
25460 Py_INCREF(Py_None
); resultobj
= Py_None
;
25467 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25468 PyObject
*resultobj
;
25469 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25470 wxImageList
*arg2
= (wxImageList
*) 0 ;
25471 PyObject
* obj0
= 0 ;
25472 PyObject
* obj1
= 0 ;
25473 char *kwnames
[] = {
25474 (char *) "self",(char *) "imageList", NULL
25477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25480 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25484 (arg1
)->SetStateImageList(arg2
);
25486 wxPyEndAllowThreads(__tstate
);
25487 if (PyErr_Occurred()) SWIG_fail
;
25489 Py_INCREF(Py_None
); resultobj
= Py_None
;
25496 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25497 PyObject
*resultobj
;
25498 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25499 wxImageList
*arg2
= (wxImageList
*) 0 ;
25500 PyObject
* obj0
= 0 ;
25501 PyObject
* obj1
= 0 ;
25502 char *kwnames
[] = {
25503 (char *) "self",(char *) "imageList", NULL
25506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25509 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25510 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25513 (arg1
)->AssignImageList(arg2
);
25515 wxPyEndAllowThreads(__tstate
);
25516 if (PyErr_Occurred()) SWIG_fail
;
25518 Py_INCREF(Py_None
); resultobj
= Py_None
;
25525 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25526 PyObject
*resultobj
;
25527 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25528 wxImageList
*arg2
= (wxImageList
*) 0 ;
25529 PyObject
* obj0
= 0 ;
25530 PyObject
* obj1
= 0 ;
25531 char *kwnames
[] = {
25532 (char *) "self",(char *) "imageList", NULL
25535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25538 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25539 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25542 (arg1
)->AssignStateImageList(arg2
);
25544 wxPyEndAllowThreads(__tstate
);
25545 if (PyErr_Occurred()) SWIG_fail
;
25547 Py_INCREF(Py_None
); resultobj
= Py_None
;
25554 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25555 PyObject
*resultobj
;
25556 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25557 wxTreeItemId
*arg2
= 0 ;
25559 PyObject
* obj0
= 0 ;
25560 PyObject
* obj1
= 0 ;
25561 char *kwnames
[] = {
25562 (char *) "self",(char *) "item", NULL
25565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
25566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25568 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25569 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25571 if (arg2
== NULL
) {
25572 PyErr_SetString(PyExc_TypeError
,"null reference");
25576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25577 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
25579 wxPyEndAllowThreads(__tstate
);
25580 if (PyErr_Occurred()) SWIG_fail
;
25584 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25586 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25595 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25596 PyObject
*resultobj
;
25597 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25598 wxTreeItemId
*arg2
= 0 ;
25599 int arg3
= (int) wxTreeItemIcon_Normal
;
25601 PyObject
* obj0
= 0 ;
25602 PyObject
* obj1
= 0 ;
25603 PyObject
* obj2
= 0 ;
25604 char *kwnames
[] = {
25605 (char *) "self",(char *) "item",(char *) "which", NULL
25608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25611 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25612 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25614 if (arg2
== NULL
) {
25615 PyErr_SetString(PyExc_TypeError
,"null reference");
25619 arg3
= (wxTreeItemIcon
) SWIG_AsInt(obj2
);
25620 if (PyErr_Occurred()) SWIG_fail
;
25623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25624 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
25626 wxPyEndAllowThreads(__tstate
);
25627 if (PyErr_Occurred()) SWIG_fail
;
25629 resultobj
= SWIG_FromInt((int)result
);
25636 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25637 PyObject
*resultobj
;
25638 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25639 wxTreeItemId
*arg2
= 0 ;
25640 wxPyTreeItemData
*result
;
25641 PyObject
* obj0
= 0 ;
25642 PyObject
* obj1
= 0 ;
25643 char *kwnames
[] = {
25644 (char *) "self",(char *) "item", NULL
25647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
25648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25650 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25651 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25653 if (arg2
== NULL
) {
25654 PyErr_SetString(PyExc_TypeError
,"null reference");
25658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25659 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
25661 wxPyEndAllowThreads(__tstate
);
25662 if (PyErr_Occurred()) SWIG_fail
;
25664 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
25671 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25672 PyObject
*resultobj
;
25673 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25674 wxTreeItemId
*arg2
= 0 ;
25676 PyObject
* obj0
= 0 ;
25677 PyObject
* obj1
= 0 ;
25678 char *kwnames
[] = {
25679 (char *) "self",(char *) "item", NULL
25682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
25683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25685 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25686 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25688 if (arg2
== NULL
) {
25689 PyErr_SetString(PyExc_TypeError
,"null reference");
25693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25694 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
25696 wxPyEndAllowThreads(__tstate
);
25697 if (PyErr_Occurred()) SWIG_fail
;
25699 resultobj
= result
;
25706 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25707 PyObject
*resultobj
;
25708 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25709 wxTreeItemId
*arg2
= 0 ;
25711 PyObject
* obj0
= 0 ;
25712 PyObject
* obj1
= 0 ;
25713 char *kwnames
[] = {
25714 (char *) "self",(char *) "item", NULL
25717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25720 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25721 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25723 if (arg2
== NULL
) {
25724 PyErr_SetString(PyExc_TypeError
,"null reference");
25728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25729 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
25731 wxPyEndAllowThreads(__tstate
);
25732 if (PyErr_Occurred()) SWIG_fail
;
25735 wxColour
* resultptr
;
25736 resultptr
= new wxColour((wxColour
&) result
);
25737 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25745 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25746 PyObject
*resultobj
;
25747 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25748 wxTreeItemId
*arg2
= 0 ;
25750 PyObject
* obj0
= 0 ;
25751 PyObject
* obj1
= 0 ;
25752 char *kwnames
[] = {
25753 (char *) "self",(char *) "item", NULL
25756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25759 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25760 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25762 if (arg2
== NULL
) {
25763 PyErr_SetString(PyExc_TypeError
,"null reference");
25767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25768 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
25770 wxPyEndAllowThreads(__tstate
);
25771 if (PyErr_Occurred()) SWIG_fail
;
25774 wxColour
* resultptr
;
25775 resultptr
= new wxColour((wxColour
&) result
);
25776 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25784 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25785 PyObject
*resultobj
;
25786 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25787 wxTreeItemId
*arg2
= 0 ;
25789 PyObject
* obj0
= 0 ;
25790 PyObject
* obj1
= 0 ;
25791 char *kwnames
[] = {
25792 (char *) "self",(char *) "item", NULL
25795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
25796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25798 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25799 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25801 if (arg2
== NULL
) {
25802 PyErr_SetString(PyExc_TypeError
,"null reference");
25806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25807 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
25809 wxPyEndAllowThreads(__tstate
);
25810 if (PyErr_Occurred()) SWIG_fail
;
25813 wxFont
* resultptr
;
25814 resultptr
= new wxFont((wxFont
&) result
);
25815 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
25823 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25824 PyObject
*resultobj
;
25825 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25826 wxTreeItemId
*arg2
= 0 ;
25827 wxString
*arg3
= 0 ;
25828 bool temp3
= False
;
25829 PyObject
* obj0
= 0 ;
25830 PyObject
* obj1
= 0 ;
25831 PyObject
* obj2
= 0 ;
25832 char *kwnames
[] = {
25833 (char *) "self",(char *) "item",(char *) "text", NULL
25836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25839 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25840 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25842 if (arg2
== NULL
) {
25843 PyErr_SetString(PyExc_TypeError
,"null reference");
25847 arg3
= wxString_in_helper(obj2
);
25848 if (arg3
== NULL
) SWIG_fail
;
25852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25853 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
25855 wxPyEndAllowThreads(__tstate
);
25856 if (PyErr_Occurred()) SWIG_fail
;
25858 Py_INCREF(Py_None
); resultobj
= Py_None
;
25873 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25874 PyObject
*resultobj
;
25875 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25876 wxTreeItemId
*arg2
= 0 ;
25878 int arg4
= (int) wxTreeItemIcon_Normal
;
25879 PyObject
* obj0
= 0 ;
25880 PyObject
* obj1
= 0 ;
25881 PyObject
* obj2
= 0 ;
25882 PyObject
* obj3
= 0 ;
25883 char *kwnames
[] = {
25884 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
25887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25890 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25891 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25893 if (arg2
== NULL
) {
25894 PyErr_SetString(PyExc_TypeError
,"null reference");
25897 arg3
= (int) SWIG_AsInt(obj2
);
25898 if (PyErr_Occurred()) SWIG_fail
;
25900 arg4
= (wxTreeItemIcon
) SWIG_AsInt(obj3
);
25901 if (PyErr_Occurred()) SWIG_fail
;
25904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25905 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
25907 wxPyEndAllowThreads(__tstate
);
25908 if (PyErr_Occurred()) SWIG_fail
;
25910 Py_INCREF(Py_None
); resultobj
= Py_None
;
25917 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25918 PyObject
*resultobj
;
25919 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25920 wxTreeItemId
*arg2
= 0 ;
25921 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
25922 PyObject
* obj0
= 0 ;
25923 PyObject
* obj1
= 0 ;
25924 PyObject
* obj2
= 0 ;
25925 char *kwnames
[] = {
25926 (char *) "self",(char *) "item",(char *) "data", NULL
25929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25932 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25933 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25935 if (arg2
== NULL
) {
25936 PyErr_SetString(PyExc_TypeError
,"null reference");
25939 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
25940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25943 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25945 wxPyEndAllowThreads(__tstate
);
25946 if (PyErr_Occurred()) SWIG_fail
;
25948 Py_INCREF(Py_None
); resultobj
= Py_None
;
25955 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25956 PyObject
*resultobj
;
25957 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25958 wxTreeItemId
*arg2
= 0 ;
25959 PyObject
*arg3
= (PyObject
*) 0 ;
25960 PyObject
* obj0
= 0 ;
25961 PyObject
* obj1
= 0 ;
25962 PyObject
* obj2
= 0 ;
25963 char *kwnames
[] = {
25964 (char *) "self",(char *) "item",(char *) "obj", NULL
25967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25970 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25971 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25973 if (arg2
== NULL
) {
25974 PyErr_SetString(PyExc_TypeError
,"null reference");
25979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25980 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25982 wxPyEndAllowThreads(__tstate
);
25983 if (PyErr_Occurred()) SWIG_fail
;
25985 Py_INCREF(Py_None
); resultobj
= Py_None
;
25992 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25993 PyObject
*resultobj
;
25994 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25995 wxTreeItemId
*arg2
= 0 ;
25996 bool arg3
= (bool) True
;
25997 PyObject
* obj0
= 0 ;
25998 PyObject
* obj1
= 0 ;
25999 PyObject
* obj2
= 0 ;
26000 char *kwnames
[] = {
26001 (char *) "self",(char *) "item",(char *) "has", NULL
26004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26007 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26008 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26010 if (arg2
== NULL
) {
26011 PyErr_SetString(PyExc_TypeError
,"null reference");
26015 arg3
= (bool) SWIG_AsBool(obj2
);
26016 if (PyErr_Occurred()) SWIG_fail
;
26019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26020 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
26022 wxPyEndAllowThreads(__tstate
);
26023 if (PyErr_Occurred()) SWIG_fail
;
26025 Py_INCREF(Py_None
); resultobj
= Py_None
;
26032 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26033 PyObject
*resultobj
;
26034 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26035 wxTreeItemId
*arg2
= 0 ;
26036 bool arg3
= (bool) True
;
26037 PyObject
* obj0
= 0 ;
26038 PyObject
* obj1
= 0 ;
26039 PyObject
* obj2
= 0 ;
26040 char *kwnames
[] = {
26041 (char *) "self",(char *) "item",(char *) "bold", NULL
26044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26047 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26048 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26050 if (arg2
== NULL
) {
26051 PyErr_SetString(PyExc_TypeError
,"null reference");
26055 arg3
= (bool) SWIG_AsBool(obj2
);
26056 if (PyErr_Occurred()) SWIG_fail
;
26059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26060 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
26062 wxPyEndAllowThreads(__tstate
);
26063 if (PyErr_Occurred()) SWIG_fail
;
26065 Py_INCREF(Py_None
); resultobj
= Py_None
;
26072 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26073 PyObject
*resultobj
;
26074 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26075 wxTreeItemId
*arg2
= 0 ;
26076 wxColour
*arg3
= 0 ;
26078 PyObject
* obj0
= 0 ;
26079 PyObject
* obj1
= 0 ;
26080 PyObject
* obj2
= 0 ;
26081 char *kwnames
[] = {
26082 (char *) "self",(char *) "item",(char *) "col", NULL
26085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26088 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26089 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26091 if (arg2
== NULL
) {
26092 PyErr_SetString(PyExc_TypeError
,"null reference");
26097 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26101 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
26103 wxPyEndAllowThreads(__tstate
);
26104 if (PyErr_Occurred()) SWIG_fail
;
26106 Py_INCREF(Py_None
); resultobj
= Py_None
;
26113 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26114 PyObject
*resultobj
;
26115 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26116 wxTreeItemId
*arg2
= 0 ;
26117 wxColour
*arg3
= 0 ;
26119 PyObject
* obj0
= 0 ;
26120 PyObject
* obj1
= 0 ;
26121 PyObject
* obj2
= 0 ;
26122 char *kwnames
[] = {
26123 (char *) "self",(char *) "item",(char *) "col", NULL
26126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26129 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26130 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26132 if (arg2
== NULL
) {
26133 PyErr_SetString(PyExc_TypeError
,"null reference");
26138 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26142 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
26144 wxPyEndAllowThreads(__tstate
);
26145 if (PyErr_Occurred()) SWIG_fail
;
26147 Py_INCREF(Py_None
); resultobj
= Py_None
;
26154 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26155 PyObject
*resultobj
;
26156 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26157 wxTreeItemId
*arg2
= 0 ;
26159 PyObject
* obj0
= 0 ;
26160 PyObject
* obj1
= 0 ;
26161 PyObject
* obj2
= 0 ;
26162 char *kwnames
[] = {
26163 (char *) "self",(char *) "item",(char *) "font", NULL
26166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26169 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26170 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26172 if (arg2
== NULL
) {
26173 PyErr_SetString(PyExc_TypeError
,"null reference");
26176 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
26177 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26179 if (arg3
== NULL
) {
26180 PyErr_SetString(PyExc_TypeError
,"null reference");
26184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26185 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
26187 wxPyEndAllowThreads(__tstate
);
26188 if (PyErr_Occurred()) SWIG_fail
;
26190 Py_INCREF(Py_None
); resultobj
= Py_None
;
26197 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26198 PyObject
*resultobj
;
26199 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26200 wxTreeItemId
*arg2
= 0 ;
26202 PyObject
* obj0
= 0 ;
26203 PyObject
* obj1
= 0 ;
26204 char *kwnames
[] = {
26205 (char *) "self",(char *) "item", NULL
26208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26211 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26212 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26214 if (arg2
== NULL
) {
26215 PyErr_SetString(PyExc_TypeError
,"null reference");
26219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26220 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
26222 wxPyEndAllowThreads(__tstate
);
26223 if (PyErr_Occurred()) SWIG_fail
;
26226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26234 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26235 PyObject
*resultobj
;
26236 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26237 wxTreeItemId
*arg2
= 0 ;
26239 PyObject
* obj0
= 0 ;
26240 PyObject
* obj1
= 0 ;
26241 char *kwnames
[] = {
26242 (char *) "self",(char *) "item", NULL
26245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26248 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26249 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26251 if (arg2
== NULL
) {
26252 PyErr_SetString(PyExc_TypeError
,"null reference");
26256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26257 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
26259 wxPyEndAllowThreads(__tstate
);
26260 if (PyErr_Occurred()) SWIG_fail
;
26263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26271 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26272 PyObject
*resultobj
;
26273 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26274 wxTreeItemId
*arg2
= 0 ;
26276 PyObject
* obj0
= 0 ;
26277 PyObject
* obj1
= 0 ;
26278 char *kwnames
[] = {
26279 (char *) "self",(char *) "item", NULL
26282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
26283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26285 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26286 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26288 if (arg2
== NULL
) {
26289 PyErr_SetString(PyExc_TypeError
,"null reference");
26293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26294 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
26296 wxPyEndAllowThreads(__tstate
);
26297 if (PyErr_Occurred()) SWIG_fail
;
26300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26308 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26309 PyObject
*resultobj
;
26310 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26311 wxTreeItemId
*arg2
= 0 ;
26313 PyObject
* obj0
= 0 ;
26314 PyObject
* obj1
= 0 ;
26315 char *kwnames
[] = {
26316 (char *) "self",(char *) "item", NULL
26319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26322 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26323 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26325 if (arg2
== NULL
) {
26326 PyErr_SetString(PyExc_TypeError
,"null reference");
26330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26331 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
26333 wxPyEndAllowThreads(__tstate
);
26334 if (PyErr_Occurred()) SWIG_fail
;
26337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26345 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26346 PyObject
*resultobj
;
26347 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26348 wxTreeItemId
*arg2
= 0 ;
26350 PyObject
* obj0
= 0 ;
26351 PyObject
* obj1
= 0 ;
26352 char *kwnames
[] = {
26353 (char *) "self",(char *) "item", NULL
26356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
26357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26359 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26360 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26362 if (arg2
== NULL
) {
26363 PyErr_SetString(PyExc_TypeError
,"null reference");
26367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26368 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
26370 wxPyEndAllowThreads(__tstate
);
26371 if (PyErr_Occurred()) SWIG_fail
;
26374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26382 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26383 PyObject
*resultobj
;
26384 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26385 wxTreeItemId
*arg2
= 0 ;
26386 bool arg3
= (bool) True
;
26388 PyObject
* obj0
= 0 ;
26389 PyObject
* obj1
= 0 ;
26390 PyObject
* obj2
= 0 ;
26391 char *kwnames
[] = {
26392 (char *) "self",(char *) "item",(char *) "recursively", NULL
26395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26398 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26399 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26401 if (arg2
== NULL
) {
26402 PyErr_SetString(PyExc_TypeError
,"null reference");
26406 arg3
= (bool) SWIG_AsBool(obj2
);
26407 if (PyErr_Occurred()) SWIG_fail
;
26410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26411 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
26413 wxPyEndAllowThreads(__tstate
);
26414 if (PyErr_Occurred()) SWIG_fail
;
26416 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
26423 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26424 PyObject
*resultobj
;
26425 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26426 wxTreeItemId result
;
26427 PyObject
* obj0
= 0 ;
26428 char *kwnames
[] = {
26429 (char *) "self", NULL
26432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
26433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26437 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
26439 wxPyEndAllowThreads(__tstate
);
26440 if (PyErr_Occurred()) SWIG_fail
;
26443 wxTreeItemId
* resultptr
;
26444 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26445 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26453 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26454 PyObject
*resultobj
;
26455 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26456 wxTreeItemId result
;
26457 PyObject
* obj0
= 0 ;
26458 char *kwnames
[] = {
26459 (char *) "self", NULL
26462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
26463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26467 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
26469 wxPyEndAllowThreads(__tstate
);
26470 if (PyErr_Occurred()) SWIG_fail
;
26473 wxTreeItemId
* resultptr
;
26474 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26475 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26483 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26484 PyObject
*resultobj
;
26485 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26487 PyObject
* obj0
= 0 ;
26488 char *kwnames
[] = {
26489 (char *) "self", NULL
26492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
26493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26497 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
26499 wxPyEndAllowThreads(__tstate
);
26500 if (PyErr_Occurred()) SWIG_fail
;
26502 resultobj
= result
;
26509 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26510 PyObject
*resultobj
;
26511 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26512 wxTreeItemId
*arg2
= 0 ;
26513 wxTreeItemId result
;
26514 PyObject
* obj0
= 0 ;
26515 PyObject
* obj1
= 0 ;
26516 char *kwnames
[] = {
26517 (char *) "self",(char *) "item", NULL
26520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26523 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26524 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26526 if (arg2
== NULL
) {
26527 PyErr_SetString(PyExc_TypeError
,"null reference");
26531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26532 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
26534 wxPyEndAllowThreads(__tstate
);
26535 if (PyErr_Occurred()) SWIG_fail
;
26538 wxTreeItemId
* resultptr
;
26539 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26540 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26548 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26549 PyObject
*resultobj
;
26550 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26551 wxTreeItemId
*arg2
= 0 ;
26553 PyObject
* obj0
= 0 ;
26554 PyObject
* obj1
= 0 ;
26555 char *kwnames
[] = {
26556 (char *) "self",(char *) "item", NULL
26559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26562 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26563 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26565 if (arg2
== NULL
) {
26566 PyErr_SetString(PyExc_TypeError
,"null reference");
26570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26571 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
26573 wxPyEndAllowThreads(__tstate
);
26574 if (PyErr_Occurred()) SWIG_fail
;
26576 resultobj
= result
;
26583 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26584 PyObject
*resultobj
;
26585 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26586 wxTreeItemId
*arg2
= 0 ;
26587 void *arg3
= (void *) 0 ;
26589 PyObject
* obj0
= 0 ;
26590 PyObject
* obj1
= 0 ;
26591 PyObject
* obj2
= 0 ;
26592 char *kwnames
[] = {
26593 (char *) "self",(char *) "item",(char *) "cookie", NULL
26596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26599 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26600 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26602 if (arg2
== NULL
) {
26603 PyErr_SetString(PyExc_TypeError
,"null reference");
26606 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26609 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26611 wxPyEndAllowThreads(__tstate
);
26612 if (PyErr_Occurred()) SWIG_fail
;
26614 resultobj
= result
;
26621 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26622 PyObject
*resultobj
;
26623 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26624 wxTreeItemId
*arg2
= 0 ;
26625 wxTreeItemId result
;
26626 PyObject
* obj0
= 0 ;
26627 PyObject
* obj1
= 0 ;
26628 char *kwnames
[] = {
26629 (char *) "self",(char *) "item", NULL
26632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26635 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26636 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26638 if (arg2
== NULL
) {
26639 PyErr_SetString(PyExc_TypeError
,"null reference");
26643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26644 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
26646 wxPyEndAllowThreads(__tstate
);
26647 if (PyErr_Occurred()) SWIG_fail
;
26650 wxTreeItemId
* resultptr
;
26651 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26652 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26660 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26661 PyObject
*resultobj
;
26662 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26663 wxTreeItemId
*arg2
= 0 ;
26664 wxTreeItemId result
;
26665 PyObject
* obj0
= 0 ;
26666 PyObject
* obj1
= 0 ;
26667 char *kwnames
[] = {
26668 (char *) "self",(char *) "item", NULL
26671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
26672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26674 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26675 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26677 if (arg2
== NULL
) {
26678 PyErr_SetString(PyExc_TypeError
,"null reference");
26682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26683 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
26685 wxPyEndAllowThreads(__tstate
);
26686 if (PyErr_Occurred()) SWIG_fail
;
26689 wxTreeItemId
* resultptr
;
26690 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26691 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26699 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26700 PyObject
*resultobj
;
26701 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26702 wxTreeItemId
*arg2
= 0 ;
26703 wxTreeItemId result
;
26704 PyObject
* obj0
= 0 ;
26705 PyObject
* obj1
= 0 ;
26706 char *kwnames
[] = {
26707 (char *) "self",(char *) "item", NULL
26710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
26711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26713 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26714 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26716 if (arg2
== NULL
) {
26717 PyErr_SetString(PyExc_TypeError
,"null reference");
26721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26722 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
26724 wxPyEndAllowThreads(__tstate
);
26725 if (PyErr_Occurred()) SWIG_fail
;
26728 wxTreeItemId
* resultptr
;
26729 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26730 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26738 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26739 PyObject
*resultobj
;
26740 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26741 wxTreeItemId result
;
26742 PyObject
* obj0
= 0 ;
26743 char *kwnames
[] = {
26744 (char *) "self", NULL
26747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
26748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26752 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
26754 wxPyEndAllowThreads(__tstate
);
26755 if (PyErr_Occurred()) SWIG_fail
;
26758 wxTreeItemId
* resultptr
;
26759 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26760 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26768 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26769 PyObject
*resultobj
;
26770 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26771 wxTreeItemId
*arg2
= 0 ;
26772 wxTreeItemId result
;
26773 PyObject
* obj0
= 0 ;
26774 PyObject
* obj1
= 0 ;
26775 char *kwnames
[] = {
26776 (char *) "self",(char *) "item", NULL
26779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26782 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26783 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26785 if (arg2
== NULL
) {
26786 PyErr_SetString(PyExc_TypeError
,"null reference");
26790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26791 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
26793 wxPyEndAllowThreads(__tstate
);
26794 if (PyErr_Occurred()) SWIG_fail
;
26797 wxTreeItemId
* resultptr
;
26798 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26799 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26807 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26808 PyObject
*resultobj
;
26809 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26810 wxTreeItemId
*arg2
= 0 ;
26811 wxTreeItemId result
;
26812 PyObject
* obj0
= 0 ;
26813 PyObject
* obj1
= 0 ;
26814 char *kwnames
[] = {
26815 (char *) "self",(char *) "item", NULL
26818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26821 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26822 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26824 if (arg2
== NULL
) {
26825 PyErr_SetString(PyExc_TypeError
,"null reference");
26829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26830 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
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);
26846 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26847 PyObject
*resultobj
;
26848 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26849 wxString
*arg2
= 0 ;
26850 int arg3
= (int) -1 ;
26851 int arg4
= (int) -1 ;
26852 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
26853 wxTreeItemId result
;
26854 bool temp2
= False
;
26855 PyObject
* obj0
= 0 ;
26856 PyObject
* obj1
= 0 ;
26857 PyObject
* obj2
= 0 ;
26858 PyObject
* obj3
= 0 ;
26859 PyObject
* obj4
= 0 ;
26860 char *kwnames
[] = {
26861 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26868 arg2
= wxString_in_helper(obj1
);
26869 if (arg2
== NULL
) SWIG_fail
;
26873 arg3
= (int) SWIG_AsInt(obj2
);
26874 if (PyErr_Occurred()) SWIG_fail
;
26877 arg4
= (int) SWIG_AsInt(obj3
);
26878 if (PyErr_Occurred()) SWIG_fail
;
26881 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
26882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26886 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
26888 wxPyEndAllowThreads(__tstate
);
26889 if (PyErr_Occurred()) SWIG_fail
;
26892 wxTreeItemId
* resultptr
;
26893 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26894 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26910 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26911 PyObject
*resultobj
;
26912 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26913 wxTreeItemId
*arg2
= 0 ;
26914 wxString
*arg3
= 0 ;
26915 int arg4
= (int) -1 ;
26916 int arg5
= (int) -1 ;
26917 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
26918 wxTreeItemId result
;
26919 bool temp3
= False
;
26920 PyObject
* obj0
= 0 ;
26921 PyObject
* obj1
= 0 ;
26922 PyObject
* obj2
= 0 ;
26923 PyObject
* obj3
= 0 ;
26924 PyObject
* obj4
= 0 ;
26925 PyObject
* obj5
= 0 ;
26926 char *kwnames
[] = {
26927 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26933 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26934 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26936 if (arg2
== NULL
) {
26937 PyErr_SetString(PyExc_TypeError
,"null reference");
26941 arg3
= wxString_in_helper(obj2
);
26942 if (arg3
== NULL
) SWIG_fail
;
26946 arg4
= (int) SWIG_AsInt(obj3
);
26947 if (PyErr_Occurred()) SWIG_fail
;
26950 arg5
= (int) SWIG_AsInt(obj4
);
26951 if (PyErr_Occurred()) SWIG_fail
;
26954 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
26955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26959 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
26961 wxPyEndAllowThreads(__tstate
);
26962 if (PyErr_Occurred()) SWIG_fail
;
26965 wxTreeItemId
* resultptr
;
26966 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26967 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26983 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26984 PyObject
*resultobj
;
26985 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26986 wxTreeItemId
*arg2
= 0 ;
26987 wxTreeItemId
*arg3
= 0 ;
26988 wxString
*arg4
= 0 ;
26989 int arg5
= (int) -1 ;
26990 int arg6
= (int) -1 ;
26991 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
26992 wxTreeItemId result
;
26993 bool temp4
= False
;
26994 PyObject
* obj0
= 0 ;
26995 PyObject
* obj1
= 0 ;
26996 PyObject
* obj2
= 0 ;
26997 PyObject
* obj3
= 0 ;
26998 PyObject
* obj4
= 0 ;
26999 PyObject
* obj5
= 0 ;
27000 PyObject
* obj6
= 0 ;
27001 char *kwnames
[] = {
27002 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27008 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27009 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27011 if (arg2
== NULL
) {
27012 PyErr_SetString(PyExc_TypeError
,"null reference");
27015 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
27016 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27018 if (arg3
== NULL
) {
27019 PyErr_SetString(PyExc_TypeError
,"null reference");
27023 arg4
= wxString_in_helper(obj3
);
27024 if (arg4
== NULL
) SWIG_fail
;
27028 arg5
= (int) SWIG_AsInt(obj4
);
27029 if (PyErr_Occurred()) SWIG_fail
;
27032 arg6
= (int) SWIG_AsInt(obj5
);
27033 if (PyErr_Occurred()) SWIG_fail
;
27036 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
27037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27041 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
27043 wxPyEndAllowThreads(__tstate
);
27044 if (PyErr_Occurred()) SWIG_fail
;
27047 wxTreeItemId
* resultptr
;
27048 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27049 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27065 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27066 PyObject
*resultobj
;
27067 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27068 wxTreeItemId
*arg2
= 0 ;
27070 wxString
*arg4
= 0 ;
27071 int arg5
= (int) -1 ;
27072 int arg6
= (int) -1 ;
27073 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
27074 wxTreeItemId result
;
27075 bool temp4
= False
;
27076 PyObject
* obj0
= 0 ;
27077 PyObject
* obj1
= 0 ;
27078 PyObject
* obj2
= 0 ;
27079 PyObject
* obj3
= 0 ;
27080 PyObject
* obj4
= 0 ;
27081 PyObject
* obj5
= 0 ;
27082 PyObject
* obj6
= 0 ;
27083 char *kwnames
[] = {
27084 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27090 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27091 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27093 if (arg2
== NULL
) {
27094 PyErr_SetString(PyExc_TypeError
,"null reference");
27097 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
27098 if (PyErr_Occurred()) SWIG_fail
;
27100 arg4
= wxString_in_helper(obj3
);
27101 if (arg4
== NULL
) SWIG_fail
;
27105 arg5
= (int) SWIG_AsInt(obj4
);
27106 if (PyErr_Occurred()) SWIG_fail
;
27109 arg6
= (int) SWIG_AsInt(obj5
);
27110 if (PyErr_Occurred()) SWIG_fail
;
27113 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
27114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27118 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
27120 wxPyEndAllowThreads(__tstate
);
27121 if (PyErr_Occurred()) SWIG_fail
;
27124 wxTreeItemId
* resultptr
;
27125 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27126 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27142 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27143 PyObject
*resultobj
;
27144 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27145 wxTreeItemId
*arg2
= 0 ;
27146 wxString
*arg3
= 0 ;
27147 int arg4
= (int) -1 ;
27148 int arg5
= (int) -1 ;
27149 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
27150 wxTreeItemId result
;
27151 bool temp3
= False
;
27152 PyObject
* obj0
= 0 ;
27153 PyObject
* obj1
= 0 ;
27154 PyObject
* obj2
= 0 ;
27155 PyObject
* obj3
= 0 ;
27156 PyObject
* obj4
= 0 ;
27157 PyObject
* obj5
= 0 ;
27158 char *kwnames
[] = {
27159 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27165 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27166 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27168 if (arg2
== NULL
) {
27169 PyErr_SetString(PyExc_TypeError
,"null reference");
27173 arg3
= wxString_in_helper(obj2
);
27174 if (arg3
== NULL
) SWIG_fail
;
27178 arg4
= (int) SWIG_AsInt(obj3
);
27179 if (PyErr_Occurred()) SWIG_fail
;
27182 arg5
= (int) SWIG_AsInt(obj4
);
27183 if (PyErr_Occurred()) SWIG_fail
;
27186 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
27187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27191 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
27193 wxPyEndAllowThreads(__tstate
);
27194 if (PyErr_Occurred()) SWIG_fail
;
27197 wxTreeItemId
* resultptr
;
27198 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27199 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27215 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27216 PyObject
*resultobj
;
27217 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27218 wxTreeItemId
*arg2
= 0 ;
27219 PyObject
* obj0
= 0 ;
27220 PyObject
* obj1
= 0 ;
27221 char *kwnames
[] = {
27222 (char *) "self",(char *) "item", NULL
27225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
27226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27228 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27229 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27231 if (arg2
== NULL
) {
27232 PyErr_SetString(PyExc_TypeError
,"null reference");
27236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27237 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
27239 wxPyEndAllowThreads(__tstate
);
27240 if (PyErr_Occurred()) SWIG_fail
;
27242 Py_INCREF(Py_None
); resultobj
= Py_None
;
27249 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27250 PyObject
*resultobj
;
27251 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27252 wxTreeItemId
*arg2
= 0 ;
27253 PyObject
* obj0
= 0 ;
27254 PyObject
* obj1
= 0 ;
27255 char *kwnames
[] = {
27256 (char *) "self",(char *) "item", NULL
27259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27262 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27263 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27265 if (arg2
== NULL
) {
27266 PyErr_SetString(PyExc_TypeError
,"null reference");
27270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27271 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
27273 wxPyEndAllowThreads(__tstate
);
27274 if (PyErr_Occurred()) SWIG_fail
;
27276 Py_INCREF(Py_None
); resultobj
= Py_None
;
27283 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27284 PyObject
*resultobj
;
27285 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27286 PyObject
* obj0
= 0 ;
27287 char *kwnames
[] = {
27288 (char *) "self", NULL
27291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
27292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27296 (arg1
)->DeleteAllItems();
27298 wxPyEndAllowThreads(__tstate
);
27299 if (PyErr_Occurred()) SWIG_fail
;
27301 Py_INCREF(Py_None
); resultobj
= Py_None
;
27308 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27309 PyObject
*resultobj
;
27310 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27311 wxTreeItemId
*arg2
= 0 ;
27312 PyObject
* obj0
= 0 ;
27313 PyObject
* obj1
= 0 ;
27314 char *kwnames
[] = {
27315 (char *) "self",(char *) "item", NULL
27318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
27319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27321 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27322 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27324 if (arg2
== NULL
) {
27325 PyErr_SetString(PyExc_TypeError
,"null reference");
27329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27330 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
27332 wxPyEndAllowThreads(__tstate
);
27333 if (PyErr_Occurred()) SWIG_fail
;
27335 Py_INCREF(Py_None
); resultobj
= Py_None
;
27342 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27343 PyObject
*resultobj
;
27344 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27345 wxTreeItemId
*arg2
= 0 ;
27346 PyObject
* obj0
= 0 ;
27347 PyObject
* obj1
= 0 ;
27348 char *kwnames
[] = {
27349 (char *) "self",(char *) "item", NULL
27352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
27353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27355 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27356 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27358 if (arg2
== NULL
) {
27359 PyErr_SetString(PyExc_TypeError
,"null reference");
27363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27364 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
27366 wxPyEndAllowThreads(__tstate
);
27367 if (PyErr_Occurred()) SWIG_fail
;
27369 Py_INCREF(Py_None
); resultobj
= Py_None
;
27376 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27377 PyObject
*resultobj
;
27378 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27379 wxTreeItemId
*arg2
= 0 ;
27380 PyObject
* obj0
= 0 ;
27381 PyObject
* obj1
= 0 ;
27382 char *kwnames
[] = {
27383 (char *) "self",(char *) "item", NULL
27386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
27387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27389 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27390 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27392 if (arg2
== NULL
) {
27393 PyErr_SetString(PyExc_TypeError
,"null reference");
27397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27398 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
27400 wxPyEndAllowThreads(__tstate
);
27401 if (PyErr_Occurred()) SWIG_fail
;
27403 Py_INCREF(Py_None
); resultobj
= Py_None
;
27410 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27411 PyObject
*resultobj
;
27412 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27413 wxTreeItemId
*arg2
= 0 ;
27414 PyObject
* obj0
= 0 ;
27415 PyObject
* obj1
= 0 ;
27416 char *kwnames
[] = {
27417 (char *) "self",(char *) "item", NULL
27420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
27421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27423 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27424 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27426 if (arg2
== NULL
) {
27427 PyErr_SetString(PyExc_TypeError
,"null reference");
27431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27432 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
27434 wxPyEndAllowThreads(__tstate
);
27435 if (PyErr_Occurred()) SWIG_fail
;
27437 Py_INCREF(Py_None
); resultobj
= Py_None
;
27444 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27445 PyObject
*resultobj
;
27446 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27447 PyObject
* obj0
= 0 ;
27448 char *kwnames
[] = {
27449 (char *) "self", NULL
27452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
27453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27457 (arg1
)->Unselect();
27459 wxPyEndAllowThreads(__tstate
);
27460 if (PyErr_Occurred()) SWIG_fail
;
27462 Py_INCREF(Py_None
); resultobj
= Py_None
;
27469 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27470 PyObject
*resultobj
;
27471 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27472 wxTreeItemId
*arg2
= 0 ;
27473 PyObject
* obj0
= 0 ;
27474 PyObject
* obj1
= 0 ;
27475 char *kwnames
[] = {
27476 (char *) "self",(char *) "item", NULL
27479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27482 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27483 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27485 if (arg2
== NULL
) {
27486 PyErr_SetString(PyExc_TypeError
,"null reference");
27490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27491 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
27493 wxPyEndAllowThreads(__tstate
);
27494 if (PyErr_Occurred()) SWIG_fail
;
27496 Py_INCREF(Py_None
); resultobj
= Py_None
;
27503 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27504 PyObject
*resultobj
;
27505 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27506 PyObject
* obj0
= 0 ;
27507 char *kwnames
[] = {
27508 (char *) "self", NULL
27511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
27512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27516 (arg1
)->UnselectAll();
27518 wxPyEndAllowThreads(__tstate
);
27519 if (PyErr_Occurred()) SWIG_fail
;
27521 Py_INCREF(Py_None
); resultobj
= Py_None
;
27528 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27529 PyObject
*resultobj
;
27530 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27531 wxTreeItemId
*arg2
= 0 ;
27532 bool arg3
= (bool) True
;
27533 PyObject
* obj0
= 0 ;
27534 PyObject
* obj1
= 0 ;
27535 PyObject
* obj2
= 0 ;
27536 char *kwnames
[] = {
27537 (char *) "self",(char *) "item",(char *) "select", NULL
27540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27543 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27544 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27546 if (arg2
== NULL
) {
27547 PyErr_SetString(PyExc_TypeError
,"null reference");
27551 arg3
= (bool) SWIG_AsBool(obj2
);
27552 if (PyErr_Occurred()) SWIG_fail
;
27555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27556 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
27558 wxPyEndAllowThreads(__tstate
);
27559 if (PyErr_Occurred()) SWIG_fail
;
27561 Py_INCREF(Py_None
); resultobj
= Py_None
;
27568 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27569 PyObject
*resultobj
;
27570 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27571 wxTreeItemId
*arg2
= 0 ;
27572 PyObject
* obj0
= 0 ;
27573 PyObject
* obj1
= 0 ;
27574 char *kwnames
[] = {
27575 (char *) "self",(char *) "item", NULL
27578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27581 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27582 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27584 if (arg2
== NULL
) {
27585 PyErr_SetString(PyExc_TypeError
,"null reference");
27589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27590 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
27592 wxPyEndAllowThreads(__tstate
);
27593 if (PyErr_Occurred()) SWIG_fail
;
27595 Py_INCREF(Py_None
); resultobj
= Py_None
;
27602 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27603 PyObject
*resultobj
;
27604 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27605 wxTreeItemId
*arg2
= 0 ;
27606 PyObject
* obj0
= 0 ;
27607 PyObject
* obj1
= 0 ;
27608 char *kwnames
[] = {
27609 (char *) "self",(char *) "item", NULL
27612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
27613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27615 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27616 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27618 if (arg2
== NULL
) {
27619 PyErr_SetString(PyExc_TypeError
,"null reference");
27623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27624 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
27626 wxPyEndAllowThreads(__tstate
);
27627 if (PyErr_Occurred()) SWIG_fail
;
27629 Py_INCREF(Py_None
); resultobj
= Py_None
;
27636 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27637 PyObject
*resultobj
;
27638 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27639 wxTreeItemId
*arg2
= 0 ;
27640 PyObject
* obj0
= 0 ;
27641 PyObject
* obj1
= 0 ;
27642 char *kwnames
[] = {
27643 (char *) "self",(char *) "item", NULL
27646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
27647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27649 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27650 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27652 if (arg2
== NULL
) {
27653 PyErr_SetString(PyExc_TypeError
,"null reference");
27657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27658 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
27660 wxPyEndAllowThreads(__tstate
);
27661 if (PyErr_Occurred()) SWIG_fail
;
27663 Py_INCREF(Py_None
); resultobj
= Py_None
;
27670 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27671 PyObject
*resultobj
;
27672 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27673 wxTreeItemId
*arg2
= 0 ;
27674 PyObject
* obj0
= 0 ;
27675 PyObject
* obj1
= 0 ;
27676 char *kwnames
[] = {
27677 (char *) "self",(char *) "item", NULL
27680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27683 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27684 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27686 if (arg2
== NULL
) {
27687 PyErr_SetString(PyExc_TypeError
,"null reference");
27691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27692 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
27694 wxPyEndAllowThreads(__tstate
);
27695 if (PyErr_Occurred()) SWIG_fail
;
27697 Py_INCREF(Py_None
); resultobj
= Py_None
;
27704 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27705 PyObject
*resultobj
;
27706 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27707 wxTextCtrl
*result
;
27708 PyObject
* obj0
= 0 ;
27709 char *kwnames
[] = {
27710 (char *) "self", NULL
27713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
27714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27718 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
27720 wxPyEndAllowThreads(__tstate
);
27721 if (PyErr_Occurred()) SWIG_fail
;
27724 resultobj
= wxPyMake_wxObject(result
);
27732 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27733 PyObject
*resultobj
;
27734 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27735 wxTreeItemId
*arg2
= 0 ;
27736 PyObject
* obj0
= 0 ;
27737 PyObject
* obj1
= 0 ;
27738 char *kwnames
[] = {
27739 (char *) "self",(char *) "item", NULL
27742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27745 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27746 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27748 if (arg2
== NULL
) {
27749 PyErr_SetString(PyExc_TypeError
,"null reference");
27753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27754 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
27756 wxPyEndAllowThreads(__tstate
);
27757 if (PyErr_Occurred()) SWIG_fail
;
27759 Py_INCREF(Py_None
); resultobj
= Py_None
;
27766 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27767 PyObject
*resultobj
;
27768 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27769 wxPoint
*arg2
= 0 ;
27771 wxTreeItemId result
;
27774 PyObject
* obj0
= 0 ;
27775 PyObject
* obj1
= 0 ;
27776 char *kwnames
[] = {
27777 (char *) "self",(char *) "point", NULL
27781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
27782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27786 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27790 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
27792 wxPyEndAllowThreads(__tstate
);
27793 if (PyErr_Occurred()) SWIG_fail
;
27796 wxTreeItemId
* resultptr
;
27797 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27798 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27801 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27802 resultobj
= t_output_helper(resultobj
,o
);
27810 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27811 PyObject
*resultobj
;
27812 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27813 wxTreeItemId
*arg2
= 0 ;
27814 bool arg3
= (bool) False
;
27816 PyObject
* obj0
= 0 ;
27817 PyObject
* obj1
= 0 ;
27818 PyObject
* obj2
= 0 ;
27819 char *kwnames
[] = {
27820 (char *) "self",(char *) "item",(char *) "textOnly", NULL
27823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27826 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27827 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27829 if (arg2
== NULL
) {
27830 PyErr_SetString(PyExc_TypeError
,"null reference");
27834 arg3
= (bool) SWIG_AsBool(obj2
);
27835 if (PyErr_Occurred()) SWIG_fail
;
27838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27839 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
27841 wxPyEndAllowThreads(__tstate
);
27842 if (PyErr_Occurred()) SWIG_fail
;
27844 resultobj
= result
;
27851 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27852 PyObject
*resultobj
;
27853 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
27854 wxVisualAttributes result
;
27855 PyObject
* obj0
= 0 ;
27856 char *kwnames
[] = {
27857 (char *) "variant", NULL
27860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
27862 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
27863 if (PyErr_Occurred()) SWIG_fail
;
27866 if (!wxPyCheckForApp()) SWIG_fail
;
27867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27868 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
27870 wxPyEndAllowThreads(__tstate
);
27871 if (PyErr_Occurred()) SWIG_fail
;
27874 wxVisualAttributes
* resultptr
;
27875 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
27876 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
27884 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27886 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27887 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
27889 return Py_BuildValue((char *)"");
27891 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*_val
) {
27892 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
27897 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
27902 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
27904 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
27911 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27912 PyObject
*resultobj
;
27913 wxWindow
*arg1
= (wxWindow
*) 0 ;
27914 int arg2
= (int) (int)-1 ;
27915 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
27916 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
27917 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27918 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27919 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27920 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27921 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
27922 wxString
const &arg7_defvalue
= wxPyEmptyString
;
27923 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27924 int arg8
= (int) 0 ;
27925 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
27926 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
27927 wxGenericDirCtrl
*result
;
27928 bool temp3
= False
;
27931 bool temp7
= False
;
27932 bool temp9
= False
;
27933 PyObject
* obj0
= 0 ;
27934 PyObject
* obj1
= 0 ;
27935 PyObject
* obj2
= 0 ;
27936 PyObject
* obj3
= 0 ;
27937 PyObject
* obj4
= 0 ;
27938 PyObject
* obj5
= 0 ;
27939 PyObject
* obj6
= 0 ;
27940 PyObject
* obj7
= 0 ;
27941 PyObject
* obj8
= 0 ;
27942 char *kwnames
[] = {
27943 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
27947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27950 arg2
= (int const) SWIG_AsInt(obj1
);
27951 if (PyErr_Occurred()) SWIG_fail
;
27955 arg3
= wxString_in_helper(obj2
);
27956 if (arg3
== NULL
) SWIG_fail
;
27963 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27969 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27973 arg6
= (long) SWIG_AsLong(obj5
);
27974 if (PyErr_Occurred()) SWIG_fail
;
27978 arg7
= wxString_in_helper(obj6
);
27979 if (arg7
== NULL
) SWIG_fail
;
27984 arg8
= (int) SWIG_AsInt(obj7
);
27985 if (PyErr_Occurred()) SWIG_fail
;
27989 arg9
= wxString_in_helper(obj8
);
27990 if (arg9
== NULL
) SWIG_fail
;
27995 if (!wxPyCheckForApp()) SWIG_fail
;
27996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27997 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
27999 wxPyEndAllowThreads(__tstate
);
28000 if (PyErr_Occurred()) SWIG_fail
;
28002 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
28033 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28034 PyObject
*resultobj
;
28035 wxGenericDirCtrl
*result
;
28036 char *kwnames
[] = {
28040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
28042 if (!wxPyCheckForApp()) SWIG_fail
;
28043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28044 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
28046 wxPyEndAllowThreads(__tstate
);
28047 if (PyErr_Occurred()) SWIG_fail
;
28049 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
28056 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28057 PyObject
*resultobj
;
28058 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28059 wxWindow
*arg2
= (wxWindow
*) 0 ;
28060 int arg3
= (int) (int)-1 ;
28061 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
28062 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28063 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
28064 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
28065 wxSize
const &arg6_defvalue
= wxDefaultSize
;
28066 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
28067 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
28068 wxString
const &arg8_defvalue
= wxPyEmptyString
;
28069 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28070 int arg9
= (int) 0 ;
28071 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
28072 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
28074 bool temp4
= False
;
28077 bool temp8
= False
;
28078 bool temp10
= False
;
28079 PyObject
* obj0
= 0 ;
28080 PyObject
* obj1
= 0 ;
28081 PyObject
* obj2
= 0 ;
28082 PyObject
* obj3
= 0 ;
28083 PyObject
* obj4
= 0 ;
28084 PyObject
* obj5
= 0 ;
28085 PyObject
* obj6
= 0 ;
28086 PyObject
* obj7
= 0 ;
28087 PyObject
* obj8
= 0 ;
28088 PyObject
* obj9
= 0 ;
28089 char *kwnames
[] = {
28090 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
28094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28096 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28099 arg3
= (int const) SWIG_AsInt(obj2
);
28100 if (PyErr_Occurred()) SWIG_fail
;
28104 arg4
= wxString_in_helper(obj3
);
28105 if (arg4
== NULL
) SWIG_fail
;
28112 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
28118 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
28122 arg7
= (long) SWIG_AsLong(obj6
);
28123 if (PyErr_Occurred()) SWIG_fail
;
28127 arg8
= wxString_in_helper(obj7
);
28128 if (arg8
== NULL
) SWIG_fail
;
28133 arg9
= (int) SWIG_AsInt(obj8
);
28134 if (PyErr_Occurred()) SWIG_fail
;
28138 arg10
= wxString_in_helper(obj9
);
28139 if (arg10
== NULL
) SWIG_fail
;
28144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28145 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
28147 wxPyEndAllowThreads(__tstate
);
28148 if (PyErr_Occurred()) SWIG_fail
;
28151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28183 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28184 PyObject
*resultobj
;
28185 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28186 wxString
*arg2
= 0 ;
28188 bool temp2
= False
;
28189 PyObject
* obj0
= 0 ;
28190 PyObject
* obj1
= 0 ;
28191 char *kwnames
[] = {
28192 (char *) "self",(char *) "path", NULL
28195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28199 arg2
= wxString_in_helper(obj1
);
28200 if (arg2
== NULL
) SWIG_fail
;
28204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28205 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
28207 wxPyEndAllowThreads(__tstate
);
28208 if (PyErr_Occurred()) SWIG_fail
;
28211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28227 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28228 PyObject
*resultobj
;
28229 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28231 PyObject
* obj0
= 0 ;
28232 char *kwnames
[] = {
28233 (char *) "self", NULL
28236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
28237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28241 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
28243 wxPyEndAllowThreads(__tstate
);
28244 if (PyErr_Occurred()) SWIG_fail
;
28248 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28250 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28259 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28260 PyObject
*resultobj
;
28261 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28262 wxString
*arg2
= 0 ;
28263 bool temp2
= False
;
28264 PyObject
* obj0
= 0 ;
28265 PyObject
* obj1
= 0 ;
28266 char *kwnames
[] = {
28267 (char *) "self",(char *) "path", NULL
28270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28274 arg2
= wxString_in_helper(obj1
);
28275 if (arg2
== NULL
) SWIG_fail
;
28279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28280 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
28282 wxPyEndAllowThreads(__tstate
);
28283 if (PyErr_Occurred()) SWIG_fail
;
28285 Py_INCREF(Py_None
); resultobj
= Py_None
;
28300 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28301 PyObject
*resultobj
;
28302 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28304 PyObject
* obj0
= 0 ;
28305 char *kwnames
[] = {
28306 (char *) "self", NULL
28309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
28310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28314 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
28316 wxPyEndAllowThreads(__tstate
);
28317 if (PyErr_Occurred()) SWIG_fail
;
28321 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28323 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28332 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28333 PyObject
*resultobj
;
28334 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28336 PyObject
* obj0
= 0 ;
28337 char *kwnames
[] = {
28338 (char *) "self", NULL
28341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
28342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28346 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
28348 wxPyEndAllowThreads(__tstate
);
28349 if (PyErr_Occurred()) SWIG_fail
;
28353 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28355 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28364 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28365 PyObject
*resultobj
;
28366 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28367 wxString
*arg2
= 0 ;
28368 bool temp2
= False
;
28369 PyObject
* obj0
= 0 ;
28370 PyObject
* obj1
= 0 ;
28371 char *kwnames
[] = {
28372 (char *) "self",(char *) "path", NULL
28375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28379 arg2
= wxString_in_helper(obj1
);
28380 if (arg2
== NULL
) SWIG_fail
;
28384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28385 (arg1
)->SetPath((wxString
const &)*arg2
);
28387 wxPyEndAllowThreads(__tstate
);
28388 if (PyErr_Occurred()) SWIG_fail
;
28390 Py_INCREF(Py_None
); resultobj
= Py_None
;
28405 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28406 PyObject
*resultobj
;
28407 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28409 PyObject
* obj0
= 0 ;
28410 PyObject
* obj1
= 0 ;
28411 char *kwnames
[] = {
28412 (char *) "self",(char *) "show", NULL
28415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
28416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28418 arg2
= (bool) SWIG_AsBool(obj1
);
28419 if (PyErr_Occurred()) SWIG_fail
;
28421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28422 (arg1
)->ShowHidden(arg2
);
28424 wxPyEndAllowThreads(__tstate
);
28425 if (PyErr_Occurred()) SWIG_fail
;
28427 Py_INCREF(Py_None
); resultobj
= Py_None
;
28434 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28435 PyObject
*resultobj
;
28436 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28438 PyObject
* obj0
= 0 ;
28439 char *kwnames
[] = {
28440 (char *) "self", NULL
28443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
28444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28448 result
= (bool)(arg1
)->GetShowHidden();
28450 wxPyEndAllowThreads(__tstate
);
28451 if (PyErr_Occurred()) SWIG_fail
;
28454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28462 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28463 PyObject
*resultobj
;
28464 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28466 PyObject
* obj0
= 0 ;
28467 char *kwnames
[] = {
28468 (char *) "self", NULL
28471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
28472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28476 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
28478 wxPyEndAllowThreads(__tstate
);
28479 if (PyErr_Occurred()) SWIG_fail
;
28483 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28485 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28494 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28495 PyObject
*resultobj
;
28496 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28497 wxString
*arg2
= 0 ;
28498 bool temp2
= False
;
28499 PyObject
* obj0
= 0 ;
28500 PyObject
* obj1
= 0 ;
28501 char *kwnames
[] = {
28502 (char *) "self",(char *) "filter", NULL
28505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
28506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28509 arg2
= wxString_in_helper(obj1
);
28510 if (arg2
== NULL
) SWIG_fail
;
28514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28515 (arg1
)->SetFilter((wxString
const &)*arg2
);
28517 wxPyEndAllowThreads(__tstate
);
28518 if (PyErr_Occurred()) SWIG_fail
;
28520 Py_INCREF(Py_None
); resultobj
= Py_None
;
28535 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28536 PyObject
*resultobj
;
28537 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28539 PyObject
* obj0
= 0 ;
28540 char *kwnames
[] = {
28541 (char *) "self", NULL
28544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
28545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28549 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
28551 wxPyEndAllowThreads(__tstate
);
28552 if (PyErr_Occurred()) SWIG_fail
;
28554 resultobj
= SWIG_FromInt((int)result
);
28561 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28562 PyObject
*resultobj
;
28563 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28565 PyObject
* obj0
= 0 ;
28566 PyObject
* obj1
= 0 ;
28567 char *kwnames
[] = {
28568 (char *) "self",(char *) "n", NULL
28571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
28572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28574 arg2
= (int) SWIG_AsInt(obj1
);
28575 if (PyErr_Occurred()) SWIG_fail
;
28577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28578 (arg1
)->SetFilterIndex(arg2
);
28580 wxPyEndAllowThreads(__tstate
);
28581 if (PyErr_Occurred()) SWIG_fail
;
28583 Py_INCREF(Py_None
); resultobj
= Py_None
;
28590 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28591 PyObject
*resultobj
;
28592 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28593 wxTreeItemId result
;
28594 PyObject
* obj0
= 0 ;
28595 char *kwnames
[] = {
28596 (char *) "self", NULL
28599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
28600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28604 result
= (arg1
)->GetRootId();
28606 wxPyEndAllowThreads(__tstate
);
28607 if (PyErr_Occurred()) SWIG_fail
;
28610 wxTreeItemId
* resultptr
;
28611 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28612 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28620 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28621 PyObject
*resultobj
;
28622 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28623 wxPyTreeCtrl
*result
;
28624 PyObject
* obj0
= 0 ;
28625 char *kwnames
[] = {
28626 (char *) "self", NULL
28629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
28630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28634 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
28636 wxPyEndAllowThreads(__tstate
);
28637 if (PyErr_Occurred()) SWIG_fail
;
28640 resultobj
= wxPyMake_wxObject(result
);
28648 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28649 PyObject
*resultobj
;
28650 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28651 wxDirFilterListCtrl
*result
;
28652 PyObject
* obj0
= 0 ;
28653 char *kwnames
[] = {
28654 (char *) "self", NULL
28657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
28658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28662 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
28664 wxPyEndAllowThreads(__tstate
);
28665 if (PyErr_Occurred()) SWIG_fail
;
28667 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
28674 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28675 PyObject
*resultobj
;
28676 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28677 wxTreeItemId arg2
;
28678 wxString
*arg3
= 0 ;
28680 wxTreeItemId result
;
28681 wxTreeItemId
*argp2
;
28682 bool temp3
= False
;
28684 PyObject
* obj0
= 0 ;
28685 PyObject
* obj1
= 0 ;
28686 PyObject
* obj2
= 0 ;
28687 char *kwnames
[] = {
28688 (char *) "self",(char *) "parentId",(char *) "path", NULL
28692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28695 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
28696 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
28699 arg3
= wxString_in_helper(obj2
);
28700 if (arg3
== NULL
) SWIG_fail
;
28704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28705 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
28707 wxPyEndAllowThreads(__tstate
);
28708 if (PyErr_Occurred()) SWIG_fail
;
28711 wxTreeItemId
* resultptr
;
28712 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28713 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28716 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
28717 resultobj
= t_output_helper(resultobj
,o
);
28733 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28734 PyObject
*resultobj
;
28735 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28736 PyObject
* obj0
= 0 ;
28737 char *kwnames
[] = {
28738 (char *) "self", NULL
28741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
28742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28746 (arg1
)->DoResize();
28748 wxPyEndAllowThreads(__tstate
);
28749 if (PyErr_Occurred()) SWIG_fail
;
28751 Py_INCREF(Py_None
); resultobj
= Py_None
;
28758 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28759 PyObject
*resultobj
;
28760 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28761 PyObject
* obj0
= 0 ;
28762 char *kwnames
[] = {
28763 (char *) "self", NULL
28766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
28767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28771 (arg1
)->ReCreateTree();
28773 wxPyEndAllowThreads(__tstate
);
28774 if (PyErr_Occurred()) SWIG_fail
;
28776 Py_INCREF(Py_None
); resultobj
= Py_None
;
28783 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
28785 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28786 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
28788 return Py_BuildValue((char *)"");
28790 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28791 PyObject
*resultobj
;
28792 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28793 int arg2
= (int) (int)-1 ;
28794 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28795 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28796 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28797 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28798 long arg5
= (long) 0 ;
28799 wxDirFilterListCtrl
*result
;
28802 PyObject
* obj0
= 0 ;
28803 PyObject
* obj1
= 0 ;
28804 PyObject
* obj2
= 0 ;
28805 PyObject
* obj3
= 0 ;
28806 PyObject
* obj4
= 0 ;
28807 char *kwnames
[] = {
28808 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28815 arg2
= (int const) SWIG_AsInt(obj1
);
28816 if (PyErr_Occurred()) SWIG_fail
;
28821 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28827 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28831 arg5
= (long) SWIG_AsLong(obj4
);
28832 if (PyErr_Occurred()) SWIG_fail
;
28835 if (!wxPyCheckForApp()) SWIG_fail
;
28836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28837 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
28839 wxPyEndAllowThreads(__tstate
);
28840 if (PyErr_Occurred()) SWIG_fail
;
28842 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
28849 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28850 PyObject
*resultobj
;
28851 wxDirFilterListCtrl
*result
;
28852 char *kwnames
[] = {
28856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
28858 if (!wxPyCheckForApp()) SWIG_fail
;
28859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28860 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
28862 wxPyEndAllowThreads(__tstate
);
28863 if (PyErr_Occurred()) SWIG_fail
;
28865 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
28872 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28873 PyObject
*resultobj
;
28874 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
28875 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
28876 int arg3
= (int) (int)-1 ;
28877 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28878 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28879 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28880 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28881 long arg6
= (long) 0 ;
28885 PyObject
* obj0
= 0 ;
28886 PyObject
* obj1
= 0 ;
28887 PyObject
* obj2
= 0 ;
28888 PyObject
* obj3
= 0 ;
28889 PyObject
* obj4
= 0 ;
28890 PyObject
* obj5
= 0 ;
28891 char *kwnames
[] = {
28892 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
28897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28898 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
28899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28901 arg3
= (int const) SWIG_AsInt(obj2
);
28902 if (PyErr_Occurred()) SWIG_fail
;
28907 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28913 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28917 arg6
= (long) SWIG_AsLong(obj5
);
28918 if (PyErr_Occurred()) SWIG_fail
;
28921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28922 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
28924 wxPyEndAllowThreads(__tstate
);
28925 if (PyErr_Occurred()) SWIG_fail
;
28928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28936 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28937 PyObject
*resultobj
;
28938 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
28939 wxString
*arg2
= 0 ;
28941 bool temp2
= False
;
28942 PyObject
* obj0
= 0 ;
28943 PyObject
* obj1
= 0 ;
28944 PyObject
* obj2
= 0 ;
28945 char *kwnames
[] = {
28946 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
28949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
28951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28953 arg2
= wxString_in_helper(obj1
);
28954 if (arg2
== NULL
) SWIG_fail
;
28957 arg3
= (int) SWIG_AsInt(obj2
);
28958 if (PyErr_Occurred()) SWIG_fail
;
28960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28961 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
28963 wxPyEndAllowThreads(__tstate
);
28964 if (PyErr_Occurred()) SWIG_fail
;
28966 Py_INCREF(Py_None
); resultobj
= Py_None
;
28981 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
28983 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28984 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
28986 return Py_BuildValue((char *)"");
28988 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28989 PyObject
*resultobj
;
28990 wxWindow
*arg1
= (wxWindow
*) 0 ;
28991 int arg2
= (int) (int)-1 ;
28992 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28993 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28994 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28995 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28996 long arg5
= (long) 0 ;
28997 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28998 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28999 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
29000 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29001 wxPyControl
*result
;
29004 bool temp7
= False
;
29005 PyObject
* obj0
= 0 ;
29006 PyObject
* obj1
= 0 ;
29007 PyObject
* obj2
= 0 ;
29008 PyObject
* obj3
= 0 ;
29009 PyObject
* obj4
= 0 ;
29010 PyObject
* obj5
= 0 ;
29011 PyObject
* obj6
= 0 ;
29012 char *kwnames
[] = {
29013 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
29017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29020 arg2
= (int const) SWIG_AsInt(obj1
);
29021 if (PyErr_Occurred()) SWIG_fail
;
29026 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29032 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29036 arg5
= (long) SWIG_AsLong(obj4
);
29037 if (PyErr_Occurred()) SWIG_fail
;
29040 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
29041 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29043 if (arg6
== NULL
) {
29044 PyErr_SetString(PyExc_TypeError
,"null reference");
29050 arg7
= wxString_in_helper(obj6
);
29051 if (arg7
== NULL
) SWIG_fail
;
29056 if (!wxPyCheckForApp()) SWIG_fail
;
29057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29058 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
29060 wxPyEndAllowThreads(__tstate
);
29061 if (PyErr_Occurred()) SWIG_fail
;
29063 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
29078 static PyObject
*_wrap_new_PrePyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29079 PyObject
*resultobj
;
29080 wxPyControl
*result
;
29081 char *kwnames
[] = {
29085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
29087 if (!wxPyCheckForApp()) SWIG_fail
;
29088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29089 result
= (wxPyControl
*)new wxPyControl();
29091 wxPyEndAllowThreads(__tstate
);
29092 if (PyErr_Occurred()) SWIG_fail
;
29094 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
29101 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29102 PyObject
*resultobj
;
29103 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29104 PyObject
*arg2
= (PyObject
*) 0 ;
29105 PyObject
*arg3
= (PyObject
*) 0 ;
29106 PyObject
* obj0
= 0 ;
29107 PyObject
* obj1
= 0 ;
29108 PyObject
* obj2
= 0 ;
29109 char *kwnames
[] = {
29110 (char *) "self",(char *) "self",(char *) "_class", NULL
29113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29120 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29122 wxPyEndAllowThreads(__tstate
);
29123 if (PyErr_Occurred()) SWIG_fail
;
29125 Py_INCREF(Py_None
); resultobj
= Py_None
;
29132 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29133 PyObject
*resultobj
;
29134 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29137 PyObject
* obj0
= 0 ;
29138 PyObject
* obj1
= 0 ;
29139 char *kwnames
[] = {
29140 (char *) "self",(char *) "size", NULL
29143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
29144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29148 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29152 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
29154 wxPyEndAllowThreads(__tstate
);
29155 if (PyErr_Occurred()) SWIG_fail
;
29157 Py_INCREF(Py_None
); resultobj
= Py_None
;
29164 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29165 PyObject
*resultobj
;
29166 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29171 PyObject
* obj0
= 0 ;
29172 PyObject
* obj1
= 0 ;
29173 PyObject
* obj2
= 0 ;
29174 PyObject
* obj3
= 0 ;
29175 PyObject
* obj4
= 0 ;
29176 char *kwnames
[] = {
29177 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29183 arg2
= (int) SWIG_AsInt(obj1
);
29184 if (PyErr_Occurred()) SWIG_fail
;
29185 arg3
= (int) SWIG_AsInt(obj2
);
29186 if (PyErr_Occurred()) SWIG_fail
;
29187 arg4
= (int) SWIG_AsInt(obj3
);
29188 if (PyErr_Occurred()) SWIG_fail
;
29189 arg5
= (int) SWIG_AsInt(obj4
);
29190 if (PyErr_Occurred()) SWIG_fail
;
29192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29193 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
29195 wxPyEndAllowThreads(__tstate
);
29196 if (PyErr_Occurred()) SWIG_fail
;
29198 Py_INCREF(Py_None
); resultobj
= Py_None
;
29205 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29206 PyObject
*resultobj
;
29207 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29212 int arg6
= (int) wxSIZE_AUTO
;
29213 PyObject
* obj0
= 0 ;
29214 PyObject
* obj1
= 0 ;
29215 PyObject
* obj2
= 0 ;
29216 PyObject
* obj3
= 0 ;
29217 PyObject
* obj4
= 0 ;
29218 PyObject
* obj5
= 0 ;
29219 char *kwnames
[] = {
29220 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
29223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29226 arg2
= (int) SWIG_AsInt(obj1
);
29227 if (PyErr_Occurred()) SWIG_fail
;
29228 arg3
= (int) SWIG_AsInt(obj2
);
29229 if (PyErr_Occurred()) SWIG_fail
;
29230 arg4
= (int) SWIG_AsInt(obj3
);
29231 if (PyErr_Occurred()) SWIG_fail
;
29232 arg5
= (int) SWIG_AsInt(obj4
);
29233 if (PyErr_Occurred()) SWIG_fail
;
29235 arg6
= (int) SWIG_AsInt(obj5
);
29236 if (PyErr_Occurred()) SWIG_fail
;
29239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29240 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
29242 wxPyEndAllowThreads(__tstate
);
29243 if (PyErr_Occurred()) SWIG_fail
;
29245 Py_INCREF(Py_None
); resultobj
= Py_None
;
29252 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29253 PyObject
*resultobj
;
29254 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29257 PyObject
* obj0
= 0 ;
29258 PyObject
* obj1
= 0 ;
29259 PyObject
* obj2
= 0 ;
29260 char *kwnames
[] = {
29261 (char *) "self",(char *) "width",(char *) "height", NULL
29264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29267 arg2
= (int) SWIG_AsInt(obj1
);
29268 if (PyErr_Occurred()) SWIG_fail
;
29269 arg3
= (int) SWIG_AsInt(obj2
);
29270 if (PyErr_Occurred()) SWIG_fail
;
29272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29273 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
29275 wxPyEndAllowThreads(__tstate
);
29276 if (PyErr_Occurred()) SWIG_fail
;
29278 Py_INCREF(Py_None
); resultobj
= Py_None
;
29285 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29286 PyObject
*resultobj
;
29287 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29290 PyObject
* obj0
= 0 ;
29291 PyObject
* obj1
= 0 ;
29292 PyObject
* obj2
= 0 ;
29293 char *kwnames
[] = {
29294 (char *) "self",(char *) "x",(char *) "y", NULL
29297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29300 arg2
= (int) SWIG_AsInt(obj1
);
29301 if (PyErr_Occurred()) SWIG_fail
;
29302 arg3
= (int) SWIG_AsInt(obj2
);
29303 if (PyErr_Occurred()) SWIG_fail
;
29305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29306 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
29308 wxPyEndAllowThreads(__tstate
);
29309 if (PyErr_Occurred()) SWIG_fail
;
29311 Py_INCREF(Py_None
); resultobj
= Py_None
;
29318 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29319 PyObject
*resultobj
;
29320 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29321 int *arg2
= (int *) 0 ;
29322 int *arg3
= (int *) 0 ;
29325 PyObject
* obj0
= 0 ;
29326 char *kwnames
[] = {
29327 (char *) "self", NULL
29332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
29333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29337 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
29339 wxPyEndAllowThreads(__tstate
);
29340 if (PyErr_Occurred()) SWIG_fail
;
29342 Py_INCREF(Py_None
); resultobj
= Py_None
;
29344 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29345 resultobj
= t_output_helper(resultobj
,o
);
29348 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29349 resultobj
= t_output_helper(resultobj
,o
);
29357 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29358 PyObject
*resultobj
;
29359 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29360 int *arg2
= (int *) 0 ;
29361 int *arg3
= (int *) 0 ;
29364 PyObject
* obj0
= 0 ;
29365 char *kwnames
[] = {
29366 (char *) "self", NULL
29371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
29372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29376 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
29378 wxPyEndAllowThreads(__tstate
);
29379 if (PyErr_Occurred()) SWIG_fail
;
29381 Py_INCREF(Py_None
); resultobj
= Py_None
;
29383 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29384 resultobj
= t_output_helper(resultobj
,o
);
29387 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29388 resultobj
= t_output_helper(resultobj
,o
);
29396 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29397 PyObject
*resultobj
;
29398 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29399 int *arg2
= (int *) 0 ;
29400 int *arg3
= (int *) 0 ;
29403 PyObject
* obj0
= 0 ;
29404 char *kwnames
[] = {
29405 (char *) "self", NULL
29410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
29411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29415 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
29417 wxPyEndAllowThreads(__tstate
);
29418 if (PyErr_Occurred()) SWIG_fail
;
29420 Py_INCREF(Py_None
); resultobj
= Py_None
;
29422 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29423 resultobj
= t_output_helper(resultobj
,o
);
29426 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29427 resultobj
= t_output_helper(resultobj
,o
);
29435 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29436 PyObject
*resultobj
;
29437 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29439 PyObject
* obj0
= 0 ;
29440 char *kwnames
[] = {
29441 (char *) "self", NULL
29444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
29445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29449 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
29451 wxPyEndAllowThreads(__tstate
);
29452 if (PyErr_Occurred()) SWIG_fail
;
29455 wxSize
* resultptr
;
29456 resultptr
= new wxSize((wxSize
&) result
);
29457 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29465 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29466 PyObject
*resultobj
;
29467 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29469 PyObject
* obj0
= 0 ;
29470 char *kwnames
[] = {
29471 (char *) "self", NULL
29474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
29475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29479 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
29481 wxPyEndAllowThreads(__tstate
);
29482 if (PyErr_Occurred()) SWIG_fail
;
29485 wxSize
* resultptr
;
29486 resultptr
= new wxSize((wxSize
&) result
);
29487 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29495 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29496 PyObject
*resultobj
;
29497 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29498 PyObject
* obj0
= 0 ;
29499 char *kwnames
[] = {
29500 (char *) "self", NULL
29503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
29504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29508 (arg1
)->base_InitDialog();
29510 wxPyEndAllowThreads(__tstate
);
29511 if (PyErr_Occurred()) SWIG_fail
;
29513 Py_INCREF(Py_None
); resultobj
= Py_None
;
29520 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(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_TransferDataToWindow",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_TransferDataToWindow();
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_TransferDataFromWindow(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_TransferDataFromWindow",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)(arg1
)->base_TransferDataFromWindow();
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_Validate(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_Validate",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)(arg1
)->base_Validate();
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_AcceptsFocus(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_AcceptsFocus",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
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
29620 wxPyEndAllowThreads(__tstate
);
29621 if (PyErr_Occurred()) SWIG_fail
;
29624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29632 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29633 PyObject
*resultobj
;
29634 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29636 PyObject
* obj0
= 0 ;
29637 char *kwnames
[] = {
29638 (char *) "self", NULL
29641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
29642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29646 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
29648 wxPyEndAllowThreads(__tstate
);
29649 if (PyErr_Occurred()) SWIG_fail
;
29652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29660 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29661 PyObject
*resultobj
;
29662 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29664 PyObject
* obj0
= 0 ;
29665 char *kwnames
[] = {
29666 (char *) "self", NULL
29669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
29670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29674 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
29676 wxPyEndAllowThreads(__tstate
);
29677 if (PyErr_Occurred()) SWIG_fail
;
29680 wxSize
* resultptr
;
29681 resultptr
= new wxSize((wxSize
&) result
);
29682 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29690 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29691 PyObject
*resultobj
;
29692 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29693 wxWindow
*arg2
= (wxWindow
*) 0 ;
29694 PyObject
* obj0
= 0 ;
29695 PyObject
* obj1
= 0 ;
29696 char *kwnames
[] = {
29697 (char *) "self",(char *) "child", NULL
29700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29703 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29707 (arg1
)->base_AddChild(arg2
);
29709 wxPyEndAllowThreads(__tstate
);
29710 if (PyErr_Occurred()) SWIG_fail
;
29712 Py_INCREF(Py_None
); resultobj
= Py_None
;
29719 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29720 PyObject
*resultobj
;
29721 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29722 wxWindow
*arg2
= (wxWindow
*) 0 ;
29723 PyObject
* obj0
= 0 ;
29724 PyObject
* obj1
= 0 ;
29725 char *kwnames
[] = {
29726 (char *) "self",(char *) "child", NULL
29729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29732 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29736 (arg1
)->base_RemoveChild(arg2
);
29738 wxPyEndAllowThreads(__tstate
);
29739 if (PyErr_Occurred()) SWIG_fail
;
29741 Py_INCREF(Py_None
); resultobj
= Py_None
;
29748 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29749 PyObject
*resultobj
;
29750 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29752 PyObject
* obj0
= 0 ;
29753 char *kwnames
[] = {
29754 (char *) "self", NULL
29757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
29758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29762 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
29764 wxPyEndAllowThreads(__tstate
);
29765 if (PyErr_Occurred()) SWIG_fail
;
29768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29776 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29777 PyObject
*resultobj
;
29778 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29779 wxColour
*arg2
= 0 ;
29781 PyObject
* obj0
= 0 ;
29782 PyObject
* obj1
= 0 ;
29783 char *kwnames
[] = {
29784 (char *) "self",(char *) "c", NULL
29787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
29788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29792 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29796 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
29798 wxPyEndAllowThreads(__tstate
);
29799 if (PyErr_Occurred()) SWIG_fail
;
29801 Py_INCREF(Py_None
); resultobj
= Py_None
;
29808 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29809 PyObject
*resultobj
;
29810 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29811 wxVisualAttributes result
;
29812 PyObject
* obj0
= 0 ;
29813 char *kwnames
[] = {
29814 (char *) "self", NULL
29817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29822 result
= (arg1
)->base_GetDefaultAttributes();
29824 wxPyEndAllowThreads(__tstate
);
29825 if (PyErr_Occurred()) SWIG_fail
;
29828 wxVisualAttributes
* resultptr
;
29829 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
29830 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29838 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
29840 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29841 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
29843 return Py_BuildValue((char *)"");
29845 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29846 PyObject
*resultobj
;
29847 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
29848 int arg2
= (int) 0 ;
29849 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29850 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29851 wxHelpEvent
*result
;
29853 PyObject
* obj0
= 0 ;
29854 PyObject
* obj1
= 0 ;
29855 PyObject
* obj2
= 0 ;
29856 char *kwnames
[] = {
29857 (char *) "type",(char *) "winid",(char *) "pt", NULL
29860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29862 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
29863 if (PyErr_Occurred()) SWIG_fail
;
29866 arg2
= (int) SWIG_AsInt(obj1
);
29867 if (PyErr_Occurred()) SWIG_fail
;
29872 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29877 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
29879 wxPyEndAllowThreads(__tstate
);
29880 if (PyErr_Occurred()) SWIG_fail
;
29882 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
29889 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29890 PyObject
*resultobj
;
29891 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29893 PyObject
* obj0
= 0 ;
29894 char *kwnames
[] = {
29895 (char *) "self", NULL
29898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
29899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29903 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
29905 wxPyEndAllowThreads(__tstate
);
29906 if (PyErr_Occurred()) SWIG_fail
;
29909 wxPoint
* resultptr
;
29910 resultptr
= new wxPoint((wxPoint
&) result
);
29911 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29919 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29920 PyObject
*resultobj
;
29921 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29922 wxPoint
*arg2
= 0 ;
29924 PyObject
* obj0
= 0 ;
29925 PyObject
* obj1
= 0 ;
29926 char *kwnames
[] = {
29927 (char *) "self",(char *) "pos", NULL
29930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
29931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29935 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29939 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
29941 wxPyEndAllowThreads(__tstate
);
29942 if (PyErr_Occurred()) SWIG_fail
;
29944 Py_INCREF(Py_None
); resultobj
= Py_None
;
29951 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29952 PyObject
*resultobj
;
29953 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29955 PyObject
* obj0
= 0 ;
29956 char *kwnames
[] = {
29957 (char *) "self", NULL
29960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
29961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29966 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
29967 result
= (wxString
*) &_result_ref
;
29970 wxPyEndAllowThreads(__tstate
);
29971 if (PyErr_Occurred()) SWIG_fail
;
29975 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29977 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29986 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29987 PyObject
*resultobj
;
29988 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29989 wxString
*arg2
= 0 ;
29990 bool temp2
= False
;
29991 PyObject
* obj0
= 0 ;
29992 PyObject
* obj1
= 0 ;
29993 char *kwnames
[] = {
29994 (char *) "self",(char *) "link", NULL
29997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
29998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30001 arg2
= wxString_in_helper(obj1
);
30002 if (arg2
== NULL
) SWIG_fail
;
30006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30007 (arg1
)->SetLink((wxString
const &)*arg2
);
30009 wxPyEndAllowThreads(__tstate
);
30010 if (PyErr_Occurred()) SWIG_fail
;
30012 Py_INCREF(Py_None
); resultobj
= Py_None
;
30027 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30028 PyObject
*resultobj
;
30029 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30031 PyObject
* obj0
= 0 ;
30032 char *kwnames
[] = {
30033 (char *) "self", NULL
30036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
30037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30042 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
30043 result
= (wxString
*) &_result_ref
;
30046 wxPyEndAllowThreads(__tstate
);
30047 if (PyErr_Occurred()) SWIG_fail
;
30051 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30053 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30062 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30063 PyObject
*resultobj
;
30064 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30065 wxString
*arg2
= 0 ;
30066 bool temp2
= False
;
30067 PyObject
* obj0
= 0 ;
30068 PyObject
* obj1
= 0 ;
30069 char *kwnames
[] = {
30070 (char *) "self",(char *) "target", NULL
30073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
30074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30077 arg2
= wxString_in_helper(obj1
);
30078 if (arg2
== NULL
) SWIG_fail
;
30082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30083 (arg1
)->SetTarget((wxString
const &)*arg2
);
30085 wxPyEndAllowThreads(__tstate
);
30086 if (PyErr_Occurred()) SWIG_fail
;
30088 Py_INCREF(Py_None
); resultobj
= Py_None
;
30103 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
30105 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30106 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
30108 return Py_BuildValue((char *)"");
30110 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30111 PyObject
*resultobj
;
30112 wxWindow
*arg1
= (wxWindow
*) NULL
;
30113 bool arg2
= (bool) True
;
30114 wxContextHelp
*result
;
30115 PyObject
* obj0
= 0 ;
30116 PyObject
* obj1
= 0 ;
30117 char *kwnames
[] = {
30118 (char *) "window",(char *) "doNow", NULL
30121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30127 arg2
= (bool) SWIG_AsBool(obj1
);
30128 if (PyErr_Occurred()) SWIG_fail
;
30131 if (!wxPyCheckForApp()) SWIG_fail
;
30132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30133 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
30135 wxPyEndAllowThreads(__tstate
);
30136 if (PyErr_Occurred()) SWIG_fail
;
30138 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
30145 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30146 PyObject
*resultobj
;
30147 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30148 PyObject
* obj0
= 0 ;
30149 char *kwnames
[] = {
30150 (char *) "self", NULL
30153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
30154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30160 wxPyEndAllowThreads(__tstate
);
30161 if (PyErr_Occurred()) SWIG_fail
;
30163 Py_INCREF(Py_None
); resultobj
= Py_None
;
30170 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30171 PyObject
*resultobj
;
30172 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30173 wxWindow
*arg2
= (wxWindow
*) NULL
;
30175 PyObject
* obj0
= 0 ;
30176 PyObject
* obj1
= 0 ;
30177 char *kwnames
[] = {
30178 (char *) "self",(char *) "window", NULL
30181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30185 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30190 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
30192 wxPyEndAllowThreads(__tstate
);
30193 if (PyErr_Occurred()) SWIG_fail
;
30196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30204 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30205 PyObject
*resultobj
;
30206 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30208 PyObject
* obj0
= 0 ;
30209 char *kwnames
[] = {
30210 (char *) "self", NULL
30213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
30214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30218 result
= (bool)(arg1
)->EndContextHelp();
30220 wxPyEndAllowThreads(__tstate
);
30221 if (PyErr_Occurred()) SWIG_fail
;
30224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30232 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
30234 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30235 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
30237 return Py_BuildValue((char *)"");
30239 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30240 PyObject
*resultobj
;
30241 wxWindow
*arg1
= (wxWindow
*) 0 ;
30242 int arg2
= (int) wxID_CONTEXT_HELP
;
30243 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30244 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30245 wxSize
const &arg4_defvalue
= wxDefaultSize
;
30246 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
30247 long arg5
= (long) wxBU_AUTODRAW
;
30248 wxContextHelpButton
*result
;
30251 PyObject
* obj0
= 0 ;
30252 PyObject
* obj1
= 0 ;
30253 PyObject
* obj2
= 0 ;
30254 PyObject
* obj3
= 0 ;
30255 PyObject
* obj4
= 0 ;
30256 char *kwnames
[] = {
30257 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
30260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30264 arg2
= (int) SWIG_AsInt(obj1
);
30265 if (PyErr_Occurred()) SWIG_fail
;
30270 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30276 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
30280 arg5
= (long) SWIG_AsLong(obj4
);
30281 if (PyErr_Occurred()) SWIG_fail
;
30284 if (!wxPyCheckForApp()) SWIG_fail
;
30285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30286 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
30288 wxPyEndAllowThreads(__tstate
);
30289 if (PyErr_Occurred()) SWIG_fail
;
30291 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
30298 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
30300 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30301 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
30303 return Py_BuildValue((char *)"");
30305 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30306 PyObject
*resultobj
;
30307 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30308 wxHelpProvider
*result
;
30309 PyObject
* obj0
= 0 ;
30310 char *kwnames
[] = {
30311 (char *) "helpProvider", NULL
30314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
30315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30319 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
30321 wxPyEndAllowThreads(__tstate
);
30322 if (PyErr_Occurred()) SWIG_fail
;
30324 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30331 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30332 PyObject
*resultobj
;
30333 wxHelpProvider
*result
;
30334 char *kwnames
[] = {
30338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
30340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30341 result
= (wxHelpProvider
*)wxHelpProvider::Get();
30343 wxPyEndAllowThreads(__tstate
);
30344 if (PyErr_Occurred()) SWIG_fail
;
30346 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30353 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30354 PyObject
*resultobj
;
30355 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30356 wxWindow
*arg2
= (wxWindow
*) 0 ;
30358 PyObject
* obj0
= 0 ;
30359 PyObject
* obj1
= 0 ;
30360 char *kwnames
[] = {
30361 (char *) "self",(char *) "window", NULL
30364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30367 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30371 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
30373 wxPyEndAllowThreads(__tstate
);
30374 if (PyErr_Occurred()) SWIG_fail
;
30378 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30380 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30389 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30390 PyObject
*resultobj
;
30391 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30392 wxWindow
*arg2
= (wxWindow
*) 0 ;
30394 PyObject
* obj0
= 0 ;
30395 PyObject
* obj1
= 0 ;
30396 char *kwnames
[] = {
30397 (char *) "self",(char *) "window", NULL
30400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30403 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30407 result
= (bool)(arg1
)->ShowHelp(arg2
);
30409 wxPyEndAllowThreads(__tstate
);
30410 if (PyErr_Occurred()) SWIG_fail
;
30413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30421 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30422 PyObject
*resultobj
;
30423 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30424 wxWindow
*arg2
= (wxWindow
*) 0 ;
30425 wxString
*arg3
= 0 ;
30426 bool temp3
= False
;
30427 PyObject
* obj0
= 0 ;
30428 PyObject
* obj1
= 0 ;
30429 PyObject
* obj2
= 0 ;
30430 char *kwnames
[] = {
30431 (char *) "self",(char *) "window",(char *) "text", NULL
30434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30437 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30440 arg3
= wxString_in_helper(obj2
);
30441 if (arg3
== NULL
) SWIG_fail
;
30445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30446 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30448 wxPyEndAllowThreads(__tstate
);
30449 if (PyErr_Occurred()) SWIG_fail
;
30451 Py_INCREF(Py_None
); resultobj
= Py_None
;
30466 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30467 PyObject
*resultobj
;
30468 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30470 wxString
*arg3
= 0 ;
30471 bool temp3
= False
;
30472 PyObject
* obj0
= 0 ;
30473 PyObject
* obj1
= 0 ;
30474 PyObject
* obj2
= 0 ;
30475 char *kwnames
[] = {
30476 (char *) "self",(char *) "id",(char *) "text", NULL
30479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30482 arg2
= (int) SWIG_AsInt(obj1
);
30483 if (PyErr_Occurred()) SWIG_fail
;
30485 arg3
= wxString_in_helper(obj2
);
30486 if (arg3
== NULL
) SWIG_fail
;
30490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30491 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30493 wxPyEndAllowThreads(__tstate
);
30494 if (PyErr_Occurred()) SWIG_fail
;
30496 Py_INCREF(Py_None
); resultobj
= Py_None
;
30511 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30512 PyObject
*resultobj
;
30513 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30514 wxWindow
*arg2
= (wxWindow
*) 0 ;
30515 PyObject
* obj0
= 0 ;
30516 PyObject
* obj1
= 0 ;
30517 char *kwnames
[] = {
30518 (char *) "self",(char *) "window", NULL
30521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30524 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30528 (arg1
)->RemoveHelp(arg2
);
30530 wxPyEndAllowThreads(__tstate
);
30531 if (PyErr_Occurred()) SWIG_fail
;
30533 Py_INCREF(Py_None
); resultobj
= Py_None
;
30540 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30541 PyObject
*resultobj
;
30542 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30543 PyObject
* obj0
= 0 ;
30544 char *kwnames
[] = {
30545 (char *) "self", NULL
30548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
30549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30553 wxHelpProvider_Destroy(arg1
);
30555 wxPyEndAllowThreads(__tstate
);
30556 if (PyErr_Occurred()) SWIG_fail
;
30558 Py_INCREF(Py_None
); resultobj
= Py_None
;
30565 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
30567 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30568 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
30570 return Py_BuildValue((char *)"");
30572 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30573 PyObject
*resultobj
;
30574 wxSimpleHelpProvider
*result
;
30575 char *kwnames
[] = {
30579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
30581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30582 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
30584 wxPyEndAllowThreads(__tstate
);
30585 if (PyErr_Occurred()) SWIG_fail
;
30587 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
30594 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
30596 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30597 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
30599 return Py_BuildValue((char *)"");
30601 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30602 PyObject
*resultobj
;
30603 wxBitmap
*arg1
= 0 ;
30604 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30605 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30606 wxGenericDragImage
*result
;
30607 PyObject
* obj0
= 0 ;
30608 PyObject
* obj1
= 0 ;
30609 char *kwnames
[] = {
30610 (char *) "image",(char *) "cursor", NULL
30613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
30614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
30615 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30617 if (arg1
== NULL
) {
30618 PyErr_SetString(PyExc_TypeError
,"null reference");
30622 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30623 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30625 if (arg2
== NULL
) {
30626 PyErr_SetString(PyExc_TypeError
,"null reference");
30631 if (!wxPyCheckForApp()) SWIG_fail
;
30632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30633 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
30635 wxPyEndAllowThreads(__tstate
);
30636 if (PyErr_Occurred()) SWIG_fail
;
30638 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30645 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30646 PyObject
*resultobj
;
30648 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30649 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30650 wxGenericDragImage
*result
;
30651 PyObject
* obj0
= 0 ;
30652 PyObject
* obj1
= 0 ;
30653 char *kwnames
[] = {
30654 (char *) "image",(char *) "cursor", NULL
30657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
30658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
30659 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30661 if (arg1
== NULL
) {
30662 PyErr_SetString(PyExc_TypeError
,"null reference");
30666 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30667 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30669 if (arg2
== NULL
) {
30670 PyErr_SetString(PyExc_TypeError
,"null reference");
30675 if (!wxPyCheckForApp()) SWIG_fail
;
30676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30677 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
30679 wxPyEndAllowThreads(__tstate
);
30680 if (PyErr_Occurred()) SWIG_fail
;
30682 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30689 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30690 PyObject
*resultobj
;
30691 wxString
*arg1
= 0 ;
30692 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30693 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30694 wxGenericDragImage
*result
;
30695 bool temp1
= False
;
30696 PyObject
* obj0
= 0 ;
30697 PyObject
* obj1
= 0 ;
30698 char *kwnames
[] = {
30699 (char *) "str",(char *) "cursor", NULL
30702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
30704 arg1
= wxString_in_helper(obj0
);
30705 if (arg1
== NULL
) SWIG_fail
;
30709 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30710 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30712 if (arg2
== NULL
) {
30713 PyErr_SetString(PyExc_TypeError
,"null reference");
30718 if (!wxPyCheckForApp()) SWIG_fail
;
30719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30720 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
30722 wxPyEndAllowThreads(__tstate
);
30723 if (PyErr_Occurred()) SWIG_fail
;
30725 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30740 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30741 PyObject
*resultobj
;
30742 wxPyTreeCtrl
*arg1
= 0 ;
30743 wxTreeItemId
*arg2
= 0 ;
30744 wxGenericDragImage
*result
;
30745 PyObject
* obj0
= 0 ;
30746 PyObject
* obj1
= 0 ;
30747 char *kwnames
[] = {
30748 (char *) "treeCtrl",(char *) "id", NULL
30751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
30753 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30755 if (arg1
== NULL
) {
30756 PyErr_SetString(PyExc_TypeError
,"null reference");
30759 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
30760 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30762 if (arg2
== NULL
) {
30763 PyErr_SetString(PyExc_TypeError
,"null reference");
30767 if (!wxPyCheckForApp()) SWIG_fail
;
30768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30769 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
30771 wxPyEndAllowThreads(__tstate
);
30772 if (PyErr_Occurred()) SWIG_fail
;
30774 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30781 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30782 PyObject
*resultobj
;
30783 wxPyListCtrl
*arg1
= 0 ;
30785 wxGenericDragImage
*result
;
30786 PyObject
* obj0
= 0 ;
30787 PyObject
* obj1
= 0 ;
30788 char *kwnames
[] = {
30789 (char *) "listCtrl",(char *) "id", NULL
30792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
30794 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30796 if (arg1
== NULL
) {
30797 PyErr_SetString(PyExc_TypeError
,"null reference");
30800 arg2
= (long) SWIG_AsLong(obj1
);
30801 if (PyErr_Occurred()) SWIG_fail
;
30803 if (!wxPyCheckForApp()) SWIG_fail
;
30804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30805 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
30807 wxPyEndAllowThreads(__tstate
);
30808 if (PyErr_Occurred()) SWIG_fail
;
30810 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30817 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30818 PyObject
*resultobj
;
30819 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30820 PyObject
* obj0
= 0 ;
30821 char *kwnames
[] = {
30822 (char *) "self", NULL
30825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
30826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30832 wxPyEndAllowThreads(__tstate
);
30833 if (PyErr_Occurred()) SWIG_fail
;
30835 Py_INCREF(Py_None
); resultobj
= Py_None
;
30842 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30843 PyObject
*resultobj
;
30844 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30845 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
30846 PyObject
* obj0
= 0 ;
30847 PyObject
* obj1
= 0 ;
30848 char *kwnames
[] = {
30849 (char *) "self",(char *) "bitmap", NULL
30852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
30853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30855 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
30856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30859 (arg1
)->SetBackingBitmap(arg2
);
30861 wxPyEndAllowThreads(__tstate
);
30862 if (PyErr_Occurred()) SWIG_fail
;
30864 Py_INCREF(Py_None
); resultobj
= Py_None
;
30871 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30872 PyObject
*resultobj
;
30873 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30874 wxPoint
*arg2
= 0 ;
30875 wxWindow
*arg3
= (wxWindow
*) 0 ;
30876 bool arg4
= (bool) False
;
30877 wxRect
*arg5
= (wxRect
*) NULL
;
30880 PyObject
* obj0
= 0 ;
30881 PyObject
* obj1
= 0 ;
30882 PyObject
* obj2
= 0 ;
30883 PyObject
* obj3
= 0 ;
30884 PyObject
* obj4
= 0 ;
30885 char *kwnames
[] = {
30886 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
30889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30894 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30896 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
30897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30899 arg4
= (bool) SWIG_AsBool(obj3
);
30900 if (PyErr_Occurred()) SWIG_fail
;
30903 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
30904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30908 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
30910 wxPyEndAllowThreads(__tstate
);
30911 if (PyErr_Occurred()) SWIG_fail
;
30914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30922 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30923 PyObject
*resultobj
;
30924 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30925 wxPoint
*arg2
= 0 ;
30926 wxWindow
*arg3
= (wxWindow
*) 0 ;
30927 wxWindow
*arg4
= (wxWindow
*) 0 ;
30930 PyObject
* obj0
= 0 ;
30931 PyObject
* obj1
= 0 ;
30932 PyObject
* obj2
= 0 ;
30933 PyObject
* obj3
= 0 ;
30934 char *kwnames
[] = {
30935 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
30938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30943 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30945 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
30946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30947 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
30948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30951 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
30953 wxPyEndAllowThreads(__tstate
);
30954 if (PyErr_Occurred()) SWIG_fail
;
30957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30965 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30966 PyObject
*resultobj
;
30967 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30969 PyObject
* obj0
= 0 ;
30970 char *kwnames
[] = {
30971 (char *) "self", NULL
30974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
30975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30979 result
= (bool)(arg1
)->EndDrag();
30981 wxPyEndAllowThreads(__tstate
);
30982 if (PyErr_Occurred()) SWIG_fail
;
30985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30993 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30994 PyObject
*resultobj
;
30995 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30996 wxPoint
*arg2
= 0 ;
30999 PyObject
* obj0
= 0 ;
31000 PyObject
* obj1
= 0 ;
31001 char *kwnames
[] = {
31002 (char *) "self",(char *) "pt", NULL
31005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
31006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31010 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31014 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
31016 wxPyEndAllowThreads(__tstate
);
31017 if (PyErr_Occurred()) SWIG_fail
;
31020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31028 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31029 PyObject
*resultobj
;
31030 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31032 PyObject
* obj0
= 0 ;
31033 char *kwnames
[] = {
31034 (char *) "self", NULL
31037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
31038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31042 result
= (bool)(arg1
)->Show();
31044 wxPyEndAllowThreads(__tstate
);
31045 if (PyErr_Occurred()) SWIG_fail
;
31048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31056 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31057 PyObject
*resultobj
;
31058 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31060 PyObject
* obj0
= 0 ;
31061 char *kwnames
[] = {
31062 (char *) "self", NULL
31065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
31066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31070 result
= (bool)(arg1
)->Hide();
31072 wxPyEndAllowThreads(__tstate
);
31073 if (PyErr_Occurred()) SWIG_fail
;
31076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31084 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31085 PyObject
*resultobj
;
31086 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31087 wxPoint
*arg2
= 0 ;
31090 PyObject
* obj0
= 0 ;
31091 PyObject
* obj1
= 0 ;
31092 char *kwnames
[] = {
31093 (char *) "self",(char *) "pos", NULL
31096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
31097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31101 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31105 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
31107 wxPyEndAllowThreads(__tstate
);
31108 if (PyErr_Occurred()) SWIG_fail
;
31111 wxRect
* resultptr
;
31112 resultptr
= new wxRect((wxRect
&) result
);
31113 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
31121 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31122 PyObject
*resultobj
;
31123 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31125 wxPoint
*arg3
= 0 ;
31128 PyObject
* obj0
= 0 ;
31129 PyObject
* obj1
= 0 ;
31130 PyObject
* obj2
= 0 ;
31131 char *kwnames
[] = {
31132 (char *) "self",(char *) "dc",(char *) "pos", NULL
31135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31138 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31139 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31141 if (arg2
== NULL
) {
31142 PyErr_SetString(PyExc_TypeError
,"null reference");
31147 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31151 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
31153 wxPyEndAllowThreads(__tstate
);
31154 if (PyErr_Occurred()) SWIG_fail
;
31157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31165 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31166 PyObject
*resultobj
;
31167 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31169 wxMemoryDC
*arg3
= 0 ;
31175 PyObject
* obj0
= 0 ;
31176 PyObject
* obj1
= 0 ;
31177 PyObject
* obj2
= 0 ;
31178 PyObject
* obj3
= 0 ;
31179 PyObject
* obj4
= 0 ;
31180 char *kwnames
[] = {
31181 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
31184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31187 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31188 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31190 if (arg2
== NULL
) {
31191 PyErr_SetString(PyExc_TypeError
,"null reference");
31194 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
31195 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31197 if (arg3
== NULL
) {
31198 PyErr_SetString(PyExc_TypeError
,"null reference");
31203 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31207 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
31210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31211 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
31213 wxPyEndAllowThreads(__tstate
);
31214 if (PyErr_Occurred()) SWIG_fail
;
31217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31225 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31226 PyObject
*resultobj
;
31227 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31228 wxPoint
*arg2
= 0 ;
31229 wxPoint
*arg3
= 0 ;
31235 PyObject
* obj0
= 0 ;
31236 PyObject
* obj1
= 0 ;
31237 PyObject
* obj2
= 0 ;
31238 PyObject
* obj3
= 0 ;
31239 PyObject
* obj4
= 0 ;
31240 char *kwnames
[] = {
31241 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
31244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31249 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31253 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31255 arg4
= (bool) SWIG_AsBool(obj3
);
31256 if (PyErr_Occurred()) SWIG_fail
;
31257 arg5
= (bool) SWIG_AsBool(obj4
);
31258 if (PyErr_Occurred()) SWIG_fail
;
31260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31261 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
31263 wxPyEndAllowThreads(__tstate
);
31264 if (PyErr_Occurred()) SWIG_fail
;
31267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31275 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
31277 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31278 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
31280 return Py_BuildValue((char *)"");
31282 static PyMethodDef SwigMethods
[] = {
31283 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
31284 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
31285 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
31286 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
31287 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
31288 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31289 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
31290 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
31291 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
31292 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31293 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
31294 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
31295 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
31296 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
31297 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
31298 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
31299 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
31300 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
31301 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31302 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
31303 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
31304 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
31305 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
31306 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
31307 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31308 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31309 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
31310 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31311 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
31312 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
31313 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
31314 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
31315 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31316 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
31317 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
31318 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
31319 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
31320 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31321 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31322 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31323 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31324 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
31325 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
31326 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
31327 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31328 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31329 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31330 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
31331 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
31332 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
31333 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31334 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31335 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
31336 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
31337 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31338 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
31339 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31340 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31341 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
31342 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
31343 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
31344 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31345 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
31346 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
31347 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
31348 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
31349 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31350 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31351 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31352 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31353 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31354 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
31355 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
31356 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
31357 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
31358 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31359 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
31360 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
31361 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
31362 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31363 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31364 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
31365 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
31366 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
31367 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
31368 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31369 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
31370 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31371 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
31372 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
31373 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
31374 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
31375 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31376 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
31377 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31378 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31379 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
31380 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31381 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31382 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
31383 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31384 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
31385 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
31386 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
31387 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31388 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
31389 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
31390 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
31391 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31392 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31393 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
31394 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
31395 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
31396 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31397 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
31398 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
31399 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
31400 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31401 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31402 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
31403 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31404 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31405 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31406 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31407 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
31408 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
31409 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
31410 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31411 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
31412 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
31413 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
31414 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31415 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
31416 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
31417 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
},
31418 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
31419 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
31420 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31421 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31422 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31423 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31424 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
31425 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31426 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31427 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
31428 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31429 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31430 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
31431 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31432 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
31433 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31434 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31435 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
31436 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31437 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31438 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31439 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31440 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
31441 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31442 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
},
31443 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31444 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
31445 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
31446 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
31447 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
31448 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31449 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31450 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31451 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31452 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31453 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31454 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
31455 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
31456 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
31457 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
31458 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
31459 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
31460 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
31461 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31462 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31463 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
31464 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
31465 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
31466 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
31467 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
31468 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
31469 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
31470 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
31471 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
31472 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
31473 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
31474 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31475 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31476 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
31477 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
31478 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
31479 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
31480 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
31481 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31482 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
31483 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
31484 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
31485 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
31486 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
31487 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
31488 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
31489 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
31490 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
31491 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
31492 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31493 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
31494 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31495 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
31496 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31497 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
31498 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
31499 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
31500 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
31501 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31502 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
31503 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
31504 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
31505 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
31506 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
31507 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
31508 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
31509 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
31510 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
31511 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
31512 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
31513 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31514 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31515 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31516 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
31517 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
31518 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31519 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
31520 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
31521 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
31522 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31523 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31524 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31525 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31526 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31527 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
31528 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
31529 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31530 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31531 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31532 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
31533 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31534 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31535 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31536 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31537 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31538 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
31539 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31540 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31541 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31542 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31543 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31544 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
31545 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
31546 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31547 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31548 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
},
31549 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
31550 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
31551 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31552 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31553 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31554 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31555 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31556 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
31557 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
31558 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
31559 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31560 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
31561 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
31562 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
31563 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
31564 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
31565 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31566 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
31567 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
31568 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
31569 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31570 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31571 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31572 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31573 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
31574 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
31575 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
31576 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
31577 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31578 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31579 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31580 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31581 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31582 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
31583 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
31584 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
31585 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31586 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
31587 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31588 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
31589 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
31590 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
31591 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
31592 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
31593 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
31594 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
31595 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
31596 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
31597 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31598 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31599 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
31600 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
31601 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
31602 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31603 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31604 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31605 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31606 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31607 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
31608 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
31609 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
31610 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31611 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
31612 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
31613 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31614 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31615 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31616 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
31617 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
31618 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31619 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
31620 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
31621 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
31622 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
31623 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
31624 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
31625 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31626 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
31627 { (char *)"BookCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31628 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
31629 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
31630 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31631 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31632 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
31633 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
31634 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
31635 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
31636 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
31637 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
31638 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
31639 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
31640 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
31641 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31642 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
31643 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31644 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
31645 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
31646 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
31647 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
31648 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
31649 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
31650 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31651 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
31652 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
31653 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
31654 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
31655 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
31656 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
31657 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
31658 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
31659 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
31660 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
31661 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
31662 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
31663 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
31664 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31665 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
31666 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31667 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
31668 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
31669 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31670 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31671 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
31672 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
31673 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
31674 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
31675 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31676 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31677 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31678 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31679 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31680 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31681 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
31682 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
31683 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
31684 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31685 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31686 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31687 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31688 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31689 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
31690 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
31691 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
31692 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
31693 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
31694 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
31695 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
31696 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
31697 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
31698 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
31699 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
31700 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
31701 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31702 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31703 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
31704 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
31705 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
31706 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
31707 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
31708 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
31709 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
31710 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
31711 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
31712 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
31713 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
31714 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
31715 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
31716 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31717 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31718 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31719 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31720 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
31721 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31722 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
31723 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
31724 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
31725 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31726 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
31727 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
31728 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
31729 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
31730 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
31731 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
31732 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
31733 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
31734 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
31735 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
31736 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
31737 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31738 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
31739 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31740 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31741 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
31742 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
31743 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31744 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
31745 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
31746 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31747 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31748 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31749 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31750 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31751 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
31752 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31753 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31754 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31755 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31756 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
31757 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
31758 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
31759 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
31760 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31761 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
31762 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
31763 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31764 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
31765 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
31766 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
31767 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
31768 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
31769 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
31770 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
31771 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31772 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31773 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31774 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
31775 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31776 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31777 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
31778 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
31779 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
31780 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31781 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
31782 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
31783 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31784 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31785 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31786 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31787 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31788 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
31789 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
31790 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
31791 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
31792 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
31793 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
31794 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
31795 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
31796 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
31797 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
31798 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
31799 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
31800 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
31801 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
31802 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
31803 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
31804 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
31805 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
31806 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
31807 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
31808 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
31809 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
31810 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
31811 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
31812 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
31813 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
31814 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
31815 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
31816 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
31817 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
31818 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
31819 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
31820 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
31821 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
31822 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
31823 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31824 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31825 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31826 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
31827 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
31828 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31829 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
31830 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31831 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
31832 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
31833 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
31834 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
31835 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
31836 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31837 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31838 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31839 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31840 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31841 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31842 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31843 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31844 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
31845 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
31846 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
31847 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
31848 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31849 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
31850 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31851 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
31852 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
31853 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31854 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31855 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31856 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31857 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31858 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
31859 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
31860 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
31861 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31862 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
31863 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31864 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31865 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31866 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31867 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31868 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
31869 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
31870 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
31871 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
31872 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31873 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31874 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31875 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
},
31876 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
31877 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
31878 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
31879 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
31880 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
31881 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
31882 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
31883 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
31884 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
31885 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
31886 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31887 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
31888 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
31889 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
31890 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31891 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
31892 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31893 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
31894 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31895 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
31896 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
31897 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31898 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
31899 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31900 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31901 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31902 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31903 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
31904 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
31905 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31906 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
31907 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
31908 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
31909 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
31910 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
31911 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
31912 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
31913 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
31914 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
31915 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31916 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
31917 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
31918 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
31919 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
31920 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
31921 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
31922 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
31923 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
31924 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
31925 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
31926 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
31927 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
31928 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31929 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
31930 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31931 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
31932 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31933 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
31934 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
31935 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31936 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
31937 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
31938 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
31939 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31940 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31941 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
31942 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
31943 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
31944 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31945 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31946 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
31947 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
31948 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
31949 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
31950 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31951 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31952 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31953 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31954 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
31955 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
31956 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
31957 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31958 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31959 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31960 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31961 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31962 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31963 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31964 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31965 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31966 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31967 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31968 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
31969 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31970 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31971 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31972 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31973 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31974 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31975 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
31976 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
31977 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
31978 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31979 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31980 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31981 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
31982 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
31983 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
31984 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31985 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
31986 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
31987 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
31988 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31989 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
31990 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
31991 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
31992 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
31993 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
31994 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
31995 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
31996 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
31997 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
31998 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
31999 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
32000 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
32001 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
32002 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
32003 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
32004 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
32005 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
32006 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
32007 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
32008 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
32009 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
32010 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
32011 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
32012 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
},
32013 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
32014 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
32015 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
},
32016 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
32017 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
32018 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
32019 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
32020 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
32021 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
32022 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
32023 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
32024 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
32025 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
32026 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
32027 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
32028 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
32029 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
32030 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
32031 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
32032 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
32033 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
32034 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
32035 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
32036 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
32037 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
32038 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
32039 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
32040 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
32041 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
32042 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
32043 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
32044 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
32045 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
32046 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
32047 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
32048 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
32049 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
32050 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
32051 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
32052 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
32053 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
},
32054 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
32055 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
32056 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
32057 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
32058 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
32059 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
32060 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
32061 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
32062 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
32063 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
32064 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
32065 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
32066 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
32067 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
32068 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
32069 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
32070 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
32071 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
32072 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
32073 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
32074 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
32075 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
32076 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
32077 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
32078 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
32079 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
32080 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
32081 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
32082 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
32083 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
32084 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
32085 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
32086 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
32087 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
32088 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
32089 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
32090 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
32091 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
32092 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
32093 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
32094 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
32095 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
32096 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
32097 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
32098 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
32099 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
},
32100 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
32101 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
32102 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
32103 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
32104 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
32105 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
32106 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
32107 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
32108 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
32109 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
32110 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
32111 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
32112 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
32113 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
32114 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
32115 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
32116 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
32117 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
32118 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
32119 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
32120 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
32121 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
32126 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32128 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
32129 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32131 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
32132 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32134 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
32135 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
32137 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
32138 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32140 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
32141 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32143 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
32144 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
32146 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
32147 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32149 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
32150 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
32152 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
32153 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
32155 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
32156 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
32158 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32159 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32161 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32162 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32164 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32165 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32167 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32168 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32170 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32171 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32173 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
32174 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32176 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32177 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32179 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32180 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32182 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32183 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32185 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
32186 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32188 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
32189 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32191 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32192 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32194 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32195 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32197 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
32198 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
32200 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
32201 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32203 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
32204 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32206 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
32207 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
32209 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32210 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32212 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32213 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32215 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32216 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32218 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32219 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32221 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32222 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32224 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32225 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32227 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32228 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32230 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32231 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32233 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32234 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32236 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32237 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32239 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32240 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32242 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32243 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32245 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32246 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32248 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32249 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32251 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32252 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32254 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32255 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32257 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32258 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32260 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32261 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32263 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32264 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32266 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32267 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32269 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32270 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32272 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32273 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32275 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32276 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32278 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32279 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32281 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32282 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32284 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
32285 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32287 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
32288 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
32290 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
32291 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32293 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
32294 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32296 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
32297 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
32299 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
32300 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32302 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
32303 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32305 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
32306 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
32308 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
32309 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32311 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
32312 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32314 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
32315 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32317 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
32318 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
32320 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
32321 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
32323 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
32324 return (void *)((wxControl
*) ((wxComboBox
*) x
));
32326 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
32327 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
32329 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
32330 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
32332 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
32333 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
32335 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
32336 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
32338 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
32339 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32341 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
32342 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
32344 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
32345 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
32347 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
32348 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
32350 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
32351 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
32353 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
32354 return (void *)((wxControl
*) ((wxGauge
*) x
));
32356 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
32357 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
32359 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
32360 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
32362 static void *_p_wxButtonTo_p_wxControl(void *x
) {
32363 return (void *)((wxControl
*) ((wxButton
*) x
));
32365 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
32366 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
32368 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
32369 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32371 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
32372 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
32374 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
32375 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
32377 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
32378 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
32380 static void *_p_wxListbookTo_p_wxControl(void *x
) {
32381 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
32383 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
32384 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
32386 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
32387 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
32389 static void *_p_wxListViewTo_p_wxControl(void *x
) {
32390 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
32392 static void *_p_wxSliderTo_p_wxControl(void *x
) {
32393 return (void *)((wxControl
*) ((wxSlider
*) x
));
32395 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
32396 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
32398 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
32399 return (void *)((wxControl
*) ((wxPyControl
*) x
));
32401 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
32402 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
32404 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
32405 return (void *)((wxControl
*) ((wxStaticText
*) x
));
32407 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
32408 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
32410 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
32411 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32413 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
32414 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32416 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
32417 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32419 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
32420 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
32422 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
32423 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32425 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
32426 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32428 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
32429 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32431 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
32432 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
32434 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32435 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32437 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32438 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32440 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32441 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32443 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
32444 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32446 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32447 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32449 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
32450 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
32452 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
32453 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
32455 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32456 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32458 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32459 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32461 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
32462 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
32464 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
32465 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32467 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
32468 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
32470 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
32471 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32473 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
32474 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
32476 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32477 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32479 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
32480 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32482 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
32483 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
32485 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32486 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32488 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
32489 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
32491 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
32492 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
32494 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
32495 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32497 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
32498 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32500 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
32501 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32503 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
32504 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
32506 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
32507 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32509 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
32510 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32512 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
32513 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32515 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
32516 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32518 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
32519 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
32521 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
32522 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32524 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
32525 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
32527 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
32528 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
32530 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
32531 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
32533 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
32534 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
32536 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
32537 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
32539 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
32540 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
32542 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
32543 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32545 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
32546 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32548 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
32549 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
32551 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
32552 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
32554 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
32555 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
32557 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
32558 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
32560 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
32561 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
32563 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
32564 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32566 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
32567 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32569 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
32570 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
32572 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32573 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32575 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32576 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32578 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32579 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32581 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32582 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32584 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32585 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32587 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
32588 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32590 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
32591 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32593 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32594 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32596 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32597 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32599 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32600 return (void *)((wxObject
*) ((wxSizer
*) x
));
32602 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32603 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32605 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
32606 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32608 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
32609 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32611 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32612 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32614 static void *_p_wxEventTo_p_wxObject(void *x
) {
32615 return (void *)((wxObject
*) ((wxEvent
*) x
));
32617 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32618 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32620 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32621 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32623 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32624 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32626 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
32627 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32629 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
32630 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32632 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
32633 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32635 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32636 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32638 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32639 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32641 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32642 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32644 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32645 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32647 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32648 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32650 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32651 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32653 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
32654 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
32656 static void *_p_wxControlTo_p_wxObject(void *x
) {
32657 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32659 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
32660 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
32662 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
32663 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
32665 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
32666 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
32668 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
32669 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
32671 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
32672 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
32674 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32675 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32677 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
32678 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32680 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32681 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32683 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32684 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32686 static void *_p_wxListViewTo_p_wxObject(void *x
) {
32687 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32689 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
32690 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
32692 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
32693 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32695 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32696 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32698 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32699 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32701 static void *_p_wxListbookTo_p_wxObject(void *x
) {
32702 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32704 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32705 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32707 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
32708 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
32710 static void *_p_wxSliderTo_p_wxObject(void *x
) {
32711 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
32713 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32714 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32716 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32717 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32719 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32720 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32722 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32723 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32725 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32726 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32728 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32729 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32731 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32732 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32734 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32735 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32737 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32738 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32740 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
32741 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
32743 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
32744 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
32746 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32747 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32749 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32750 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32752 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32753 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32755 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32756 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32758 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32759 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32761 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32762 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32764 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32765 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32767 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32768 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32770 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32771 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32773 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32774 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32776 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32777 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32779 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32780 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32782 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32783 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32785 static void *_p_wxListEventTo_p_wxObject(void *x
) {
32786 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
32788 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
32789 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32791 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
32792 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32794 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
32795 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
32797 static void *_p_wxButtonTo_p_wxObject(void *x
) {
32798 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
32800 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
32801 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32803 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
32804 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
32806 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
32807 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32809 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32810 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32812 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
32813 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
32815 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
32816 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
32818 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
32819 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
32821 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
32822 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
32824 static void *_p_wxListItemTo_p_wxObject(void *x
) {
32825 return (void *)((wxObject
*) ((wxListItem
*) x
));
32827 static void *_p_wxImageTo_p_wxObject(void *x
) {
32828 return (void *)((wxObject
*) ((wxImage
*) x
));
32830 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
32831 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
32833 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32834 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32836 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
32837 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32839 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
32840 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
32842 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
32843 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
32845 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
32846 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32848 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
32849 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32851 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32852 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32854 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32855 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32857 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32858 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32860 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32861 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32863 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32864 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32866 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32867 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32869 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32870 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32872 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32873 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32875 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32876 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32878 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32879 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32881 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32882 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32884 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32885 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32887 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32888 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32890 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
32891 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32893 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32894 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32896 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32897 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32899 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
32900 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
32902 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32903 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32905 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32906 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32908 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32909 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32911 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32912 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32914 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
32915 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
32917 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
32918 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32920 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32921 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32923 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32924 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32926 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
32927 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
32929 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
32930 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
32932 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32933 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32935 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
32936 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32938 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
32939 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
32941 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
32942 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
32944 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
32945 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
32947 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32948 return (void *)((wxWindow
*) ((wxControl
*) x
));
32950 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
32951 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
32953 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
32954 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32956 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
32957 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
32959 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
32960 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
32962 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
32963 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
32965 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
32966 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
32968 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32969 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32971 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
32972 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
32974 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
32975 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
32977 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
32978 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32980 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
32981 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
32983 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
32984 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
32986 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
32987 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
32989 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
32990 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32992 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
32993 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32995 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
32996 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32998 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
32999 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
33001 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
33002 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
33004 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
33005 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
33007 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
33008 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
33010 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
33011 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
33013 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
33014 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
33016 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
33017 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
33019 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
33020 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
33022 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
33023 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
33025 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
33026 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
33028 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
33029 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
33031 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
33032 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
33034 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
33035 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33037 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
33038 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
33040 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
33041 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
33043 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
33044 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
33046 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
33047 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33049 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
33050 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33052 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
33053 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33055 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
33056 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
33058 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
33059 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
33061 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
33062 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
33064 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
33065 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33067 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
33068 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
33070 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
33071 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
33073 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
33074 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
33076 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
33077 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33079 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
33080 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33082 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
33083 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33085 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
33086 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
33088 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
33089 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
33091 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
33092 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
33094 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
33095 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
33097 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}};
33098 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}};
33099 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}};
33100 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}};
33101 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}};
33102 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}};
33103 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}};
33104 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}};
33105 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}};
33106 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}};
33107 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}};
33108 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}};
33109 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}};
33110 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}};
33111 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}};
33112 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}};
33113 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}};
33114 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}};
33115 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}};
33116 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}};
33117 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}};
33118 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}};
33119 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}};
33120 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}};
33121 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}};
33122 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}};
33123 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}};
33124 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}};
33125 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}};
33126 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}};
33127 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}};
33128 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}};
33129 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}};
33130 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}};
33131 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}};
33132 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}};
33133 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}};
33134 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}};
33135 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}};
33136 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}};
33137 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}};
33138 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}};
33139 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}};
33140 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}};
33141 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}};
33142 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}};
33143 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}};
33144 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}};
33145 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}};
33146 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}};
33147 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}};
33148 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}};
33149 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}};
33150 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}};
33151 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}};
33152 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}};
33153 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}};
33154 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}};
33155 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}};
33156 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}};
33157 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}};
33158 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}};
33159 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}};
33160 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}};
33161 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}};
33162 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}};
33163 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}};
33164 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}};
33165 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}};
33166 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}};
33167 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}};
33168 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}};
33169 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}};
33170 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}};
33171 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}};
33172 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}};
33173 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}};
33174 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}};
33175 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}};
33176 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}};
33177 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}};
33178 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}};
33179 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}};
33180 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}};
33181 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}};
33183 static swig_type_info
*swig_types_initial
[] = {
33184 _swigt__p_wxTextUrlEvent
,
33185 _swigt__p_wxBookCtrlEvent
,
33187 _swigt__p_wxCheckBox
,
33188 _swigt__p_wxPyTreeCtrl
,
33190 _swigt__p_wxGenericDirCtrl
,
33192 _swigt__p_wxPyTreeItemData
,
33193 _swigt__p_wxItemContainer
,
33194 _swigt__p_wxPyListCtrl
,
33195 _swigt__p_wxDirFilterListCtrl
,
33196 _swigt__p_wxStaticLine
,
33197 _swigt__p_wxControl
,
33198 _swigt__p_wxPyControl
,
33200 _swigt__p_wxToolBarBase
,
33202 _swigt__p_wxToggleButton
,
33203 _swigt__p_wxRadioButton
,
33204 _swigt__p_wxChoice
,
33205 _swigt__p_wxMemoryDC
,
33206 _swigt__p_wxListItemAttr
,
33211 _swigt__p_wxListView
,
33213 _swigt__p_wxVisualAttributes
,
33214 _swigt__p_wxTextCtrl
,
33215 _swigt__p_wxNotebook
,
33216 _swigt__p_wxNotifyEvent
,
33217 _swigt__p_wxArrayString
,
33218 _swigt__p_wxListbook
,
33219 _swigt__p_wxStaticBitmap
,
33220 _swigt__p_wxSlider
,
33221 _swigt__p_wxStaticBox
,
33222 _swigt__p_wxArrayInt
,
33223 _swigt__p_wxContextHelp
,
33225 _swigt__p_wxEvtHandler
,
33226 _swigt__p_wxListEvent
,
33227 _swigt__p_wxCheckListBox
,
33228 _swigt__p_wxListBox
,
33229 _swigt__p_wxBookCtrl
,
33230 _swigt__p_wxSpinButton
,
33231 _swigt__p_wxButton
,
33232 _swigt__p_wxBitmapButton
,
33234 _swigt__p_wxContextHelpButton
,
33235 _swigt__p_wxRadioBox
,
33236 _swigt__p_wxScrollBar
,
33238 _swigt__p_wxTreeItemId
,
33239 _swigt__p_wxComboBox
,
33240 _swigt__p_wxHelpEvent
,
33241 _swigt__p_wxListItem
,
33242 _swigt__p_wxNotebookSizer
,
33243 _swigt__p_wxSpinEvent
,
33244 _swigt__p_wxGenericDragImage
,
33245 _swigt__p_wxSpinCtrl
,
33246 _swigt__p_wxImageList
,
33247 _swigt__p_wxHelpProvider
,
33248 _swigt__p_wxTextAttr
,
33249 _swigt__p_wxSimpleHelpProvider
,
33251 _swigt__p_wxListbookEvent
,
33252 _swigt__p_wxNotebookEvent
,
33253 _swigt__p_wxObject
,
33254 _swigt__p_wxCursor
,
33255 _swigt__p_wxKeyEvent
,
33256 _swigt__p_wxWindow
,
33257 _swigt__p_wxString
,
33258 _swigt__p_wxBitmap
,
33259 _swigt__p_wxTreeEvent
,
33260 _swigt__p_wxMouseEvent
,
33261 _swigt__p_wxCommandEvent
,
33262 _swigt__p_wxStaticText
,
33263 _swigt__p_wxControlWithItems
,
33264 _swigt__p_wxToolBarToolBase
,
33265 _swigt__p_wxColour
,
33266 _swigt__p_wxToolBar
,
33267 _swigt__p_wxBookCtrlSizer
,
33268 _swigt__p_wxValidator
,
33273 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33275 static swig_const_info swig_const_table
[] = {
33285 SWIGEXPORT(void) SWIG_init(void) {
33286 static PyObject
*SWIG_globals
= 0;
33287 static int typeinit
= 0;
33290 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
33291 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33292 d
= PyModule_GetDict(m
);
33295 for (i
= 0; swig_types_initial
[i
]; i
++) {
33296 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
33300 SWIG_InstallConstants(d
,swig_const_table
);
33302 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
33303 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
33304 PyDict_SetItemString(d
,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT
));
33305 PyDict_SetItemString(d
,"BU_TOP", SWIG_FromInt((int)wxBU_TOP
));
33306 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT
));
33307 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM
));
33308 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT
));
33309 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW
));
33310 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
33311 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE
));
33312 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE
));
33313 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
33314 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED
));
33315 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED
));
33316 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED
));
33317 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
33318 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
33319 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
33320 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL
));
33321 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL
));
33322 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH
));
33323 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR
));
33324 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
33325 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
33326 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
33327 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
33328 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
33329 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL
));
33330 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL
));
33331 PyDict_SetItemString(d
,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY
));
33332 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE
));
33333 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB
));
33334 PyDict_SetItemString(d
,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT
));
33335 PyDict_SetItemString(d
,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER
));
33336 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT
));
33337 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE
));
33338 PyDict_SetItemString(d
,"TE_RICH", SWIG_FromInt((int)wxTE_RICH
));
33339 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER
));
33340 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD
));
33341 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL
));
33342 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL
));
33343 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP
));
33344 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP
));
33345 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP
));
33346 PyDict_SetItemString(d
,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2
));
33347 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT
));
33348 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT
));
33349 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE
));
33350 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER
));
33351 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT
));
33352 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
33353 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR
));
33354 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
33355 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE
));
33356 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE
));
33357 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT
));
33358 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC
));
33359 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE
));
33360 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT
));
33361 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT
));
33362 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT
));
33363 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT
));
33364 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS
));
33365 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN
));
33366 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE
));
33367 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT
));
33368 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW
));
33369 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND
));
33370 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
33371 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
33372 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
33373 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
33374 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
33375 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
33376 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
33377 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL
));
33378 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL
));
33379 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS
));
33380 PyDict_SetItemString(d
,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP
));
33381 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
33382 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
33383 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
33384 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
33385 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
33386 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
33387 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
33388 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH
));
33389 PyDict_SetItemString(d
,"NB_TOP", SWIG_FromInt((int)wxNB_TOP
));
33390 PyDict_SetItemString(d
,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT
));
33391 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT
));
33392 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM
));
33393 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE
));
33394 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE
));
33395 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON
));
33396 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL
));
33397 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM
));
33398 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
33399 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
33400 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT
));
33401 PyDict_SetItemString(d
,"LB_TOP", SWIG_FromInt((int)wxLB_TOP
));
33402 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM
));
33403 PyDict_SetItemString(d
,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT
));
33404 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT
));
33405 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK
));
33406 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
33407 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
33408 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON
));
33409 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR
));
33410 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL
));
33411 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL
));
33412 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL
));
33413 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS
));
33414 PyDict_SetItemString(d
,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT
));
33415 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE
));
33416 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS
));
33417 PyDict_SetItemString(d
,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT
));
33418 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER
));
33419 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN
));
33420 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT
));
33421 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT
));
33422 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
33423 PyDict_SetItemString(d
,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES
));
33424 PyDict_SetItemString(d
,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES
));
33425 PyDict_SetItemString(d
,"LC_ICON", SWIG_FromInt((int)wxLC_ICON
));
33426 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON
));
33427 PyDict_SetItemString(d
,"LC_LIST", SWIG_FromInt((int)wxLC_LIST
));
33428 PyDict_SetItemString(d
,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT
));
33429 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP
));
33430 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT
));
33431 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE
));
33432 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL
));
33433 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS
));
33434 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER
));
33435 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER
));
33436 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL
));
33437 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING
));
33438 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING
));
33439 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE
));
33440 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN
));
33441 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT
));
33442 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE
));
33443 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT
));
33444 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE
));
33445 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA
));
33446 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM
));
33447 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH
));
33448 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT
));
33449 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE
));
33450 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED
));
33451 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED
));
33452 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED
));
33453 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT
));
33454 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED
));
33455 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED
));
33456 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE
));
33457 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED
));
33458 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE
));
33459 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE
));
33460 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW
));
33461 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE
));
33462 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON
));
33463 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL
));
33464 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT
));
33465 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON
));
33466 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT
));
33467 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT
));
33468 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM
));
33469 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE
));
33470 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL
));
33471 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW
));
33472 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT
));
33473 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT
));
33474 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT
));
33475 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT
));
33476 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP
));
33477 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID
));
33478 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT
));
33479 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT
));
33480 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE
));
33481 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER
));
33482 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE
));
33483 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER
));
33484 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS
));
33485 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON
));
33486 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL
));
33487 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP
));
33488 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN
));
33489 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT
));
33490 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT
));
33491 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
33492 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
33493 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
33494 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
33495 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
33496 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
33497 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
33498 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
33499 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
33500 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
33501 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
33502 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
33503 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
33504 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
33505 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
33506 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
33507 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
33508 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
33509 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
33510 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
33511 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
33512 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
33514 // Map renamed classes back to their common name for OOR
33515 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
33517 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
33518 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS
));
33519 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS
));
33520 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES
));
33521 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT
));
33522 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE
));
33523 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE
));
33524 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED
));
33525 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
33526 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS
));
33527 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT
));
33528 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES
));
33529 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT
));
33530 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE
));
33531 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS
));
33532 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS
));
33533 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS
));
33534 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal
));
33535 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected
));
33536 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded
));
33537 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded
));
33538 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max
));
33539 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE
));
33540 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW
));
33541 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE
));
33542 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON
));
33543 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON
));
33544 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT
));
33545 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL
));
33546 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT
));
33547 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON
));
33548 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT
));
33549 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT
));
33550 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART
));
33551 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART
));
33552 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM
));
33553 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
33554 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
33555 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
33556 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
33557 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
33558 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
33559 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
33560 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
33561 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
33562 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
33563 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
33564 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
33565 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
33566 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
33567 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
33568 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
33569 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
33570 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
33571 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
33572 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
33574 // Map renamed classes back to their common name for OOR
33575 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
33576 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
33578 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
33579 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY
));
33580 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST
));
33581 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS
));
33582 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL
));
33583 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS
));
33584 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP
));
33585 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP
));
33586 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
33587 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
33589 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");