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>
656 static const wxString
wxPyListCtrlNameStr(_T("wxListCtrl"));
657 void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
658 // Python aware sorting function for wxPyListCtrl
659 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
661 PyObject
* func
= (PyObject
*)funcPtr
;
662 bool blocked
= wxPyBeginBlockThreads();
664 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
665 PyObject
* result
= PyEval_CallObject(func
, args
);
668 retval
= PyInt_AsLong(result
);
672 wxPyEndBlockThreads(blocked
);
676 // C++ Version of a Python aware class
677 class wxPyListCtrl
: public wxListCtrl
{
678 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
680 wxPyListCtrl() : wxListCtrl() {}
681 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
685 const wxValidator
& validator
,
686 const wxString
& name
) :
687 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
689 bool Create(wxWindow
* parent
, wxWindowID id
,
693 const wxValidator
& validator
,
694 const wxString
& name
) {
695 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
698 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
699 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
700 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
705 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
707 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
708 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
709 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
711 wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
713 item
.SetMask( wxLIST_MASK_STATE
|
721 if (self
->GetColumn(col
, item
))
722 return new wxListItem(item
);
726 wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
){
727 wxListItem
* info
= new wxListItem
;
728 info
->m_itemId
= itemId
;
730 info
->m_mask
= 0xFFFF;
731 self
->GetItem(*info
);
734 wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
736 self
->GetItemPosition(item
, pos
);
739 wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
){
741 self
->GetItemRect(item
, rect
, code
);
744 bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
745 if (!PyCallable_Check(func
))
747 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
749 wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
753 return (wxWindow
*)self
->m_mainWin
;
757 #include <wx/treectrl.h>
758 #include "wx/wxPython/pytree.h"
760 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
761 bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : False
; }
762 bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : True
; }
763 void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
764 // C++ version of Python aware wxTreeCtrl
765 class wxPyTreeCtrl
: public wxTreeCtrl
{
766 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
768 wxPyTreeCtrl() : wxTreeCtrl() {}
769 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
773 const wxValidator
& validator
,
774 const wxString
& name
) :
775 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
777 bool Create(wxWindow
*parent
, wxWindowID id
,
781 const wxValidator
& validator
,
782 const wxString
& name
) {
783 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
787 int OnCompareItems(const wxTreeItemId
& item1
,
788 const wxTreeItemId
& item2
) {
791 bool blocked
= wxPyBeginBlockThreads();
792 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
793 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), False
);
794 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), False
);
795 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
799 wxPyEndBlockThreads(blocked
);
801 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
807 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
811 #if UINT_MAX < LONG_MAX
812 #define SWIG_FromUnsignedInt SWIG_FromLong
814 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
818 SWIGSTATICINLINE(unsigned long)
819 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
820 unsigned long max_value
)
822 if (!PyErr_Occurred()) {
823 if (value
> max_value
) {
825 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
826 value
, type
, max_value
);
827 PyErr_SetObject(PyExc_OverflowError
, err
);
835 #if UINT_MAX != ULONG_MAX
836 SWIGSTATICINLINE(unsigned int)
837 SWIG_AsUnsignedInt(PyObject
*obj
)
839 return swig_numeric_cast(unsigned int,
840 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
841 "unsigned int", UINT_MAX
));
844 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
848 SWIGSTATICINLINE(int)
849 SWIG_CheckUnsignedInt(PyObject
* obj
)
851 SWIG_AsUnsignedInt(obj
);
852 if (PyErr_Occurred()) {
860 wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
861 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
863 data
= new wxPyTreeItemData();
864 data
->SetId(item
); // set the id
865 self
->SetItemData(item
, data
);
869 PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
870 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
872 data
= new wxPyTreeItemData();
873 data
->SetId(item
); // set the id
874 self
->SetItemData(item
, data
);
876 return data
->GetData();
878 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
879 data
->SetId(item
); // set the id
880 self
->SetItemData(item
, data
);
882 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
883 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
885 data
= new wxPyTreeItemData(obj
);
886 data
->SetId(item
); // set the id
887 self
->SetItemData(item
, data
);
891 PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
892 bool blocked
= wxPyBeginBlockThreads();
893 PyObject
* rval
= PyList_New(0);
894 wxArrayTreeItemIds array
;
896 num
= self
->GetSelections(array
);
897 for (x
=0; x
< num
; x
++) {
898 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
899 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), True
);
900 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 ;
1047 wxString
*arg3
= 0 ;
1048 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1049 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1050 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1051 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1052 long arg6
= (long) 0 ;
1053 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1054 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1055 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1056 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1058 bool temp3
= False
;
1061 bool temp8
= False
;
1062 PyObject
* obj0
= 0 ;
1063 PyObject
* obj1
= 0 ;
1064 PyObject
* obj2
= 0 ;
1065 PyObject
* obj3
= 0 ;
1066 PyObject
* obj4
= 0 ;
1067 PyObject
* obj5
= 0 ;
1068 PyObject
* obj6
= 0 ;
1069 PyObject
* obj7
= 0 ;
1071 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1077 arg2
= (int) SWIG_AsInt(obj1
);
1078 if (PyErr_Occurred()) SWIG_fail
;
1080 arg3
= wxString_in_helper(obj2
);
1081 if (arg3
== NULL
) SWIG_fail
;
1087 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1093 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1097 arg6
= (long) SWIG_AsLong(obj5
);
1098 if (PyErr_Occurred()) SWIG_fail
;
1101 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1102 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1105 PyErr_SetString(PyExc_TypeError
,"null reference");
1111 arg8
= wxString_in_helper(obj7
);
1112 if (arg8
== NULL
) SWIG_fail
;
1117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1118 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1120 wxPyEndAllowThreads(__tstate
);
1121 if (PyErr_Occurred()) SWIG_fail
;
1124 resultobj
= wxPyMake_wxObject(result
);
1148 static PyObject
*_wrap_new_PreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1149 PyObject
*resultobj
;
1155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
1157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1158 result
= (wxButton
*)new wxButton();
1160 wxPyEndAllowThreads(__tstate
);
1161 if (PyErr_Occurred()) SWIG_fail
;
1164 resultobj
= wxPyMake_wxObject(result
);
1172 static PyObject
*_wrap_Button_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1173 PyObject
*resultobj
;
1174 wxButton
*arg1
= (wxButton
*) 0 ;
1175 wxWindow
*arg2
= (wxWindow
*) 0 ;
1177 wxString
*arg4
= 0 ;
1178 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1179 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1180 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1181 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1182 long arg7
= (long) 0 ;
1183 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1184 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1185 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1186 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1188 bool temp4
= False
;
1191 bool temp9
= False
;
1192 PyObject
* obj0
= 0 ;
1193 PyObject
* obj1
= 0 ;
1194 PyObject
* obj2
= 0 ;
1195 PyObject
* obj3
= 0 ;
1196 PyObject
* obj4
= 0 ;
1197 PyObject
* obj5
= 0 ;
1198 PyObject
* obj6
= 0 ;
1199 PyObject
* obj7
= 0 ;
1200 PyObject
* obj8
= 0 ;
1202 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1208 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1210 arg3
= (int) SWIG_AsInt(obj2
);
1211 if (PyErr_Occurred()) SWIG_fail
;
1213 arg4
= wxString_in_helper(obj3
);
1214 if (arg4
== NULL
) SWIG_fail
;
1220 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1226 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1230 arg7
= (long) SWIG_AsLong(obj6
);
1231 if (PyErr_Occurred()) SWIG_fail
;
1234 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1235 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1238 PyErr_SetString(PyExc_TypeError
,"null reference");
1244 arg9
= wxString_in_helper(obj8
);
1245 if (arg9
== NULL
) SWIG_fail
;
1250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1251 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1253 wxPyEndAllowThreads(__tstate
);
1254 if (PyErr_Occurred()) SWIG_fail
;
1257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1281 static PyObject
*_wrap_Button_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1282 PyObject
*resultobj
;
1283 wxButton
*arg1
= (wxButton
*) 0 ;
1284 PyObject
* obj0
= 0 ;
1286 (char *) "self", NULL
1289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1294 (arg1
)->SetDefault();
1296 wxPyEndAllowThreads(__tstate
);
1297 if (PyErr_Occurred()) SWIG_fail
;
1299 Py_INCREF(Py_None
); resultobj
= Py_None
;
1306 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1307 PyObject
*resultobj
;
1313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1316 result
= wxButton::GetDefaultSize();
1318 wxPyEndAllowThreads(__tstate
);
1319 if (PyErr_Occurred()) SWIG_fail
;
1323 resultptr
= new wxSize((wxSize
&) result
);
1324 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
1332 static PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1333 PyObject
*resultobj
;
1334 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
1335 wxVisualAttributes result
;
1336 PyObject
* obj0
= 0 ;
1338 (char *) "variant", NULL
1341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
1343 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
1344 if (PyErr_Occurred()) SWIG_fail
;
1347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1348 result
= wxButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
1350 wxPyEndAllowThreads(__tstate
);
1351 if (PyErr_Occurred()) SWIG_fail
;
1354 wxVisualAttributes
* resultptr
;
1355 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
1356 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
1364 static PyObject
* Button_swigregister(PyObject
*self
, PyObject
*args
) {
1366 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1367 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1369 return Py_BuildValue((char *)"");
1371 static PyObject
*_wrap_new_BitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1372 PyObject
*resultobj
;
1373 wxWindow
*arg1
= (wxWindow
*) 0 ;
1375 wxBitmap
*arg3
= 0 ;
1376 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1377 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1378 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1379 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1380 long arg6
= (long) wxBU_AUTODRAW
;
1381 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1382 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1383 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1384 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1385 wxBitmapButton
*result
;
1388 bool temp8
= False
;
1389 PyObject
* obj0
= 0 ;
1390 PyObject
* obj1
= 0 ;
1391 PyObject
* obj2
= 0 ;
1392 PyObject
* obj3
= 0 ;
1393 PyObject
* obj4
= 0 ;
1394 PyObject
* obj5
= 0 ;
1395 PyObject
* obj6
= 0 ;
1396 PyObject
* obj7
= 0 ;
1398 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1404 arg2
= (int) SWIG_AsInt(obj1
);
1405 if (PyErr_Occurred()) SWIG_fail
;
1406 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
1407 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1410 PyErr_SetString(PyExc_TypeError
,"null reference");
1416 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1422 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1426 arg6
= (long) SWIG_AsLong(obj5
);
1427 if (PyErr_Occurred()) SWIG_fail
;
1430 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1431 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1434 PyErr_SetString(PyExc_TypeError
,"null reference");
1440 arg8
= wxString_in_helper(obj7
);
1441 if (arg8
== NULL
) SWIG_fail
;
1446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1447 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1449 wxPyEndAllowThreads(__tstate
);
1450 if (PyErr_Occurred()) SWIG_fail
;
1453 resultobj
= wxPyMake_wxObject(result
);
1469 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1470 PyObject
*resultobj
;
1471 wxBitmapButton
*result
;
1476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1479 result
= (wxBitmapButton
*)new wxBitmapButton();
1481 wxPyEndAllowThreads(__tstate
);
1482 if (PyErr_Occurred()) SWIG_fail
;
1485 resultobj
= wxPyMake_wxObject(result
);
1493 static PyObject
*_wrap_BitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1494 PyObject
*resultobj
;
1495 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1496 wxWindow
*arg2
= (wxWindow
*) 0 ;
1498 wxBitmap
*arg4
= 0 ;
1499 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1500 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1501 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1502 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1503 long arg7
= (long) wxBU_AUTODRAW
;
1504 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1505 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1506 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1507 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1511 bool temp9
= False
;
1512 PyObject
* obj0
= 0 ;
1513 PyObject
* obj1
= 0 ;
1514 PyObject
* obj2
= 0 ;
1515 PyObject
* obj3
= 0 ;
1516 PyObject
* obj4
= 0 ;
1517 PyObject
* obj5
= 0 ;
1518 PyObject
* obj6
= 0 ;
1519 PyObject
* obj7
= 0 ;
1520 PyObject
* obj8
= 0 ;
1522 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1528 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1530 arg3
= (int) SWIG_AsInt(obj2
);
1531 if (PyErr_Occurred()) SWIG_fail
;
1532 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
1533 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1536 PyErr_SetString(PyExc_TypeError
,"null reference");
1542 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1548 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1552 arg7
= (long) SWIG_AsLong(obj6
);
1553 if (PyErr_Occurred()) SWIG_fail
;
1556 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1557 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1560 PyErr_SetString(PyExc_TypeError
,"null reference");
1566 arg9
= wxString_in_helper(obj8
);
1567 if (arg9
== NULL
) SWIG_fail
;
1572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1573 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1575 wxPyEndAllowThreads(__tstate
);
1576 if (PyErr_Occurred()) SWIG_fail
;
1579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1595 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1596 PyObject
*resultobj
;
1597 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1599 PyObject
* obj0
= 0 ;
1601 (char *) "self", NULL
1604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1609 result
= (arg1
)->GetBitmapLabel();
1611 wxPyEndAllowThreads(__tstate
);
1612 if (PyErr_Occurred()) SWIG_fail
;
1615 wxBitmap
* resultptr
;
1616 resultptr
= new wxBitmap((wxBitmap
&) result
);
1617 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1625 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1626 PyObject
*resultobj
;
1627 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1629 PyObject
* obj0
= 0 ;
1631 (char *) "self", NULL
1634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1639 result
= (arg1
)->GetBitmapDisabled();
1641 wxPyEndAllowThreads(__tstate
);
1642 if (PyErr_Occurred()) SWIG_fail
;
1645 wxBitmap
* resultptr
;
1646 resultptr
= new wxBitmap((wxBitmap
&) result
);
1647 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1655 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1656 PyObject
*resultobj
;
1657 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1659 PyObject
* obj0
= 0 ;
1661 (char *) "self", NULL
1664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1669 result
= (arg1
)->GetBitmapFocus();
1671 wxPyEndAllowThreads(__tstate
);
1672 if (PyErr_Occurred()) SWIG_fail
;
1675 wxBitmap
* resultptr
;
1676 resultptr
= new wxBitmap((wxBitmap
&) result
);
1677 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1685 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1686 PyObject
*resultobj
;
1687 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1689 PyObject
* obj0
= 0 ;
1691 (char *) "self", NULL
1694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1699 result
= (arg1
)->GetBitmapSelected();
1701 wxPyEndAllowThreads(__tstate
);
1702 if (PyErr_Occurred()) SWIG_fail
;
1705 wxBitmap
* resultptr
;
1706 resultptr
= new wxBitmap((wxBitmap
&) result
);
1707 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1715 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1716 PyObject
*resultobj
;
1717 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1718 wxBitmap
*arg2
= 0 ;
1719 PyObject
* obj0
= 0 ;
1720 PyObject
* obj1
= 0 ;
1722 (char *) "self",(char *) "bitmap", NULL
1725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1728 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1729 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1732 PyErr_SetString(PyExc_TypeError
,"null reference");
1736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1737 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1739 wxPyEndAllowThreads(__tstate
);
1740 if (PyErr_Occurred()) SWIG_fail
;
1742 Py_INCREF(Py_None
); resultobj
= Py_None
;
1749 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1750 PyObject
*resultobj
;
1751 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1752 wxBitmap
*arg2
= 0 ;
1753 PyObject
* obj0
= 0 ;
1754 PyObject
* obj1
= 0 ;
1756 (char *) "self",(char *) "bitmap", NULL
1759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1762 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1763 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1766 PyErr_SetString(PyExc_TypeError
,"null reference");
1770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1771 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1773 wxPyEndAllowThreads(__tstate
);
1774 if (PyErr_Occurred()) SWIG_fail
;
1776 Py_INCREF(Py_None
); resultobj
= Py_None
;
1783 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1784 PyObject
*resultobj
;
1785 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1786 wxBitmap
*arg2
= 0 ;
1787 PyObject
* obj0
= 0 ;
1788 PyObject
* obj1
= 0 ;
1790 (char *) "self",(char *) "bitmap", NULL
1793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1796 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1797 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1800 PyErr_SetString(PyExc_TypeError
,"null reference");
1804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1805 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1807 wxPyEndAllowThreads(__tstate
);
1808 if (PyErr_Occurred()) SWIG_fail
;
1810 Py_INCREF(Py_None
); resultobj
= Py_None
;
1817 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1818 PyObject
*resultobj
;
1819 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1820 wxBitmap
*arg2
= 0 ;
1821 PyObject
* obj0
= 0 ;
1822 PyObject
* obj1
= 0 ;
1824 (char *) "self",(char *) "bitmap", NULL
1827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1830 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1831 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1834 PyErr_SetString(PyExc_TypeError
,"null reference");
1838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1839 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1841 wxPyEndAllowThreads(__tstate
);
1842 if (PyErr_Occurred()) SWIG_fail
;
1844 Py_INCREF(Py_None
); resultobj
= Py_None
;
1851 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1852 PyObject
*resultobj
;
1853 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1856 PyObject
* obj0
= 0 ;
1857 PyObject
* obj1
= 0 ;
1858 PyObject
* obj2
= 0 ;
1860 (char *) "self",(char *) "x",(char *) "y", NULL
1863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1866 arg2
= (int) SWIG_AsInt(obj1
);
1867 if (PyErr_Occurred()) SWIG_fail
;
1868 arg3
= (int) SWIG_AsInt(obj2
);
1869 if (PyErr_Occurred()) SWIG_fail
;
1871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1872 (arg1
)->SetMargins(arg2
,arg3
);
1874 wxPyEndAllowThreads(__tstate
);
1875 if (PyErr_Occurred()) SWIG_fail
;
1877 Py_INCREF(Py_None
); resultobj
= Py_None
;
1884 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1885 PyObject
*resultobj
;
1886 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1888 PyObject
* obj0
= 0 ;
1890 (char *) "self", NULL
1893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1898 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1900 wxPyEndAllowThreads(__tstate
);
1901 if (PyErr_Occurred()) SWIG_fail
;
1903 resultobj
= SWIG_FromInt((int)result
);
1910 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1911 PyObject
*resultobj
;
1912 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1914 PyObject
* obj0
= 0 ;
1916 (char *) "self", NULL
1919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1924 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1926 wxPyEndAllowThreads(__tstate
);
1927 if (PyErr_Occurred()) SWIG_fail
;
1929 resultobj
= SWIG_FromInt((int)result
);
1936 static PyObject
* BitmapButton_swigregister(PyObject
*self
, PyObject
*args
) {
1938 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1939 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1941 return Py_BuildValue((char *)"");
1943 static int _wrap_CheckBoxNameStr_set(PyObject
*_val
) {
1944 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
1949 static PyObject
*_wrap_CheckBoxNameStr_get() {
1954 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1956 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1963 static PyObject
*_wrap_new_CheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1964 PyObject
*resultobj
;
1965 wxWindow
*arg1
= (wxWindow
*) 0 ;
1967 wxString
*arg3
= 0 ;
1968 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1969 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1970 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1971 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1972 long arg6
= (long) 0 ;
1973 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1974 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1975 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
1976 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1978 bool temp3
= False
;
1981 bool temp8
= False
;
1982 PyObject
* obj0
= 0 ;
1983 PyObject
* obj1
= 0 ;
1984 PyObject
* obj2
= 0 ;
1985 PyObject
* obj3
= 0 ;
1986 PyObject
* obj4
= 0 ;
1987 PyObject
* obj5
= 0 ;
1988 PyObject
* obj6
= 0 ;
1989 PyObject
* obj7
= 0 ;
1991 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1997 arg2
= (int) SWIG_AsInt(obj1
);
1998 if (PyErr_Occurred()) SWIG_fail
;
2000 arg3
= wxString_in_helper(obj2
);
2001 if (arg3
== NULL
) SWIG_fail
;
2007 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2013 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2017 arg6
= (long) SWIG_AsLong(obj5
);
2018 if (PyErr_Occurred()) SWIG_fail
;
2021 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2022 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2025 PyErr_SetString(PyExc_TypeError
,"null reference");
2031 arg8
= wxString_in_helper(obj7
);
2032 if (arg8
== NULL
) SWIG_fail
;
2037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2038 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2040 wxPyEndAllowThreads(__tstate
);
2041 if (PyErr_Occurred()) SWIG_fail
;
2043 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2066 static PyObject
*_wrap_new_PreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2067 PyObject
*resultobj
;
2073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
2075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2076 result
= (wxCheckBox
*)new wxCheckBox();
2078 wxPyEndAllowThreads(__tstate
);
2079 if (PyErr_Occurred()) SWIG_fail
;
2081 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2088 static PyObject
*_wrap_CheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2089 PyObject
*resultobj
;
2090 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2091 wxWindow
*arg2
= (wxWindow
*) 0 ;
2093 wxString
*arg4
= 0 ;
2094 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2095 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2096 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2097 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2098 long arg7
= (long) 0 ;
2099 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2100 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2101 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
2102 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2104 bool temp4
= False
;
2107 bool temp9
= False
;
2108 PyObject
* obj0
= 0 ;
2109 PyObject
* obj1
= 0 ;
2110 PyObject
* obj2
= 0 ;
2111 PyObject
* obj3
= 0 ;
2112 PyObject
* obj4
= 0 ;
2113 PyObject
* obj5
= 0 ;
2114 PyObject
* obj6
= 0 ;
2115 PyObject
* obj7
= 0 ;
2116 PyObject
* obj8
= 0 ;
2118 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2124 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2126 arg3
= (int) SWIG_AsInt(obj2
);
2127 if (PyErr_Occurred()) SWIG_fail
;
2129 arg4
= wxString_in_helper(obj3
);
2130 if (arg4
== NULL
) SWIG_fail
;
2136 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2142 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2146 arg7
= (long) SWIG_AsLong(obj6
);
2147 if (PyErr_Occurred()) SWIG_fail
;
2150 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2151 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2154 PyErr_SetString(PyExc_TypeError
,"null reference");
2160 arg9
= wxString_in_helper(obj8
);
2161 if (arg9
== NULL
) SWIG_fail
;
2166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2167 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2169 wxPyEndAllowThreads(__tstate
);
2170 if (PyErr_Occurred()) SWIG_fail
;
2173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2197 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2198 PyObject
*resultobj
;
2199 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2201 PyObject
* obj0
= 0 ;
2203 (char *) "self", NULL
2206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
2207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2211 result
= (bool)(arg1
)->GetValue();
2213 wxPyEndAllowThreads(__tstate
);
2214 if (PyErr_Occurred()) SWIG_fail
;
2217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2225 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2226 PyObject
*resultobj
;
2227 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2229 PyObject
* obj0
= 0 ;
2231 (char *) "self", NULL
2234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2239 result
= (bool)(arg1
)->IsChecked();
2241 wxPyEndAllowThreads(__tstate
);
2242 if (PyErr_Occurred()) SWIG_fail
;
2245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2253 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2254 PyObject
*resultobj
;
2255 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2257 PyObject
* obj0
= 0 ;
2258 PyObject
* obj1
= 0 ;
2260 (char *) "self",(char *) "state", NULL
2263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2266 arg2
= (bool const) SWIG_AsBool(obj1
);
2267 if (PyErr_Occurred()) SWIG_fail
;
2269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2270 (arg1
)->SetValue(arg2
);
2272 wxPyEndAllowThreads(__tstate
);
2273 if (PyErr_Occurred()) SWIG_fail
;
2275 Py_INCREF(Py_None
); resultobj
= Py_None
;
2282 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2283 PyObject
*resultobj
;
2284 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2286 PyObject
* obj0
= 0 ;
2288 (char *) "self", NULL
2291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2296 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2298 wxPyEndAllowThreads(__tstate
);
2299 if (PyErr_Occurred()) SWIG_fail
;
2301 resultobj
= SWIG_FromInt((int)result
);
2308 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2309 PyObject
*resultobj
;
2310 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2312 PyObject
* obj0
= 0 ;
2313 PyObject
* obj1
= 0 ;
2315 (char *) "self",(char *) "state", NULL
2318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2321 arg2
= (wxCheckBoxState
) SWIG_AsInt(obj1
);
2322 if (PyErr_Occurred()) SWIG_fail
;
2324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2325 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2327 wxPyEndAllowThreads(__tstate
);
2328 if (PyErr_Occurred()) SWIG_fail
;
2330 Py_INCREF(Py_None
); resultobj
= Py_None
;
2337 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2338 PyObject
*resultobj
;
2339 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2341 PyObject
* obj0
= 0 ;
2343 (char *) "self", NULL
2346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2351 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2353 wxPyEndAllowThreads(__tstate
);
2354 if (PyErr_Occurred()) SWIG_fail
;
2357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2365 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2366 PyObject
*resultobj
;
2367 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2369 PyObject
* obj0
= 0 ;
2371 (char *) "self", NULL
2374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2379 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2381 wxPyEndAllowThreads(__tstate
);
2382 if (PyErr_Occurred()) SWIG_fail
;
2385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2393 static PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2394 PyObject
*resultobj
;
2395 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2396 wxVisualAttributes result
;
2397 PyObject
* obj0
= 0 ;
2399 (char *) "variant", NULL
2402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2404 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2405 if (PyErr_Occurred()) SWIG_fail
;
2408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2409 result
= wxCheckBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2411 wxPyEndAllowThreads(__tstate
);
2412 if (PyErr_Occurred()) SWIG_fail
;
2415 wxVisualAttributes
* resultptr
;
2416 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2417 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2425 static PyObject
* CheckBox_swigregister(PyObject
*self
, PyObject
*args
) {
2427 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2428 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2430 return Py_BuildValue((char *)"");
2432 static int _wrap_ChoiceNameStr_set(PyObject
*_val
) {
2433 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2438 static PyObject
*_wrap_ChoiceNameStr_get() {
2443 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2445 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2452 static PyObject
*_wrap_new_Choice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2453 PyObject
*resultobj
;
2454 wxWindow
*arg1
= (wxWindow
*) 0 ;
2455 int arg2
= (int) -1 ;
2456 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2457 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2458 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2459 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2460 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
2461 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
2462 long arg6
= (long) 0 ;
2463 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2464 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2465 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
2466 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2470 bool temp5
= False
;
2471 bool temp8
= False
;
2472 PyObject
* obj0
= 0 ;
2473 PyObject
* obj1
= 0 ;
2474 PyObject
* obj2
= 0 ;
2475 PyObject
* obj3
= 0 ;
2476 PyObject
* obj4
= 0 ;
2477 PyObject
* obj5
= 0 ;
2478 PyObject
* obj6
= 0 ;
2479 PyObject
* obj7
= 0 ;
2481 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2488 arg2
= (int) SWIG_AsInt(obj1
);
2489 if (PyErr_Occurred()) SWIG_fail
;
2494 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2500 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2505 if (! PySequence_Check(obj4
)) {
2506 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2509 arg5
= new wxArrayString
;
2511 int i
, len
=PySequence_Length(obj4
);
2512 for (i
=0; i
<len
; i
++) {
2513 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2515 PyObject
* str
= PyObject_Unicode(item
);
2517 PyObject
* str
= PyObject_Str(item
);
2519 if (PyErr_Occurred()) SWIG_fail
;
2520 arg5
->Add(Py2wxString(str
));
2527 arg6
= (long) SWIG_AsLong(obj5
);
2528 if (PyErr_Occurred()) SWIG_fail
;
2531 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2532 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2535 PyErr_SetString(PyExc_TypeError
,"null reference");
2541 arg8
= wxString_in_helper(obj7
);
2542 if (arg8
== NULL
) SWIG_fail
;
2547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2548 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2550 wxPyEndAllowThreads(__tstate
);
2551 if (PyErr_Occurred()) SWIG_fail
;
2553 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2555 if (temp5
) delete arg5
;
2564 if (temp5
) delete arg5
;
2574 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2575 PyObject
*resultobj
;
2581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2584 result
= (wxChoice
*)new wxChoice();
2586 wxPyEndAllowThreads(__tstate
);
2587 if (PyErr_Occurred()) SWIG_fail
;
2589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2596 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2597 PyObject
*resultobj
;
2598 wxChoice
*arg1
= (wxChoice
*) 0 ;
2599 wxWindow
*arg2
= (wxWindow
*) 0 ;
2600 int arg3
= (int) -1 ;
2601 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2602 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2603 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2604 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2605 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2606 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2607 long arg7
= (long) 0 ;
2608 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2609 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2610 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2611 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2615 bool temp6
= False
;
2616 bool temp9
= False
;
2617 PyObject
* obj0
= 0 ;
2618 PyObject
* obj1
= 0 ;
2619 PyObject
* obj2
= 0 ;
2620 PyObject
* obj3
= 0 ;
2621 PyObject
* obj4
= 0 ;
2622 PyObject
* obj5
= 0 ;
2623 PyObject
* obj6
= 0 ;
2624 PyObject
* obj7
= 0 ;
2625 PyObject
* obj8
= 0 ;
2627 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2633 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2636 arg3
= (int) SWIG_AsInt(obj2
);
2637 if (PyErr_Occurred()) SWIG_fail
;
2642 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2648 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2653 if (! PySequence_Check(obj5
)) {
2654 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2657 arg6
= new wxArrayString
;
2659 int i
, len
=PySequence_Length(obj5
);
2660 for (i
=0; i
<len
; i
++) {
2661 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2663 PyObject
* str
= PyObject_Unicode(item
);
2665 PyObject
* str
= PyObject_Str(item
);
2667 if (PyErr_Occurred()) SWIG_fail
;
2668 arg6
->Add(Py2wxString(str
));
2675 arg7
= (long) SWIG_AsLong(obj6
);
2676 if (PyErr_Occurred()) SWIG_fail
;
2679 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2680 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2683 PyErr_SetString(PyExc_TypeError
,"null reference");
2689 arg9
= wxString_in_helper(obj8
);
2690 if (arg9
== NULL
) SWIG_fail
;
2695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2696 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2698 wxPyEndAllowThreads(__tstate
);
2699 if (PyErr_Occurred()) SWIG_fail
;
2702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2705 if (temp6
) delete arg6
;
2714 if (temp6
) delete arg6
;
2724 static PyObject
*_wrap_Choice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2725 PyObject
*resultobj
;
2726 wxChoice
*arg1
= (wxChoice
*) 0 ;
2728 PyObject
* obj0
= 0 ;
2729 PyObject
* obj1
= 0 ;
2731 (char *) "self",(char *) "n", NULL
2734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2737 arg2
= (int const) SWIG_AsInt(obj1
);
2738 if (PyErr_Occurred()) SWIG_fail
;
2740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2741 (arg1
)->SetSelection(arg2
);
2743 wxPyEndAllowThreads(__tstate
);
2744 if (PyErr_Occurred()) SWIG_fail
;
2746 Py_INCREF(Py_None
); resultobj
= Py_None
;
2753 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2754 PyObject
*resultobj
;
2755 wxChoice
*arg1
= (wxChoice
*) 0 ;
2756 wxString
*arg2
= 0 ;
2758 bool temp2
= False
;
2759 PyObject
* obj0
= 0 ;
2760 PyObject
* obj1
= 0 ;
2762 (char *) "self",(char *) "string", NULL
2765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2769 arg2
= wxString_in_helper(obj1
);
2770 if (arg2
== NULL
) SWIG_fail
;
2774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2775 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
2777 wxPyEndAllowThreads(__tstate
);
2778 if (PyErr_Occurred()) SWIG_fail
;
2781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2797 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2798 PyObject
*resultobj
;
2799 wxChoice
*arg1
= (wxChoice
*) 0 ;
2801 wxString
*arg3
= 0 ;
2802 bool temp3
= False
;
2803 PyObject
* obj0
= 0 ;
2804 PyObject
* obj1
= 0 ;
2805 PyObject
* obj2
= 0 ;
2807 (char *) "self",(char *) "n",(char *) "string", NULL
2810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2813 arg2
= (int) SWIG_AsInt(obj1
);
2814 if (PyErr_Occurred()) SWIG_fail
;
2816 arg3
= wxString_in_helper(obj2
);
2817 if (arg3
== NULL
) SWIG_fail
;
2821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2822 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2824 wxPyEndAllowThreads(__tstate
);
2825 if (PyErr_Occurred()) SWIG_fail
;
2827 Py_INCREF(Py_None
); resultobj
= Py_None
;
2842 static PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2843 PyObject
*resultobj
;
2844 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2845 wxVisualAttributes result
;
2846 PyObject
* obj0
= 0 ;
2848 (char *) "variant", NULL
2851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2853 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2854 if (PyErr_Occurred()) SWIG_fail
;
2857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2858 result
= wxChoice::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2860 wxPyEndAllowThreads(__tstate
);
2861 if (PyErr_Occurred()) SWIG_fail
;
2864 wxVisualAttributes
* resultptr
;
2865 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2866 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2874 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2876 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2877 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2879 return Py_BuildValue((char *)"");
2881 static int _wrap_ComboBoxNameStr_set(PyObject
*_val
) {
2882 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2887 static PyObject
*_wrap_ComboBoxNameStr_get() {
2892 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2894 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2901 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2902 PyObject
*resultobj
;
2903 wxWindow
*arg1
= (wxWindow
*) 0 ;
2904 int arg2
= (int) -1 ;
2905 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2906 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2907 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2908 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2909 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2910 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2911 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2912 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2913 long arg7
= (long) 0 ;
2914 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2915 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2916 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
2917 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2919 bool temp3
= False
;
2922 bool temp6
= False
;
2923 bool temp9
= False
;
2924 PyObject
* obj0
= 0 ;
2925 PyObject
* obj1
= 0 ;
2926 PyObject
* obj2
= 0 ;
2927 PyObject
* obj3
= 0 ;
2928 PyObject
* obj4
= 0 ;
2929 PyObject
* obj5
= 0 ;
2930 PyObject
* obj6
= 0 ;
2931 PyObject
* obj7
= 0 ;
2932 PyObject
* obj8
= 0 ;
2934 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2941 arg2
= (int) SWIG_AsInt(obj1
);
2942 if (PyErr_Occurred()) SWIG_fail
;
2946 arg3
= wxString_in_helper(obj2
);
2947 if (arg3
== NULL
) SWIG_fail
;
2954 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2960 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2965 if (! PySequence_Check(obj5
)) {
2966 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2969 arg6
= new wxArrayString
;
2971 int i
, len
=PySequence_Length(obj5
);
2972 for (i
=0; i
<len
; i
++) {
2973 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2975 PyObject
* str
= PyObject_Unicode(item
);
2977 PyObject
* str
= PyObject_Str(item
);
2979 if (PyErr_Occurred()) SWIG_fail
;
2980 arg6
->Add(Py2wxString(str
));
2987 arg7
= (long) SWIG_AsLong(obj6
);
2988 if (PyErr_Occurred()) SWIG_fail
;
2991 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2992 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2995 PyErr_SetString(PyExc_TypeError
,"null reference");
3001 arg9
= wxString_in_helper(obj8
);
3002 if (arg9
== NULL
) SWIG_fail
;
3007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3008 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
);
3010 wxPyEndAllowThreads(__tstate
);
3011 if (PyErr_Occurred()) SWIG_fail
;
3013 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3019 if (temp6
) delete arg6
;
3032 if (temp6
) delete arg6
;
3042 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3043 PyObject
*resultobj
;
3049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
3051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3052 result
= (wxComboBox
*)new wxComboBox();
3054 wxPyEndAllowThreads(__tstate
);
3055 if (PyErr_Occurred()) SWIG_fail
;
3057 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3064 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3065 PyObject
*resultobj
;
3066 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3067 wxWindow
*arg2
= (wxWindow
*) 0 ;
3068 int arg3
= (int) -1 ;
3069 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3070 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3071 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3072 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3073 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3074 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3075 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
3076 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
3077 long arg8
= (long) 0 ;
3078 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
3079 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
3080 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
3081 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
3083 bool temp4
= False
;
3086 bool temp7
= False
;
3087 bool temp10
= False
;
3088 PyObject
* obj0
= 0 ;
3089 PyObject
* obj1
= 0 ;
3090 PyObject
* obj2
= 0 ;
3091 PyObject
* obj3
= 0 ;
3092 PyObject
* obj4
= 0 ;
3093 PyObject
* obj5
= 0 ;
3094 PyObject
* obj6
= 0 ;
3095 PyObject
* obj7
= 0 ;
3096 PyObject
* obj8
= 0 ;
3097 PyObject
* obj9
= 0 ;
3099 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
3103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3105 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3108 arg3
= (int) SWIG_AsInt(obj2
);
3109 if (PyErr_Occurred()) SWIG_fail
;
3113 arg4
= wxString_in_helper(obj3
);
3114 if (arg4
== NULL
) SWIG_fail
;
3121 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3127 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3132 if (! PySequence_Check(obj6
)) {
3133 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3136 arg7
= new wxArrayString
;
3138 int i
, len
=PySequence_Length(obj6
);
3139 for (i
=0; i
<len
; i
++) {
3140 PyObject
* item
= PySequence_GetItem(obj6
, i
);
3142 PyObject
* str
= PyObject_Unicode(item
);
3144 PyObject
* str
= PyObject_Str(item
);
3146 if (PyErr_Occurred()) SWIG_fail
;
3147 arg7
->Add(Py2wxString(str
));
3154 arg8
= (long) SWIG_AsLong(obj7
);
3155 if (PyErr_Occurred()) SWIG_fail
;
3158 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
3159 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3162 PyErr_SetString(PyExc_TypeError
,"null reference");
3168 arg10
= wxString_in_helper(obj9
);
3169 if (arg10
== NULL
) SWIG_fail
;
3174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3175 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
);
3177 wxPyEndAllowThreads(__tstate
);
3178 if (PyErr_Occurred()) SWIG_fail
;
3181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3188 if (temp7
) delete arg7
;
3201 if (temp7
) delete arg7
;
3211 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3212 PyObject
*resultobj
;
3213 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3215 PyObject
* obj0
= 0 ;
3217 (char *) "self", NULL
3220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
3221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3225 result
= ((wxComboBox
const *)arg1
)->GetValue();
3227 wxPyEndAllowThreads(__tstate
);
3228 if (PyErr_Occurred()) SWIG_fail
;
3232 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3234 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3243 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3244 PyObject
*resultobj
;
3245 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3246 wxString
*arg2
= 0 ;
3247 bool temp2
= False
;
3248 PyObject
* obj0
= 0 ;
3249 PyObject
* obj1
= 0 ;
3251 (char *) "self",(char *) "value", NULL
3254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3258 arg2
= wxString_in_helper(obj1
);
3259 if (arg2
== NULL
) SWIG_fail
;
3263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3264 (arg1
)->SetValue((wxString
const &)*arg2
);
3266 wxPyEndAllowThreads(__tstate
);
3267 if (PyErr_Occurred()) SWIG_fail
;
3269 Py_INCREF(Py_None
); resultobj
= Py_None
;
3284 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3285 PyObject
*resultobj
;
3286 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3287 PyObject
* obj0
= 0 ;
3289 (char *) "self", NULL
3292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
3293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3299 wxPyEndAllowThreads(__tstate
);
3300 if (PyErr_Occurred()) SWIG_fail
;
3302 Py_INCREF(Py_None
); resultobj
= Py_None
;
3309 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3310 PyObject
*resultobj
;
3311 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3312 PyObject
* obj0
= 0 ;
3314 (char *) "self", NULL
3317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3324 wxPyEndAllowThreads(__tstate
);
3325 if (PyErr_Occurred()) SWIG_fail
;
3327 Py_INCREF(Py_None
); resultobj
= Py_None
;
3334 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3335 PyObject
*resultobj
;
3336 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3337 PyObject
* obj0
= 0 ;
3339 (char *) "self", NULL
3342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3349 wxPyEndAllowThreads(__tstate
);
3350 if (PyErr_Occurred()) SWIG_fail
;
3352 Py_INCREF(Py_None
); resultobj
= Py_None
;
3359 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3360 PyObject
*resultobj
;
3361 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3363 PyObject
* obj0
= 0 ;
3364 PyObject
* obj1
= 0 ;
3366 (char *) "self",(char *) "pos", NULL
3369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3372 arg2
= (long) SWIG_AsLong(obj1
);
3373 if (PyErr_Occurred()) SWIG_fail
;
3375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3376 (arg1
)->SetInsertionPoint(arg2
);
3378 wxPyEndAllowThreads(__tstate
);
3379 if (PyErr_Occurred()) SWIG_fail
;
3381 Py_INCREF(Py_None
); resultobj
= Py_None
;
3388 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3389 PyObject
*resultobj
;
3390 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3392 PyObject
* obj0
= 0 ;
3394 (char *) "self", NULL
3397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3402 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3404 wxPyEndAllowThreads(__tstate
);
3405 if (PyErr_Occurred()) SWIG_fail
;
3407 resultobj
= SWIG_FromLong((long)result
);
3414 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3415 PyObject
*resultobj
;
3416 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3418 PyObject
* obj0
= 0 ;
3420 (char *) "self", NULL
3423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3428 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3430 wxPyEndAllowThreads(__tstate
);
3431 if (PyErr_Occurred()) SWIG_fail
;
3433 resultobj
= SWIG_FromLong((long)result
);
3440 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3441 PyObject
*resultobj
;
3442 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3445 wxString
*arg4
= 0 ;
3446 bool temp4
= False
;
3447 PyObject
* obj0
= 0 ;
3448 PyObject
* obj1
= 0 ;
3449 PyObject
* obj2
= 0 ;
3450 PyObject
* obj3
= 0 ;
3452 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3458 arg2
= (long) SWIG_AsLong(obj1
);
3459 if (PyErr_Occurred()) SWIG_fail
;
3460 arg3
= (long) SWIG_AsLong(obj2
);
3461 if (PyErr_Occurred()) SWIG_fail
;
3463 arg4
= wxString_in_helper(obj3
);
3464 if (arg4
== NULL
) SWIG_fail
;
3468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3469 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3471 wxPyEndAllowThreads(__tstate
);
3472 if (PyErr_Occurred()) SWIG_fail
;
3474 Py_INCREF(Py_None
); resultobj
= Py_None
;
3489 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3490 PyObject
*resultobj
;
3491 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3493 PyObject
* obj0
= 0 ;
3494 PyObject
* obj1
= 0 ;
3496 (char *) "self",(char *) "n", NULL
3499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3502 arg2
= (int) SWIG_AsInt(obj1
);
3503 if (PyErr_Occurred()) SWIG_fail
;
3505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3506 (arg1
)->SetSelection(arg2
);
3508 wxPyEndAllowThreads(__tstate
);
3509 if (PyErr_Occurred()) SWIG_fail
;
3511 Py_INCREF(Py_None
); resultobj
= Py_None
;
3518 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3519 PyObject
*resultobj
;
3520 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3523 PyObject
* obj0
= 0 ;
3524 PyObject
* obj1
= 0 ;
3525 PyObject
* obj2
= 0 ;
3527 (char *) "self",(char *) "from",(char *) "to", NULL
3530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3533 arg2
= (long) SWIG_AsLong(obj1
);
3534 if (PyErr_Occurred()) SWIG_fail
;
3535 arg3
= (long) SWIG_AsLong(obj2
);
3536 if (PyErr_Occurred()) SWIG_fail
;
3538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3539 (arg1
)->SetSelection(arg2
,arg3
);
3541 wxPyEndAllowThreads(__tstate
);
3542 if (PyErr_Occurred()) SWIG_fail
;
3544 Py_INCREF(Py_None
); resultobj
= Py_None
;
3551 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3552 PyObject
*resultobj
;
3553 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3554 wxString
*arg2
= 0 ;
3556 bool temp2
= False
;
3557 PyObject
* obj0
= 0 ;
3558 PyObject
* obj1
= 0 ;
3560 (char *) "self",(char *) "string", NULL
3563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3567 arg2
= wxString_in_helper(obj1
);
3568 if (arg2
== NULL
) SWIG_fail
;
3572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3573 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
3575 wxPyEndAllowThreads(__tstate
);
3576 if (PyErr_Occurred()) SWIG_fail
;
3579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3595 static PyObject
*_wrap_ComboBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3596 PyObject
*resultobj
;
3597 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3599 wxString
*arg3
= 0 ;
3600 bool temp3
= False
;
3601 PyObject
* obj0
= 0 ;
3602 PyObject
* obj1
= 0 ;
3603 PyObject
* obj2
= 0 ;
3605 (char *) "self",(char *) "n",(char *) "string", NULL
3608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3611 arg2
= (int) SWIG_AsInt(obj1
);
3612 if (PyErr_Occurred()) SWIG_fail
;
3614 arg3
= wxString_in_helper(obj2
);
3615 if (arg3
== NULL
) SWIG_fail
;
3619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3620 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
3622 wxPyEndAllowThreads(__tstate
);
3623 if (PyErr_Occurred()) SWIG_fail
;
3625 Py_INCREF(Py_None
); resultobj
= Py_None
;
3640 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3641 PyObject
*resultobj
;
3642 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3644 PyObject
* obj0
= 0 ;
3645 PyObject
* obj1
= 0 ;
3647 (char *) "self",(char *) "editable", NULL
3650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3653 arg2
= (bool) SWIG_AsBool(obj1
);
3654 if (PyErr_Occurred()) SWIG_fail
;
3656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3657 (arg1
)->SetEditable(arg2
);
3659 wxPyEndAllowThreads(__tstate
);
3660 if (PyErr_Occurred()) SWIG_fail
;
3662 Py_INCREF(Py_None
); resultobj
= Py_None
;
3669 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3670 PyObject
*resultobj
;
3671 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3672 PyObject
* obj0
= 0 ;
3674 (char *) "self", NULL
3677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3682 (arg1
)->SetInsertionPointEnd();
3684 wxPyEndAllowThreads(__tstate
);
3685 if (PyErr_Occurred()) SWIG_fail
;
3687 Py_INCREF(Py_None
); resultobj
= Py_None
;
3694 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3695 PyObject
*resultobj
;
3696 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3699 PyObject
* obj0
= 0 ;
3700 PyObject
* obj1
= 0 ;
3701 PyObject
* obj2
= 0 ;
3703 (char *) "self",(char *) "from",(char *) "to", NULL
3706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3709 arg2
= (long) SWIG_AsLong(obj1
);
3710 if (PyErr_Occurred()) SWIG_fail
;
3711 arg3
= (long) SWIG_AsLong(obj2
);
3712 if (PyErr_Occurred()) SWIG_fail
;
3714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3715 (arg1
)->Remove(arg2
,arg3
);
3717 wxPyEndAllowThreads(__tstate
);
3718 if (PyErr_Occurred()) SWIG_fail
;
3720 Py_INCREF(Py_None
); resultobj
= Py_None
;
3727 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3728 PyObject
*resultobj
;
3729 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
3730 wxVisualAttributes result
;
3731 PyObject
* obj0
= 0 ;
3733 (char *) "variant", NULL
3736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3738 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
3739 if (PyErr_Occurred()) SWIG_fail
;
3742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3743 result
= wxComboBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3745 wxPyEndAllowThreads(__tstate
);
3746 if (PyErr_Occurred()) SWIG_fail
;
3749 wxVisualAttributes
* resultptr
;
3750 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
3751 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3759 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
3761 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3762 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3764 return Py_BuildValue((char *)"");
3766 static int _wrap_GaugeNameStr_set(PyObject
*_val
) {
3767 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3772 static PyObject
*_wrap_GaugeNameStr_get() {
3777 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3779 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3786 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3787 PyObject
*resultobj
;
3788 wxWindow
*arg1
= (wxWindow
*) 0 ;
3791 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3792 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3793 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3794 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3795 long arg6
= (long) wxGA_HORIZONTAL
;
3796 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3797 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3798 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3799 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3803 bool temp8
= False
;
3804 PyObject
* obj0
= 0 ;
3805 PyObject
* obj1
= 0 ;
3806 PyObject
* obj2
= 0 ;
3807 PyObject
* obj3
= 0 ;
3808 PyObject
* obj4
= 0 ;
3809 PyObject
* obj5
= 0 ;
3810 PyObject
* obj6
= 0 ;
3811 PyObject
* obj7
= 0 ;
3813 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3819 arg2
= (int) SWIG_AsInt(obj1
);
3820 if (PyErr_Occurred()) SWIG_fail
;
3821 arg3
= (int) SWIG_AsInt(obj2
);
3822 if (PyErr_Occurred()) SWIG_fail
;
3826 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3832 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3836 arg6
= (long) SWIG_AsLong(obj5
);
3837 if (PyErr_Occurred()) SWIG_fail
;
3840 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
3841 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3844 PyErr_SetString(PyExc_TypeError
,"null reference");
3850 arg8
= wxString_in_helper(obj7
);
3851 if (arg8
== NULL
) SWIG_fail
;
3856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3857 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3859 wxPyEndAllowThreads(__tstate
);
3860 if (PyErr_Occurred()) SWIG_fail
;
3862 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3877 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3878 PyObject
*resultobj
;
3884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3887 result
= (wxGauge
*)new wxGauge();
3889 wxPyEndAllowThreads(__tstate
);
3890 if (PyErr_Occurred()) SWIG_fail
;
3892 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3899 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3900 PyObject
*resultobj
;
3901 wxGauge
*arg1
= (wxGauge
*) 0 ;
3902 wxWindow
*arg2
= (wxWindow
*) 0 ;
3905 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3906 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3907 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3908 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3909 long arg7
= (long) wxGA_HORIZONTAL
;
3910 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3911 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3912 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3913 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3917 bool temp9
= False
;
3918 PyObject
* obj0
= 0 ;
3919 PyObject
* obj1
= 0 ;
3920 PyObject
* obj2
= 0 ;
3921 PyObject
* obj3
= 0 ;
3922 PyObject
* obj4
= 0 ;
3923 PyObject
* obj5
= 0 ;
3924 PyObject
* obj6
= 0 ;
3925 PyObject
* obj7
= 0 ;
3926 PyObject
* obj8
= 0 ;
3928 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3934 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3936 arg3
= (int) SWIG_AsInt(obj2
);
3937 if (PyErr_Occurred()) SWIG_fail
;
3938 arg4
= (int) SWIG_AsInt(obj3
);
3939 if (PyErr_Occurred()) SWIG_fail
;
3943 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3949 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3953 arg7
= (long) SWIG_AsLong(obj6
);
3954 if (PyErr_Occurred()) SWIG_fail
;
3957 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
3958 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3961 PyErr_SetString(PyExc_TypeError
,"null reference");
3967 arg9
= wxString_in_helper(obj8
);
3968 if (arg9
== NULL
) SWIG_fail
;
3973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3974 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3976 wxPyEndAllowThreads(__tstate
);
3977 if (PyErr_Occurred()) SWIG_fail
;
3980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3996 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3997 PyObject
*resultobj
;
3998 wxGauge
*arg1
= (wxGauge
*) 0 ;
4000 PyObject
* obj0
= 0 ;
4001 PyObject
* obj1
= 0 ;
4003 (char *) "self",(char *) "range", NULL
4006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
4007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4009 arg2
= (int) SWIG_AsInt(obj1
);
4010 if (PyErr_Occurred()) SWIG_fail
;
4012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4013 (arg1
)->SetRange(arg2
);
4015 wxPyEndAllowThreads(__tstate
);
4016 if (PyErr_Occurred()) SWIG_fail
;
4018 Py_INCREF(Py_None
); resultobj
= Py_None
;
4025 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4026 PyObject
*resultobj
;
4027 wxGauge
*arg1
= (wxGauge
*) 0 ;
4029 PyObject
* obj0
= 0 ;
4031 (char *) "self", NULL
4034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
4035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4039 result
= (int)((wxGauge
const *)arg1
)->GetRange();
4041 wxPyEndAllowThreads(__tstate
);
4042 if (PyErr_Occurred()) SWIG_fail
;
4044 resultobj
= SWIG_FromInt((int)result
);
4051 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4052 PyObject
*resultobj
;
4053 wxGauge
*arg1
= (wxGauge
*) 0 ;
4055 PyObject
* obj0
= 0 ;
4056 PyObject
* obj1
= 0 ;
4058 (char *) "self",(char *) "pos", NULL
4061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
4062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4064 arg2
= (int) SWIG_AsInt(obj1
);
4065 if (PyErr_Occurred()) SWIG_fail
;
4067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4068 (arg1
)->SetValue(arg2
);
4070 wxPyEndAllowThreads(__tstate
);
4071 if (PyErr_Occurred()) SWIG_fail
;
4073 Py_INCREF(Py_None
); resultobj
= Py_None
;
4080 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4081 PyObject
*resultobj
;
4082 wxGauge
*arg1
= (wxGauge
*) 0 ;
4084 PyObject
* obj0
= 0 ;
4086 (char *) "self", NULL
4089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
4090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4094 result
= (int)((wxGauge
const *)arg1
)->GetValue();
4096 wxPyEndAllowThreads(__tstate
);
4097 if (PyErr_Occurred()) SWIG_fail
;
4099 resultobj
= SWIG_FromInt((int)result
);
4106 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4107 PyObject
*resultobj
;
4108 wxGauge
*arg1
= (wxGauge
*) 0 ;
4110 PyObject
* obj0
= 0 ;
4112 (char *) "self", NULL
4115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
4116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4120 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
4122 wxPyEndAllowThreads(__tstate
);
4123 if (PyErr_Occurred()) SWIG_fail
;
4126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4134 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4135 PyObject
*resultobj
;
4136 wxGauge
*arg1
= (wxGauge
*) 0 ;
4138 PyObject
* obj0
= 0 ;
4139 PyObject
* obj1
= 0 ;
4141 (char *) "self",(char *) "w", NULL
4144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4147 arg2
= (int) SWIG_AsInt(obj1
);
4148 if (PyErr_Occurred()) SWIG_fail
;
4150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4151 (arg1
)->SetShadowWidth(arg2
);
4153 wxPyEndAllowThreads(__tstate
);
4154 if (PyErr_Occurred()) SWIG_fail
;
4156 Py_INCREF(Py_None
); resultobj
= Py_None
;
4163 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4164 PyObject
*resultobj
;
4165 wxGauge
*arg1
= (wxGauge
*) 0 ;
4167 PyObject
* obj0
= 0 ;
4169 (char *) "self", NULL
4172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
4173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4177 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
4179 wxPyEndAllowThreads(__tstate
);
4180 if (PyErr_Occurred()) SWIG_fail
;
4182 resultobj
= SWIG_FromInt((int)result
);
4189 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4190 PyObject
*resultobj
;
4191 wxGauge
*arg1
= (wxGauge
*) 0 ;
4193 PyObject
* obj0
= 0 ;
4194 PyObject
* obj1
= 0 ;
4196 (char *) "self",(char *) "w", NULL
4199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
4200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4202 arg2
= (int) SWIG_AsInt(obj1
);
4203 if (PyErr_Occurred()) SWIG_fail
;
4205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4206 (arg1
)->SetBezelFace(arg2
);
4208 wxPyEndAllowThreads(__tstate
);
4209 if (PyErr_Occurred()) SWIG_fail
;
4211 Py_INCREF(Py_None
); resultobj
= Py_None
;
4218 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4219 PyObject
*resultobj
;
4220 wxGauge
*arg1
= (wxGauge
*) 0 ;
4222 PyObject
* obj0
= 0 ;
4224 (char *) "self", NULL
4227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
4228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4232 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
4234 wxPyEndAllowThreads(__tstate
);
4235 if (PyErr_Occurred()) SWIG_fail
;
4237 resultobj
= SWIG_FromInt((int)result
);
4244 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4245 PyObject
*resultobj
;
4246 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4247 wxVisualAttributes result
;
4248 PyObject
* obj0
= 0 ;
4250 (char *) "variant", NULL
4253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4255 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4256 if (PyErr_Occurred()) SWIG_fail
;
4259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4260 result
= wxGauge::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4262 wxPyEndAllowThreads(__tstate
);
4263 if (PyErr_Occurred()) SWIG_fail
;
4266 wxVisualAttributes
* resultptr
;
4267 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4268 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4276 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
4278 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4279 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
4281 return Py_BuildValue((char *)"");
4283 static int _wrap_StaticBitmapNameStr_set(PyObject
*_val
) {
4284 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
4289 static PyObject
*_wrap_StaticBitmapNameStr_get() {
4294 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4296 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4303 static int _wrap_StaticBoxNameStr_set(PyObject
*_val
) {
4304 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
4309 static PyObject
*_wrap_StaticBoxNameStr_get() {
4314 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4316 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4323 static int _wrap_StaticTextNameStr_set(PyObject
*_val
) {
4324 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
4329 static PyObject
*_wrap_StaticTextNameStr_get() {
4334 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4336 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4343 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4344 PyObject
*resultobj
;
4345 wxWindow
*arg1
= (wxWindow
*) 0 ;
4347 wxString
*arg3
= 0 ;
4348 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4349 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4350 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4351 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4352 long arg6
= (long) 0 ;
4353 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
4354 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4355 wxStaticBox
*result
;
4356 bool temp3
= False
;
4359 bool temp7
= False
;
4360 PyObject
* obj0
= 0 ;
4361 PyObject
* obj1
= 0 ;
4362 PyObject
* obj2
= 0 ;
4363 PyObject
* obj3
= 0 ;
4364 PyObject
* obj4
= 0 ;
4365 PyObject
* obj5
= 0 ;
4366 PyObject
* obj6
= 0 ;
4368 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4374 arg2
= (int) SWIG_AsInt(obj1
);
4375 if (PyErr_Occurred()) SWIG_fail
;
4377 arg3
= wxString_in_helper(obj2
);
4378 if (arg3
== NULL
) SWIG_fail
;
4384 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4390 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4394 arg6
= (long) SWIG_AsLong(obj5
);
4395 if (PyErr_Occurred()) SWIG_fail
;
4399 arg7
= wxString_in_helper(obj6
);
4400 if (arg7
== NULL
) SWIG_fail
;
4405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4406 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4408 wxPyEndAllowThreads(__tstate
);
4409 if (PyErr_Occurred()) SWIG_fail
;
4412 resultobj
= wxPyMake_wxObject(result
);
4436 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4437 PyObject
*resultobj
;
4438 wxStaticBox
*result
;
4443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4446 result
= (wxStaticBox
*)new wxStaticBox();
4448 wxPyEndAllowThreads(__tstate
);
4449 if (PyErr_Occurred()) SWIG_fail
;
4452 resultobj
= wxPyMake_wxObject(result
);
4460 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4461 PyObject
*resultobj
;
4462 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4463 wxWindow
*arg2
= (wxWindow
*) 0 ;
4465 wxString
*arg4
= 0 ;
4466 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4467 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4468 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4469 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4470 long arg7
= (long) 0 ;
4471 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4472 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4474 bool temp4
= False
;
4477 bool temp8
= False
;
4478 PyObject
* obj0
= 0 ;
4479 PyObject
* obj1
= 0 ;
4480 PyObject
* obj2
= 0 ;
4481 PyObject
* obj3
= 0 ;
4482 PyObject
* obj4
= 0 ;
4483 PyObject
* obj5
= 0 ;
4484 PyObject
* obj6
= 0 ;
4485 PyObject
* obj7
= 0 ;
4487 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
4492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4493 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4495 arg3
= (int) SWIG_AsInt(obj2
);
4496 if (PyErr_Occurred()) SWIG_fail
;
4498 arg4
= wxString_in_helper(obj3
);
4499 if (arg4
== NULL
) SWIG_fail
;
4505 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4511 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4515 arg7
= (long) SWIG_AsLong(obj6
);
4516 if (PyErr_Occurred()) SWIG_fail
;
4520 arg8
= wxString_in_helper(obj7
);
4521 if (arg8
== NULL
) SWIG_fail
;
4526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4527 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4529 wxPyEndAllowThreads(__tstate
);
4530 if (PyErr_Occurred()) SWIG_fail
;
4533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4557 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4558 PyObject
*resultobj
;
4559 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4560 wxVisualAttributes result
;
4561 PyObject
* obj0
= 0 ;
4563 (char *) "variant", NULL
4566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4568 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4569 if (PyErr_Occurred()) SWIG_fail
;
4572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4573 result
= wxStaticBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4575 wxPyEndAllowThreads(__tstate
);
4576 if (PyErr_Occurred()) SWIG_fail
;
4579 wxVisualAttributes
* resultptr
;
4580 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4581 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4589 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
4591 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4592 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4594 return Py_BuildValue((char *)"");
4596 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4597 PyObject
*resultobj
;
4598 wxWindow
*arg1
= (wxWindow
*) 0 ;
4600 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4601 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4602 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4603 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4604 long arg5
= (long) wxLI_HORIZONTAL
;
4605 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4606 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4607 wxStaticLine
*result
;
4610 bool temp6
= False
;
4611 PyObject
* obj0
= 0 ;
4612 PyObject
* obj1
= 0 ;
4613 PyObject
* obj2
= 0 ;
4614 PyObject
* obj3
= 0 ;
4615 PyObject
* obj4
= 0 ;
4616 PyObject
* obj5
= 0 ;
4618 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4624 arg2
= (int) SWIG_AsInt(obj1
);
4625 if (PyErr_Occurred()) SWIG_fail
;
4629 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4635 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4639 arg5
= (long) SWIG_AsLong(obj4
);
4640 if (PyErr_Occurred()) SWIG_fail
;
4644 arg6
= wxString_in_helper(obj5
);
4645 if (arg6
== NULL
) SWIG_fail
;
4650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4651 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4653 wxPyEndAllowThreads(__tstate
);
4654 if (PyErr_Occurred()) SWIG_fail
;
4656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4671 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4672 PyObject
*resultobj
;
4673 wxStaticLine
*result
;
4678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4681 result
= (wxStaticLine
*)new wxStaticLine();
4683 wxPyEndAllowThreads(__tstate
);
4684 if (PyErr_Occurred()) SWIG_fail
;
4686 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4693 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4694 PyObject
*resultobj
;
4695 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4696 wxWindow
*arg2
= (wxWindow
*) 0 ;
4698 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4699 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4700 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4701 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4702 long arg6
= (long) wxLI_HORIZONTAL
;
4703 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4704 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4708 bool temp7
= False
;
4709 PyObject
* obj0
= 0 ;
4710 PyObject
* obj1
= 0 ;
4711 PyObject
* obj2
= 0 ;
4712 PyObject
* obj3
= 0 ;
4713 PyObject
* obj4
= 0 ;
4714 PyObject
* obj5
= 0 ;
4715 PyObject
* obj6
= 0 ;
4717 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4723 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4725 arg3
= (int) SWIG_AsInt(obj2
);
4726 if (PyErr_Occurred()) SWIG_fail
;
4730 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4736 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4740 arg6
= (long) SWIG_AsLong(obj5
);
4741 if (PyErr_Occurred()) SWIG_fail
;
4745 arg7
= wxString_in_helper(obj6
);
4746 if (arg7
== NULL
) SWIG_fail
;
4751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4752 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4754 wxPyEndAllowThreads(__tstate
);
4755 if (PyErr_Occurred()) SWIG_fail
;
4758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4774 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4775 PyObject
*resultobj
;
4776 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4778 PyObject
* obj0
= 0 ;
4780 (char *) "self", NULL
4783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4788 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4790 wxPyEndAllowThreads(__tstate
);
4791 if (PyErr_Occurred()) SWIG_fail
;
4794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4802 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4803 PyObject
*resultobj
;
4809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
4811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4812 result
= (int)wxStaticLine::GetDefaultSize();
4814 wxPyEndAllowThreads(__tstate
);
4815 if (PyErr_Occurred()) SWIG_fail
;
4817 resultobj
= SWIG_FromInt((int)result
);
4824 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4825 PyObject
*resultobj
;
4826 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4827 wxVisualAttributes result
;
4828 PyObject
* obj0
= 0 ;
4830 (char *) "variant", NULL
4833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4835 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4836 if (PyErr_Occurred()) SWIG_fail
;
4839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4840 result
= wxStaticLine::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4842 wxPyEndAllowThreads(__tstate
);
4843 if (PyErr_Occurred()) SWIG_fail
;
4846 wxVisualAttributes
* resultptr
;
4847 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4848 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4856 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
4858 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4859 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
4861 return Py_BuildValue((char *)"");
4863 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4864 PyObject
*resultobj
;
4865 wxWindow
*arg1
= (wxWindow
*) 0 ;
4867 wxString
*arg3
= 0 ;
4868 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4869 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4870 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4871 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4872 long arg6
= (long) 0 ;
4873 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4874 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4875 wxStaticText
*result
;
4876 bool temp3
= False
;
4879 bool temp7
= False
;
4880 PyObject
* obj0
= 0 ;
4881 PyObject
* obj1
= 0 ;
4882 PyObject
* obj2
= 0 ;
4883 PyObject
* obj3
= 0 ;
4884 PyObject
* obj4
= 0 ;
4885 PyObject
* obj5
= 0 ;
4886 PyObject
* obj6
= 0 ;
4888 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4894 arg2
= (int) SWIG_AsInt(obj1
);
4895 if (PyErr_Occurred()) SWIG_fail
;
4897 arg3
= wxString_in_helper(obj2
);
4898 if (arg3
== NULL
) SWIG_fail
;
4904 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4910 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4914 arg6
= (long) SWIG_AsLong(obj5
);
4915 if (PyErr_Occurred()) SWIG_fail
;
4919 arg7
= wxString_in_helper(obj6
);
4920 if (arg7
== NULL
) SWIG_fail
;
4925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4926 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4928 wxPyEndAllowThreads(__tstate
);
4929 if (PyErr_Occurred()) SWIG_fail
;
4931 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4954 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4955 PyObject
*resultobj
;
4956 wxStaticText
*result
;
4961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
4963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4964 result
= (wxStaticText
*)new wxStaticText();
4966 wxPyEndAllowThreads(__tstate
);
4967 if (PyErr_Occurred()) SWIG_fail
;
4969 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4976 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4977 PyObject
*resultobj
;
4978 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
4979 wxWindow
*arg2
= (wxWindow
*) 0 ;
4981 wxString
*arg4
= 0 ;
4982 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4983 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4984 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4985 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4986 long arg7
= (long) 0 ;
4987 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
4988 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4990 bool temp4
= False
;
4993 bool temp8
= False
;
4994 PyObject
* obj0
= 0 ;
4995 PyObject
* obj1
= 0 ;
4996 PyObject
* obj2
= 0 ;
4997 PyObject
* obj3
= 0 ;
4998 PyObject
* obj4
= 0 ;
4999 PyObject
* obj5
= 0 ;
5000 PyObject
* obj6
= 0 ;
5001 PyObject
* obj7
= 0 ;
5003 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticText
,
5008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5009 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5011 arg3
= (int) SWIG_AsInt(obj2
);
5012 if (PyErr_Occurred()) SWIG_fail
;
5014 arg4
= wxString_in_helper(obj3
);
5015 if (arg4
== NULL
) SWIG_fail
;
5021 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5027 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5031 arg7
= (long) SWIG_AsLong(obj6
);
5032 if (PyErr_Occurred()) SWIG_fail
;
5036 arg8
= wxString_in_helper(obj7
);
5037 if (arg8
== NULL
) SWIG_fail
;
5042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5043 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5045 wxPyEndAllowThreads(__tstate
);
5046 if (PyErr_Occurred()) SWIG_fail
;
5049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5073 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5074 PyObject
*resultobj
;
5075 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5076 wxVisualAttributes result
;
5077 PyObject
* obj0
= 0 ;
5079 (char *) "variant", NULL
5082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5084 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
5085 if (PyErr_Occurred()) SWIG_fail
;
5088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5089 result
= wxStaticText::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5091 wxPyEndAllowThreads(__tstate
);
5092 if (PyErr_Occurred()) SWIG_fail
;
5095 wxVisualAttributes
* resultptr
;
5096 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5097 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5105 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
5107 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5108 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
5110 return Py_BuildValue((char *)"");
5112 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5113 PyObject
*resultobj
;
5114 wxWindow
*arg1
= (wxWindow
*) 0 ;
5116 wxBitmap
*arg3
= 0 ;
5117 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5118 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5119 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5120 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5121 long arg6
= (long) 0 ;
5122 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
5123 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5124 wxStaticBitmap
*result
;
5127 bool temp7
= False
;
5128 PyObject
* obj0
= 0 ;
5129 PyObject
* obj1
= 0 ;
5130 PyObject
* obj2
= 0 ;
5131 PyObject
* obj3
= 0 ;
5132 PyObject
* obj4
= 0 ;
5133 PyObject
* obj5
= 0 ;
5134 PyObject
* obj6
= 0 ;
5136 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5142 arg2
= (int) SWIG_AsInt(obj1
);
5143 if (PyErr_Occurred()) SWIG_fail
;
5144 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
5145 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5148 PyErr_SetString(PyExc_TypeError
,"null reference");
5154 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5160 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5164 arg6
= (long) SWIG_AsLong(obj5
);
5165 if (PyErr_Occurred()) SWIG_fail
;
5169 arg7
= wxString_in_helper(obj6
);
5170 if (arg7
== NULL
) SWIG_fail
;
5175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5176 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5178 wxPyEndAllowThreads(__tstate
);
5179 if (PyErr_Occurred()) SWIG_fail
;
5181 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5196 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5197 PyObject
*resultobj
;
5198 wxStaticBitmap
*result
;
5203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
5205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5206 result
= (wxStaticBitmap
*)new wxStaticBitmap();
5208 wxPyEndAllowThreads(__tstate
);
5209 if (PyErr_Occurred()) SWIG_fail
;
5211 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5218 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5219 PyObject
*resultobj
;
5220 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5221 wxWindow
*arg2
= (wxWindow
*) 0 ;
5223 wxBitmap
*arg4
= 0 ;
5224 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5225 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5226 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5227 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5228 long arg7
= (long) 0 ;
5229 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
5230 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5234 bool temp8
= False
;
5235 PyObject
* obj0
= 0 ;
5236 PyObject
* obj1
= 0 ;
5237 PyObject
* obj2
= 0 ;
5238 PyObject
* obj3
= 0 ;
5239 PyObject
* obj4
= 0 ;
5240 PyObject
* obj5
= 0 ;
5241 PyObject
* obj6
= 0 ;
5242 PyObject
* obj7
= 0 ;
5244 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5250 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5252 arg3
= (int) SWIG_AsInt(obj2
);
5253 if (PyErr_Occurred()) SWIG_fail
;
5254 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
5255 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5258 PyErr_SetString(PyExc_TypeError
,"null reference");
5264 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5270 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5274 arg7
= (long) SWIG_AsLong(obj6
);
5275 if (PyErr_Occurred()) SWIG_fail
;
5279 arg8
= wxString_in_helper(obj7
);
5280 if (arg8
== NULL
) SWIG_fail
;
5285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5286 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5288 wxPyEndAllowThreads(__tstate
);
5289 if (PyErr_Occurred()) SWIG_fail
;
5292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5308 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5309 PyObject
*resultobj
;
5310 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5312 PyObject
* obj0
= 0 ;
5314 (char *) "self", NULL
5317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
5318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5322 result
= (arg1
)->GetBitmap();
5324 wxPyEndAllowThreads(__tstate
);
5325 if (PyErr_Occurred()) SWIG_fail
;
5328 wxBitmap
* resultptr
;
5329 resultptr
= new wxBitmap((wxBitmap
&) result
);
5330 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5338 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5339 PyObject
*resultobj
;
5340 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5341 wxBitmap
*arg2
= 0 ;
5342 PyObject
* obj0
= 0 ;
5343 PyObject
* obj1
= 0 ;
5345 (char *) "self",(char *) "bitmap", NULL
5348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5351 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5352 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5355 PyErr_SetString(PyExc_TypeError
,"null reference");
5359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5360 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
5362 wxPyEndAllowThreads(__tstate
);
5363 if (PyErr_Occurred()) SWIG_fail
;
5365 Py_INCREF(Py_None
); resultobj
= Py_None
;
5372 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5373 PyObject
*resultobj
;
5374 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5376 PyObject
* obj0
= 0 ;
5377 PyObject
* obj1
= 0 ;
5379 (char *) "self",(char *) "icon", NULL
5382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5385 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
5386 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5389 PyErr_SetString(PyExc_TypeError
,"null reference");
5393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5394 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5396 wxPyEndAllowThreads(__tstate
);
5397 if (PyErr_Occurred()) SWIG_fail
;
5399 Py_INCREF(Py_None
); resultobj
= Py_None
;
5406 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5407 PyObject
*resultobj
;
5408 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5409 wxVisualAttributes result
;
5410 PyObject
* obj0
= 0 ;
5412 (char *) "variant", NULL
5415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5417 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
5418 if (PyErr_Occurred()) SWIG_fail
;
5421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5422 result
= wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5424 wxPyEndAllowThreads(__tstate
);
5425 if (PyErr_Occurred()) SWIG_fail
;
5428 wxVisualAttributes
* resultptr
;
5429 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5430 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5438 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
5440 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5441 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
5443 return Py_BuildValue((char *)"");
5445 static int _wrap_ListBoxNameStr_set(PyObject
*_val
) {
5446 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
5451 static PyObject
*_wrap_ListBoxNameStr_get() {
5456 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5458 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5465 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5466 PyObject
*resultobj
;
5467 wxWindow
*arg1
= (wxWindow
*) 0 ;
5469 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5470 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5471 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5472 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5473 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5474 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5475 long arg6
= (long) 0 ;
5476 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5477 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5478 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5479 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5483 bool temp5
= False
;
5484 bool temp8
= False
;
5485 PyObject
* obj0
= 0 ;
5486 PyObject
* obj1
= 0 ;
5487 PyObject
* obj2
= 0 ;
5488 PyObject
* obj3
= 0 ;
5489 PyObject
* obj4
= 0 ;
5490 PyObject
* obj5
= 0 ;
5491 PyObject
* obj6
= 0 ;
5492 PyObject
* obj7
= 0 ;
5494 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5500 arg2
= (int) SWIG_AsInt(obj1
);
5501 if (PyErr_Occurred()) SWIG_fail
;
5505 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5511 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5516 if (! PySequence_Check(obj4
)) {
5517 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5520 arg5
= new wxArrayString
;
5522 int i
, len
=PySequence_Length(obj4
);
5523 for (i
=0; i
<len
; i
++) {
5524 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5526 PyObject
* str
= PyObject_Unicode(item
);
5528 PyObject
* str
= PyObject_Str(item
);
5530 if (PyErr_Occurred()) SWIG_fail
;
5531 arg5
->Add(Py2wxString(str
));
5538 arg6
= (long) SWIG_AsLong(obj5
);
5539 if (PyErr_Occurred()) SWIG_fail
;
5542 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
5543 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5546 PyErr_SetString(PyExc_TypeError
,"null reference");
5552 arg8
= wxString_in_helper(obj7
);
5553 if (arg8
== NULL
) SWIG_fail
;
5558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5559 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5561 wxPyEndAllowThreads(__tstate
);
5562 if (PyErr_Occurred()) SWIG_fail
;
5564 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5566 if (temp5
) delete arg5
;
5575 if (temp5
) delete arg5
;
5585 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5586 PyObject
*resultobj
;
5592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5595 result
= (wxListBox
*)new wxListBox();
5597 wxPyEndAllowThreads(__tstate
);
5598 if (PyErr_Occurred()) SWIG_fail
;
5600 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5607 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5608 PyObject
*resultobj
;
5609 wxListBox
*arg1
= (wxListBox
*) 0 ;
5610 wxWindow
*arg2
= (wxWindow
*) 0 ;
5612 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5613 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5614 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5615 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5616 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5617 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5618 long arg7
= (long) 0 ;
5619 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5620 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5621 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5622 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5626 bool temp6
= False
;
5627 bool temp9
= False
;
5628 PyObject
* obj0
= 0 ;
5629 PyObject
* obj1
= 0 ;
5630 PyObject
* obj2
= 0 ;
5631 PyObject
* obj3
= 0 ;
5632 PyObject
* obj4
= 0 ;
5633 PyObject
* obj5
= 0 ;
5634 PyObject
* obj6
= 0 ;
5635 PyObject
* obj7
= 0 ;
5636 PyObject
* obj8
= 0 ;
5638 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5644 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5646 arg3
= (int) SWIG_AsInt(obj2
);
5647 if (PyErr_Occurred()) SWIG_fail
;
5651 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5657 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5662 if (! PySequence_Check(obj5
)) {
5663 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5666 arg6
= new wxArrayString
;
5668 int i
, len
=PySequence_Length(obj5
);
5669 for (i
=0; i
<len
; i
++) {
5670 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5672 PyObject
* str
= PyObject_Unicode(item
);
5674 PyObject
* str
= PyObject_Str(item
);
5676 if (PyErr_Occurred()) SWIG_fail
;
5677 arg6
->Add(Py2wxString(str
));
5684 arg7
= (long) SWIG_AsLong(obj6
);
5685 if (PyErr_Occurred()) SWIG_fail
;
5688 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
5689 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5692 PyErr_SetString(PyExc_TypeError
,"null reference");
5698 arg9
= wxString_in_helper(obj8
);
5699 if (arg9
== NULL
) SWIG_fail
;
5704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5705 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5707 wxPyEndAllowThreads(__tstate
);
5708 if (PyErr_Occurred()) SWIG_fail
;
5711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5714 if (temp6
) delete arg6
;
5723 if (temp6
) delete arg6
;
5733 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5734 PyObject
*resultobj
;
5735 wxListBox
*arg1
= (wxListBox
*) 0 ;
5736 wxString
*arg2
= 0 ;
5738 PyObject
*arg4
= (PyObject
*) NULL
;
5739 bool temp2
= False
;
5740 PyObject
* obj0
= 0 ;
5741 PyObject
* obj1
= 0 ;
5742 PyObject
* obj2
= 0 ;
5743 PyObject
* obj3
= 0 ;
5745 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5752 arg2
= wxString_in_helper(obj1
);
5753 if (arg2
== NULL
) SWIG_fail
;
5756 arg3
= (int) SWIG_AsInt(obj2
);
5757 if (PyErr_Occurred()) SWIG_fail
;
5762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5763 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5765 wxPyEndAllowThreads(__tstate
);
5766 if (PyErr_Occurred()) SWIG_fail
;
5768 Py_INCREF(Py_None
); resultobj
= Py_None
;
5783 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5784 PyObject
*resultobj
;
5785 wxListBox
*arg1
= (wxListBox
*) 0 ;
5786 wxArrayString
*arg2
= 0 ;
5788 bool temp2
= False
;
5789 PyObject
* obj0
= 0 ;
5790 PyObject
* obj1
= 0 ;
5791 PyObject
* obj2
= 0 ;
5793 (char *) "self",(char *) "items",(char *) "pos", NULL
5796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5800 if (! PySequence_Check(obj1
)) {
5801 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5804 arg2
= new wxArrayString
;
5806 int i
, len
=PySequence_Length(obj1
);
5807 for (i
=0; i
<len
; i
++) {
5808 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5810 PyObject
* str
= PyObject_Unicode(item
);
5812 PyObject
* str
= PyObject_Str(item
);
5814 if (PyErr_Occurred()) SWIG_fail
;
5815 arg2
->Add(Py2wxString(str
));
5820 arg3
= (int) SWIG_AsInt(obj2
);
5821 if (PyErr_Occurred()) SWIG_fail
;
5823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5824 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
5826 wxPyEndAllowThreads(__tstate
);
5827 if (PyErr_Occurred()) SWIG_fail
;
5829 Py_INCREF(Py_None
); resultobj
= Py_None
;
5831 if (temp2
) delete arg2
;
5836 if (temp2
) delete arg2
;
5842 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5843 PyObject
*resultobj
;
5844 wxListBox
*arg1
= (wxListBox
*) 0 ;
5845 wxArrayString
*arg2
= 0 ;
5846 bool temp2
= False
;
5847 PyObject
* obj0
= 0 ;
5848 PyObject
* obj1
= 0 ;
5850 (char *) "self",(char *) "items", NULL
5853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
5854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5857 if (! PySequence_Check(obj1
)) {
5858 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5861 arg2
= new wxArrayString
;
5863 int i
, len
=PySequence_Length(obj1
);
5864 for (i
=0; i
<len
; i
++) {
5865 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5867 PyObject
* str
= PyObject_Unicode(item
);
5869 PyObject
* str
= PyObject_Str(item
);
5871 if (PyErr_Occurred()) SWIG_fail
;
5872 arg2
->Add(Py2wxString(str
));
5878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5879 (arg1
)->Set((wxArrayString
const &)*arg2
);
5881 wxPyEndAllowThreads(__tstate
);
5882 if (PyErr_Occurred()) SWIG_fail
;
5884 Py_INCREF(Py_None
); resultobj
= Py_None
;
5886 if (temp2
) delete arg2
;
5891 if (temp2
) delete arg2
;
5897 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5898 PyObject
*resultobj
;
5899 wxListBox
*arg1
= (wxListBox
*) 0 ;
5902 PyObject
* obj0
= 0 ;
5903 PyObject
* obj1
= 0 ;
5905 (char *) "self",(char *) "n", NULL
5908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
5909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5911 arg2
= (int) SWIG_AsInt(obj1
);
5912 if (PyErr_Occurred()) SWIG_fail
;
5914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5915 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
5917 wxPyEndAllowThreads(__tstate
);
5918 if (PyErr_Occurred()) SWIG_fail
;
5921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5929 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5930 PyObject
*resultobj
;
5931 wxListBox
*arg1
= (wxListBox
*) 0 ;
5933 bool arg3
= (bool) True
;
5934 PyObject
* obj0
= 0 ;
5935 PyObject
* obj1
= 0 ;
5936 PyObject
* obj2
= 0 ;
5938 (char *) "self",(char *) "n",(char *) "select", NULL
5941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5944 arg2
= (int) SWIG_AsInt(obj1
);
5945 if (PyErr_Occurred()) SWIG_fail
;
5947 arg3
= (bool) SWIG_AsBool(obj2
);
5948 if (PyErr_Occurred()) SWIG_fail
;
5951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5952 (arg1
)->SetSelection(arg2
,arg3
);
5954 wxPyEndAllowThreads(__tstate
);
5955 if (PyErr_Occurred()) SWIG_fail
;
5957 Py_INCREF(Py_None
); resultobj
= Py_None
;
5964 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5965 PyObject
*resultobj
;
5966 wxListBox
*arg1
= (wxListBox
*) 0 ;
5968 PyObject
* obj0
= 0 ;
5969 PyObject
* obj1
= 0 ;
5971 (char *) "self",(char *) "n", NULL
5974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
5975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5977 arg2
= (int) SWIG_AsInt(obj1
);
5978 if (PyErr_Occurred()) SWIG_fail
;
5980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5981 (arg1
)->Select(arg2
);
5983 wxPyEndAllowThreads(__tstate
);
5984 if (PyErr_Occurred()) SWIG_fail
;
5986 Py_INCREF(Py_None
); resultobj
= Py_None
;
5993 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5994 PyObject
*resultobj
;
5995 wxListBox
*arg1
= (wxListBox
*) 0 ;
5997 PyObject
* obj0
= 0 ;
5998 PyObject
* obj1
= 0 ;
6000 (char *) "self",(char *) "n", NULL
6003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
6004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6006 arg2
= (int) SWIG_AsInt(obj1
);
6007 if (PyErr_Occurred()) SWIG_fail
;
6009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6010 (arg1
)->Deselect(arg2
);
6012 wxPyEndAllowThreads(__tstate
);
6013 if (PyErr_Occurred()) SWIG_fail
;
6015 Py_INCREF(Py_None
); resultobj
= Py_None
;
6022 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6023 PyObject
*resultobj
;
6024 wxListBox
*arg1
= (wxListBox
*) 0 ;
6025 int arg2
= (int) -1 ;
6026 PyObject
* obj0
= 0 ;
6027 PyObject
* obj1
= 0 ;
6029 (char *) "self",(char *) "itemToLeaveSelected", NULL
6032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
6033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6036 arg2
= (int) SWIG_AsInt(obj1
);
6037 if (PyErr_Occurred()) SWIG_fail
;
6040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6041 (arg1
)->DeselectAll(arg2
);
6043 wxPyEndAllowThreads(__tstate
);
6044 if (PyErr_Occurred()) SWIG_fail
;
6046 Py_INCREF(Py_None
); resultobj
= Py_None
;
6053 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6054 PyObject
*resultobj
;
6055 wxListBox
*arg1
= (wxListBox
*) 0 ;
6056 wxString
*arg2
= 0 ;
6057 bool arg3
= (bool) True
;
6059 bool temp2
= False
;
6060 PyObject
* obj0
= 0 ;
6061 PyObject
* obj1
= 0 ;
6062 PyObject
* obj2
= 0 ;
6064 (char *) "self",(char *) "s",(char *) "select", NULL
6067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6071 arg2
= wxString_in_helper(obj1
);
6072 if (arg2
== NULL
) SWIG_fail
;
6076 arg3
= (bool) SWIG_AsBool(obj2
);
6077 if (PyErr_Occurred()) SWIG_fail
;
6080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6081 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
6083 wxPyEndAllowThreads(__tstate
);
6084 if (PyErr_Occurred()) SWIG_fail
;
6087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6103 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6104 PyObject
*resultobj
;
6105 wxListBox
*arg1
= (wxListBox
*) 0 ;
6107 PyObject
* obj0
= 0 ;
6109 (char *) "self", NULL
6112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
6113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6117 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
6119 wxPyEndAllowThreads(__tstate
);
6120 if (PyErr_Occurred()) SWIG_fail
;
6129 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6130 PyObject
*resultobj
;
6131 wxListBox
*arg1
= (wxListBox
*) 0 ;
6133 PyObject
* obj0
= 0 ;
6134 PyObject
* obj1
= 0 ;
6136 (char *) "self",(char *) "n", NULL
6139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
6140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6142 arg2
= (int) SWIG_AsInt(obj1
);
6143 if (PyErr_Occurred()) SWIG_fail
;
6145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6146 (arg1
)->SetFirstItem(arg2
);
6148 wxPyEndAllowThreads(__tstate
);
6149 if (PyErr_Occurred()) SWIG_fail
;
6151 Py_INCREF(Py_None
); resultobj
= Py_None
;
6158 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6159 PyObject
*resultobj
;
6160 wxListBox
*arg1
= (wxListBox
*) 0 ;
6161 wxString
*arg2
= 0 ;
6162 bool temp2
= False
;
6163 PyObject
* obj0
= 0 ;
6164 PyObject
* obj1
= 0 ;
6166 (char *) "self",(char *) "s", NULL
6169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
6170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6173 arg2
= wxString_in_helper(obj1
);
6174 if (arg2
== NULL
) SWIG_fail
;
6178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6179 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
6181 wxPyEndAllowThreads(__tstate
);
6182 if (PyErr_Occurred()) SWIG_fail
;
6184 Py_INCREF(Py_None
); resultobj
= Py_None
;
6199 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6200 PyObject
*resultobj
;
6201 wxListBox
*arg1
= (wxListBox
*) 0 ;
6203 PyObject
* obj0
= 0 ;
6204 PyObject
* obj1
= 0 ;
6206 (char *) "self",(char *) "n", NULL
6209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6212 arg2
= (int) SWIG_AsInt(obj1
);
6213 if (PyErr_Occurred()) SWIG_fail
;
6215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6216 (arg1
)->EnsureVisible(arg2
);
6218 wxPyEndAllowThreads(__tstate
);
6219 if (PyErr_Occurred()) SWIG_fail
;
6221 Py_INCREF(Py_None
); resultobj
= Py_None
;
6228 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6229 PyObject
*resultobj
;
6230 wxListBox
*arg1
= (wxListBox
*) 0 ;
6231 wxString
*arg2
= 0 ;
6232 bool temp2
= False
;
6233 PyObject
* obj0
= 0 ;
6234 PyObject
* obj1
= 0 ;
6236 (char *) "self",(char *) "s", NULL
6239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6243 arg2
= wxString_in_helper(obj1
);
6244 if (arg2
== NULL
) SWIG_fail
;
6248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6249 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
6251 wxPyEndAllowThreads(__tstate
);
6252 if (PyErr_Occurred()) SWIG_fail
;
6254 Py_INCREF(Py_None
); resultobj
= Py_None
;
6269 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6270 PyObject
*resultobj
;
6271 wxListBox
*arg1
= (wxListBox
*) 0 ;
6273 PyObject
* obj0
= 0 ;
6275 (char *) "self", NULL
6278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
6279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6283 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
6285 wxPyEndAllowThreads(__tstate
);
6286 if (PyErr_Occurred()) SWIG_fail
;
6289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6297 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6298 PyObject
*resultobj
;
6299 wxListBox
*arg1
= (wxListBox
*) 0 ;
6301 wxColour
*arg3
= 0 ;
6303 PyObject
* obj0
= 0 ;
6304 PyObject
* obj1
= 0 ;
6305 PyObject
* obj2
= 0 ;
6307 (char *) "self",(char *) "item",(char *) "c", NULL
6310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6313 arg2
= (int) SWIG_AsInt(obj1
);
6314 if (PyErr_Occurred()) SWIG_fail
;
6317 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6321 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6323 wxPyEndAllowThreads(__tstate
);
6324 if (PyErr_Occurred()) SWIG_fail
;
6326 Py_INCREF(Py_None
); resultobj
= Py_None
;
6333 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6334 PyObject
*resultobj
;
6335 wxListBox
*arg1
= (wxListBox
*) 0 ;
6337 wxColour
*arg3
= 0 ;
6339 PyObject
* obj0
= 0 ;
6340 PyObject
* obj1
= 0 ;
6341 PyObject
* obj2
= 0 ;
6343 (char *) "self",(char *) "item",(char *) "c", NULL
6346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6349 arg2
= (int) SWIG_AsInt(obj1
);
6350 if (PyErr_Occurred()) SWIG_fail
;
6353 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6357 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6359 wxPyEndAllowThreads(__tstate
);
6360 if (PyErr_Occurred()) SWIG_fail
;
6362 Py_INCREF(Py_None
); resultobj
= Py_None
;
6369 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6370 PyObject
*resultobj
;
6371 wxListBox
*arg1
= (wxListBox
*) 0 ;
6374 PyObject
* obj0
= 0 ;
6375 PyObject
* obj1
= 0 ;
6376 PyObject
* obj2
= 0 ;
6378 (char *) "self",(char *) "item",(char *) "f", NULL
6381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6384 arg2
= (int) SWIG_AsInt(obj1
);
6385 if (PyErr_Occurred()) SWIG_fail
;
6386 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6387 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6390 PyErr_SetString(PyExc_TypeError
,"null reference");
6394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6395 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
6397 wxPyEndAllowThreads(__tstate
);
6398 if (PyErr_Occurred()) SWIG_fail
;
6400 Py_INCREF(Py_None
); resultobj
= Py_None
;
6407 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6408 PyObject
*resultobj
;
6409 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6410 wxVisualAttributes result
;
6411 PyObject
* obj0
= 0 ;
6413 (char *) "variant", NULL
6416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6418 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
6419 if (PyErr_Occurred()) SWIG_fail
;
6422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6423 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6425 wxPyEndAllowThreads(__tstate
);
6426 if (PyErr_Occurred()) SWIG_fail
;
6429 wxVisualAttributes
* resultptr
;
6430 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6431 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6439 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6441 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6442 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
6444 return Py_BuildValue((char *)"");
6446 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6447 PyObject
*resultobj
;
6448 wxWindow
*arg1
= (wxWindow
*) 0 ;
6450 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6451 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6452 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6453 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6454 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
6455 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
6456 long arg6
= (long) 0 ;
6457 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6458 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6459 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
6460 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6461 wxCheckListBox
*result
;
6464 bool temp5
= False
;
6465 bool temp8
= False
;
6466 PyObject
* obj0
= 0 ;
6467 PyObject
* obj1
= 0 ;
6468 PyObject
* obj2
= 0 ;
6469 PyObject
* obj3
= 0 ;
6470 PyObject
* obj4
= 0 ;
6471 PyObject
* obj5
= 0 ;
6472 PyObject
* obj6
= 0 ;
6473 PyObject
* obj7
= 0 ;
6475 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6481 arg2
= (int) SWIG_AsInt(obj1
);
6482 if (PyErr_Occurred()) SWIG_fail
;
6486 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6492 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6497 if (! PySequence_Check(obj4
)) {
6498 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6501 arg5
= new wxArrayString
;
6503 int i
, len
=PySequence_Length(obj4
);
6504 for (i
=0; i
<len
; i
++) {
6505 PyObject
* item
= PySequence_GetItem(obj4
, i
);
6507 PyObject
* str
= PyObject_Unicode(item
);
6509 PyObject
* str
= PyObject_Str(item
);
6511 if (PyErr_Occurred()) SWIG_fail
;
6512 arg5
->Add(Py2wxString(str
));
6519 arg6
= (long) SWIG_AsLong(obj5
);
6520 if (PyErr_Occurred()) SWIG_fail
;
6523 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
6524 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6527 PyErr_SetString(PyExc_TypeError
,"null reference");
6533 arg8
= wxString_in_helper(obj7
);
6534 if (arg8
== NULL
) SWIG_fail
;
6539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6540 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6542 wxPyEndAllowThreads(__tstate
);
6543 if (PyErr_Occurred()) SWIG_fail
;
6545 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6547 if (temp5
) delete arg5
;
6556 if (temp5
) delete arg5
;
6566 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6567 PyObject
*resultobj
;
6568 wxCheckListBox
*result
;
6573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
6575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6576 result
= (wxCheckListBox
*)new wxCheckListBox();
6578 wxPyEndAllowThreads(__tstate
);
6579 if (PyErr_Occurred()) SWIG_fail
;
6581 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6588 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6589 PyObject
*resultobj
;
6590 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6591 wxWindow
*arg2
= (wxWindow
*) 0 ;
6593 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6594 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6595 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6596 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6597 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
6598 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
6599 long arg7
= (long) 0 ;
6600 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6601 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6602 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
6603 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6607 bool temp6
= False
;
6608 bool temp9
= False
;
6609 PyObject
* obj0
= 0 ;
6610 PyObject
* obj1
= 0 ;
6611 PyObject
* obj2
= 0 ;
6612 PyObject
* obj3
= 0 ;
6613 PyObject
* obj4
= 0 ;
6614 PyObject
* obj5
= 0 ;
6615 PyObject
* obj6
= 0 ;
6616 PyObject
* obj7
= 0 ;
6617 PyObject
* obj8
= 0 ;
6619 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
6623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6625 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6627 arg3
= (int) SWIG_AsInt(obj2
);
6628 if (PyErr_Occurred()) SWIG_fail
;
6632 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6638 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6643 if (! PySequence_Check(obj5
)) {
6644 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6647 arg6
= new wxArrayString
;
6649 int i
, len
=PySequence_Length(obj5
);
6650 for (i
=0; i
<len
; i
++) {
6651 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6653 PyObject
* str
= PyObject_Unicode(item
);
6655 PyObject
* str
= PyObject_Str(item
);
6657 if (PyErr_Occurred()) SWIG_fail
;
6658 arg6
->Add(Py2wxString(str
));
6665 arg7
= (long) SWIG_AsLong(obj6
);
6666 if (PyErr_Occurred()) SWIG_fail
;
6669 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
6670 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6673 PyErr_SetString(PyExc_TypeError
,"null reference");
6679 arg9
= wxString_in_helper(obj8
);
6680 if (arg9
== NULL
) SWIG_fail
;
6685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6686 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6688 wxPyEndAllowThreads(__tstate
);
6689 if (PyErr_Occurred()) SWIG_fail
;
6692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6695 if (temp6
) delete arg6
;
6704 if (temp6
) delete arg6
;
6714 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6715 PyObject
*resultobj
;
6716 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6719 PyObject
* obj0
= 0 ;
6720 PyObject
* obj1
= 0 ;
6722 (char *) "self",(char *) "index", NULL
6725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6728 arg2
= (int) SWIG_AsInt(obj1
);
6729 if (PyErr_Occurred()) SWIG_fail
;
6731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6732 result
= (bool)(arg1
)->IsChecked(arg2
);
6734 wxPyEndAllowThreads(__tstate
);
6735 if (PyErr_Occurred()) SWIG_fail
;
6738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6746 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6747 PyObject
*resultobj
;
6748 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6750 int arg3
= (int) True
;
6751 PyObject
* obj0
= 0 ;
6752 PyObject
* obj1
= 0 ;
6753 PyObject
* obj2
= 0 ;
6755 (char *) "self",(char *) "index",(char *) "check", NULL
6758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6761 arg2
= (int) SWIG_AsInt(obj1
);
6762 if (PyErr_Occurred()) SWIG_fail
;
6764 arg3
= (int) SWIG_AsInt(obj2
);
6765 if (PyErr_Occurred()) SWIG_fail
;
6768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6769 (arg1
)->Check(arg2
,arg3
);
6771 wxPyEndAllowThreads(__tstate
);
6772 if (PyErr_Occurred()) SWIG_fail
;
6774 Py_INCREF(Py_None
); resultobj
= Py_None
;
6781 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6782 PyObject
*resultobj
;
6783 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6785 PyObject
* obj0
= 0 ;
6787 (char *) "self", NULL
6790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
6791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6795 result
= (int)(arg1
)->GetItemHeight();
6797 wxPyEndAllowThreads(__tstate
);
6798 if (PyErr_Occurred()) SWIG_fail
;
6800 resultobj
= SWIG_FromInt((int)result
);
6807 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6808 PyObject
*resultobj
;
6809 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6813 PyObject
* obj0
= 0 ;
6814 PyObject
* obj1
= 0 ;
6816 (char *) "self",(char *) "pt", NULL
6819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
6820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6824 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6828 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
6830 wxPyEndAllowThreads(__tstate
);
6831 if (PyErr_Occurred()) SWIG_fail
;
6833 resultobj
= SWIG_FromInt((int)result
);
6840 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6841 PyObject
*resultobj
;
6842 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6846 PyObject
* obj0
= 0 ;
6847 PyObject
* obj1
= 0 ;
6848 PyObject
* obj2
= 0 ;
6850 (char *) "self",(char *) "x",(char *) "y", NULL
6853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6856 arg2
= (int) SWIG_AsInt(obj1
);
6857 if (PyErr_Occurred()) SWIG_fail
;
6858 arg3
= (int) SWIG_AsInt(obj2
);
6859 if (PyErr_Occurred()) SWIG_fail
;
6861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6862 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
6864 wxPyEndAllowThreads(__tstate
);
6865 if (PyErr_Occurred()) SWIG_fail
;
6867 resultobj
= SWIG_FromInt((int)result
);
6874 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6876 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6877 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
6879 return Py_BuildValue((char *)"");
6881 static int _wrap_TextCtrlNameStr_set(PyObject
*_val
) {
6882 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
6887 static PyObject
*_wrap_TextCtrlNameStr_get() {
6892 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6894 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6901 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*self
, PyObject
*args
) {
6902 PyObject
*resultobj
;
6905 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
6907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6908 result
= (wxTextAttr
*)new wxTextAttr();
6910 wxPyEndAllowThreads(__tstate
);
6911 if (PyErr_Occurred()) SWIG_fail
;
6913 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6920 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*self
, PyObject
*args
) {
6921 PyObject
*resultobj
;
6922 wxColour
*arg1
= 0 ;
6923 wxColour
const &arg2_defvalue
= wxNullColour
;
6924 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6925 wxFont
const &arg3_defvalue
= wxNullFont
;
6926 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
6927 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
6931 PyObject
* obj0
= 0 ;
6932 PyObject
* obj1
= 0 ;
6933 PyObject
* obj2
= 0 ;
6934 PyObject
* obj3
= 0 ;
6936 if(!PyArg_ParseTuple(args
,(char *)"O|OOO:new_TextAttr",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6939 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
6944 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6948 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6949 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6952 PyErr_SetString(PyExc_TypeError
,"null reference");
6957 arg4
= (wxTextAttrAlignment
) SWIG_AsInt(obj3
);
6958 if (PyErr_Occurred()) SWIG_fail
;
6961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6962 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
6964 wxPyEndAllowThreads(__tstate
);
6965 if (PyErr_Occurred()) SWIG_fail
;
6967 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6974 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
6979 argc
= PyObject_Length(args
);
6980 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
6981 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6984 return _wrap_new_TextAttr__SWIG_0(self
,args
);
6986 if ((argc
>= 1) && (argc
<= 4)) {
6989 _v
= wxColour_typecheck(argv
[0]);
6993 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6996 _v
= wxColour_typecheck(argv
[1]);
7000 return _wrap_new_TextAttr__SWIG_1(self
,args
);
7004 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
7013 return _wrap_new_TextAttr__SWIG_1(self
,args
);
7015 _v
= SWIG_CheckInt(argv
[3]);
7017 return _wrap_new_TextAttr__SWIG_1(self
,args
);
7024 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
7029 static PyObject
*_wrap_delete_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7030 PyObject
*resultobj
;
7031 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7032 PyObject
* obj0
= 0 ;
7034 (char *) "self", NULL
7037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
7038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7044 wxPyEndAllowThreads(__tstate
);
7045 if (PyErr_Occurred()) SWIG_fail
;
7047 Py_INCREF(Py_None
); resultobj
= Py_None
;
7054 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7055 PyObject
*resultobj
;
7056 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7057 PyObject
* obj0
= 0 ;
7059 (char *) "self", NULL
7062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
7063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7069 wxPyEndAllowThreads(__tstate
);
7070 if (PyErr_Occurred()) SWIG_fail
;
7072 Py_INCREF(Py_None
); resultobj
= Py_None
;
7079 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7080 PyObject
*resultobj
;
7081 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7082 wxColour
*arg2
= 0 ;
7084 PyObject
* obj0
= 0 ;
7085 PyObject
* obj1
= 0 ;
7087 (char *) "self",(char *) "colText", NULL
7090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7095 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7099 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
7101 wxPyEndAllowThreads(__tstate
);
7102 if (PyErr_Occurred()) SWIG_fail
;
7104 Py_INCREF(Py_None
); resultobj
= Py_None
;
7111 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7112 PyObject
*resultobj
;
7113 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7114 wxColour
*arg2
= 0 ;
7116 PyObject
* obj0
= 0 ;
7117 PyObject
* obj1
= 0 ;
7119 (char *) "self",(char *) "colBack", NULL
7122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7127 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7131 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
7133 wxPyEndAllowThreads(__tstate
);
7134 if (PyErr_Occurred()) SWIG_fail
;
7136 Py_INCREF(Py_None
); resultobj
= Py_None
;
7143 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7144 PyObject
*resultobj
;
7145 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7147 long arg3
= (long) wxTEXT_ATTR_FONT
;
7148 PyObject
* obj0
= 0 ;
7149 PyObject
* obj1
= 0 ;
7150 PyObject
* obj2
= 0 ;
7152 (char *) "self",(char *) "font",(char *) "flags", NULL
7155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7158 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7159 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7162 PyErr_SetString(PyExc_TypeError
,"null reference");
7166 arg3
= (long) SWIG_AsLong(obj2
);
7167 if (PyErr_Occurred()) SWIG_fail
;
7170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7171 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
7173 wxPyEndAllowThreads(__tstate
);
7174 if (PyErr_Occurred()) SWIG_fail
;
7176 Py_INCREF(Py_None
); resultobj
= Py_None
;
7183 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7184 PyObject
*resultobj
;
7185 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7187 PyObject
* obj0
= 0 ;
7188 PyObject
* obj1
= 0 ;
7190 (char *) "self",(char *) "alignment", NULL
7193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7196 arg2
= (wxTextAttrAlignment
) SWIG_AsInt(obj1
);
7197 if (PyErr_Occurred()) SWIG_fail
;
7199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7200 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
7202 wxPyEndAllowThreads(__tstate
);
7203 if (PyErr_Occurred()) SWIG_fail
;
7205 Py_INCREF(Py_None
); resultobj
= Py_None
;
7212 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7213 PyObject
*resultobj
;
7214 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7215 wxArrayInt
*arg2
= 0 ;
7216 bool temp2
= False
;
7217 PyObject
* obj0
= 0 ;
7218 PyObject
* obj1
= 0 ;
7220 (char *) "self",(char *) "tabs", NULL
7223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
7224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7227 if (! PySequence_Check(obj1
)) {
7228 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
7231 arg2
= new wxArrayInt
;
7233 int i
, len
=PySequence_Length(obj1
);
7234 for (i
=0; i
<len
; i
++) {
7235 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7236 PyObject
* number
= PyNumber_Int(item
);
7237 arg2
->Add(PyInt_AS_LONG(number
));
7243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7244 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
7246 wxPyEndAllowThreads(__tstate
);
7247 if (PyErr_Occurred()) SWIG_fail
;
7249 Py_INCREF(Py_None
); resultobj
= Py_None
;
7251 if (temp2
) delete arg2
;
7256 if (temp2
) delete arg2
;
7262 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7263 PyObject
*resultobj
;
7264 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7266 PyObject
* obj0
= 0 ;
7267 PyObject
* obj1
= 0 ;
7269 (char *) "self",(char *) "indent", NULL
7272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
7273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7275 arg2
= (int) SWIG_AsInt(obj1
);
7276 if (PyErr_Occurred()) SWIG_fail
;
7278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7279 (arg1
)->SetLeftIndent(arg2
);
7281 wxPyEndAllowThreads(__tstate
);
7282 if (PyErr_Occurred()) SWIG_fail
;
7284 Py_INCREF(Py_None
); resultobj
= Py_None
;
7291 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7292 PyObject
*resultobj
;
7293 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7295 PyObject
* obj0
= 0 ;
7296 PyObject
* obj1
= 0 ;
7298 (char *) "self",(char *) "indent", NULL
7301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
7302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7304 arg2
= (int) SWIG_AsInt(obj1
);
7305 if (PyErr_Occurred()) SWIG_fail
;
7307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7308 (arg1
)->SetRightIndent(arg2
);
7310 wxPyEndAllowThreads(__tstate
);
7311 if (PyErr_Occurred()) SWIG_fail
;
7313 Py_INCREF(Py_None
); resultobj
= Py_None
;
7320 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7321 PyObject
*resultobj
;
7322 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7324 PyObject
* obj0
= 0 ;
7325 PyObject
* obj1
= 0 ;
7327 (char *) "self",(char *) "flags", NULL
7330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7333 arg2
= (long) SWIG_AsLong(obj1
);
7334 if (PyErr_Occurred()) SWIG_fail
;
7336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7337 (arg1
)->SetFlags(arg2
);
7339 wxPyEndAllowThreads(__tstate
);
7340 if (PyErr_Occurred()) SWIG_fail
;
7342 Py_INCREF(Py_None
); resultobj
= Py_None
;
7349 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7350 PyObject
*resultobj
;
7351 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7353 PyObject
* obj0
= 0 ;
7355 (char *) "self", NULL
7358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
7359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7363 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
7365 wxPyEndAllowThreads(__tstate
);
7366 if (PyErr_Occurred()) SWIG_fail
;
7369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7377 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7378 PyObject
*resultobj
;
7379 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7381 PyObject
* obj0
= 0 ;
7383 (char *) "self", NULL
7386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
7387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7391 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
7393 wxPyEndAllowThreads(__tstate
);
7394 if (PyErr_Occurred()) SWIG_fail
;
7397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7405 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7406 PyObject
*resultobj
;
7407 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7409 PyObject
* obj0
= 0 ;
7411 (char *) "self", NULL
7414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
7415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7419 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
7421 wxPyEndAllowThreads(__tstate
);
7422 if (PyErr_Occurred()) SWIG_fail
;
7425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7433 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7434 PyObject
*resultobj
;
7435 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7437 PyObject
* obj0
= 0 ;
7439 (char *) "self", NULL
7442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
7443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7447 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
7449 wxPyEndAllowThreads(__tstate
);
7450 if (PyErr_Occurred()) SWIG_fail
;
7453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7461 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7462 PyObject
*resultobj
;
7463 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7465 PyObject
* obj0
= 0 ;
7467 (char *) "self", NULL
7470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
7471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7475 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
7477 wxPyEndAllowThreads(__tstate
);
7478 if (PyErr_Occurred()) SWIG_fail
;
7481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7489 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7490 PyObject
*resultobj
;
7491 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7493 PyObject
* obj0
= 0 ;
7495 (char *) "self", NULL
7498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
7499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7503 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
7505 wxPyEndAllowThreads(__tstate
);
7506 if (PyErr_Occurred()) SWIG_fail
;
7509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7517 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7518 PyObject
*resultobj
;
7519 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7521 PyObject
* obj0
= 0 ;
7523 (char *) "self", NULL
7526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
7527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7531 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
7533 wxPyEndAllowThreads(__tstate
);
7534 if (PyErr_Occurred()) SWIG_fail
;
7537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7545 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7546 PyObject
*resultobj
;
7547 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7550 PyObject
* obj0
= 0 ;
7551 PyObject
* obj1
= 0 ;
7553 (char *) "self",(char *) "flag", NULL
7556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
7557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7559 arg2
= (long) SWIG_AsLong(obj1
);
7560 if (PyErr_Occurred()) SWIG_fail
;
7562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7563 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
7565 wxPyEndAllowThreads(__tstate
);
7566 if (PyErr_Occurred()) SWIG_fail
;
7569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7577 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7578 PyObject
*resultobj
;
7579 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7581 PyObject
* obj0
= 0 ;
7583 (char *) "self", NULL
7586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
7587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7592 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
7593 result
= (wxColour
*) &_result_ref
;
7596 wxPyEndAllowThreads(__tstate
);
7597 if (PyErr_Occurred()) SWIG_fail
;
7599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7606 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7607 PyObject
*resultobj
;
7608 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7610 PyObject
* obj0
= 0 ;
7612 (char *) "self", NULL
7615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
7616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7621 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
7622 result
= (wxColour
*) &_result_ref
;
7625 wxPyEndAllowThreads(__tstate
);
7626 if (PyErr_Occurred()) SWIG_fail
;
7628 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7635 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7636 PyObject
*resultobj
;
7637 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7639 PyObject
* obj0
= 0 ;
7641 (char *) "self", NULL
7644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
7645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7650 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7651 result
= (wxFont
*) &_result_ref
;
7654 wxPyEndAllowThreads(__tstate
);
7655 if (PyErr_Occurred()) SWIG_fail
;
7658 wxFont
* resultptr
= new wxFont(*result
);
7659 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
7667 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7668 PyObject
*resultobj
;
7669 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7671 PyObject
* obj0
= 0 ;
7673 (char *) "self", NULL
7676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7681 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7683 wxPyEndAllowThreads(__tstate
);
7684 if (PyErr_Occurred()) SWIG_fail
;
7686 resultobj
= SWIG_FromInt((int)result
);
7693 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7694 PyObject
*resultobj
;
7695 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7697 PyObject
* obj0
= 0 ;
7699 (char *) "self", NULL
7702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7708 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7709 result
= (wxArrayInt
*) &_result_ref
;
7712 wxPyEndAllowThreads(__tstate
);
7713 if (PyErr_Occurred()) SWIG_fail
;
7716 resultobj
= PyList_New(0);
7718 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7719 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7720 PyList_Append(resultobj
, val
);
7730 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7731 PyObject
*resultobj
;
7732 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7734 PyObject
* obj0
= 0 ;
7736 (char *) "self", NULL
7739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7744 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7746 wxPyEndAllowThreads(__tstate
);
7747 if (PyErr_Occurred()) SWIG_fail
;
7749 resultobj
= SWIG_FromLong((long)result
);
7756 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7757 PyObject
*resultobj
;
7758 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7760 PyObject
* obj0
= 0 ;
7762 (char *) "self", NULL
7765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7770 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7772 wxPyEndAllowThreads(__tstate
);
7773 if (PyErr_Occurred()) SWIG_fail
;
7775 resultobj
= SWIG_FromLong((long)result
);
7782 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7783 PyObject
*resultobj
;
7784 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7786 PyObject
* obj0
= 0 ;
7788 (char *) "self", NULL
7791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
7792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7796 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7798 wxPyEndAllowThreads(__tstate
);
7799 if (PyErr_Occurred()) SWIG_fail
;
7801 resultobj
= SWIG_FromLong((long)result
);
7808 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7809 PyObject
*resultobj
;
7810 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7812 PyObject
* obj0
= 0 ;
7814 (char *) "self", NULL
7817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
7818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7822 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
7824 wxPyEndAllowThreads(__tstate
);
7825 if (PyErr_Occurred()) SWIG_fail
;
7828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7836 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7837 PyObject
*resultobj
;
7838 wxTextAttr
*arg1
= 0 ;
7839 wxTextAttr
*arg2
= 0 ;
7840 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
7842 PyObject
* obj0
= 0 ;
7843 PyObject
* obj1
= 0 ;
7844 PyObject
* obj2
= 0 ;
7846 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7851 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7854 PyErr_SetString(PyExc_TypeError
,"null reference");
7857 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
7858 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7861 PyErr_SetString(PyExc_TypeError
,"null reference");
7864 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
,
7865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7868 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
7870 wxPyEndAllowThreads(__tstate
);
7871 if (PyErr_Occurred()) SWIG_fail
;
7874 wxTextAttr
* resultptr
;
7875 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
7876 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
7884 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
7886 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7887 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
7889 return Py_BuildValue((char *)"");
7891 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7892 PyObject
*resultobj
;
7893 wxWindow
*arg1
= (wxWindow
*) 0 ;
7895 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7896 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7897 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7898 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7899 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7900 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7901 long arg6
= (long) 0 ;
7902 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7903 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7904 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
7905 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7907 bool temp3
= False
;
7910 bool temp8
= False
;
7911 PyObject
* obj0
= 0 ;
7912 PyObject
* obj1
= 0 ;
7913 PyObject
* obj2
= 0 ;
7914 PyObject
* obj3
= 0 ;
7915 PyObject
* obj4
= 0 ;
7916 PyObject
* obj5
= 0 ;
7917 PyObject
* obj6
= 0 ;
7918 PyObject
* obj7
= 0 ;
7920 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7926 arg2
= (int) SWIG_AsInt(obj1
);
7927 if (PyErr_Occurred()) SWIG_fail
;
7930 arg3
= wxString_in_helper(obj2
);
7931 if (arg3
== NULL
) SWIG_fail
;
7938 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7944 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7948 arg6
= (long) SWIG_AsLong(obj5
);
7949 if (PyErr_Occurred()) SWIG_fail
;
7952 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
7953 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7956 PyErr_SetString(PyExc_TypeError
,"null reference");
7962 arg8
= wxString_in_helper(obj7
);
7963 if (arg8
== NULL
) SWIG_fail
;
7968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7969 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7971 wxPyEndAllowThreads(__tstate
);
7972 if (PyErr_Occurred()) SWIG_fail
;
7975 resultobj
= wxPyMake_wxObject(result
);
7999 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8000 PyObject
*resultobj
;
8006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
8008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8009 result
= (wxTextCtrl
*)new wxTextCtrl();
8011 wxPyEndAllowThreads(__tstate
);
8012 if (PyErr_Occurred()) SWIG_fail
;
8015 resultobj
= wxPyMake_wxObject(result
);
8023 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8024 PyObject
*resultobj
;
8025 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8026 wxWindow
*arg2
= (wxWindow
*) 0 ;
8028 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8029 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8030 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8031 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8032 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8033 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8034 long arg7
= (long) 0 ;
8035 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8036 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8037 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
8038 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8040 bool temp4
= False
;
8043 bool temp9
= False
;
8044 PyObject
* obj0
= 0 ;
8045 PyObject
* obj1
= 0 ;
8046 PyObject
* obj2
= 0 ;
8047 PyObject
* obj3
= 0 ;
8048 PyObject
* obj4
= 0 ;
8049 PyObject
* obj5
= 0 ;
8050 PyObject
* obj6
= 0 ;
8051 PyObject
* obj7
= 0 ;
8052 PyObject
* obj8
= 0 ;
8054 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8060 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8062 arg3
= (int) SWIG_AsInt(obj2
);
8063 if (PyErr_Occurred()) SWIG_fail
;
8066 arg4
= wxString_in_helper(obj3
);
8067 if (arg4
== NULL
) SWIG_fail
;
8074 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8080 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8084 arg7
= (long) SWIG_AsLong(obj6
);
8085 if (PyErr_Occurred()) SWIG_fail
;
8088 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
8089 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8092 PyErr_SetString(PyExc_TypeError
,"null reference");
8098 arg9
= wxString_in_helper(obj8
);
8099 if (arg9
== NULL
) SWIG_fail
;
8104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8105 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8107 wxPyEndAllowThreads(__tstate
);
8108 if (PyErr_Occurred()) SWIG_fail
;
8111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8135 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8136 PyObject
*resultobj
;
8137 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8139 PyObject
* obj0
= 0 ;
8141 (char *) "self", NULL
8144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
8145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8149 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
8151 wxPyEndAllowThreads(__tstate
);
8152 if (PyErr_Occurred()) SWIG_fail
;
8156 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8158 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8167 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8168 PyObject
*resultobj
;
8169 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8170 wxString
*arg2
= 0 ;
8171 bool temp2
= False
;
8172 PyObject
* obj0
= 0 ;
8173 PyObject
* obj1
= 0 ;
8175 (char *) "self",(char *) "value", NULL
8178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
8179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8182 arg2
= wxString_in_helper(obj1
);
8183 if (arg2
== NULL
) SWIG_fail
;
8187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8188 (arg1
)->SetValue((wxString
const &)*arg2
);
8190 wxPyEndAllowThreads(__tstate
);
8191 if (PyErr_Occurred()) SWIG_fail
;
8193 Py_INCREF(Py_None
); resultobj
= Py_None
;
8208 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8209 PyObject
*resultobj
;
8210 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8214 PyObject
* obj0
= 0 ;
8215 PyObject
* obj1
= 0 ;
8216 PyObject
* obj2
= 0 ;
8218 (char *) "self",(char *) "from",(char *) "to", NULL
8221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8224 arg2
= (long) SWIG_AsLong(obj1
);
8225 if (PyErr_Occurred()) SWIG_fail
;
8226 arg3
= (long) SWIG_AsLong(obj2
);
8227 if (PyErr_Occurred()) SWIG_fail
;
8229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8230 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
8232 wxPyEndAllowThreads(__tstate
);
8233 if (PyErr_Occurred()) SWIG_fail
;
8237 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8239 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8248 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8249 PyObject
*resultobj
;
8250 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8253 PyObject
* obj0
= 0 ;
8254 PyObject
* obj1
= 0 ;
8256 (char *) "self",(char *) "lineNo", NULL
8259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8262 arg2
= (long) SWIG_AsLong(obj1
);
8263 if (PyErr_Occurred()) SWIG_fail
;
8265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8266 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
8268 wxPyEndAllowThreads(__tstate
);
8269 if (PyErr_Occurred()) SWIG_fail
;
8271 resultobj
= SWIG_FromInt((int)result
);
8278 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8279 PyObject
*resultobj
;
8280 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8283 PyObject
* obj0
= 0 ;
8284 PyObject
* obj1
= 0 ;
8286 (char *) "self",(char *) "lineNo", NULL
8289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
8290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8292 arg2
= (long) SWIG_AsLong(obj1
);
8293 if (PyErr_Occurred()) SWIG_fail
;
8295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8296 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
8298 wxPyEndAllowThreads(__tstate
);
8299 if (PyErr_Occurred()) SWIG_fail
;
8303 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8305 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8314 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8315 PyObject
*resultobj
;
8316 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8318 PyObject
* obj0
= 0 ;
8320 (char *) "self", NULL
8323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
8324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8328 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
8330 wxPyEndAllowThreads(__tstate
);
8331 if (PyErr_Occurred()) SWIG_fail
;
8333 resultobj
= SWIG_FromInt((int)result
);
8340 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8341 PyObject
*resultobj
;
8342 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8344 PyObject
* obj0
= 0 ;
8346 (char *) "self", NULL
8349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
8350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8354 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
8356 wxPyEndAllowThreads(__tstate
);
8357 if (PyErr_Occurred()) SWIG_fail
;
8360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8368 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8369 PyObject
*resultobj
;
8370 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8372 PyObject
* obj0
= 0 ;
8374 (char *) "self", NULL
8377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
8378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8382 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
8384 wxPyEndAllowThreads(__tstate
);
8385 if (PyErr_Occurred()) SWIG_fail
;
8388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8396 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8397 PyObject
*resultobj
;
8398 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8400 PyObject
* obj0
= 0 ;
8402 (char *) "self", NULL
8405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
8406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8410 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
8412 wxPyEndAllowThreads(__tstate
);
8413 if (PyErr_Occurred()) SWIG_fail
;
8416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8424 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8425 PyObject
*resultobj
;
8426 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8428 PyObject
* obj0
= 0 ;
8430 (char *) "self", NULL
8433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
8434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8438 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
8440 wxPyEndAllowThreads(__tstate
);
8441 if (PyErr_Occurred()) SWIG_fail
;
8444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8452 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8453 PyObject
*resultobj
;
8454 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8455 long *arg2
= (long *) 0 ;
8456 long *arg3
= (long *) 0 ;
8459 PyObject
* obj0
= 0 ;
8461 (char *) "self", NULL
8466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
8467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8471 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
8473 wxPyEndAllowThreads(__tstate
);
8474 if (PyErr_Occurred()) SWIG_fail
;
8476 Py_INCREF(Py_None
); resultobj
= Py_None
;
8478 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8479 resultobj
= t_output_helper(resultobj
,o
);
8482 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8483 resultobj
= t_output_helper(resultobj
,o
);
8491 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8492 PyObject
*resultobj
;
8493 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8495 PyObject
* obj0
= 0 ;
8497 (char *) "self", NULL
8500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
8501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8505 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
8507 wxPyEndAllowThreads(__tstate
);
8508 if (PyErr_Occurred()) SWIG_fail
;
8512 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8514 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8523 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8524 PyObject
*resultobj
;
8525 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8526 PyObject
* obj0
= 0 ;
8528 (char *) "self", NULL
8531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
8532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8538 wxPyEndAllowThreads(__tstate
);
8539 if (PyErr_Occurred()) SWIG_fail
;
8541 Py_INCREF(Py_None
); resultobj
= Py_None
;
8548 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8549 PyObject
*resultobj
;
8550 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8553 wxString
*arg4
= 0 ;
8554 bool temp4
= False
;
8555 PyObject
* obj0
= 0 ;
8556 PyObject
* obj1
= 0 ;
8557 PyObject
* obj2
= 0 ;
8558 PyObject
* obj3
= 0 ;
8560 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8566 arg2
= (long) SWIG_AsLong(obj1
);
8567 if (PyErr_Occurred()) SWIG_fail
;
8568 arg3
= (long) SWIG_AsLong(obj2
);
8569 if (PyErr_Occurred()) SWIG_fail
;
8571 arg4
= wxString_in_helper(obj3
);
8572 if (arg4
== NULL
) SWIG_fail
;
8576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8577 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
8579 wxPyEndAllowThreads(__tstate
);
8580 if (PyErr_Occurred()) SWIG_fail
;
8582 Py_INCREF(Py_None
); resultobj
= Py_None
;
8597 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8598 PyObject
*resultobj
;
8599 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8602 PyObject
* obj0
= 0 ;
8603 PyObject
* obj1
= 0 ;
8604 PyObject
* obj2
= 0 ;
8606 (char *) "self",(char *) "from",(char *) "to", NULL
8609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8612 arg2
= (long) SWIG_AsLong(obj1
);
8613 if (PyErr_Occurred()) SWIG_fail
;
8614 arg3
= (long) SWIG_AsLong(obj2
);
8615 if (PyErr_Occurred()) SWIG_fail
;
8617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8618 (arg1
)->Remove(arg2
,arg3
);
8620 wxPyEndAllowThreads(__tstate
);
8621 if (PyErr_Occurred()) SWIG_fail
;
8623 Py_INCREF(Py_None
); resultobj
= Py_None
;
8630 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8631 PyObject
*resultobj
;
8632 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8633 wxString
*arg2
= 0 ;
8635 bool temp2
= False
;
8636 PyObject
* obj0
= 0 ;
8637 PyObject
* obj1
= 0 ;
8639 (char *) "self",(char *) "file", NULL
8642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8646 arg2
= wxString_in_helper(obj1
);
8647 if (arg2
== NULL
) SWIG_fail
;
8651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8652 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
8654 wxPyEndAllowThreads(__tstate
);
8655 if (PyErr_Occurred()) SWIG_fail
;
8658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8674 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8675 PyObject
*resultobj
;
8676 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8677 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8678 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8680 bool temp2
= False
;
8681 PyObject
* obj0
= 0 ;
8682 PyObject
* obj1
= 0 ;
8684 (char *) "self",(char *) "file", NULL
8687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8692 arg2
= wxString_in_helper(obj1
);
8693 if (arg2
== NULL
) SWIG_fail
;
8698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8699 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8701 wxPyEndAllowThreads(__tstate
);
8702 if (PyErr_Occurred()) SWIG_fail
;
8705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8721 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8722 PyObject
*resultobj
;
8723 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8724 PyObject
* obj0
= 0 ;
8726 (char *) "self", NULL
8729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8734 (arg1
)->MarkDirty();
8736 wxPyEndAllowThreads(__tstate
);
8737 if (PyErr_Occurred()) SWIG_fail
;
8739 Py_INCREF(Py_None
); resultobj
= Py_None
;
8746 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8747 PyObject
*resultobj
;
8748 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8749 PyObject
* obj0
= 0 ;
8751 (char *) "self", NULL
8754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8759 (arg1
)->DiscardEdits();
8761 wxPyEndAllowThreads(__tstate
);
8762 if (PyErr_Occurred()) SWIG_fail
;
8764 Py_INCREF(Py_None
); resultobj
= Py_None
;
8771 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8772 PyObject
*resultobj
;
8773 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8774 unsigned long arg2
;
8775 PyObject
* obj0
= 0 ;
8776 PyObject
* obj1
= 0 ;
8778 (char *) "self",(char *) "len", NULL
8781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8784 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
8785 if (PyErr_Occurred()) SWIG_fail
;
8787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8788 (arg1
)->SetMaxLength(arg2
);
8790 wxPyEndAllowThreads(__tstate
);
8791 if (PyErr_Occurred()) SWIG_fail
;
8793 Py_INCREF(Py_None
); resultobj
= Py_None
;
8800 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8801 PyObject
*resultobj
;
8802 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8803 wxString
*arg2
= 0 ;
8804 bool temp2
= False
;
8805 PyObject
* obj0
= 0 ;
8806 PyObject
* obj1
= 0 ;
8808 (char *) "self",(char *) "text", NULL
8811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8815 arg2
= wxString_in_helper(obj1
);
8816 if (arg2
== NULL
) SWIG_fail
;
8820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8821 (arg1
)->WriteText((wxString
const &)*arg2
);
8823 wxPyEndAllowThreads(__tstate
);
8824 if (PyErr_Occurred()) SWIG_fail
;
8826 Py_INCREF(Py_None
); resultobj
= Py_None
;
8841 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8842 PyObject
*resultobj
;
8843 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8844 wxString
*arg2
= 0 ;
8845 bool temp2
= False
;
8846 PyObject
* obj0
= 0 ;
8847 PyObject
* obj1
= 0 ;
8849 (char *) "self",(char *) "text", NULL
8852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
8853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8856 arg2
= wxString_in_helper(obj1
);
8857 if (arg2
== NULL
) SWIG_fail
;
8861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8862 (arg1
)->AppendText((wxString
const &)*arg2
);
8864 wxPyEndAllowThreads(__tstate
);
8865 if (PyErr_Occurred()) SWIG_fail
;
8867 Py_INCREF(Py_None
); resultobj
= Py_None
;
8882 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8883 PyObject
*resultobj
;
8884 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8885 wxKeyEvent
*arg2
= 0 ;
8887 PyObject
* obj0
= 0 ;
8888 PyObject
* obj1
= 0 ;
8890 (char *) "self",(char *) "event", NULL
8893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
8894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8896 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
8897 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8900 PyErr_SetString(PyExc_TypeError
,"null reference");
8904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8905 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
8907 wxPyEndAllowThreads(__tstate
);
8908 if (PyErr_Occurred()) SWIG_fail
;
8911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8919 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8920 PyObject
*resultobj
;
8921 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8924 wxTextAttr
*arg4
= 0 ;
8926 PyObject
* obj0
= 0 ;
8927 PyObject
* obj1
= 0 ;
8928 PyObject
* obj2
= 0 ;
8929 PyObject
* obj3
= 0 ;
8931 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8937 arg2
= (long) SWIG_AsLong(obj1
);
8938 if (PyErr_Occurred()) SWIG_fail
;
8939 arg3
= (long) SWIG_AsLong(obj2
);
8940 if (PyErr_Occurred()) SWIG_fail
;
8941 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
,
8942 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8945 PyErr_SetString(PyExc_TypeError
,"null reference");
8949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8950 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
8952 wxPyEndAllowThreads(__tstate
);
8953 if (PyErr_Occurred()) SWIG_fail
;
8956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8964 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8965 PyObject
*resultobj
;
8966 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8968 wxTextAttr
*arg3
= 0 ;
8970 PyObject
* obj0
= 0 ;
8971 PyObject
* obj1
= 0 ;
8972 PyObject
* obj2
= 0 ;
8974 (char *) "self",(char *) "position",(char *) "style", NULL
8977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8980 arg2
= (long) SWIG_AsLong(obj1
);
8981 if (PyErr_Occurred()) SWIG_fail
;
8982 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
,
8983 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8986 PyErr_SetString(PyExc_TypeError
,"null reference");
8990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8991 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
8993 wxPyEndAllowThreads(__tstate
);
8994 if (PyErr_Occurred()) SWIG_fail
;
8997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9005 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9006 PyObject
*resultobj
;
9007 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9008 wxTextAttr
*arg2
= 0 ;
9010 PyObject
* obj0
= 0 ;
9011 PyObject
* obj1
= 0 ;
9013 (char *) "self",(char *) "style", NULL
9016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
9017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9019 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
9020 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9023 PyErr_SetString(PyExc_TypeError
,"null reference");
9027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9028 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
9030 wxPyEndAllowThreads(__tstate
);
9031 if (PyErr_Occurred()) SWIG_fail
;
9034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9042 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9043 PyObject
*resultobj
;
9044 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9046 PyObject
* obj0
= 0 ;
9048 (char *) "self", NULL
9051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
9052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9057 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
9058 result
= (wxTextAttr
*) &_result_ref
;
9061 wxPyEndAllowThreads(__tstate
);
9062 if (PyErr_Occurred()) SWIG_fail
;
9064 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
9071 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9072 PyObject
*resultobj
;
9073 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9077 PyObject
* obj0
= 0 ;
9078 PyObject
* obj1
= 0 ;
9079 PyObject
* obj2
= 0 ;
9081 (char *) "self",(char *) "x",(char *) "y", NULL
9084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9087 arg2
= (long) SWIG_AsLong(obj1
);
9088 if (PyErr_Occurred()) SWIG_fail
;
9089 arg3
= (long) SWIG_AsLong(obj2
);
9090 if (PyErr_Occurred()) SWIG_fail
;
9092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9093 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
9095 wxPyEndAllowThreads(__tstate
);
9096 if (PyErr_Occurred()) SWIG_fail
;
9098 resultobj
= SWIG_FromLong((long)result
);
9105 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9106 PyObject
*resultobj
;
9107 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9109 long *arg3
= (long *) 0 ;
9110 long *arg4
= (long *) 0 ;
9113 PyObject
* obj0
= 0 ;
9114 PyObject
* obj1
= 0 ;
9116 (char *) "self",(char *) "pos", NULL
9121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
9122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9124 arg2
= (long) SWIG_AsLong(obj1
);
9125 if (PyErr_Occurred()) SWIG_fail
;
9127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9128 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
9130 wxPyEndAllowThreads(__tstate
);
9131 if (PyErr_Occurred()) SWIG_fail
;
9133 Py_INCREF(Py_None
); resultobj
= Py_None
;
9135 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9136 resultobj
= t_output_helper(resultobj
,o
);
9139 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9140 resultobj
= t_output_helper(resultobj
,o
);
9148 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9149 PyObject
*resultobj
;
9150 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9152 PyObject
* obj0
= 0 ;
9153 PyObject
* obj1
= 0 ;
9155 (char *) "self",(char *) "pos", NULL
9158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9161 arg2
= (long) SWIG_AsLong(obj1
);
9162 if (PyErr_Occurred()) SWIG_fail
;
9164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9165 (arg1
)->ShowPosition(arg2
);
9167 wxPyEndAllowThreads(__tstate
);
9168 if (PyErr_Occurred()) SWIG_fail
;
9170 Py_INCREF(Py_None
); resultobj
= Py_None
;
9177 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9178 PyObject
*resultobj
;
9179 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9181 long *arg3
= (long *) 0 ;
9182 long *arg4
= (long *) 0 ;
9187 PyObject
* obj0
= 0 ;
9188 PyObject
* obj1
= 0 ;
9190 (char *) "self",(char *) "pt", NULL
9195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9200 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9204 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
9206 wxPyEndAllowThreads(__tstate
);
9207 if (PyErr_Occurred()) SWIG_fail
;
9209 resultobj
= SWIG_FromInt((int)result
);
9211 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9212 resultobj
= t_output_helper(resultobj
,o
);
9215 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9216 resultobj
= t_output_helper(resultobj
,o
);
9224 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9225 PyObject
*resultobj
;
9226 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9227 PyObject
* obj0
= 0 ;
9229 (char *) "self", NULL
9232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
9233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9239 wxPyEndAllowThreads(__tstate
);
9240 if (PyErr_Occurred()) SWIG_fail
;
9242 Py_INCREF(Py_None
); resultobj
= Py_None
;
9249 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9250 PyObject
*resultobj
;
9251 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9252 PyObject
* obj0
= 0 ;
9254 (char *) "self", NULL
9257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
9258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9264 wxPyEndAllowThreads(__tstate
);
9265 if (PyErr_Occurred()) SWIG_fail
;
9267 Py_INCREF(Py_None
); resultobj
= Py_None
;
9274 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9275 PyObject
*resultobj
;
9276 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9277 PyObject
* obj0
= 0 ;
9279 (char *) "self", NULL
9282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
9283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9289 wxPyEndAllowThreads(__tstate
);
9290 if (PyErr_Occurred()) SWIG_fail
;
9292 Py_INCREF(Py_None
); resultobj
= Py_None
;
9299 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9300 PyObject
*resultobj
;
9301 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9303 PyObject
* obj0
= 0 ;
9305 (char *) "self", NULL
9308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
9309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9313 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
9315 wxPyEndAllowThreads(__tstate
);
9316 if (PyErr_Occurred()) SWIG_fail
;
9319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9327 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9328 PyObject
*resultobj
;
9329 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9331 PyObject
* obj0
= 0 ;
9333 (char *) "self", NULL
9336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
9337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9341 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
9343 wxPyEndAllowThreads(__tstate
);
9344 if (PyErr_Occurred()) SWIG_fail
;
9347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9355 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9356 PyObject
*resultobj
;
9357 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9359 PyObject
* obj0
= 0 ;
9361 (char *) "self", NULL
9364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
9365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9369 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
9371 wxPyEndAllowThreads(__tstate
);
9372 if (PyErr_Occurred()) SWIG_fail
;
9375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9383 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9384 PyObject
*resultobj
;
9385 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9386 PyObject
* obj0
= 0 ;
9388 (char *) "self", NULL
9391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
9392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9398 wxPyEndAllowThreads(__tstate
);
9399 if (PyErr_Occurred()) SWIG_fail
;
9401 Py_INCREF(Py_None
); resultobj
= Py_None
;
9408 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9409 PyObject
*resultobj
;
9410 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9411 PyObject
* obj0
= 0 ;
9413 (char *) "self", NULL
9416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
9417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9423 wxPyEndAllowThreads(__tstate
);
9424 if (PyErr_Occurred()) SWIG_fail
;
9426 Py_INCREF(Py_None
); resultobj
= Py_None
;
9433 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9434 PyObject
*resultobj
;
9435 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9437 PyObject
* obj0
= 0 ;
9439 (char *) "self", NULL
9442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
9443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9447 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
9449 wxPyEndAllowThreads(__tstate
);
9450 if (PyErr_Occurred()) SWIG_fail
;
9453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9461 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9462 PyObject
*resultobj
;
9463 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9465 PyObject
* obj0
= 0 ;
9467 (char *) "self", NULL
9470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
9471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9475 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
9477 wxPyEndAllowThreads(__tstate
);
9478 if (PyErr_Occurred()) SWIG_fail
;
9481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9489 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9490 PyObject
*resultobj
;
9491 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9493 PyObject
* obj0
= 0 ;
9494 PyObject
* obj1
= 0 ;
9496 (char *) "self",(char *) "pos", NULL
9499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
9500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9502 arg2
= (long) SWIG_AsLong(obj1
);
9503 if (PyErr_Occurred()) SWIG_fail
;
9505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9506 (arg1
)->SetInsertionPoint(arg2
);
9508 wxPyEndAllowThreads(__tstate
);
9509 if (PyErr_Occurred()) SWIG_fail
;
9511 Py_INCREF(Py_None
); resultobj
= Py_None
;
9518 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9519 PyObject
*resultobj
;
9520 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9521 PyObject
* obj0
= 0 ;
9523 (char *) "self", NULL
9526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
9527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9531 (arg1
)->SetInsertionPointEnd();
9533 wxPyEndAllowThreads(__tstate
);
9534 if (PyErr_Occurred()) SWIG_fail
;
9536 Py_INCREF(Py_None
); resultobj
= Py_None
;
9543 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9544 PyObject
*resultobj
;
9545 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9547 PyObject
* obj0
= 0 ;
9549 (char *) "self", NULL
9552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
9553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9557 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
9559 wxPyEndAllowThreads(__tstate
);
9560 if (PyErr_Occurred()) SWIG_fail
;
9562 resultobj
= SWIG_FromLong((long)result
);
9569 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9570 PyObject
*resultobj
;
9571 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9573 PyObject
* obj0
= 0 ;
9575 (char *) "self", NULL
9578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
9579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9583 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
9585 wxPyEndAllowThreads(__tstate
);
9586 if (PyErr_Occurred()) SWIG_fail
;
9588 resultobj
= SWIG_FromLong((long)result
);
9595 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9596 PyObject
*resultobj
;
9597 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9600 PyObject
* obj0
= 0 ;
9601 PyObject
* obj1
= 0 ;
9602 PyObject
* obj2
= 0 ;
9604 (char *) "self",(char *) "from",(char *) "to", NULL
9607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9610 arg2
= (long) SWIG_AsLong(obj1
);
9611 if (PyErr_Occurred()) SWIG_fail
;
9612 arg3
= (long) SWIG_AsLong(obj2
);
9613 if (PyErr_Occurred()) SWIG_fail
;
9615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9616 (arg1
)->SetSelection(arg2
,arg3
);
9618 wxPyEndAllowThreads(__tstate
);
9619 if (PyErr_Occurred()) SWIG_fail
;
9621 Py_INCREF(Py_None
); resultobj
= Py_None
;
9628 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9629 PyObject
*resultobj
;
9630 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9631 PyObject
* obj0
= 0 ;
9633 (char *) "self", NULL
9636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
9637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9641 (arg1
)->SelectAll();
9643 wxPyEndAllowThreads(__tstate
);
9644 if (PyErr_Occurred()) SWIG_fail
;
9646 Py_INCREF(Py_None
); resultobj
= Py_None
;
9653 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9654 PyObject
*resultobj
;
9655 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9657 PyObject
* obj0
= 0 ;
9658 PyObject
* obj1
= 0 ;
9660 (char *) "self",(char *) "editable", NULL
9663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
9664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9666 arg2
= (bool) SWIG_AsBool(obj1
);
9667 if (PyErr_Occurred()) SWIG_fail
;
9669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9670 (arg1
)->SetEditable(arg2
);
9672 wxPyEndAllowThreads(__tstate
);
9673 if (PyErr_Occurred()) SWIG_fail
;
9675 Py_INCREF(Py_None
); resultobj
= Py_None
;
9682 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9683 PyObject
*resultobj
;
9684 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9685 wxString
*arg2
= 0 ;
9686 bool temp2
= False
;
9687 PyObject
* obj0
= 0 ;
9688 PyObject
* obj1
= 0 ;
9690 (char *) "self",(char *) "text", NULL
9693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9697 arg2
= wxString_in_helper(obj1
);
9698 if (arg2
== NULL
) SWIG_fail
;
9702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9703 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
9705 wxPyEndAllowThreads(__tstate
);
9706 if (PyErr_Occurred()) SWIG_fail
;
9708 Py_INCREF(Py_None
); resultobj
= Py_None
;
9723 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9724 PyObject
*resultobj
;
9725 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9729 PyObject
* obj0
= 0 ;
9730 PyObject
* obj1
= 0 ;
9731 PyObject
* obj2
= 0 ;
9733 (char *) "self",(char *) "from",(char *) "to", NULL
9736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9739 arg2
= (long) SWIG_AsLong(obj1
);
9740 if (PyErr_Occurred()) SWIG_fail
;
9741 arg3
= (long) SWIG_AsLong(obj2
);
9742 if (PyErr_Occurred()) SWIG_fail
;
9744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9745 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9747 wxPyEndAllowThreads(__tstate
);
9748 if (PyErr_Occurred()) SWIG_fail
;
9752 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9754 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9763 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9764 PyObject
*resultobj
;
9765 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
9766 wxVisualAttributes result
;
9767 PyObject
* obj0
= 0 ;
9769 (char *) "variant", NULL
9772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
9774 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
9775 if (PyErr_Occurred()) SWIG_fail
;
9778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9779 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
9781 wxPyEndAllowThreads(__tstate
);
9782 if (PyErr_Occurred()) SWIG_fail
;
9785 wxVisualAttributes
* resultptr
;
9786 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
9787 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
9795 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9797 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9798 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
9800 return Py_BuildValue((char *)"");
9802 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9803 PyObject
*resultobj
;
9805 wxMouseEvent
*arg2
= 0 ;
9808 wxTextUrlEvent
*result
;
9809 PyObject
* obj0
= 0 ;
9810 PyObject
* obj1
= 0 ;
9811 PyObject
* obj2
= 0 ;
9812 PyObject
* obj3
= 0 ;
9814 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9818 arg1
= (int) SWIG_AsInt(obj0
);
9819 if (PyErr_Occurred()) SWIG_fail
;
9820 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
9821 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9824 PyErr_SetString(PyExc_TypeError
,"null reference");
9827 arg3
= (long) SWIG_AsLong(obj2
);
9828 if (PyErr_Occurred()) SWIG_fail
;
9829 arg4
= (long) SWIG_AsLong(obj3
);
9830 if (PyErr_Occurred()) SWIG_fail
;
9832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9833 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
9835 wxPyEndAllowThreads(__tstate
);
9836 if (PyErr_Occurred()) SWIG_fail
;
9838 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
9845 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9846 PyObject
*resultobj
;
9847 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9848 wxMouseEvent
*result
;
9849 PyObject
* obj0
= 0 ;
9851 (char *) "self", NULL
9854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
9855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9860 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
9861 result
= (wxMouseEvent
*) &_result_ref
;
9864 wxPyEndAllowThreads(__tstate
);
9865 if (PyErr_Occurred()) SWIG_fail
;
9867 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
9874 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9875 PyObject
*resultobj
;
9876 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9878 PyObject
* obj0
= 0 ;
9880 (char *) "self", NULL
9883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
9884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9888 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
9890 wxPyEndAllowThreads(__tstate
);
9891 if (PyErr_Occurred()) SWIG_fail
;
9893 resultobj
= SWIG_FromLong((long)result
);
9900 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9901 PyObject
*resultobj
;
9902 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9904 PyObject
* obj0
= 0 ;
9906 (char *) "self", NULL
9909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
9910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9914 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
9916 wxPyEndAllowThreads(__tstate
);
9917 if (PyErr_Occurred()) SWIG_fail
;
9919 resultobj
= SWIG_FromLong((long)result
);
9926 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9928 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9929 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
9931 return Py_BuildValue((char *)"");
9933 static int _wrap_ScrollBarNameStr_set(PyObject
*_val
) {
9934 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
9939 static PyObject
*_wrap_ScrollBarNameStr_get() {
9944 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9946 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9953 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9954 PyObject
*resultobj
;
9955 wxWindow
*arg1
= (wxWindow
*) 0 ;
9956 int arg2
= (int) -1 ;
9957 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9958 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9959 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9960 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9961 long arg5
= (long) wxSB_HORIZONTAL
;
9962 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
9963 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
9964 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
9965 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9966 wxScrollBar
*result
;
9969 bool temp7
= False
;
9970 PyObject
* obj0
= 0 ;
9971 PyObject
* obj1
= 0 ;
9972 PyObject
* obj2
= 0 ;
9973 PyObject
* obj3
= 0 ;
9974 PyObject
* obj4
= 0 ;
9975 PyObject
* obj5
= 0 ;
9976 PyObject
* obj6
= 0 ;
9978 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9985 arg2
= (int) SWIG_AsInt(obj1
);
9986 if (PyErr_Occurred()) SWIG_fail
;
9991 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9997 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10001 arg5
= (long) SWIG_AsLong(obj4
);
10002 if (PyErr_Occurred()) SWIG_fail
;
10005 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
10006 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10008 if (arg6
== NULL
) {
10009 PyErr_SetString(PyExc_TypeError
,"null reference");
10015 arg7
= wxString_in_helper(obj6
);
10016 if (arg7
== NULL
) SWIG_fail
;
10021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10022 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
10024 wxPyEndAllowThreads(__tstate
);
10025 if (PyErr_Occurred()) SWIG_fail
;
10027 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10042 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10043 PyObject
*resultobj
;
10044 wxScrollBar
*result
;
10045 char *kwnames
[] = {
10049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
10051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10052 result
= (wxScrollBar
*)new wxScrollBar();
10054 wxPyEndAllowThreads(__tstate
);
10055 if (PyErr_Occurred()) SWIG_fail
;
10057 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10064 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10065 PyObject
*resultobj
;
10066 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10067 wxWindow
*arg2
= (wxWindow
*) 0 ;
10068 int arg3
= (int) -1 ;
10069 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10070 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10071 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10072 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10073 long arg6
= (long) wxSB_HORIZONTAL
;
10074 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10075 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10076 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
10077 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10081 bool temp8
= False
;
10082 PyObject
* obj0
= 0 ;
10083 PyObject
* obj1
= 0 ;
10084 PyObject
* obj2
= 0 ;
10085 PyObject
* obj3
= 0 ;
10086 PyObject
* obj4
= 0 ;
10087 PyObject
* obj5
= 0 ;
10088 PyObject
* obj6
= 0 ;
10089 PyObject
* obj7
= 0 ;
10090 char *kwnames
[] = {
10091 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
10095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10097 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10100 arg3
= (int) SWIG_AsInt(obj2
);
10101 if (PyErr_Occurred()) SWIG_fail
;
10106 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10112 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10116 arg6
= (long) SWIG_AsLong(obj5
);
10117 if (PyErr_Occurred()) SWIG_fail
;
10120 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
10121 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10123 if (arg7
== NULL
) {
10124 PyErr_SetString(PyExc_TypeError
,"null reference");
10130 arg8
= wxString_in_helper(obj7
);
10131 if (arg8
== NULL
) SWIG_fail
;
10136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10137 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10139 wxPyEndAllowThreads(__tstate
);
10140 if (PyErr_Occurred()) SWIG_fail
;
10143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10159 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10160 PyObject
*resultobj
;
10161 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10163 PyObject
* obj0
= 0 ;
10164 char *kwnames
[] = {
10165 (char *) "self", NULL
10168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
10169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10173 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
10175 wxPyEndAllowThreads(__tstate
);
10176 if (PyErr_Occurred()) SWIG_fail
;
10178 resultobj
= SWIG_FromInt((int)result
);
10185 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10186 PyObject
*resultobj
;
10187 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10189 PyObject
* obj0
= 0 ;
10190 char *kwnames
[] = {
10191 (char *) "self", NULL
10194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
10195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10199 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
10201 wxPyEndAllowThreads(__tstate
);
10202 if (PyErr_Occurred()) SWIG_fail
;
10204 resultobj
= SWIG_FromInt((int)result
);
10211 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10212 PyObject
*resultobj
;
10213 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10215 PyObject
* obj0
= 0 ;
10216 char *kwnames
[] = {
10217 (char *) "self", NULL
10220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
10221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10225 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
10227 wxPyEndAllowThreads(__tstate
);
10228 if (PyErr_Occurred()) SWIG_fail
;
10230 resultobj
= SWIG_FromInt((int)result
);
10237 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10238 PyObject
*resultobj
;
10239 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10241 PyObject
* obj0
= 0 ;
10242 char *kwnames
[] = {
10243 (char *) "self", NULL
10246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
10247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10251 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
10253 wxPyEndAllowThreads(__tstate
);
10254 if (PyErr_Occurred()) SWIG_fail
;
10256 resultobj
= SWIG_FromInt((int)result
);
10263 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10264 PyObject
*resultobj
;
10265 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10267 PyObject
* obj0
= 0 ;
10268 char *kwnames
[] = {
10269 (char *) "self", NULL
10272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
10273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10277 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
10279 wxPyEndAllowThreads(__tstate
);
10280 if (PyErr_Occurred()) SWIG_fail
;
10283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10291 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10292 PyObject
*resultobj
;
10293 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10295 PyObject
* obj0
= 0 ;
10296 PyObject
* obj1
= 0 ;
10297 char *kwnames
[] = {
10298 (char *) "self",(char *) "viewStart", NULL
10301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10304 arg2
= (int) SWIG_AsInt(obj1
);
10305 if (PyErr_Occurred()) SWIG_fail
;
10307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10308 (arg1
)->SetThumbPosition(arg2
);
10310 wxPyEndAllowThreads(__tstate
);
10311 if (PyErr_Occurred()) SWIG_fail
;
10313 Py_INCREF(Py_None
); resultobj
= Py_None
;
10320 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10321 PyObject
*resultobj
;
10322 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10327 bool arg6
= (bool) True
;
10328 PyObject
* obj0
= 0 ;
10329 PyObject
* obj1
= 0 ;
10330 PyObject
* obj2
= 0 ;
10331 PyObject
* obj3
= 0 ;
10332 PyObject
* obj4
= 0 ;
10333 PyObject
* obj5
= 0 ;
10334 char *kwnames
[] = {
10335 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
10338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10341 arg2
= (int) SWIG_AsInt(obj1
);
10342 if (PyErr_Occurred()) SWIG_fail
;
10343 arg3
= (int) SWIG_AsInt(obj2
);
10344 if (PyErr_Occurred()) SWIG_fail
;
10345 arg4
= (int) SWIG_AsInt(obj3
);
10346 if (PyErr_Occurred()) SWIG_fail
;
10347 arg5
= (int) SWIG_AsInt(obj4
);
10348 if (PyErr_Occurred()) SWIG_fail
;
10350 arg6
= (bool) SWIG_AsBool(obj5
);
10351 if (PyErr_Occurred()) SWIG_fail
;
10354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10355 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
10357 wxPyEndAllowThreads(__tstate
);
10358 if (PyErr_Occurred()) SWIG_fail
;
10360 Py_INCREF(Py_None
); resultobj
= Py_None
;
10367 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10368 PyObject
*resultobj
;
10369 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10370 wxVisualAttributes result
;
10371 PyObject
* obj0
= 0 ;
10372 char *kwnames
[] = {
10373 (char *) "variant", NULL
10376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10378 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
10379 if (PyErr_Occurred()) SWIG_fail
;
10382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10383 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10385 wxPyEndAllowThreads(__tstate
);
10386 if (PyErr_Occurred()) SWIG_fail
;
10389 wxVisualAttributes
* resultptr
;
10390 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10391 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10399 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
10401 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10402 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
10404 return Py_BuildValue((char *)"");
10406 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*_val
) {
10407 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
10412 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
10417 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10419 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10426 static int _wrap_SpinCtrlNameStr_set(PyObject
*_val
) {
10427 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
10432 static PyObject
*_wrap_SpinCtrlNameStr_get() {
10437 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10439 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10446 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10447 PyObject
*resultobj
;
10448 wxWindow
*arg1
= (wxWindow
*) 0 ;
10449 int arg2
= (int) -1 ;
10450 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10451 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10452 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10453 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10454 long arg5
= (long) wxSP_HORIZONTAL
;
10455 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
10456 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10457 wxSpinButton
*result
;
10460 bool temp6
= False
;
10461 PyObject
* obj0
= 0 ;
10462 PyObject
* obj1
= 0 ;
10463 PyObject
* obj2
= 0 ;
10464 PyObject
* obj3
= 0 ;
10465 PyObject
* obj4
= 0 ;
10466 PyObject
* obj5
= 0 ;
10467 char *kwnames
[] = {
10468 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10475 arg2
= (int) SWIG_AsInt(obj1
);
10476 if (PyErr_Occurred()) SWIG_fail
;
10481 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10487 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10491 arg5
= (long) SWIG_AsLong(obj4
);
10492 if (PyErr_Occurred()) SWIG_fail
;
10496 arg6
= wxString_in_helper(obj5
);
10497 if (arg6
== NULL
) SWIG_fail
;
10502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10503 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10505 wxPyEndAllowThreads(__tstate
);
10506 if (PyErr_Occurred()) SWIG_fail
;
10508 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10523 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10524 PyObject
*resultobj
;
10525 wxSpinButton
*result
;
10526 char *kwnames
[] = {
10530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
10532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10533 result
= (wxSpinButton
*)new wxSpinButton();
10535 wxPyEndAllowThreads(__tstate
);
10536 if (PyErr_Occurred()) SWIG_fail
;
10538 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10545 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10546 PyObject
*resultobj
;
10547 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10548 wxWindow
*arg2
= (wxWindow
*) 0 ;
10549 int arg3
= (int) -1 ;
10550 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10551 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10552 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10553 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10554 long arg6
= (long) wxSP_HORIZONTAL
;
10555 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
10556 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10560 bool temp7
= False
;
10561 PyObject
* obj0
= 0 ;
10562 PyObject
* obj1
= 0 ;
10563 PyObject
* obj2
= 0 ;
10564 PyObject
* obj3
= 0 ;
10565 PyObject
* obj4
= 0 ;
10566 PyObject
* obj5
= 0 ;
10567 PyObject
* obj6
= 0 ;
10568 char *kwnames
[] = {
10569 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10575 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10578 arg3
= (int) SWIG_AsInt(obj2
);
10579 if (PyErr_Occurred()) SWIG_fail
;
10584 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10590 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10594 arg6
= (long) SWIG_AsLong(obj5
);
10595 if (PyErr_Occurred()) SWIG_fail
;
10599 arg7
= wxString_in_helper(obj6
);
10600 if (arg7
== NULL
) SWIG_fail
;
10605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10606 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10608 wxPyEndAllowThreads(__tstate
);
10609 if (PyErr_Occurred()) SWIG_fail
;
10612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10628 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10629 PyObject
*resultobj
;
10630 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10632 PyObject
* obj0
= 0 ;
10633 char *kwnames
[] = {
10634 (char *) "self", NULL
10637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
10638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10642 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
10644 wxPyEndAllowThreads(__tstate
);
10645 if (PyErr_Occurred()) SWIG_fail
;
10647 resultobj
= SWIG_FromInt((int)result
);
10654 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10655 PyObject
*resultobj
;
10656 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10658 PyObject
* obj0
= 0 ;
10659 char *kwnames
[] = {
10660 (char *) "self", NULL
10663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
10664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10668 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
10670 wxPyEndAllowThreads(__tstate
);
10671 if (PyErr_Occurred()) SWIG_fail
;
10673 resultobj
= SWIG_FromInt((int)result
);
10680 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10681 PyObject
*resultobj
;
10682 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10684 PyObject
* obj0
= 0 ;
10685 char *kwnames
[] = {
10686 (char *) "self", NULL
10689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
10690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10694 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
10696 wxPyEndAllowThreads(__tstate
);
10697 if (PyErr_Occurred()) SWIG_fail
;
10699 resultobj
= SWIG_FromInt((int)result
);
10706 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10707 PyObject
*resultobj
;
10708 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10710 PyObject
* obj0
= 0 ;
10711 PyObject
* obj1
= 0 ;
10712 char *kwnames
[] = {
10713 (char *) "self",(char *) "val", NULL
10716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10719 arg2
= (int) SWIG_AsInt(obj1
);
10720 if (PyErr_Occurred()) SWIG_fail
;
10722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10723 (arg1
)->SetValue(arg2
);
10725 wxPyEndAllowThreads(__tstate
);
10726 if (PyErr_Occurred()) SWIG_fail
;
10728 Py_INCREF(Py_None
); resultobj
= Py_None
;
10735 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10736 PyObject
*resultobj
;
10737 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10739 PyObject
* obj0
= 0 ;
10740 PyObject
* obj1
= 0 ;
10741 char *kwnames
[] = {
10742 (char *) "self",(char *) "minVal", NULL
10745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
10746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10748 arg2
= (int) SWIG_AsInt(obj1
);
10749 if (PyErr_Occurred()) SWIG_fail
;
10751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10752 (arg1
)->SetMin(arg2
);
10754 wxPyEndAllowThreads(__tstate
);
10755 if (PyErr_Occurred()) SWIG_fail
;
10757 Py_INCREF(Py_None
); resultobj
= Py_None
;
10764 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10765 PyObject
*resultobj
;
10766 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10768 PyObject
* obj0
= 0 ;
10769 PyObject
* obj1
= 0 ;
10770 char *kwnames
[] = {
10771 (char *) "self",(char *) "maxVal", NULL
10774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
10775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10777 arg2
= (int) SWIG_AsInt(obj1
);
10778 if (PyErr_Occurred()) SWIG_fail
;
10780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10781 (arg1
)->SetMax(arg2
);
10783 wxPyEndAllowThreads(__tstate
);
10784 if (PyErr_Occurred()) SWIG_fail
;
10786 Py_INCREF(Py_None
); resultobj
= Py_None
;
10793 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10794 PyObject
*resultobj
;
10795 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10798 PyObject
* obj0
= 0 ;
10799 PyObject
* obj1
= 0 ;
10800 PyObject
* obj2
= 0 ;
10801 char *kwnames
[] = {
10802 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10808 arg2
= (int) SWIG_AsInt(obj1
);
10809 if (PyErr_Occurred()) SWIG_fail
;
10810 arg3
= (int) SWIG_AsInt(obj2
);
10811 if (PyErr_Occurred()) SWIG_fail
;
10813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10814 (arg1
)->SetRange(arg2
,arg3
);
10816 wxPyEndAllowThreads(__tstate
);
10817 if (PyErr_Occurred()) SWIG_fail
;
10819 Py_INCREF(Py_None
); resultobj
= Py_None
;
10826 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10827 PyObject
*resultobj
;
10828 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10830 PyObject
* obj0
= 0 ;
10831 char *kwnames
[] = {
10832 (char *) "self", NULL
10835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
10836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10840 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
10842 wxPyEndAllowThreads(__tstate
);
10843 if (PyErr_Occurred()) SWIG_fail
;
10846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10854 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10855 PyObject
*resultobj
;
10856 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10857 wxVisualAttributes result
;
10858 PyObject
* obj0
= 0 ;
10859 char *kwnames
[] = {
10860 (char *) "variant", NULL
10863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10865 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
10866 if (PyErr_Occurred()) SWIG_fail
;
10869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10870 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10872 wxPyEndAllowThreads(__tstate
);
10873 if (PyErr_Occurred()) SWIG_fail
;
10876 wxVisualAttributes
* resultptr
;
10877 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10878 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10886 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
10888 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10889 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
10891 return Py_BuildValue((char *)"");
10893 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10894 PyObject
*resultobj
;
10895 wxWindow
*arg1
= (wxWindow
*) 0 ;
10896 int arg2
= (int) -1 ;
10897 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10898 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10899 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10900 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10901 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10902 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10903 long arg6
= (long) wxSP_ARROW_KEYS
;
10904 int arg7
= (int) 0 ;
10905 int arg8
= (int) 100 ;
10906 int arg9
= (int) 0 ;
10907 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
10908 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10909 wxSpinCtrl
*result
;
10910 bool temp3
= False
;
10913 bool temp10
= False
;
10914 PyObject
* obj0
= 0 ;
10915 PyObject
* obj1
= 0 ;
10916 PyObject
* obj2
= 0 ;
10917 PyObject
* obj3
= 0 ;
10918 PyObject
* obj4
= 0 ;
10919 PyObject
* obj5
= 0 ;
10920 PyObject
* obj6
= 0 ;
10921 PyObject
* obj7
= 0 ;
10922 PyObject
* obj8
= 0 ;
10923 PyObject
* obj9
= 0 ;
10924 char *kwnames
[] = {
10925 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10932 arg2
= (int) SWIG_AsInt(obj1
);
10933 if (PyErr_Occurred()) SWIG_fail
;
10937 arg3
= wxString_in_helper(obj2
);
10938 if (arg3
== NULL
) SWIG_fail
;
10945 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10951 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10955 arg6
= (long) SWIG_AsLong(obj5
);
10956 if (PyErr_Occurred()) SWIG_fail
;
10959 arg7
= (int) SWIG_AsInt(obj6
);
10960 if (PyErr_Occurred()) SWIG_fail
;
10963 arg8
= (int) SWIG_AsInt(obj7
);
10964 if (PyErr_Occurred()) SWIG_fail
;
10967 arg9
= (int) SWIG_AsInt(obj8
);
10968 if (PyErr_Occurred()) SWIG_fail
;
10972 arg10
= wxString_in_helper(obj9
);
10973 if (arg10
== NULL
) SWIG_fail
;
10978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10979 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
10981 wxPyEndAllowThreads(__tstate
);
10982 if (PyErr_Occurred()) SWIG_fail
;
10984 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11007 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11008 PyObject
*resultobj
;
11009 wxSpinCtrl
*result
;
11010 char *kwnames
[] = {
11014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
11016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11017 result
= (wxSpinCtrl
*)new wxSpinCtrl();
11019 wxPyEndAllowThreads(__tstate
);
11020 if (PyErr_Occurred()) SWIG_fail
;
11022 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11029 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11030 PyObject
*resultobj
;
11031 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11032 wxWindow
*arg2
= (wxWindow
*) 0 ;
11033 int arg3
= (int) -1 ;
11034 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11035 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11036 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11037 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11038 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11039 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11040 long arg7
= (long) wxSP_ARROW_KEYS
;
11041 int arg8
= (int) 0 ;
11042 int arg9
= (int) 100 ;
11043 int arg10
= (int) 0 ;
11044 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
11045 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11047 bool temp4
= False
;
11050 bool temp11
= False
;
11051 PyObject
* obj0
= 0 ;
11052 PyObject
* obj1
= 0 ;
11053 PyObject
* obj2
= 0 ;
11054 PyObject
* obj3
= 0 ;
11055 PyObject
* obj4
= 0 ;
11056 PyObject
* obj5
= 0 ;
11057 PyObject
* obj6
= 0 ;
11058 PyObject
* obj7
= 0 ;
11059 PyObject
* obj8
= 0 ;
11060 PyObject
* obj9
= 0 ;
11061 PyObject
* obj10
= 0 ;
11062 char *kwnames
[] = {
11063 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11069 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11072 arg3
= (int) SWIG_AsInt(obj2
);
11073 if (PyErr_Occurred()) SWIG_fail
;
11077 arg4
= wxString_in_helper(obj3
);
11078 if (arg4
== NULL
) SWIG_fail
;
11085 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11091 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11095 arg7
= (long) SWIG_AsLong(obj6
);
11096 if (PyErr_Occurred()) SWIG_fail
;
11099 arg8
= (int) SWIG_AsInt(obj7
);
11100 if (PyErr_Occurred()) SWIG_fail
;
11103 arg9
= (int) SWIG_AsInt(obj8
);
11104 if (PyErr_Occurred()) SWIG_fail
;
11107 arg10
= (int) SWIG_AsInt(obj9
);
11108 if (PyErr_Occurred()) SWIG_fail
;
11112 arg11
= wxString_in_helper(obj10
);
11113 if (arg11
== NULL
) SWIG_fail
;
11118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11119 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
11121 wxPyEndAllowThreads(__tstate
);
11122 if (PyErr_Occurred()) SWIG_fail
;
11125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11149 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11150 PyObject
*resultobj
;
11151 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11153 PyObject
* obj0
= 0 ;
11154 char *kwnames
[] = {
11155 (char *) "self", NULL
11158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
11159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11163 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
11165 wxPyEndAllowThreads(__tstate
);
11166 if (PyErr_Occurred()) SWIG_fail
;
11168 resultobj
= SWIG_FromInt((int)result
);
11175 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11176 PyObject
*resultobj
;
11177 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11179 PyObject
* obj0
= 0 ;
11180 PyObject
* obj1
= 0 ;
11181 char *kwnames
[] = {
11182 (char *) "self",(char *) "value", NULL
11185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11188 arg2
= (int) SWIG_AsInt(obj1
);
11189 if (PyErr_Occurred()) SWIG_fail
;
11191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11192 (arg1
)->SetValue(arg2
);
11194 wxPyEndAllowThreads(__tstate
);
11195 if (PyErr_Occurred()) SWIG_fail
;
11197 Py_INCREF(Py_None
); resultobj
= Py_None
;
11204 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11205 PyObject
*resultobj
;
11206 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11207 wxString
*arg2
= 0 ;
11208 bool temp2
= False
;
11209 PyObject
* obj0
= 0 ;
11210 PyObject
* obj1
= 0 ;
11211 char *kwnames
[] = {
11212 (char *) "self",(char *) "text", NULL
11215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
11216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11219 arg2
= wxString_in_helper(obj1
);
11220 if (arg2
== NULL
) SWIG_fail
;
11224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11225 (arg1
)->SetValue((wxString
const &)*arg2
);
11227 wxPyEndAllowThreads(__tstate
);
11228 if (PyErr_Occurred()) SWIG_fail
;
11230 Py_INCREF(Py_None
); resultobj
= Py_None
;
11245 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11246 PyObject
*resultobj
;
11247 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11250 PyObject
* obj0
= 0 ;
11251 PyObject
* obj1
= 0 ;
11252 PyObject
* obj2
= 0 ;
11253 char *kwnames
[] = {
11254 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11260 arg2
= (int) SWIG_AsInt(obj1
);
11261 if (PyErr_Occurred()) SWIG_fail
;
11262 arg3
= (int) SWIG_AsInt(obj2
);
11263 if (PyErr_Occurred()) SWIG_fail
;
11265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11266 (arg1
)->SetRange(arg2
,arg3
);
11268 wxPyEndAllowThreads(__tstate
);
11269 if (PyErr_Occurred()) SWIG_fail
;
11271 Py_INCREF(Py_None
); resultobj
= Py_None
;
11278 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11279 PyObject
*resultobj
;
11280 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11282 PyObject
* obj0
= 0 ;
11283 char *kwnames
[] = {
11284 (char *) "self", NULL
11287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
11288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11292 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
11294 wxPyEndAllowThreads(__tstate
);
11295 if (PyErr_Occurred()) SWIG_fail
;
11297 resultobj
= SWIG_FromInt((int)result
);
11304 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11305 PyObject
*resultobj
;
11306 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11308 PyObject
* obj0
= 0 ;
11309 char *kwnames
[] = {
11310 (char *) "self", NULL
11313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
11314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11318 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
11320 wxPyEndAllowThreads(__tstate
);
11321 if (PyErr_Occurred()) SWIG_fail
;
11323 resultobj
= SWIG_FromInt((int)result
);
11330 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11331 PyObject
*resultobj
;
11332 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11335 PyObject
* obj0
= 0 ;
11336 PyObject
* obj1
= 0 ;
11337 PyObject
* obj2
= 0 ;
11338 char *kwnames
[] = {
11339 (char *) "self",(char *) "from",(char *) "to", NULL
11342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11345 arg2
= (long) SWIG_AsLong(obj1
);
11346 if (PyErr_Occurred()) SWIG_fail
;
11347 arg3
= (long) SWIG_AsLong(obj2
);
11348 if (PyErr_Occurred()) SWIG_fail
;
11350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11351 (arg1
)->SetSelection(arg2
,arg3
);
11353 wxPyEndAllowThreads(__tstate
);
11354 if (PyErr_Occurred()) SWIG_fail
;
11356 Py_INCREF(Py_None
); resultobj
= Py_None
;
11363 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11364 PyObject
*resultobj
;
11365 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
11366 wxVisualAttributes result
;
11367 PyObject
* obj0
= 0 ;
11368 char *kwnames
[] = {
11369 (char *) "variant", NULL
11372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11374 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
11375 if (PyErr_Occurred()) SWIG_fail
;
11378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11379 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11381 wxPyEndAllowThreads(__tstate
);
11382 if (PyErr_Occurred()) SWIG_fail
;
11385 wxVisualAttributes
* resultptr
;
11386 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
11387 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11395 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
11397 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11398 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
11400 return Py_BuildValue((char *)"");
11402 static PyObject
*_wrap_new_SpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11403 PyObject
*resultobj
;
11404 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11405 int arg2
= (int) 0 ;
11406 wxSpinEvent
*result
;
11407 PyObject
* obj0
= 0 ;
11408 PyObject
* obj1
= 0 ;
11409 char *kwnames
[] = {
11410 (char *) "commandType",(char *) "winid", NULL
11413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11415 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
11416 if (PyErr_Occurred()) SWIG_fail
;
11419 arg2
= (int) SWIG_AsInt(obj1
);
11420 if (PyErr_Occurred()) SWIG_fail
;
11423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11424 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
11426 wxPyEndAllowThreads(__tstate
);
11427 if (PyErr_Occurred()) SWIG_fail
;
11429 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
11436 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11437 PyObject
*resultobj
;
11438 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11440 PyObject
* obj0
= 0 ;
11441 char *kwnames
[] = {
11442 (char *) "self", NULL
11445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11450 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
11452 wxPyEndAllowThreads(__tstate
);
11453 if (PyErr_Occurred()) SWIG_fail
;
11455 resultobj
= SWIG_FromInt((int)result
);
11462 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11463 PyObject
*resultobj
;
11464 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11466 PyObject
* obj0
= 0 ;
11467 PyObject
* obj1
= 0 ;
11468 char *kwnames
[] = {
11469 (char *) "self",(char *) "pos", NULL
11472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11475 arg2
= (int) SWIG_AsInt(obj1
);
11476 if (PyErr_Occurred()) SWIG_fail
;
11478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11479 (arg1
)->SetPosition(arg2
);
11481 wxPyEndAllowThreads(__tstate
);
11482 if (PyErr_Occurred()) SWIG_fail
;
11484 Py_INCREF(Py_None
); resultobj
= Py_None
;
11491 static PyObject
* SpinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11493 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11494 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
11496 return Py_BuildValue((char *)"");
11498 static int _wrap_RadioBoxNameStr_set(PyObject
*_val
) {
11499 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
11504 static PyObject
*_wrap_RadioBoxNameStr_get() {
11509 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11511 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11518 static int _wrap_RadioButtonNameStr_set(PyObject
*_val
) {
11519 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
11524 static PyObject
*_wrap_RadioButtonNameStr_get() {
11529 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11531 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11538 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11539 PyObject
*resultobj
;
11540 wxWindow
*arg1
= (wxWindow
*) 0 ;
11542 wxString
*arg3
= 0 ;
11543 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11544 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11545 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11546 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11547 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
11548 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
11549 int arg7
= (int) 0 ;
11550 long arg8
= (long) wxRA_HORIZONTAL
;
11551 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11552 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11553 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
11554 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11555 wxRadioBox
*result
;
11556 bool temp3
= False
;
11559 bool temp6
= False
;
11560 bool temp10
= False
;
11561 PyObject
* obj0
= 0 ;
11562 PyObject
* obj1
= 0 ;
11563 PyObject
* obj2
= 0 ;
11564 PyObject
* obj3
= 0 ;
11565 PyObject
* obj4
= 0 ;
11566 PyObject
* obj5
= 0 ;
11567 PyObject
* obj6
= 0 ;
11568 PyObject
* obj7
= 0 ;
11569 PyObject
* obj8
= 0 ;
11570 PyObject
* obj9
= 0 ;
11571 char *kwnames
[] = {
11572 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11578 arg2
= (int) SWIG_AsInt(obj1
);
11579 if (PyErr_Occurred()) SWIG_fail
;
11581 arg3
= wxString_in_helper(obj2
);
11582 if (arg3
== NULL
) SWIG_fail
;
11588 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11594 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11599 if (! PySequence_Check(obj5
)) {
11600 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11603 arg6
= new wxArrayString
;
11605 int i
, len
=PySequence_Length(obj5
);
11606 for (i
=0; i
<len
; i
++) {
11607 PyObject
* item
= PySequence_GetItem(obj5
, i
);
11609 PyObject
* str
= PyObject_Unicode(item
);
11611 PyObject
* str
= PyObject_Str(item
);
11613 if (PyErr_Occurred()) SWIG_fail
;
11614 arg6
->Add(Py2wxString(str
));
11621 arg7
= (int) SWIG_AsInt(obj6
);
11622 if (PyErr_Occurred()) SWIG_fail
;
11625 arg8
= (long) SWIG_AsLong(obj7
);
11626 if (PyErr_Occurred()) SWIG_fail
;
11629 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
11630 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11632 if (arg9
== NULL
) {
11633 PyErr_SetString(PyExc_TypeError
,"null reference");
11639 arg10
= wxString_in_helper(obj9
);
11640 if (arg10
== NULL
) SWIG_fail
;
11645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11646 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
);
11648 wxPyEndAllowThreads(__tstate
);
11649 if (PyErr_Occurred()) SWIG_fail
;
11651 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11657 if (temp6
) delete arg6
;
11670 if (temp6
) delete arg6
;
11680 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11681 PyObject
*resultobj
;
11682 wxRadioBox
*result
;
11683 char *kwnames
[] = {
11687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
11689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11690 result
= (wxRadioBox
*)new wxRadioBox();
11692 wxPyEndAllowThreads(__tstate
);
11693 if (PyErr_Occurred()) SWIG_fail
;
11695 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11702 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11703 PyObject
*resultobj
;
11704 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11705 wxWindow
*arg2
= (wxWindow
*) 0 ;
11707 wxString
*arg4
= 0 ;
11708 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11709 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11710 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11711 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11712 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
11713 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
11714 int arg8
= (int) 0 ;
11715 long arg9
= (long) wxRA_HORIZONTAL
;
11716 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11717 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11718 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
11719 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11721 bool temp4
= False
;
11724 bool temp7
= False
;
11725 bool temp11
= False
;
11726 PyObject
* obj0
= 0 ;
11727 PyObject
* obj1
= 0 ;
11728 PyObject
* obj2
= 0 ;
11729 PyObject
* obj3
= 0 ;
11730 PyObject
* obj4
= 0 ;
11731 PyObject
* obj5
= 0 ;
11732 PyObject
* obj6
= 0 ;
11733 PyObject
* obj7
= 0 ;
11734 PyObject
* obj8
= 0 ;
11735 PyObject
* obj9
= 0 ;
11736 PyObject
* obj10
= 0 ;
11737 char *kwnames
[] = {
11738 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11744 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11746 arg3
= (int) SWIG_AsInt(obj2
);
11747 if (PyErr_Occurred()) SWIG_fail
;
11749 arg4
= wxString_in_helper(obj3
);
11750 if (arg4
== NULL
) SWIG_fail
;
11756 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11762 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11767 if (! PySequence_Check(obj6
)) {
11768 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11771 arg7
= new wxArrayString
;
11773 int i
, len
=PySequence_Length(obj6
);
11774 for (i
=0; i
<len
; i
++) {
11775 PyObject
* item
= PySequence_GetItem(obj6
, i
);
11777 PyObject
* str
= PyObject_Unicode(item
);
11779 PyObject
* str
= PyObject_Str(item
);
11781 if (PyErr_Occurred()) SWIG_fail
;
11782 arg7
->Add(Py2wxString(str
));
11789 arg8
= (int) SWIG_AsInt(obj7
);
11790 if (PyErr_Occurred()) SWIG_fail
;
11793 arg9
= (long) SWIG_AsLong(obj8
);
11794 if (PyErr_Occurred()) SWIG_fail
;
11797 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
11798 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11800 if (arg10
== NULL
) {
11801 PyErr_SetString(PyExc_TypeError
,"null reference");
11807 arg11
= wxString_in_helper(obj10
);
11808 if (arg11
== NULL
) SWIG_fail
;
11813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11814 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
);
11816 wxPyEndAllowThreads(__tstate
);
11817 if (PyErr_Occurred()) SWIG_fail
;
11820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11827 if (temp7
) delete arg7
;
11840 if (temp7
) delete arg7
;
11850 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11851 PyObject
*resultobj
;
11852 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11854 PyObject
* obj0
= 0 ;
11855 PyObject
* obj1
= 0 ;
11856 char *kwnames
[] = {
11857 (char *) "self",(char *) "n", NULL
11860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11863 arg2
= (int) SWIG_AsInt(obj1
);
11864 if (PyErr_Occurred()) SWIG_fail
;
11866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11867 (arg1
)->SetSelection(arg2
);
11869 wxPyEndAllowThreads(__tstate
);
11870 if (PyErr_Occurred()) SWIG_fail
;
11872 Py_INCREF(Py_None
); resultobj
= Py_None
;
11879 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11880 PyObject
*resultobj
;
11881 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11883 PyObject
* obj0
= 0 ;
11884 char *kwnames
[] = {
11885 (char *) "self", NULL
11888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
11889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11893 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
11895 wxPyEndAllowThreads(__tstate
);
11896 if (PyErr_Occurred()) SWIG_fail
;
11898 resultobj
= SWIG_FromInt((int)result
);
11905 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11906 PyObject
*resultobj
;
11907 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11909 PyObject
* obj0
= 0 ;
11910 char *kwnames
[] = {
11911 (char *) "self", NULL
11914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
11915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11919 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
11921 wxPyEndAllowThreads(__tstate
);
11922 if (PyErr_Occurred()) SWIG_fail
;
11926 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11928 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11937 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11938 PyObject
*resultobj
;
11939 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11940 wxString
*arg2
= 0 ;
11942 bool temp2
= False
;
11943 PyObject
* obj0
= 0 ;
11944 PyObject
* obj1
= 0 ;
11945 char *kwnames
[] = {
11946 (char *) "self",(char *) "s", NULL
11949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11953 arg2
= wxString_in_helper(obj1
);
11954 if (arg2
== NULL
) SWIG_fail
;
11958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11959 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
11961 wxPyEndAllowThreads(__tstate
);
11962 if (PyErr_Occurred()) SWIG_fail
;
11965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11981 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11982 PyObject
*resultobj
;
11983 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11985 PyObject
* obj0
= 0 ;
11986 char *kwnames
[] = {
11987 (char *) "self", NULL
11990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
11991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11995 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
11997 wxPyEndAllowThreads(__tstate
);
11998 if (PyErr_Occurred()) SWIG_fail
;
12000 resultobj
= SWIG_FromInt((int)result
);
12007 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12008 PyObject
*resultobj
;
12009 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12010 wxString
*arg2
= 0 ;
12012 bool temp2
= False
;
12013 PyObject
* obj0
= 0 ;
12014 PyObject
* obj1
= 0 ;
12015 char *kwnames
[] = {
12016 (char *) "self",(char *) "s", NULL
12019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
12020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12023 arg2
= wxString_in_helper(obj1
);
12024 if (arg2
== NULL
) SWIG_fail
;
12028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12029 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
12031 wxPyEndAllowThreads(__tstate
);
12032 if (PyErr_Occurred()) SWIG_fail
;
12034 resultobj
= SWIG_FromInt((int)result
);
12049 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12050 PyObject
*resultobj
;
12051 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12054 PyObject
* obj0
= 0 ;
12055 PyObject
* obj1
= 0 ;
12056 char *kwnames
[] = {
12057 (char *) "self",(char *) "n", NULL
12060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12063 arg2
= (int) SWIG_AsInt(obj1
);
12064 if (PyErr_Occurred()) SWIG_fail
;
12066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12067 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
12069 wxPyEndAllowThreads(__tstate
);
12070 if (PyErr_Occurred()) SWIG_fail
;
12074 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12076 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12085 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12086 PyObject
*resultobj
;
12087 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12089 wxString
*arg3
= 0 ;
12090 bool temp3
= False
;
12091 PyObject
* obj0
= 0 ;
12092 PyObject
* obj1
= 0 ;
12093 PyObject
* obj2
= 0 ;
12094 char *kwnames
[] = {
12095 (char *) "self",(char *) "n",(char *) "label", NULL
12098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12101 arg2
= (int) SWIG_AsInt(obj1
);
12102 if (PyErr_Occurred()) SWIG_fail
;
12104 arg3
= wxString_in_helper(obj2
);
12105 if (arg3
== NULL
) SWIG_fail
;
12109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12110 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
12112 wxPyEndAllowThreads(__tstate
);
12113 if (PyErr_Occurred()) SWIG_fail
;
12115 Py_INCREF(Py_None
); resultobj
= Py_None
;
12130 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12131 PyObject
*resultobj
;
12132 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12134 bool arg3
= (bool) True
;
12135 PyObject
* obj0
= 0 ;
12136 PyObject
* obj1
= 0 ;
12137 PyObject
* obj2
= 0 ;
12138 char *kwnames
[] = {
12139 (char *) "self",(char *) "n",(char *) "enable", NULL
12142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12145 arg2
= (int) SWIG_AsInt(obj1
);
12146 if (PyErr_Occurred()) SWIG_fail
;
12148 arg3
= (bool) SWIG_AsBool(obj2
);
12149 if (PyErr_Occurred()) SWIG_fail
;
12152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12153 (arg1
)->Enable(arg2
,arg3
);
12155 wxPyEndAllowThreads(__tstate
);
12156 if (PyErr_Occurred()) SWIG_fail
;
12158 Py_INCREF(Py_None
); resultobj
= Py_None
;
12165 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12166 PyObject
*resultobj
;
12167 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12169 bool arg3
= (bool) True
;
12170 PyObject
* obj0
= 0 ;
12171 PyObject
* obj1
= 0 ;
12172 PyObject
* obj2
= 0 ;
12173 char *kwnames
[] = {
12174 (char *) "self",(char *) "n",(char *) "show", NULL
12177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12180 arg2
= (int) SWIG_AsInt(obj1
);
12181 if (PyErr_Occurred()) SWIG_fail
;
12183 arg3
= (bool) SWIG_AsBool(obj2
);
12184 if (PyErr_Occurred()) SWIG_fail
;
12187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12188 (arg1
)->Show(arg2
,arg3
);
12190 wxPyEndAllowThreads(__tstate
);
12191 if (PyErr_Occurred()) SWIG_fail
;
12193 Py_INCREF(Py_None
); resultobj
= Py_None
;
12200 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12201 PyObject
*resultobj
;
12202 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12204 PyObject
* obj0
= 0 ;
12205 char *kwnames
[] = {
12206 (char *) "self", NULL
12209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
12210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12214 result
= (int)wxRadioBox_GetColumnCount((wxRadioBox
const *)arg1
);
12216 wxPyEndAllowThreads(__tstate
);
12217 if (PyErr_Occurred()) SWIG_fail
;
12219 resultobj
= SWIG_FromInt((int)result
);
12226 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12227 PyObject
*resultobj
;
12228 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12230 PyObject
* obj0
= 0 ;
12231 char *kwnames
[] = {
12232 (char *) "self", NULL
12235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
12236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12240 result
= (int)wxRadioBox_GetRowCount((wxRadioBox
const *)arg1
);
12242 wxPyEndAllowThreads(__tstate
);
12243 if (PyErr_Occurred()) SWIG_fail
;
12245 resultobj
= SWIG_FromInt((int)result
);
12252 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12253 PyObject
*resultobj
;
12254 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12259 PyObject
* obj0
= 0 ;
12260 PyObject
* obj1
= 0 ;
12261 PyObject
* obj2
= 0 ;
12262 PyObject
* obj3
= 0 ;
12263 char *kwnames
[] = {
12264 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
12267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12270 arg2
= (int) SWIG_AsInt(obj1
);
12271 if (PyErr_Occurred()) SWIG_fail
;
12272 arg3
= (wxDirection
) SWIG_AsInt(obj2
);
12273 if (PyErr_Occurred()) SWIG_fail
;
12274 arg4
= (long) SWIG_AsLong(obj3
);
12275 if (PyErr_Occurred()) SWIG_fail
;
12277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12278 result
= (int)wxRadioBox_GetNextItem((wxRadioBox
const *)arg1
,arg2
,(wxDirection
)arg3
,arg4
);
12280 wxPyEndAllowThreads(__tstate
);
12281 if (PyErr_Occurred()) SWIG_fail
;
12283 resultobj
= SWIG_FromInt((int)result
);
12290 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12291 PyObject
*resultobj
;
12292 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12293 wxVisualAttributes result
;
12294 PyObject
* obj0
= 0 ;
12295 char *kwnames
[] = {
12296 (char *) "variant", NULL
12299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12301 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
12302 if (PyErr_Occurred()) SWIG_fail
;
12305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12306 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12308 wxPyEndAllowThreads(__tstate
);
12309 if (PyErr_Occurred()) SWIG_fail
;
12312 wxVisualAttributes
* resultptr
;
12313 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12314 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12322 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
12324 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12325 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
12327 return Py_BuildValue((char *)"");
12329 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12330 PyObject
*resultobj
;
12331 wxWindow
*arg1
= (wxWindow
*) 0 ;
12333 wxString
*arg3
= 0 ;
12334 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12335 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12336 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12337 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12338 long arg6
= (long) 0 ;
12339 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12340 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12341 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
12342 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12343 wxRadioButton
*result
;
12344 bool temp3
= False
;
12347 bool temp8
= False
;
12348 PyObject
* obj0
= 0 ;
12349 PyObject
* obj1
= 0 ;
12350 PyObject
* obj2
= 0 ;
12351 PyObject
* obj3
= 0 ;
12352 PyObject
* obj4
= 0 ;
12353 PyObject
* obj5
= 0 ;
12354 PyObject
* obj6
= 0 ;
12355 PyObject
* obj7
= 0 ;
12356 char *kwnames
[] = {
12357 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12363 arg2
= (int) SWIG_AsInt(obj1
);
12364 if (PyErr_Occurred()) SWIG_fail
;
12366 arg3
= wxString_in_helper(obj2
);
12367 if (arg3
== NULL
) SWIG_fail
;
12373 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12379 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12383 arg6
= (long) SWIG_AsLong(obj5
);
12384 if (PyErr_Occurred()) SWIG_fail
;
12387 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
12388 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12390 if (arg7
== NULL
) {
12391 PyErr_SetString(PyExc_TypeError
,"null reference");
12397 arg8
= wxString_in_helper(obj7
);
12398 if (arg8
== NULL
) SWIG_fail
;
12403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12404 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12406 wxPyEndAllowThreads(__tstate
);
12407 if (PyErr_Occurred()) SWIG_fail
;
12409 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12432 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12433 PyObject
*resultobj
;
12434 wxRadioButton
*result
;
12435 char *kwnames
[] = {
12439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
12441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12442 result
= (wxRadioButton
*)new wxRadioButton();
12444 wxPyEndAllowThreads(__tstate
);
12445 if (PyErr_Occurred()) SWIG_fail
;
12447 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12454 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12455 PyObject
*resultobj
;
12456 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12457 wxWindow
*arg2
= (wxWindow
*) 0 ;
12459 wxString
*arg4
= 0 ;
12460 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12461 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12462 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12463 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12464 long arg7
= (long) 0 ;
12465 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
12466 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
12467 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
12468 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
12470 bool temp4
= False
;
12473 bool temp9
= False
;
12474 PyObject
* obj0
= 0 ;
12475 PyObject
* obj1
= 0 ;
12476 PyObject
* obj2
= 0 ;
12477 PyObject
* obj3
= 0 ;
12478 PyObject
* obj4
= 0 ;
12479 PyObject
* obj5
= 0 ;
12480 PyObject
* obj6
= 0 ;
12481 PyObject
* obj7
= 0 ;
12482 PyObject
* obj8
= 0 ;
12483 char *kwnames
[] = {
12484 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
12488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12490 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12492 arg3
= (int) SWIG_AsInt(obj2
);
12493 if (PyErr_Occurred()) SWIG_fail
;
12495 arg4
= wxString_in_helper(obj3
);
12496 if (arg4
== NULL
) SWIG_fail
;
12502 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12508 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12512 arg7
= (long) SWIG_AsLong(obj6
);
12513 if (PyErr_Occurred()) SWIG_fail
;
12516 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
12517 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12519 if (arg8
== NULL
) {
12520 PyErr_SetString(PyExc_TypeError
,"null reference");
12526 arg9
= wxString_in_helper(obj8
);
12527 if (arg9
== NULL
) SWIG_fail
;
12532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12533 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
12535 wxPyEndAllowThreads(__tstate
);
12536 if (PyErr_Occurred()) SWIG_fail
;
12539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12563 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12564 PyObject
*resultobj
;
12565 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12567 PyObject
* obj0
= 0 ;
12568 char *kwnames
[] = {
12569 (char *) "self", NULL
12572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
12573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12577 result
= (bool)(arg1
)->GetValue();
12579 wxPyEndAllowThreads(__tstate
);
12580 if (PyErr_Occurred()) SWIG_fail
;
12583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12591 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12592 PyObject
*resultobj
;
12593 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12595 PyObject
* obj0
= 0 ;
12596 PyObject
* obj1
= 0 ;
12597 char *kwnames
[] = {
12598 (char *) "self",(char *) "value", NULL
12601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12604 arg2
= (bool) SWIG_AsBool(obj1
);
12605 if (PyErr_Occurred()) SWIG_fail
;
12607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12608 (arg1
)->SetValue(arg2
);
12610 wxPyEndAllowThreads(__tstate
);
12611 if (PyErr_Occurred()) SWIG_fail
;
12613 Py_INCREF(Py_None
); resultobj
= Py_None
;
12620 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12621 PyObject
*resultobj
;
12622 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12623 wxVisualAttributes result
;
12624 PyObject
* obj0
= 0 ;
12625 char *kwnames
[] = {
12626 (char *) "variant", NULL
12629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12631 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
12632 if (PyErr_Occurred()) SWIG_fail
;
12635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12636 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12638 wxPyEndAllowThreads(__tstate
);
12639 if (PyErr_Occurred()) SWIG_fail
;
12642 wxVisualAttributes
* resultptr
;
12643 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12644 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12652 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
12654 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12655 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
12657 return Py_BuildValue((char *)"");
12659 static int _wrap_SliderNameStr_set(PyObject
*_val
) {
12660 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
12665 static PyObject
*_wrap_SliderNameStr_get() {
12670 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12672 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12679 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12680 PyObject
*resultobj
;
12681 wxWindow
*arg1
= (wxWindow
*) 0 ;
12686 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12687 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12688 wxSize
const &arg7_defvalue
= wxDefaultSize
;
12689 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
12690 long arg8
= (long) wxSL_HORIZONTAL
;
12691 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
12692 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
12693 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
12694 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12698 bool temp10
= False
;
12699 PyObject
* obj0
= 0 ;
12700 PyObject
* obj1
= 0 ;
12701 PyObject
* obj2
= 0 ;
12702 PyObject
* obj3
= 0 ;
12703 PyObject
* obj4
= 0 ;
12704 PyObject
* obj5
= 0 ;
12705 PyObject
* obj6
= 0 ;
12706 PyObject
* obj7
= 0 ;
12707 PyObject
* obj8
= 0 ;
12708 PyObject
* obj9
= 0 ;
12709 char *kwnames
[] = {
12710 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12716 arg2
= (int) SWIG_AsInt(obj1
);
12717 if (PyErr_Occurred()) SWIG_fail
;
12718 arg3
= (int) SWIG_AsInt(obj2
);
12719 if (PyErr_Occurred()) SWIG_fail
;
12720 arg4
= (int) SWIG_AsInt(obj3
);
12721 if (PyErr_Occurred()) SWIG_fail
;
12722 arg5
= (int) SWIG_AsInt(obj4
);
12723 if (PyErr_Occurred()) SWIG_fail
;
12727 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12733 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
12737 arg8
= (long) SWIG_AsLong(obj7
);
12738 if (PyErr_Occurred()) SWIG_fail
;
12741 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
12742 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12744 if (arg9
== NULL
) {
12745 PyErr_SetString(PyExc_TypeError
,"null reference");
12751 arg10
= wxString_in_helper(obj9
);
12752 if (arg10
== NULL
) SWIG_fail
;
12757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12758 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
12760 wxPyEndAllowThreads(__tstate
);
12761 if (PyErr_Occurred()) SWIG_fail
;
12763 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12778 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12779 PyObject
*resultobj
;
12781 char *kwnames
[] = {
12785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
12787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12788 result
= (wxSlider
*)new wxSlider();
12790 wxPyEndAllowThreads(__tstate
);
12791 if (PyErr_Occurred()) SWIG_fail
;
12793 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12800 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12801 PyObject
*resultobj
;
12802 wxSlider
*arg1
= (wxSlider
*) 0 ;
12803 wxWindow
*arg2
= (wxWindow
*) 0 ;
12808 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12809 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12810 wxSize
const &arg8_defvalue
= wxDefaultSize
;
12811 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
12812 long arg9
= (long) wxSL_HORIZONTAL
;
12813 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
12814 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
12815 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
12816 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12820 bool temp11
= False
;
12821 PyObject
* obj0
= 0 ;
12822 PyObject
* obj1
= 0 ;
12823 PyObject
* obj2
= 0 ;
12824 PyObject
* obj3
= 0 ;
12825 PyObject
* obj4
= 0 ;
12826 PyObject
* obj5
= 0 ;
12827 PyObject
* obj6
= 0 ;
12828 PyObject
* obj7
= 0 ;
12829 PyObject
* obj8
= 0 ;
12830 PyObject
* obj9
= 0 ;
12831 PyObject
* obj10
= 0 ;
12832 char *kwnames
[] = {
12833 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12839 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12841 arg3
= (int) SWIG_AsInt(obj2
);
12842 if (PyErr_Occurred()) SWIG_fail
;
12843 arg4
= (int) SWIG_AsInt(obj3
);
12844 if (PyErr_Occurred()) SWIG_fail
;
12845 arg5
= (int) SWIG_AsInt(obj4
);
12846 if (PyErr_Occurred()) SWIG_fail
;
12847 arg6
= (int) SWIG_AsInt(obj5
);
12848 if (PyErr_Occurred()) SWIG_fail
;
12852 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12858 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
12862 arg9
= (long) SWIG_AsLong(obj8
);
12863 if (PyErr_Occurred()) SWIG_fail
;
12866 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
12867 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12869 if (arg10
== NULL
) {
12870 PyErr_SetString(PyExc_TypeError
,"null reference");
12876 arg11
= wxString_in_helper(obj10
);
12877 if (arg11
== NULL
) SWIG_fail
;
12882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12883 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
12885 wxPyEndAllowThreads(__tstate
);
12886 if (PyErr_Occurred()) SWIG_fail
;
12889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12905 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12906 PyObject
*resultobj
;
12907 wxSlider
*arg1
= (wxSlider
*) 0 ;
12909 PyObject
* obj0
= 0 ;
12910 char *kwnames
[] = {
12911 (char *) "self", NULL
12914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
12915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12919 result
= (int)((wxSlider
const *)arg1
)->GetValue();
12921 wxPyEndAllowThreads(__tstate
);
12922 if (PyErr_Occurred()) SWIG_fail
;
12924 resultobj
= SWIG_FromInt((int)result
);
12931 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12932 PyObject
*resultobj
;
12933 wxSlider
*arg1
= (wxSlider
*) 0 ;
12935 PyObject
* obj0
= 0 ;
12936 PyObject
* obj1
= 0 ;
12937 char *kwnames
[] = {
12938 (char *) "self",(char *) "value", NULL
12941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12944 arg2
= (int) SWIG_AsInt(obj1
);
12945 if (PyErr_Occurred()) SWIG_fail
;
12947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12948 (arg1
)->SetValue(arg2
);
12950 wxPyEndAllowThreads(__tstate
);
12951 if (PyErr_Occurred()) SWIG_fail
;
12953 Py_INCREF(Py_None
); resultobj
= Py_None
;
12960 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12961 PyObject
*resultobj
;
12962 wxSlider
*arg1
= (wxSlider
*) 0 ;
12965 PyObject
* obj0
= 0 ;
12966 PyObject
* obj1
= 0 ;
12967 PyObject
* obj2
= 0 ;
12968 char *kwnames
[] = {
12969 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
12972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12975 arg2
= (int) SWIG_AsInt(obj1
);
12976 if (PyErr_Occurred()) SWIG_fail
;
12977 arg3
= (int) SWIG_AsInt(obj2
);
12978 if (PyErr_Occurred()) SWIG_fail
;
12980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12981 (arg1
)->SetRange(arg2
,arg3
);
12983 wxPyEndAllowThreads(__tstate
);
12984 if (PyErr_Occurred()) SWIG_fail
;
12986 Py_INCREF(Py_None
); resultobj
= Py_None
;
12993 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12994 PyObject
*resultobj
;
12995 wxSlider
*arg1
= (wxSlider
*) 0 ;
12997 PyObject
* obj0
= 0 ;
12998 char *kwnames
[] = {
12999 (char *) "self", NULL
13002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
13003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13007 result
= (int)((wxSlider
const *)arg1
)->GetMin();
13009 wxPyEndAllowThreads(__tstate
);
13010 if (PyErr_Occurred()) SWIG_fail
;
13012 resultobj
= SWIG_FromInt((int)result
);
13019 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13020 PyObject
*resultobj
;
13021 wxSlider
*arg1
= (wxSlider
*) 0 ;
13023 PyObject
* obj0
= 0 ;
13024 char *kwnames
[] = {
13025 (char *) "self", NULL
13028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
13029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13033 result
= (int)((wxSlider
const *)arg1
)->GetMax();
13035 wxPyEndAllowThreads(__tstate
);
13036 if (PyErr_Occurred()) SWIG_fail
;
13038 resultobj
= SWIG_FromInt((int)result
);
13045 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13046 PyObject
*resultobj
;
13047 wxSlider
*arg1
= (wxSlider
*) 0 ;
13049 PyObject
* obj0
= 0 ;
13050 PyObject
* obj1
= 0 ;
13051 char *kwnames
[] = {
13052 (char *) "self",(char *) "minValue", NULL
13055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
13056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13058 arg2
= (int) SWIG_AsInt(obj1
);
13059 if (PyErr_Occurred()) SWIG_fail
;
13061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13062 (arg1
)->SetMin(arg2
);
13064 wxPyEndAllowThreads(__tstate
);
13065 if (PyErr_Occurred()) SWIG_fail
;
13067 Py_INCREF(Py_None
); resultobj
= Py_None
;
13074 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13075 PyObject
*resultobj
;
13076 wxSlider
*arg1
= (wxSlider
*) 0 ;
13078 PyObject
* obj0
= 0 ;
13079 PyObject
* obj1
= 0 ;
13080 char *kwnames
[] = {
13081 (char *) "self",(char *) "maxValue", NULL
13084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
13085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13087 arg2
= (int) SWIG_AsInt(obj1
);
13088 if (PyErr_Occurred()) SWIG_fail
;
13090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13091 (arg1
)->SetMax(arg2
);
13093 wxPyEndAllowThreads(__tstate
);
13094 if (PyErr_Occurred()) SWIG_fail
;
13096 Py_INCREF(Py_None
); resultobj
= Py_None
;
13103 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13104 PyObject
*resultobj
;
13105 wxSlider
*arg1
= (wxSlider
*) 0 ;
13107 PyObject
* obj0
= 0 ;
13108 PyObject
* obj1
= 0 ;
13109 char *kwnames
[] = {
13110 (char *) "self",(char *) "lineSize", NULL
13113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13116 arg2
= (int) SWIG_AsInt(obj1
);
13117 if (PyErr_Occurred()) SWIG_fail
;
13119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13120 (arg1
)->SetLineSize(arg2
);
13122 wxPyEndAllowThreads(__tstate
);
13123 if (PyErr_Occurred()) SWIG_fail
;
13125 Py_INCREF(Py_None
); resultobj
= Py_None
;
13132 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13133 PyObject
*resultobj
;
13134 wxSlider
*arg1
= (wxSlider
*) 0 ;
13136 PyObject
* obj0
= 0 ;
13137 PyObject
* obj1
= 0 ;
13138 char *kwnames
[] = {
13139 (char *) "self",(char *) "pageSize", NULL
13142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13145 arg2
= (int) SWIG_AsInt(obj1
);
13146 if (PyErr_Occurred()) SWIG_fail
;
13148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13149 (arg1
)->SetPageSize(arg2
);
13151 wxPyEndAllowThreads(__tstate
);
13152 if (PyErr_Occurred()) SWIG_fail
;
13154 Py_INCREF(Py_None
); resultobj
= Py_None
;
13161 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13162 PyObject
*resultobj
;
13163 wxSlider
*arg1
= (wxSlider
*) 0 ;
13165 PyObject
* obj0
= 0 ;
13166 char *kwnames
[] = {
13167 (char *) "self", NULL
13170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
13171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13175 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
13177 wxPyEndAllowThreads(__tstate
);
13178 if (PyErr_Occurred()) SWIG_fail
;
13180 resultobj
= SWIG_FromInt((int)result
);
13187 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13188 PyObject
*resultobj
;
13189 wxSlider
*arg1
= (wxSlider
*) 0 ;
13191 PyObject
* obj0
= 0 ;
13192 char *kwnames
[] = {
13193 (char *) "self", NULL
13196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
13197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13201 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
13203 wxPyEndAllowThreads(__tstate
);
13204 if (PyErr_Occurred()) SWIG_fail
;
13206 resultobj
= SWIG_FromInt((int)result
);
13213 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13214 PyObject
*resultobj
;
13215 wxSlider
*arg1
= (wxSlider
*) 0 ;
13217 PyObject
* obj0
= 0 ;
13218 PyObject
* obj1
= 0 ;
13219 char *kwnames
[] = {
13220 (char *) "self",(char *) "lenPixels", NULL
13223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
13224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13226 arg2
= (int) SWIG_AsInt(obj1
);
13227 if (PyErr_Occurred()) SWIG_fail
;
13229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13230 (arg1
)->SetThumbLength(arg2
);
13232 wxPyEndAllowThreads(__tstate
);
13233 if (PyErr_Occurred()) SWIG_fail
;
13235 Py_INCREF(Py_None
); resultobj
= Py_None
;
13242 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13243 PyObject
*resultobj
;
13244 wxSlider
*arg1
= (wxSlider
*) 0 ;
13246 PyObject
* obj0
= 0 ;
13247 char *kwnames
[] = {
13248 (char *) "self", NULL
13251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
13252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13256 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
13258 wxPyEndAllowThreads(__tstate
);
13259 if (PyErr_Occurred()) SWIG_fail
;
13261 resultobj
= SWIG_FromInt((int)result
);
13268 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13269 PyObject
*resultobj
;
13270 wxSlider
*arg1
= (wxSlider
*) 0 ;
13272 int arg3
= (int) 1 ;
13273 PyObject
* obj0
= 0 ;
13274 PyObject
* obj1
= 0 ;
13275 PyObject
* obj2
= 0 ;
13276 char *kwnames
[] = {
13277 (char *) "self",(char *) "n",(char *) "pos", NULL
13280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13283 arg2
= (int) SWIG_AsInt(obj1
);
13284 if (PyErr_Occurred()) SWIG_fail
;
13286 arg3
= (int) SWIG_AsInt(obj2
);
13287 if (PyErr_Occurred()) SWIG_fail
;
13290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13291 (arg1
)->SetTickFreq(arg2
,arg3
);
13293 wxPyEndAllowThreads(__tstate
);
13294 if (PyErr_Occurred()) SWIG_fail
;
13296 Py_INCREF(Py_None
); resultobj
= Py_None
;
13303 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13304 PyObject
*resultobj
;
13305 wxSlider
*arg1
= (wxSlider
*) 0 ;
13307 PyObject
* obj0
= 0 ;
13308 char *kwnames
[] = {
13309 (char *) "self", NULL
13312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
13313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13317 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
13319 wxPyEndAllowThreads(__tstate
);
13320 if (PyErr_Occurred()) SWIG_fail
;
13322 resultobj
= SWIG_FromInt((int)result
);
13329 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13330 PyObject
*resultobj
;
13331 wxSlider
*arg1
= (wxSlider
*) 0 ;
13332 PyObject
* obj0
= 0 ;
13333 char *kwnames
[] = {
13334 (char *) "self", NULL
13337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
13338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13342 (arg1
)->ClearTicks();
13344 wxPyEndAllowThreads(__tstate
);
13345 if (PyErr_Occurred()) SWIG_fail
;
13347 Py_INCREF(Py_None
); resultobj
= Py_None
;
13354 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13355 PyObject
*resultobj
;
13356 wxSlider
*arg1
= (wxSlider
*) 0 ;
13358 PyObject
* obj0
= 0 ;
13359 PyObject
* obj1
= 0 ;
13360 char *kwnames
[] = {
13361 (char *) "self",(char *) "tickPos", NULL
13364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
13365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13367 arg2
= (int) SWIG_AsInt(obj1
);
13368 if (PyErr_Occurred()) SWIG_fail
;
13370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13371 (arg1
)->SetTick(arg2
);
13373 wxPyEndAllowThreads(__tstate
);
13374 if (PyErr_Occurred()) SWIG_fail
;
13376 Py_INCREF(Py_None
); resultobj
= Py_None
;
13383 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13384 PyObject
*resultobj
;
13385 wxSlider
*arg1
= (wxSlider
*) 0 ;
13386 PyObject
* obj0
= 0 ;
13387 char *kwnames
[] = {
13388 (char *) "self", NULL
13391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
13392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13396 (arg1
)->ClearSel();
13398 wxPyEndAllowThreads(__tstate
);
13399 if (PyErr_Occurred()) SWIG_fail
;
13401 Py_INCREF(Py_None
); resultobj
= Py_None
;
13408 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13409 PyObject
*resultobj
;
13410 wxSlider
*arg1
= (wxSlider
*) 0 ;
13412 PyObject
* obj0
= 0 ;
13413 char *kwnames
[] = {
13414 (char *) "self", NULL
13417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
13418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13422 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
13424 wxPyEndAllowThreads(__tstate
);
13425 if (PyErr_Occurred()) SWIG_fail
;
13427 resultobj
= SWIG_FromInt((int)result
);
13434 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13435 PyObject
*resultobj
;
13436 wxSlider
*arg1
= (wxSlider
*) 0 ;
13438 PyObject
* obj0
= 0 ;
13439 char *kwnames
[] = {
13440 (char *) "self", NULL
13443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
13444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13448 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
13450 wxPyEndAllowThreads(__tstate
);
13451 if (PyErr_Occurred()) SWIG_fail
;
13453 resultobj
= SWIG_FromInt((int)result
);
13460 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13461 PyObject
*resultobj
;
13462 wxSlider
*arg1
= (wxSlider
*) 0 ;
13465 PyObject
* obj0
= 0 ;
13466 PyObject
* obj1
= 0 ;
13467 PyObject
* obj2
= 0 ;
13468 char *kwnames
[] = {
13469 (char *) "self",(char *) "min",(char *) "max", NULL
13472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13475 arg2
= (int) SWIG_AsInt(obj1
);
13476 if (PyErr_Occurred()) SWIG_fail
;
13477 arg3
= (int) SWIG_AsInt(obj2
);
13478 if (PyErr_Occurred()) SWIG_fail
;
13480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13481 (arg1
)->SetSelection(arg2
,arg3
);
13483 wxPyEndAllowThreads(__tstate
);
13484 if (PyErr_Occurred()) SWIG_fail
;
13486 Py_INCREF(Py_None
); resultobj
= Py_None
;
13493 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13494 PyObject
*resultobj
;
13495 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
13496 wxVisualAttributes result
;
13497 PyObject
* obj0
= 0 ;
13498 char *kwnames
[] = {
13499 (char *) "variant", NULL
13502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13504 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
13505 if (PyErr_Occurred()) SWIG_fail
;
13508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13509 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13511 wxPyEndAllowThreads(__tstate
);
13512 if (PyErr_Occurred()) SWIG_fail
;
13515 wxVisualAttributes
* resultptr
;
13516 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
13517 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13525 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
13527 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13528 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
13530 return Py_BuildValue((char *)"");
13532 static int _wrap_ToggleButtonNameStr_set(PyObject
*_val
) {
13533 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
13538 static PyObject
*_wrap_ToggleButtonNameStr_get() {
13543 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13545 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13552 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13553 PyObject
*resultobj
;
13554 wxWindow
*arg1
= (wxWindow
*) 0 ;
13556 wxString
*arg3
= 0 ;
13557 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13558 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13559 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13560 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13561 long arg6
= (long) 0 ;
13562 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
13563 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
13564 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
13565 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13566 wxToggleButton
*result
;
13567 bool temp3
= False
;
13570 bool temp8
= False
;
13571 PyObject
* obj0
= 0 ;
13572 PyObject
* obj1
= 0 ;
13573 PyObject
* obj2
= 0 ;
13574 PyObject
* obj3
= 0 ;
13575 PyObject
* obj4
= 0 ;
13576 PyObject
* obj5
= 0 ;
13577 PyObject
* obj6
= 0 ;
13578 PyObject
* obj7
= 0 ;
13579 char *kwnames
[] = {
13580 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
13584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13586 arg2
= (int) SWIG_AsInt(obj1
);
13587 if (PyErr_Occurred()) SWIG_fail
;
13589 arg3
= wxString_in_helper(obj2
);
13590 if (arg3
== NULL
) SWIG_fail
;
13596 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13602 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13606 arg6
= (long) SWIG_AsLong(obj5
);
13607 if (PyErr_Occurred()) SWIG_fail
;
13610 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
13611 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13613 if (arg7
== NULL
) {
13614 PyErr_SetString(PyExc_TypeError
,"null reference");
13620 arg8
= wxString_in_helper(obj7
);
13621 if (arg8
== NULL
) SWIG_fail
;
13626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13627 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
13629 wxPyEndAllowThreads(__tstate
);
13630 if (PyErr_Occurred()) SWIG_fail
;
13632 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13655 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13656 PyObject
*resultobj
;
13657 wxToggleButton
*result
;
13658 char *kwnames
[] = {
13662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
13664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13665 result
= (wxToggleButton
*)new wxToggleButton();
13667 wxPyEndAllowThreads(__tstate
);
13668 if (PyErr_Occurred()) SWIG_fail
;
13670 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13677 static PyObject
*_wrap_ToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13678 PyObject
*resultobj
;
13679 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13680 wxWindow
*arg2
= (wxWindow
*) 0 ;
13682 wxString
*arg4
= 0 ;
13683 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13684 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13685 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13686 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13687 long arg7
= (long) 0 ;
13688 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
13689 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
13690 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
13691 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
13693 bool temp4
= False
;
13696 bool temp9
= False
;
13697 PyObject
* obj0
= 0 ;
13698 PyObject
* obj1
= 0 ;
13699 PyObject
* obj2
= 0 ;
13700 PyObject
* obj3
= 0 ;
13701 PyObject
* obj4
= 0 ;
13702 PyObject
* obj5
= 0 ;
13703 PyObject
* obj6
= 0 ;
13704 PyObject
* obj7
= 0 ;
13705 PyObject
* obj8
= 0 ;
13706 char *kwnames
[] = {
13707 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
13711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13713 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13715 arg3
= (int) SWIG_AsInt(obj2
);
13716 if (PyErr_Occurred()) SWIG_fail
;
13718 arg4
= wxString_in_helper(obj3
);
13719 if (arg4
== NULL
) SWIG_fail
;
13725 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13731 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13735 arg7
= (long) SWIG_AsLong(obj6
);
13736 if (PyErr_Occurred()) SWIG_fail
;
13739 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
13740 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13742 if (arg8
== NULL
) {
13743 PyErr_SetString(PyExc_TypeError
,"null reference");
13749 arg9
= wxString_in_helper(obj8
);
13750 if (arg9
== NULL
) SWIG_fail
;
13755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13756 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
13758 wxPyEndAllowThreads(__tstate
);
13759 if (PyErr_Occurred()) SWIG_fail
;
13762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13786 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13787 PyObject
*resultobj
;
13788 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13790 PyObject
* obj0
= 0 ;
13791 PyObject
* obj1
= 0 ;
13792 char *kwnames
[] = {
13793 (char *) "self",(char *) "value", NULL
13796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13799 arg2
= (bool) SWIG_AsBool(obj1
);
13800 if (PyErr_Occurred()) SWIG_fail
;
13802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13803 (arg1
)->SetValue(arg2
);
13805 wxPyEndAllowThreads(__tstate
);
13806 if (PyErr_Occurred()) SWIG_fail
;
13808 Py_INCREF(Py_None
); resultobj
= Py_None
;
13815 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13816 PyObject
*resultobj
;
13817 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13819 PyObject
* obj0
= 0 ;
13820 char *kwnames
[] = {
13821 (char *) "self", NULL
13824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
13825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13829 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
13831 wxPyEndAllowThreads(__tstate
);
13832 if (PyErr_Occurred()) SWIG_fail
;
13835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13843 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13844 PyObject
*resultobj
;
13845 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13846 wxString
*arg2
= 0 ;
13847 bool temp2
= False
;
13848 PyObject
* obj0
= 0 ;
13849 PyObject
* obj1
= 0 ;
13850 char *kwnames
[] = {
13851 (char *) "self",(char *) "label", NULL
13854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
13855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13858 arg2
= wxString_in_helper(obj1
);
13859 if (arg2
== NULL
) SWIG_fail
;
13863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13864 (arg1
)->SetLabel((wxString
const &)*arg2
);
13866 wxPyEndAllowThreads(__tstate
);
13867 if (PyErr_Occurred()) SWIG_fail
;
13869 Py_INCREF(Py_None
); resultobj
= Py_None
;
13884 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13885 PyObject
*resultobj
;
13886 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
13887 wxVisualAttributes result
;
13888 PyObject
* obj0
= 0 ;
13889 char *kwnames
[] = {
13890 (char *) "variant", NULL
13893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13895 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
13896 if (PyErr_Occurred()) SWIG_fail
;
13899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13900 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13902 wxPyEndAllowThreads(__tstate
);
13903 if (PyErr_Occurred()) SWIG_fail
;
13906 wxVisualAttributes
* resultptr
;
13907 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
13908 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13916 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
13918 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13919 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
13921 return Py_BuildValue((char *)"");
13923 static int _wrap_NOTEBOOK_NAME_set(PyObject
*_val
) {
13924 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
13929 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
13934 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13936 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13943 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13944 PyObject
*resultobj
;
13945 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13947 PyObject
* obj0
= 0 ;
13948 char *kwnames
[] = {
13949 (char *) "self", NULL
13952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
13953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13957 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
13959 wxPyEndAllowThreads(__tstate
);
13960 if (PyErr_Occurred()) SWIG_fail
;
13962 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
13969 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13970 PyObject
*resultobj
;
13971 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13974 PyObject
* obj0
= 0 ;
13975 PyObject
* obj1
= 0 ;
13976 char *kwnames
[] = {
13977 (char *) "self",(char *) "n", NULL
13980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13983 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13984 if (PyErr_Occurred()) SWIG_fail
;
13986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13987 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
13989 wxPyEndAllowThreads(__tstate
);
13990 if (PyErr_Occurred()) SWIG_fail
;
13993 resultobj
= wxPyMake_wxObject(result
);
14001 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14002 PyObject
*resultobj
;
14003 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14005 PyObject
* obj0
= 0 ;
14006 char *kwnames
[] = {
14007 (char *) "self", NULL
14010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
14011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14015 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
14017 wxPyEndAllowThreads(__tstate
);
14018 if (PyErr_Occurred()) SWIG_fail
;
14020 resultobj
= SWIG_FromInt((int)result
);
14027 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14028 PyObject
*resultobj
;
14029 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14031 wxString
*arg3
= 0 ;
14033 bool temp3
= False
;
14034 PyObject
* obj0
= 0 ;
14035 PyObject
* obj1
= 0 ;
14036 PyObject
* obj2
= 0 ;
14037 char *kwnames
[] = {
14038 (char *) "self",(char *) "n",(char *) "strText", NULL
14041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14044 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14045 if (PyErr_Occurred()) SWIG_fail
;
14047 arg3
= wxString_in_helper(obj2
);
14048 if (arg3
== NULL
) SWIG_fail
;
14052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14053 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
14055 wxPyEndAllowThreads(__tstate
);
14056 if (PyErr_Occurred()) SWIG_fail
;
14059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14075 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14076 PyObject
*resultobj
;
14077 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14080 PyObject
* obj0
= 0 ;
14081 PyObject
* obj1
= 0 ;
14082 char *kwnames
[] = {
14083 (char *) "self",(char *) "n", NULL
14086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
14087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14089 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14090 if (PyErr_Occurred()) SWIG_fail
;
14092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14093 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
14095 wxPyEndAllowThreads(__tstate
);
14096 if (PyErr_Occurred()) SWIG_fail
;
14100 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14102 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14111 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14112 PyObject
*resultobj
;
14113 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14114 wxImageList
*arg2
= (wxImageList
*) 0 ;
14115 PyObject
* obj0
= 0 ;
14116 PyObject
* obj1
= 0 ;
14117 char *kwnames
[] = {
14118 (char *) "self",(char *) "imageList", NULL
14121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14124 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14128 (arg1
)->SetImageList(arg2
);
14130 wxPyEndAllowThreads(__tstate
);
14131 if (PyErr_Occurred()) SWIG_fail
;
14133 Py_INCREF(Py_None
); resultobj
= Py_None
;
14140 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14141 PyObject
*resultobj
;
14142 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14143 wxImageList
*arg2
= (wxImageList
*) 0 ;
14144 PyObject
* obj0
= 0 ;
14145 PyObject
* obj1
= 0 ;
14146 char *kwnames
[] = {
14147 (char *) "self",(char *) "imageList", NULL
14150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14153 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14154 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
14156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14157 (arg1
)->AssignImageList(arg2
);
14159 wxPyEndAllowThreads(__tstate
);
14160 if (PyErr_Occurred()) SWIG_fail
;
14162 Py_INCREF(Py_None
); resultobj
= Py_None
;
14169 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14170 PyObject
*resultobj
;
14171 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14172 wxImageList
*result
;
14173 PyObject
* obj0
= 0 ;
14174 char *kwnames
[] = {
14175 (char *) "self", NULL
14178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
14179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14183 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
14185 wxPyEndAllowThreads(__tstate
);
14186 if (PyErr_Occurred()) SWIG_fail
;
14189 resultobj
= wxPyMake_wxObject(result
);
14197 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14198 PyObject
*resultobj
;
14199 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14202 PyObject
* obj0
= 0 ;
14203 PyObject
* obj1
= 0 ;
14204 char *kwnames
[] = {
14205 (char *) "self",(char *) "n", NULL
14208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
14209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14211 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14212 if (PyErr_Occurred()) SWIG_fail
;
14214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14215 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
14217 wxPyEndAllowThreads(__tstate
);
14218 if (PyErr_Occurred()) SWIG_fail
;
14220 resultobj
= SWIG_FromInt((int)result
);
14227 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14228 PyObject
*resultobj
;
14229 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14233 PyObject
* obj0
= 0 ;
14234 PyObject
* obj1
= 0 ;
14235 PyObject
* obj2
= 0 ;
14236 char *kwnames
[] = {
14237 (char *) "self",(char *) "n",(char *) "imageId", NULL
14240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14243 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14244 if (PyErr_Occurred()) SWIG_fail
;
14245 arg3
= (int) SWIG_AsInt(obj2
);
14246 if (PyErr_Occurred()) SWIG_fail
;
14248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14249 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
14251 wxPyEndAllowThreads(__tstate
);
14252 if (PyErr_Occurred()) SWIG_fail
;
14255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14263 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14264 PyObject
*resultobj
;
14265 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14268 PyObject
* obj0
= 0 ;
14269 PyObject
* obj1
= 0 ;
14270 char *kwnames
[] = {
14271 (char *) "self",(char *) "size", NULL
14274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14279 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14283 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
14285 wxPyEndAllowThreads(__tstate
);
14286 if (PyErr_Occurred()) SWIG_fail
;
14288 Py_INCREF(Py_None
); resultobj
= Py_None
;
14295 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14296 PyObject
*resultobj
;
14297 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14301 PyObject
* obj0
= 0 ;
14302 PyObject
* obj1
= 0 ;
14303 char *kwnames
[] = {
14304 (char *) "self",(char *) "sizePage", NULL
14307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14312 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14316 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14318 wxPyEndAllowThreads(__tstate
);
14319 if (PyErr_Occurred()) SWIG_fail
;
14322 wxSize
* resultptr
;
14323 resultptr
= new wxSize((wxSize
&) result
);
14324 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14332 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14333 PyObject
*resultobj
;
14334 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14337 PyObject
* obj0
= 0 ;
14338 PyObject
* obj1
= 0 ;
14339 char *kwnames
[] = {
14340 (char *) "self",(char *) "n", NULL
14343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14346 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14347 if (PyErr_Occurred()) SWIG_fail
;
14349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14350 result
= (bool)(arg1
)->DeletePage(arg2
);
14352 wxPyEndAllowThreads(__tstate
);
14353 if (PyErr_Occurred()) SWIG_fail
;
14356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14364 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14365 PyObject
*resultobj
;
14366 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14369 PyObject
* obj0
= 0 ;
14370 PyObject
* obj1
= 0 ;
14371 char *kwnames
[] = {
14372 (char *) "self",(char *) "n", NULL
14375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14378 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14379 if (PyErr_Occurred()) SWIG_fail
;
14381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14382 result
= (bool)(arg1
)->RemovePage(arg2
);
14384 wxPyEndAllowThreads(__tstate
);
14385 if (PyErr_Occurred()) SWIG_fail
;
14388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14396 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14397 PyObject
*resultobj
;
14398 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14400 PyObject
* obj0
= 0 ;
14401 char *kwnames
[] = {
14402 (char *) "self", NULL
14405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
14406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14410 result
= (bool)(arg1
)->DeleteAllPages();
14412 wxPyEndAllowThreads(__tstate
);
14413 if (PyErr_Occurred()) SWIG_fail
;
14416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14424 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14425 PyObject
*resultobj
;
14426 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14427 wxWindow
*arg2
= (wxWindow
*) 0 ;
14428 wxString
*arg3
= 0 ;
14429 bool arg4
= (bool) False
;
14430 int arg5
= (int) -1 ;
14432 bool temp3
= False
;
14433 PyObject
* obj0
= 0 ;
14434 PyObject
* obj1
= 0 ;
14435 PyObject
* obj2
= 0 ;
14436 PyObject
* obj3
= 0 ;
14437 PyObject
* obj4
= 0 ;
14438 char *kwnames
[] = {
14439 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14445 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14448 arg3
= wxString_in_helper(obj2
);
14449 if (arg3
== NULL
) SWIG_fail
;
14453 arg4
= (bool) SWIG_AsBool(obj3
);
14454 if (PyErr_Occurred()) SWIG_fail
;
14457 arg5
= (int) SWIG_AsInt(obj4
);
14458 if (PyErr_Occurred()) SWIG_fail
;
14461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14462 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
14464 wxPyEndAllowThreads(__tstate
);
14465 if (PyErr_Occurred()) SWIG_fail
;
14468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14484 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14485 PyObject
*resultobj
;
14486 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14488 wxWindow
*arg3
= (wxWindow
*) 0 ;
14489 wxString
*arg4
= 0 ;
14490 bool arg5
= (bool) False
;
14491 int arg6
= (int) -1 ;
14493 bool temp4
= False
;
14494 PyObject
* obj0
= 0 ;
14495 PyObject
* obj1
= 0 ;
14496 PyObject
* obj2
= 0 ;
14497 PyObject
* obj3
= 0 ;
14498 PyObject
* obj4
= 0 ;
14499 PyObject
* obj5
= 0 ;
14500 char *kwnames
[] = {
14501 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14507 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14508 if (PyErr_Occurred()) SWIG_fail
;
14509 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
14510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14512 arg4
= wxString_in_helper(obj3
);
14513 if (arg4
== NULL
) SWIG_fail
;
14517 arg5
= (bool) SWIG_AsBool(obj4
);
14518 if (PyErr_Occurred()) SWIG_fail
;
14521 arg6
= (int) SWIG_AsInt(obj5
);
14522 if (PyErr_Occurred()) SWIG_fail
;
14525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14526 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
14528 wxPyEndAllowThreads(__tstate
);
14529 if (PyErr_Occurred()) SWIG_fail
;
14532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14548 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14549 PyObject
*resultobj
;
14550 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14553 PyObject
* obj0
= 0 ;
14554 PyObject
* obj1
= 0 ;
14555 char *kwnames
[] = {
14556 (char *) "self",(char *) "n", NULL
14559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14562 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14563 if (PyErr_Occurred()) SWIG_fail
;
14565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14566 result
= (int)(arg1
)->SetSelection(arg2
);
14568 wxPyEndAllowThreads(__tstate
);
14569 if (PyErr_Occurred()) SWIG_fail
;
14571 resultobj
= SWIG_FromInt((int)result
);
14578 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14579 PyObject
*resultobj
;
14580 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14581 bool arg2
= (bool) True
;
14582 PyObject
* obj0
= 0 ;
14583 PyObject
* obj1
= 0 ;
14584 char *kwnames
[] = {
14585 (char *) "self",(char *) "forward", NULL
14588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14592 arg2
= (bool) SWIG_AsBool(obj1
);
14593 if (PyErr_Occurred()) SWIG_fail
;
14596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14597 (arg1
)->AdvanceSelection(arg2
);
14599 wxPyEndAllowThreads(__tstate
);
14600 if (PyErr_Occurred()) SWIG_fail
;
14602 Py_INCREF(Py_None
); resultobj
= Py_None
;
14609 static PyObject
*_wrap_BookCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14610 PyObject
*resultobj
;
14611 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14612 wxVisualAttributes result
;
14613 PyObject
* obj0
= 0 ;
14614 char *kwnames
[] = {
14615 (char *) "variant", NULL
14618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14620 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
14621 if (PyErr_Occurred()) SWIG_fail
;
14624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14625 result
= wxBookCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14627 wxPyEndAllowThreads(__tstate
);
14628 if (PyErr_Occurred()) SWIG_fail
;
14631 wxVisualAttributes
* resultptr
;
14632 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14633 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14641 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
14643 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14644 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
14646 return Py_BuildValue((char *)"");
14648 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14649 PyObject
*resultobj
;
14650 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14651 int arg2
= (int) 0 ;
14652 int arg3
= (int) -1 ;
14653 int arg4
= (int) -1 ;
14654 wxBookCtrlEvent
*result
;
14655 PyObject
* obj0
= 0 ;
14656 PyObject
* obj1
= 0 ;
14657 PyObject
* obj2
= 0 ;
14658 PyObject
* obj3
= 0 ;
14659 char *kwnames
[] = {
14660 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14665 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14666 if (PyErr_Occurred()) SWIG_fail
;
14669 arg2
= (int) SWIG_AsInt(obj1
);
14670 if (PyErr_Occurred()) SWIG_fail
;
14673 arg3
= (int) SWIG_AsInt(obj2
);
14674 if (PyErr_Occurred()) SWIG_fail
;
14677 arg4
= (int) SWIG_AsInt(obj3
);
14678 if (PyErr_Occurred()) SWIG_fail
;
14681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14682 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
14684 wxPyEndAllowThreads(__tstate
);
14685 if (PyErr_Occurred()) SWIG_fail
;
14687 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlEvent
, 1);
14694 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14695 PyObject
*resultobj
;
14696 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14698 PyObject
* obj0
= 0 ;
14699 char *kwnames
[] = {
14700 (char *) "self", NULL
14703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
14704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14708 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
14710 wxPyEndAllowThreads(__tstate
);
14711 if (PyErr_Occurred()) SWIG_fail
;
14713 resultobj
= SWIG_FromInt((int)result
);
14720 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14721 PyObject
*resultobj
;
14722 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14724 PyObject
* obj0
= 0 ;
14725 PyObject
* obj1
= 0 ;
14726 char *kwnames
[] = {
14727 (char *) "self",(char *) "nSel", NULL
14730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14733 arg2
= (int) SWIG_AsInt(obj1
);
14734 if (PyErr_Occurred()) SWIG_fail
;
14736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14737 (arg1
)->SetSelection(arg2
);
14739 wxPyEndAllowThreads(__tstate
);
14740 if (PyErr_Occurred()) SWIG_fail
;
14742 Py_INCREF(Py_None
); resultobj
= Py_None
;
14749 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14750 PyObject
*resultobj
;
14751 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14753 PyObject
* obj0
= 0 ;
14754 char *kwnames
[] = {
14755 (char *) "self", NULL
14758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
14759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14763 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
14765 wxPyEndAllowThreads(__tstate
);
14766 if (PyErr_Occurred()) SWIG_fail
;
14768 resultobj
= SWIG_FromInt((int)result
);
14775 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14776 PyObject
*resultobj
;
14777 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14779 PyObject
* obj0
= 0 ;
14780 PyObject
* obj1
= 0 ;
14781 char *kwnames
[] = {
14782 (char *) "self",(char *) "nOldSel", NULL
14785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14788 arg2
= (int) SWIG_AsInt(obj1
);
14789 if (PyErr_Occurred()) SWIG_fail
;
14791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14792 (arg1
)->SetOldSelection(arg2
);
14794 wxPyEndAllowThreads(__tstate
);
14795 if (PyErr_Occurred()) SWIG_fail
;
14797 Py_INCREF(Py_None
); resultobj
= Py_None
;
14804 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14806 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14807 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
14809 return Py_BuildValue((char *)"");
14811 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14812 PyObject
*resultobj
;
14813 wxWindow
*arg1
= (wxWindow
*) 0 ;
14814 int arg2
= (int) -1 ;
14815 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14816 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14817 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14818 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14819 long arg5
= (long) 0 ;
14820 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
14821 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14822 wxNotebook
*result
;
14825 bool temp6
= False
;
14826 PyObject
* obj0
= 0 ;
14827 PyObject
* obj1
= 0 ;
14828 PyObject
* obj2
= 0 ;
14829 PyObject
* obj3
= 0 ;
14830 PyObject
* obj4
= 0 ;
14831 PyObject
* obj5
= 0 ;
14832 char *kwnames
[] = {
14833 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14840 arg2
= (int) SWIG_AsInt(obj1
);
14841 if (PyErr_Occurred()) SWIG_fail
;
14846 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14852 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14856 arg5
= (long) SWIG_AsLong(obj4
);
14857 if (PyErr_Occurred()) SWIG_fail
;
14861 arg6
= wxString_in_helper(obj5
);
14862 if (arg6
== NULL
) SWIG_fail
;
14867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14868 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14870 wxPyEndAllowThreads(__tstate
);
14871 if (PyErr_Occurred()) SWIG_fail
;
14874 resultobj
= wxPyMake_wxObject(result
);
14890 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14891 PyObject
*resultobj
;
14892 wxNotebook
*result
;
14893 char *kwnames
[] = {
14897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
14899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14900 result
= (wxNotebook
*)new wxNotebook();
14902 wxPyEndAllowThreads(__tstate
);
14903 if (PyErr_Occurred()) SWIG_fail
;
14906 resultobj
= wxPyMake_wxObject(result
);
14914 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14915 PyObject
*resultobj
;
14916 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14917 wxWindow
*arg2
= (wxWindow
*) 0 ;
14919 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14920 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14921 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14922 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14923 long arg6
= (long) 0 ;
14924 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
14925 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14929 bool temp7
= False
;
14930 PyObject
* obj0
= 0 ;
14931 PyObject
* obj1
= 0 ;
14932 PyObject
* obj2
= 0 ;
14933 PyObject
* obj3
= 0 ;
14934 PyObject
* obj4
= 0 ;
14935 PyObject
* obj5
= 0 ;
14936 PyObject
* obj6
= 0 ;
14937 char *kwnames
[] = {
14938 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14944 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14946 arg3
= (int) SWIG_AsInt(obj2
);
14947 if (PyErr_Occurred()) SWIG_fail
;
14951 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14957 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14961 arg6
= (long) SWIG_AsLong(obj5
);
14962 if (PyErr_Occurred()) SWIG_fail
;
14966 arg7
= wxString_in_helper(obj6
);
14967 if (arg7
== NULL
) SWIG_fail
;
14972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14973 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14975 wxPyEndAllowThreads(__tstate
);
14976 if (PyErr_Occurred()) SWIG_fail
;
14979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14995 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14996 PyObject
*resultobj
;
14997 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14999 PyObject
* obj0
= 0 ;
15000 char *kwnames
[] = {
15001 (char *) "self", NULL
15004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
15005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15009 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
15011 wxPyEndAllowThreads(__tstate
);
15012 if (PyErr_Occurred()) SWIG_fail
;
15014 resultobj
= SWIG_FromInt((int)result
);
15021 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15022 PyObject
*resultobj
;
15023 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15026 PyObject
* obj0
= 0 ;
15027 PyObject
* obj1
= 0 ;
15028 char *kwnames
[] = {
15029 (char *) "self",(char *) "padding", NULL
15032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
15033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15037 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15041 (arg1
)->SetPadding((wxSize
const &)*arg2
);
15043 wxPyEndAllowThreads(__tstate
);
15044 if (PyErr_Occurred()) SWIG_fail
;
15046 Py_INCREF(Py_None
); resultobj
= Py_None
;
15053 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15054 PyObject
*resultobj
;
15055 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15058 PyObject
* obj0
= 0 ;
15059 PyObject
* obj1
= 0 ;
15060 char *kwnames
[] = {
15061 (char *) "self",(char *) "sz", NULL
15064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15069 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15073 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
15075 wxPyEndAllowThreads(__tstate
);
15076 if (PyErr_Occurred()) SWIG_fail
;
15078 Py_INCREF(Py_None
); resultobj
= Py_None
;
15085 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15086 PyObject
*resultobj
;
15087 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15088 wxPoint
*arg2
= 0 ;
15089 long *arg3
= (long *) 0 ;
15093 PyObject
* obj0
= 0 ;
15094 PyObject
* obj1
= 0 ;
15095 char *kwnames
[] = {
15096 (char *) "self",(char *) "pt", NULL
15100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
15101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15105 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15109 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
15111 wxPyEndAllowThreads(__tstate
);
15112 if (PyErr_Occurred()) SWIG_fail
;
15114 resultobj
= SWIG_FromInt((int)result
);
15116 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15117 resultobj
= t_output_helper(resultobj
,o
);
15125 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15126 PyObject
*resultobj
;
15127 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15131 PyObject
* obj0
= 0 ;
15132 PyObject
* obj1
= 0 ;
15133 char *kwnames
[] = {
15134 (char *) "self",(char *) "sizePage", NULL
15137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
15138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15142 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15146 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
15148 wxPyEndAllowThreads(__tstate
);
15149 if (PyErr_Occurred()) SWIG_fail
;
15152 wxSize
* resultptr
;
15153 resultptr
= new wxSize((wxSize
&) result
);
15154 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15162 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15163 PyObject
*resultobj
;
15164 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
15165 wxVisualAttributes result
;
15166 PyObject
* obj0
= 0 ;
15167 char *kwnames
[] = {
15168 (char *) "variant", NULL
15171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15173 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
15174 if (PyErr_Occurred()) SWIG_fail
;
15177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15178 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15180 wxPyEndAllowThreads(__tstate
);
15181 if (PyErr_Occurred()) SWIG_fail
;
15184 wxVisualAttributes
* resultptr
;
15185 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
15186 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15194 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
15196 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15197 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
15199 return Py_BuildValue((char *)"");
15201 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15202 PyObject
*resultobj
;
15203 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15204 int arg2
= (int) 0 ;
15205 int arg3
= (int) -1 ;
15206 int arg4
= (int) -1 ;
15207 wxNotebookEvent
*result
;
15208 PyObject
* obj0
= 0 ;
15209 PyObject
* obj1
= 0 ;
15210 PyObject
* obj2
= 0 ;
15211 PyObject
* obj3
= 0 ;
15212 char *kwnames
[] = {
15213 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15218 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15219 if (PyErr_Occurred()) SWIG_fail
;
15222 arg2
= (int) SWIG_AsInt(obj1
);
15223 if (PyErr_Occurred()) SWIG_fail
;
15226 arg3
= (int) SWIG_AsInt(obj2
);
15227 if (PyErr_Occurred()) SWIG_fail
;
15230 arg4
= (int) SWIG_AsInt(obj3
);
15231 if (PyErr_Occurred()) SWIG_fail
;
15234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15235 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
15237 wxPyEndAllowThreads(__tstate
);
15238 if (PyErr_Occurred()) SWIG_fail
;
15240 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
15247 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15249 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15250 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
15252 return Py_BuildValue((char *)"");
15254 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15255 PyObject
*resultobj
;
15256 wxWindow
*arg1
= (wxWindow
*) 0 ;
15257 int arg2
= (int) -1 ;
15258 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15259 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15260 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15261 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15262 long arg5
= (long) 0 ;
15263 wxString
const &arg6_defvalue
= wxPyEmptyString
;
15264 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15265 wxListbook
*result
;
15268 bool temp6
= False
;
15269 PyObject
* obj0
= 0 ;
15270 PyObject
* obj1
= 0 ;
15271 PyObject
* obj2
= 0 ;
15272 PyObject
* obj3
= 0 ;
15273 PyObject
* obj4
= 0 ;
15274 PyObject
* obj5
= 0 ;
15275 char *kwnames
[] = {
15276 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15283 arg2
= (int) SWIG_AsInt(obj1
);
15284 if (PyErr_Occurred()) SWIG_fail
;
15289 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15295 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15299 arg5
= (long) SWIG_AsLong(obj4
);
15300 if (PyErr_Occurred()) SWIG_fail
;
15304 arg6
= wxString_in_helper(obj5
);
15305 if (arg6
== NULL
) SWIG_fail
;
15310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15311 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15313 wxPyEndAllowThreads(__tstate
);
15314 if (PyErr_Occurred()) SWIG_fail
;
15316 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15331 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15332 PyObject
*resultobj
;
15333 wxListbook
*result
;
15334 char *kwnames
[] = {
15338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
15340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15341 result
= (wxListbook
*)new wxListbook();
15343 wxPyEndAllowThreads(__tstate
);
15344 if (PyErr_Occurred()) SWIG_fail
;
15346 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15353 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15354 PyObject
*resultobj
;
15355 wxListbook
*arg1
= (wxListbook
*) 0 ;
15356 wxWindow
*arg2
= (wxWindow
*) 0 ;
15358 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15359 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15360 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15361 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15362 long arg6
= (long) 0 ;
15363 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15364 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15368 bool temp7
= False
;
15369 PyObject
* obj0
= 0 ;
15370 PyObject
* obj1
= 0 ;
15371 PyObject
* obj2
= 0 ;
15372 PyObject
* obj3
= 0 ;
15373 PyObject
* obj4
= 0 ;
15374 PyObject
* obj5
= 0 ;
15375 PyObject
* obj6
= 0 ;
15376 char *kwnames
[] = {
15377 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15383 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15385 arg3
= (int) SWIG_AsInt(obj2
);
15386 if (PyErr_Occurred()) SWIG_fail
;
15390 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15396 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15400 arg6
= (long) SWIG_AsLong(obj5
);
15401 if (PyErr_Occurred()) SWIG_fail
;
15405 arg7
= wxString_in_helper(obj6
);
15406 if (arg7
== NULL
) SWIG_fail
;
15411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15412 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15414 wxPyEndAllowThreads(__tstate
);
15415 if (PyErr_Occurred()) SWIG_fail
;
15418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15434 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15435 PyObject
*resultobj
;
15436 wxListbook
*arg1
= (wxListbook
*) 0 ;
15438 PyObject
* obj0
= 0 ;
15439 char *kwnames
[] = {
15440 (char *) "self", NULL
15443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
15444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15448 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
15450 wxPyEndAllowThreads(__tstate
);
15451 if (PyErr_Occurred()) SWIG_fail
;
15454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15462 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
15464 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15465 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
15467 return Py_BuildValue((char *)"");
15469 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15470 PyObject
*resultobj
;
15471 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15472 int arg2
= (int) 0 ;
15473 int arg3
= (int) -1 ;
15474 int arg4
= (int) -1 ;
15475 wxListbookEvent
*result
;
15476 PyObject
* obj0
= 0 ;
15477 PyObject
* obj1
= 0 ;
15478 PyObject
* obj2
= 0 ;
15479 PyObject
* obj3
= 0 ;
15480 char *kwnames
[] = {
15481 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15486 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15487 if (PyErr_Occurred()) SWIG_fail
;
15490 arg2
= (int) SWIG_AsInt(obj1
);
15491 if (PyErr_Occurred()) SWIG_fail
;
15494 arg3
= (int) SWIG_AsInt(obj2
);
15495 if (PyErr_Occurred()) SWIG_fail
;
15498 arg4
= (int) SWIG_AsInt(obj3
);
15499 if (PyErr_Occurred()) SWIG_fail
;
15502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15503 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
15505 wxPyEndAllowThreads(__tstate
);
15506 if (PyErr_Occurred()) SWIG_fail
;
15508 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
15515 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15517 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15518 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
15520 return Py_BuildValue((char *)"");
15522 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15523 PyObject
*resultobj
;
15524 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
15525 wxBookCtrlSizer
*result
;
15526 PyObject
* obj0
= 0 ;
15527 char *kwnames
[] = {
15528 (char *) "nb", NULL
15531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
15532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
15533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15536 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
15538 wxPyEndAllowThreads(__tstate
);
15539 if (PyErr_Occurred()) SWIG_fail
;
15541 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
15548 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15549 PyObject
*resultobj
;
15550 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15551 PyObject
* obj0
= 0 ;
15552 char *kwnames
[] = {
15553 (char *) "self", NULL
15556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15561 (arg1
)->RecalcSizes();
15563 wxPyEndAllowThreads(__tstate
);
15564 if (PyErr_Occurred()) SWIG_fail
;
15566 Py_INCREF(Py_None
); resultobj
= Py_None
;
15573 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15574 PyObject
*resultobj
;
15575 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15577 PyObject
* obj0
= 0 ;
15578 char *kwnames
[] = {
15579 (char *) "self", NULL
15582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
15583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15587 result
= (arg1
)->CalcMin();
15589 wxPyEndAllowThreads(__tstate
);
15590 if (PyErr_Occurred()) SWIG_fail
;
15593 wxSize
* resultptr
;
15594 resultptr
= new wxSize((wxSize
&) result
);
15595 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15603 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15604 PyObject
*resultobj
;
15605 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15606 wxBookCtrl
*result
;
15607 PyObject
* obj0
= 0 ;
15608 char *kwnames
[] = {
15609 (char *) "self", NULL
15612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
15613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15617 result
= (wxBookCtrl
*)(arg1
)->GetControl();
15619 wxPyEndAllowThreads(__tstate
);
15620 if (PyErr_Occurred()) SWIG_fail
;
15622 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrl
, 0);
15629 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
15631 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15632 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
15634 return Py_BuildValue((char *)"");
15636 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15637 PyObject
*resultobj
;
15638 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15639 wxNotebookSizer
*result
;
15640 PyObject
* obj0
= 0 ;
15641 char *kwnames
[] = {
15642 (char *) "nb", NULL
15645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
15646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15650 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
15652 wxPyEndAllowThreads(__tstate
);
15653 if (PyErr_Occurred()) SWIG_fail
;
15655 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
15662 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15663 PyObject
*resultobj
;
15664 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15665 PyObject
* obj0
= 0 ;
15666 char *kwnames
[] = {
15667 (char *) "self", NULL
15670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15675 (arg1
)->RecalcSizes();
15677 wxPyEndAllowThreads(__tstate
);
15678 if (PyErr_Occurred()) SWIG_fail
;
15680 Py_INCREF(Py_None
); resultobj
= Py_None
;
15687 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15688 PyObject
*resultobj
;
15689 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15691 PyObject
* obj0
= 0 ;
15692 char *kwnames
[] = {
15693 (char *) "self", NULL
15696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
15697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15701 result
= (arg1
)->CalcMin();
15703 wxPyEndAllowThreads(__tstate
);
15704 if (PyErr_Occurred()) SWIG_fail
;
15707 wxSize
* resultptr
;
15708 resultptr
= new wxSize((wxSize
&) result
);
15709 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15717 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15718 PyObject
*resultobj
;
15719 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15720 wxNotebook
*result
;
15721 PyObject
* obj0
= 0 ;
15722 char *kwnames
[] = {
15723 (char *) "self", NULL
15726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
15727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15731 result
= (wxNotebook
*)(arg1
)->GetNotebook();
15733 wxPyEndAllowThreads(__tstate
);
15734 if (PyErr_Occurred()) SWIG_fail
;
15737 resultobj
= wxPyMake_wxObject(result
);
15745 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
15747 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15748 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
15750 return Py_BuildValue((char *)"");
15752 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15753 PyObject
*resultobj
;
15754 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15756 PyObject
* obj0
= 0 ;
15757 char *kwnames
[] = {
15758 (char *) "self", NULL
15761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
15762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15766 result
= (int)(arg1
)->GetId();
15768 wxPyEndAllowThreads(__tstate
);
15769 if (PyErr_Occurred()) SWIG_fail
;
15771 resultobj
= SWIG_FromInt((int)result
);
15778 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15779 PyObject
*resultobj
;
15780 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15782 PyObject
* obj0
= 0 ;
15783 char *kwnames
[] = {
15784 (char *) "self", NULL
15787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
15788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15792 result
= (wxControl
*)(arg1
)->GetControl();
15794 wxPyEndAllowThreads(__tstate
);
15795 if (PyErr_Occurred()) SWIG_fail
;
15798 resultobj
= wxPyMake_wxObject(result
);
15806 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15807 PyObject
*resultobj
;
15808 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15809 wxToolBarBase
*result
;
15810 PyObject
* obj0
= 0 ;
15811 char *kwnames
[] = {
15812 (char *) "self", NULL
15815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
15816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15820 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
15822 wxPyEndAllowThreads(__tstate
);
15823 if (PyErr_Occurred()) SWIG_fail
;
15826 resultobj
= wxPyMake_wxObject(result
);
15834 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15835 PyObject
*resultobj
;
15836 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15838 PyObject
* obj0
= 0 ;
15839 char *kwnames
[] = {
15840 (char *) "self", NULL
15843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
15844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15848 result
= (int)(arg1
)->IsButton();
15850 wxPyEndAllowThreads(__tstate
);
15851 if (PyErr_Occurred()) SWIG_fail
;
15853 resultobj
= SWIG_FromInt((int)result
);
15860 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15861 PyObject
*resultobj
;
15862 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15864 PyObject
* obj0
= 0 ;
15865 char *kwnames
[] = {
15866 (char *) "self", NULL
15869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
15870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15874 result
= (int)(arg1
)->IsControl();
15876 wxPyEndAllowThreads(__tstate
);
15877 if (PyErr_Occurred()) SWIG_fail
;
15879 resultobj
= SWIG_FromInt((int)result
);
15886 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15887 PyObject
*resultobj
;
15888 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15890 PyObject
* obj0
= 0 ;
15891 char *kwnames
[] = {
15892 (char *) "self", NULL
15895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
15896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15900 result
= (int)(arg1
)->IsSeparator();
15902 wxPyEndAllowThreads(__tstate
);
15903 if (PyErr_Occurred()) SWIG_fail
;
15905 resultobj
= SWIG_FromInt((int)result
);
15912 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15913 PyObject
*resultobj
;
15914 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15916 PyObject
* obj0
= 0 ;
15917 char *kwnames
[] = {
15918 (char *) "self", NULL
15921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
15922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15926 result
= (int)(arg1
)->GetStyle();
15928 wxPyEndAllowThreads(__tstate
);
15929 if (PyErr_Occurred()) SWIG_fail
;
15931 resultobj
= SWIG_FromInt((int)result
);
15938 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15939 PyObject
*resultobj
;
15940 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15942 PyObject
* obj0
= 0 ;
15943 char *kwnames
[] = {
15944 (char *) "self", NULL
15947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
15948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15952 result
= (int)(arg1
)->GetKind();
15954 wxPyEndAllowThreads(__tstate
);
15955 if (PyErr_Occurred()) SWIG_fail
;
15957 resultobj
= SWIG_FromInt((int)result
);
15964 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15965 PyObject
*resultobj
;
15966 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15968 PyObject
* obj0
= 0 ;
15969 char *kwnames
[] = {
15970 (char *) "self", NULL
15973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
15974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15978 result
= (bool)(arg1
)->IsEnabled();
15980 wxPyEndAllowThreads(__tstate
);
15981 if (PyErr_Occurred()) SWIG_fail
;
15984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15992 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15993 PyObject
*resultobj
;
15994 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15996 PyObject
* obj0
= 0 ;
15997 char *kwnames
[] = {
15998 (char *) "self", NULL
16001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
16002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16006 result
= (bool)(arg1
)->IsToggled();
16008 wxPyEndAllowThreads(__tstate
);
16009 if (PyErr_Occurred()) SWIG_fail
;
16012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16020 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16021 PyObject
*resultobj
;
16022 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16024 PyObject
* obj0
= 0 ;
16025 char *kwnames
[] = {
16026 (char *) "self", NULL
16029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
16030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16034 result
= (bool)(arg1
)->CanBeToggled();
16036 wxPyEndAllowThreads(__tstate
);
16037 if (PyErr_Occurred()) SWIG_fail
;
16040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16048 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16049 PyObject
*resultobj
;
16050 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16052 PyObject
* obj0
= 0 ;
16053 char *kwnames
[] = {
16054 (char *) "self", NULL
16057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
16058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16063 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
16064 result
= (wxBitmap
*) &_result_ref
;
16067 wxPyEndAllowThreads(__tstate
);
16068 if (PyErr_Occurred()) SWIG_fail
;
16071 wxBitmap
* resultptr
= new wxBitmap(*result
);
16072 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16080 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16081 PyObject
*resultobj
;
16082 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16084 PyObject
* obj0
= 0 ;
16085 char *kwnames
[] = {
16086 (char *) "self", NULL
16089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
16090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16095 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
16096 result
= (wxBitmap
*) &_result_ref
;
16099 wxPyEndAllowThreads(__tstate
);
16100 if (PyErr_Occurred()) SWIG_fail
;
16103 wxBitmap
* resultptr
= new wxBitmap(*result
);
16104 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16112 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16113 PyObject
*resultobj
;
16114 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16116 PyObject
* obj0
= 0 ;
16117 char *kwnames
[] = {
16118 (char *) "self", NULL
16121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
16122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16126 result
= (arg1
)->GetBitmap();
16128 wxPyEndAllowThreads(__tstate
);
16129 if (PyErr_Occurred()) SWIG_fail
;
16132 wxBitmap
* resultptr
;
16133 resultptr
= new wxBitmap((wxBitmap
&) result
);
16134 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16142 static PyObject
*_wrap_ToolBarToolBase_GetLabel(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_GetLabel",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
= (arg1
)->GetLabel();
16158 wxPyEndAllowThreads(__tstate
);
16159 if (PyErr_Occurred()) SWIG_fail
;
16163 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16165 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16174 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16175 PyObject
*resultobj
;
16176 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16178 PyObject
* obj0
= 0 ;
16179 char *kwnames
[] = {
16180 (char *) "self", NULL
16183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
16184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16188 result
= (arg1
)->GetShortHelp();
16190 wxPyEndAllowThreads(__tstate
);
16191 if (PyErr_Occurred()) SWIG_fail
;
16195 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16197 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16206 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16207 PyObject
*resultobj
;
16208 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16210 PyObject
* obj0
= 0 ;
16211 char *kwnames
[] = {
16212 (char *) "self", NULL
16215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
16216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16220 result
= (arg1
)->GetLongHelp();
16222 wxPyEndAllowThreads(__tstate
);
16223 if (PyErr_Occurred()) SWIG_fail
;
16227 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16229 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16238 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16239 PyObject
*resultobj
;
16240 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16243 PyObject
* obj0
= 0 ;
16244 PyObject
* obj1
= 0 ;
16245 char *kwnames
[] = {
16246 (char *) "self",(char *) "enable", NULL
16249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
16250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16252 arg2
= (bool) SWIG_AsBool(obj1
);
16253 if (PyErr_Occurred()) SWIG_fail
;
16255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16256 result
= (bool)(arg1
)->Enable(arg2
);
16258 wxPyEndAllowThreads(__tstate
);
16259 if (PyErr_Occurred()) SWIG_fail
;
16262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16270 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16271 PyObject
*resultobj
;
16272 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16273 PyObject
* obj0
= 0 ;
16274 char *kwnames
[] = {
16275 (char *) "self", NULL
16278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
16279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16285 wxPyEndAllowThreads(__tstate
);
16286 if (PyErr_Occurred()) SWIG_fail
;
16288 Py_INCREF(Py_None
); resultobj
= Py_None
;
16295 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16296 PyObject
*resultobj
;
16297 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16300 PyObject
* obj0
= 0 ;
16301 PyObject
* obj1
= 0 ;
16302 char *kwnames
[] = {
16303 (char *) "self",(char *) "toggle", NULL
16306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
16307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16309 arg2
= (bool) SWIG_AsBool(obj1
);
16310 if (PyErr_Occurred()) SWIG_fail
;
16312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16313 result
= (bool)(arg1
)->SetToggle(arg2
);
16315 wxPyEndAllowThreads(__tstate
);
16316 if (PyErr_Occurred()) SWIG_fail
;
16319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16327 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16328 PyObject
*resultobj
;
16329 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16330 wxString
*arg2
= 0 ;
16332 bool temp2
= False
;
16333 PyObject
* obj0
= 0 ;
16334 PyObject
* obj1
= 0 ;
16335 char *kwnames
[] = {
16336 (char *) "self",(char *) "help", NULL
16339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16343 arg2
= wxString_in_helper(obj1
);
16344 if (arg2
== NULL
) SWIG_fail
;
16348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16349 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
16351 wxPyEndAllowThreads(__tstate
);
16352 if (PyErr_Occurred()) SWIG_fail
;
16355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16371 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16372 PyObject
*resultobj
;
16373 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16374 wxString
*arg2
= 0 ;
16376 bool temp2
= False
;
16377 PyObject
* obj0
= 0 ;
16378 PyObject
* obj1
= 0 ;
16379 char *kwnames
[] = {
16380 (char *) "self",(char *) "help", NULL
16383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16387 arg2
= wxString_in_helper(obj1
);
16388 if (arg2
== NULL
) SWIG_fail
;
16392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16393 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
16395 wxPyEndAllowThreads(__tstate
);
16396 if (PyErr_Occurred()) SWIG_fail
;
16399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16415 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16416 PyObject
*resultobj
;
16417 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16418 wxBitmap
*arg2
= 0 ;
16419 PyObject
* obj0
= 0 ;
16420 PyObject
* obj1
= 0 ;
16421 char *kwnames
[] = {
16422 (char *) "self",(char *) "bmp", NULL
16425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
16426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16428 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16429 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16431 if (arg2
== NULL
) {
16432 PyErr_SetString(PyExc_TypeError
,"null reference");
16436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16437 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
16439 wxPyEndAllowThreads(__tstate
);
16440 if (PyErr_Occurred()) SWIG_fail
;
16442 Py_INCREF(Py_None
); resultobj
= Py_None
;
16449 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16450 PyObject
*resultobj
;
16451 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16452 wxBitmap
*arg2
= 0 ;
16453 PyObject
* obj0
= 0 ;
16454 PyObject
* obj1
= 0 ;
16455 char *kwnames
[] = {
16456 (char *) "self",(char *) "bmp", NULL
16459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
16460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16462 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16463 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16465 if (arg2
== NULL
) {
16466 PyErr_SetString(PyExc_TypeError
,"null reference");
16470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16471 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
16473 wxPyEndAllowThreads(__tstate
);
16474 if (PyErr_Occurred()) SWIG_fail
;
16476 Py_INCREF(Py_None
); resultobj
= Py_None
;
16483 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16484 PyObject
*resultobj
;
16485 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16486 wxString
*arg2
= 0 ;
16487 bool temp2
= False
;
16488 PyObject
* obj0
= 0 ;
16489 PyObject
* obj1
= 0 ;
16490 char *kwnames
[] = {
16491 (char *) "self",(char *) "label", NULL
16494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
16495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16498 arg2
= wxString_in_helper(obj1
);
16499 if (arg2
== NULL
) SWIG_fail
;
16503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16504 (arg1
)->SetLabel((wxString
const &)*arg2
);
16506 wxPyEndAllowThreads(__tstate
);
16507 if (PyErr_Occurred()) SWIG_fail
;
16509 Py_INCREF(Py_None
); resultobj
= Py_None
;
16524 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16525 PyObject
*resultobj
;
16526 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16527 PyObject
* obj0
= 0 ;
16528 char *kwnames
[] = {
16529 (char *) "self", NULL
16532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
16533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16539 wxPyEndAllowThreads(__tstate
);
16540 if (PyErr_Occurred()) SWIG_fail
;
16542 Py_INCREF(Py_None
); resultobj
= Py_None
;
16549 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16550 PyObject
*resultobj
;
16551 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16552 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
16553 PyObject
* obj0
= 0 ;
16554 PyObject
* obj1
= 0 ;
16555 char *kwnames
[] = {
16556 (char *) "self",(char *) "tbar", NULL
16559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
16560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16562 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
16563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16566 (arg1
)->Attach(arg2
);
16568 wxPyEndAllowThreads(__tstate
);
16569 if (PyErr_Occurred()) SWIG_fail
;
16571 Py_INCREF(Py_None
); resultobj
= Py_None
;
16578 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16579 PyObject
*resultobj
;
16580 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16582 PyObject
* obj0
= 0 ;
16583 char *kwnames
[] = {
16584 (char *) "self", NULL
16587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
16588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16592 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
16594 wxPyEndAllowThreads(__tstate
);
16595 if (PyErr_Occurred()) SWIG_fail
;
16597 resultobj
= result
;
16604 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16605 PyObject
*resultobj
;
16606 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16607 PyObject
*arg2
= (PyObject
*) 0 ;
16608 PyObject
* obj0
= 0 ;
16609 PyObject
* obj1
= 0 ;
16610 char *kwnames
[] = {
16611 (char *) "self",(char *) "clientData", NULL
16614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16620 wxToolBarToolBase_SetClientData(arg1
,arg2
);
16622 wxPyEndAllowThreads(__tstate
);
16623 if (PyErr_Occurred()) SWIG_fail
;
16625 Py_INCREF(Py_None
); resultobj
= Py_None
;
16632 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
16634 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16635 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
16637 return Py_BuildValue((char *)"");
16639 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16640 PyObject
*resultobj
;
16641 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16643 wxString
*arg3
= 0 ;
16644 wxBitmap
*arg4
= 0 ;
16645 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
16646 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
16647 int arg6
= (int) wxITEM_NORMAL
;
16648 wxString
const &arg7_defvalue
= wxPyEmptyString
;
16649 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16650 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16651 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16652 PyObject
*arg9
= (PyObject
*) NULL
;
16653 wxToolBarToolBase
*result
;
16654 bool temp3
= False
;
16655 bool temp7
= False
;
16656 bool temp8
= False
;
16657 PyObject
* obj0
= 0 ;
16658 PyObject
* obj1
= 0 ;
16659 PyObject
* obj2
= 0 ;
16660 PyObject
* obj3
= 0 ;
16661 PyObject
* obj4
= 0 ;
16662 PyObject
* obj5
= 0 ;
16663 PyObject
* obj6
= 0 ;
16664 PyObject
* obj7
= 0 ;
16665 PyObject
* obj8
= 0 ;
16666 char *kwnames
[] = {
16667 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
16671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16673 arg2
= (int) SWIG_AsInt(obj1
);
16674 if (PyErr_Occurred()) SWIG_fail
;
16676 arg3
= wxString_in_helper(obj2
);
16677 if (arg3
== NULL
) SWIG_fail
;
16680 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
16681 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16683 if (arg4
== NULL
) {
16684 PyErr_SetString(PyExc_TypeError
,"null reference");
16688 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16689 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16691 if (arg5
== NULL
) {
16692 PyErr_SetString(PyExc_TypeError
,"null reference");
16697 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
16698 if (PyErr_Occurred()) SWIG_fail
;
16702 arg7
= wxString_in_helper(obj6
);
16703 if (arg7
== NULL
) SWIG_fail
;
16709 arg8
= wxString_in_helper(obj7
);
16710 if (arg8
== NULL
) SWIG_fail
;
16718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16719 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
16721 wxPyEndAllowThreads(__tstate
);
16722 if (PyErr_Occurred()) SWIG_fail
;
16725 resultobj
= wxPyMake_wxObject(result
);
16757 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16758 PyObject
*resultobj
;
16759 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16762 wxString
*arg4
= 0 ;
16763 wxBitmap
*arg5
= 0 ;
16764 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
16765 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
16766 int arg7
= (int) wxITEM_NORMAL
;
16767 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16768 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16769 wxString
const &arg9_defvalue
= wxPyEmptyString
;
16770 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
16771 PyObject
*arg10
= (PyObject
*) NULL
;
16772 wxToolBarToolBase
*result
;
16773 bool temp4
= False
;
16774 bool temp8
= False
;
16775 bool temp9
= False
;
16776 PyObject
* obj0
= 0 ;
16777 PyObject
* obj1
= 0 ;
16778 PyObject
* obj2
= 0 ;
16779 PyObject
* obj3
= 0 ;
16780 PyObject
* obj4
= 0 ;
16781 PyObject
* obj5
= 0 ;
16782 PyObject
* obj6
= 0 ;
16783 PyObject
* obj7
= 0 ;
16784 PyObject
* obj8
= 0 ;
16785 PyObject
* obj9
= 0 ;
16786 char *kwnames
[] = {
16787 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
16791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16793 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16794 if (PyErr_Occurred()) SWIG_fail
;
16795 arg3
= (int) SWIG_AsInt(obj2
);
16796 if (PyErr_Occurred()) SWIG_fail
;
16798 arg4
= wxString_in_helper(obj3
);
16799 if (arg4
== NULL
) SWIG_fail
;
16802 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16803 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16805 if (arg5
== NULL
) {
16806 PyErr_SetString(PyExc_TypeError
,"null reference");
16810 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
16811 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16813 if (arg6
== NULL
) {
16814 PyErr_SetString(PyExc_TypeError
,"null reference");
16819 arg7
= (wxItemKind
) SWIG_AsInt(obj6
);
16820 if (PyErr_Occurred()) SWIG_fail
;
16824 arg8
= wxString_in_helper(obj7
);
16825 if (arg8
== NULL
) SWIG_fail
;
16831 arg9
= wxString_in_helper(obj8
);
16832 if (arg9
== NULL
) SWIG_fail
;
16840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16841 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
);
16843 wxPyEndAllowThreads(__tstate
);
16844 if (PyErr_Occurred()) SWIG_fail
;
16847 resultobj
= wxPyMake_wxObject(result
);
16879 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16880 PyObject
*resultobj
;
16881 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16882 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
16883 wxToolBarToolBase
*result
;
16884 PyObject
* obj0
= 0 ;
16885 PyObject
* obj1
= 0 ;
16886 char *kwnames
[] = {
16887 (char *) "self",(char *) "tool", NULL
16890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
16891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16893 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
16894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16897 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
16899 wxPyEndAllowThreads(__tstate
);
16900 if (PyErr_Occurred()) SWIG_fail
;
16903 resultobj
= wxPyMake_wxObject(result
);
16911 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16912 PyObject
*resultobj
;
16913 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16915 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
16916 wxToolBarToolBase
*result
;
16917 PyObject
* obj0
= 0 ;
16918 PyObject
* obj1
= 0 ;
16919 PyObject
* obj2
= 0 ;
16920 char *kwnames
[] = {
16921 (char *) "self",(char *) "pos",(char *) "tool", NULL
16924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16927 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16928 if (PyErr_Occurred()) SWIG_fail
;
16929 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
16930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16933 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
16935 wxPyEndAllowThreads(__tstate
);
16936 if (PyErr_Occurred()) SWIG_fail
;
16939 resultobj
= wxPyMake_wxObject(result
);
16947 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16948 PyObject
*resultobj
;
16949 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16950 wxControl
*arg2
= (wxControl
*) 0 ;
16951 wxToolBarToolBase
*result
;
16952 PyObject
* obj0
= 0 ;
16953 PyObject
* obj1
= 0 ;
16954 char *kwnames
[] = {
16955 (char *) "self",(char *) "control", NULL
16958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
16959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16961 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
16962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16965 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
16967 wxPyEndAllowThreads(__tstate
);
16968 if (PyErr_Occurred()) SWIG_fail
;
16971 resultobj
= wxPyMake_wxObject(result
);
16979 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16980 PyObject
*resultobj
;
16981 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16983 wxControl
*arg3
= (wxControl
*) 0 ;
16984 wxToolBarToolBase
*result
;
16985 PyObject
* obj0
= 0 ;
16986 PyObject
* obj1
= 0 ;
16987 PyObject
* obj2
= 0 ;
16988 char *kwnames
[] = {
16989 (char *) "self",(char *) "pos",(char *) "control", NULL
16992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16995 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16996 if (PyErr_Occurred()) SWIG_fail
;
16997 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
16998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17001 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
17003 wxPyEndAllowThreads(__tstate
);
17004 if (PyErr_Occurred()) SWIG_fail
;
17007 resultobj
= wxPyMake_wxObject(result
);
17015 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17016 PyObject
*resultobj
;
17017 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17020 PyObject
* obj0
= 0 ;
17021 PyObject
* obj1
= 0 ;
17022 char *kwnames
[] = {
17023 (char *) "self",(char *) "id", NULL
17026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17029 arg2
= (int) SWIG_AsInt(obj1
);
17030 if (PyErr_Occurred()) SWIG_fail
;
17032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17033 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
17035 wxPyEndAllowThreads(__tstate
);
17036 if (PyErr_Occurred()) SWIG_fail
;
17039 resultobj
= wxPyMake_wxObject(result
);
17047 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17048 PyObject
*resultobj
;
17049 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17050 wxToolBarToolBase
*result
;
17051 PyObject
* obj0
= 0 ;
17052 char *kwnames
[] = {
17053 (char *) "self", NULL
17056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
17057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17061 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
17063 wxPyEndAllowThreads(__tstate
);
17064 if (PyErr_Occurred()) SWIG_fail
;
17067 resultobj
= wxPyMake_wxObject(result
);
17075 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17076 PyObject
*resultobj
;
17077 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17079 wxToolBarToolBase
*result
;
17080 PyObject
* obj0
= 0 ;
17081 PyObject
* obj1
= 0 ;
17082 char *kwnames
[] = {
17083 (char *) "self",(char *) "pos", NULL
17086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
17087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17089 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17090 if (PyErr_Occurred()) SWIG_fail
;
17092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17093 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
17095 wxPyEndAllowThreads(__tstate
);
17096 if (PyErr_Occurred()) SWIG_fail
;
17099 resultobj
= wxPyMake_wxObject(result
);
17107 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17108 PyObject
*resultobj
;
17109 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17111 wxToolBarToolBase
*result
;
17112 PyObject
* obj0
= 0 ;
17113 PyObject
* obj1
= 0 ;
17114 char *kwnames
[] = {
17115 (char *) "self",(char *) "id", NULL
17118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17121 arg2
= (int) SWIG_AsInt(obj1
);
17122 if (PyErr_Occurred()) SWIG_fail
;
17124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17125 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
17127 wxPyEndAllowThreads(__tstate
);
17128 if (PyErr_Occurred()) SWIG_fail
;
17131 resultobj
= wxPyMake_wxObject(result
);
17139 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17140 PyObject
*resultobj
;
17141 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17144 PyObject
* obj0
= 0 ;
17145 PyObject
* obj1
= 0 ;
17146 char *kwnames
[] = {
17147 (char *) "self",(char *) "pos", NULL
17150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17153 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17154 if (PyErr_Occurred()) SWIG_fail
;
17156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17157 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
17159 wxPyEndAllowThreads(__tstate
);
17160 if (PyErr_Occurred()) SWIG_fail
;
17163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17171 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17172 PyObject
*resultobj
;
17173 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17176 PyObject
* obj0
= 0 ;
17177 PyObject
* obj1
= 0 ;
17178 char *kwnames
[] = {
17179 (char *) "self",(char *) "id", NULL
17182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17185 arg2
= (int) SWIG_AsInt(obj1
);
17186 if (PyErr_Occurred()) SWIG_fail
;
17188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17189 result
= (bool)(arg1
)->DeleteTool(arg2
);
17191 wxPyEndAllowThreads(__tstate
);
17192 if (PyErr_Occurred()) SWIG_fail
;
17195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17203 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17204 PyObject
*resultobj
;
17205 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17206 PyObject
* obj0
= 0 ;
17207 char *kwnames
[] = {
17208 (char *) "self", NULL
17211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
17212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17216 (arg1
)->ClearTools();
17218 wxPyEndAllowThreads(__tstate
);
17219 if (PyErr_Occurred()) SWIG_fail
;
17221 Py_INCREF(Py_None
); resultobj
= Py_None
;
17228 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17229 PyObject
*resultobj
;
17230 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17232 PyObject
* obj0
= 0 ;
17233 char *kwnames
[] = {
17234 (char *) "self", NULL
17237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
17238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17242 result
= (bool)(arg1
)->Realize();
17244 wxPyEndAllowThreads(__tstate
);
17245 if (PyErr_Occurred()) SWIG_fail
;
17248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17256 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17257 PyObject
*resultobj
;
17258 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17261 PyObject
* obj0
= 0 ;
17262 PyObject
* obj1
= 0 ;
17263 PyObject
* obj2
= 0 ;
17264 char *kwnames
[] = {
17265 (char *) "self",(char *) "id",(char *) "enable", NULL
17268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17271 arg2
= (int) SWIG_AsInt(obj1
);
17272 if (PyErr_Occurred()) SWIG_fail
;
17273 arg3
= (bool) SWIG_AsBool(obj2
);
17274 if (PyErr_Occurred()) SWIG_fail
;
17276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17277 (arg1
)->EnableTool(arg2
,arg3
);
17279 wxPyEndAllowThreads(__tstate
);
17280 if (PyErr_Occurred()) SWIG_fail
;
17282 Py_INCREF(Py_None
); resultobj
= Py_None
;
17289 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17290 PyObject
*resultobj
;
17291 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17294 PyObject
* obj0
= 0 ;
17295 PyObject
* obj1
= 0 ;
17296 PyObject
* obj2
= 0 ;
17297 char *kwnames
[] = {
17298 (char *) "self",(char *) "id",(char *) "toggle", NULL
17301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17304 arg2
= (int) SWIG_AsInt(obj1
);
17305 if (PyErr_Occurred()) SWIG_fail
;
17306 arg3
= (bool) SWIG_AsBool(obj2
);
17307 if (PyErr_Occurred()) SWIG_fail
;
17309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17310 (arg1
)->ToggleTool(arg2
,arg3
);
17312 wxPyEndAllowThreads(__tstate
);
17313 if (PyErr_Occurred()) SWIG_fail
;
17315 Py_INCREF(Py_None
); resultobj
= Py_None
;
17322 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17323 PyObject
*resultobj
;
17324 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17327 PyObject
* obj0
= 0 ;
17328 PyObject
* obj1
= 0 ;
17329 PyObject
* obj2
= 0 ;
17330 char *kwnames
[] = {
17331 (char *) "self",(char *) "id",(char *) "toggle", NULL
17334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17337 arg2
= (int) SWIG_AsInt(obj1
);
17338 if (PyErr_Occurred()) SWIG_fail
;
17339 arg3
= (bool) SWIG_AsBool(obj2
);
17340 if (PyErr_Occurred()) SWIG_fail
;
17342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17343 (arg1
)->SetToggle(arg2
,arg3
);
17345 wxPyEndAllowThreads(__tstate
);
17346 if (PyErr_Occurred()) SWIG_fail
;
17348 Py_INCREF(Py_None
); resultobj
= Py_None
;
17355 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17356 PyObject
*resultobj
;
17357 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17360 PyObject
* obj0
= 0 ;
17361 PyObject
* obj1
= 0 ;
17362 char *kwnames
[] = {
17363 (char *) "self",(char *) "id", NULL
17366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
17367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17369 arg2
= (int) SWIG_AsInt(obj1
);
17370 if (PyErr_Occurred()) SWIG_fail
;
17372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17373 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
17375 wxPyEndAllowThreads(__tstate
);
17376 if (PyErr_Occurred()) SWIG_fail
;
17378 resultobj
= result
;
17385 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17386 PyObject
*resultobj
;
17387 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17389 PyObject
*arg3
= (PyObject
*) 0 ;
17390 PyObject
* obj0
= 0 ;
17391 PyObject
* obj1
= 0 ;
17392 PyObject
* obj2
= 0 ;
17393 char *kwnames
[] = {
17394 (char *) "self",(char *) "id",(char *) "clientData", NULL
17397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17400 arg2
= (int) SWIG_AsInt(obj1
);
17401 if (PyErr_Occurred()) SWIG_fail
;
17404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17405 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
17407 wxPyEndAllowThreads(__tstate
);
17408 if (PyErr_Occurred()) SWIG_fail
;
17410 Py_INCREF(Py_None
); resultobj
= Py_None
;
17417 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17418 PyObject
*resultobj
;
17419 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17422 PyObject
* obj0
= 0 ;
17423 PyObject
* obj1
= 0 ;
17424 char *kwnames
[] = {
17425 (char *) "self",(char *) "id", NULL
17428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17431 arg2
= (int) SWIG_AsInt(obj1
);
17432 if (PyErr_Occurred()) SWIG_fail
;
17434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17435 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
17437 wxPyEndAllowThreads(__tstate
);
17438 if (PyErr_Occurred()) SWIG_fail
;
17440 resultobj
= SWIG_FromInt((int)result
);
17447 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17448 PyObject
*resultobj
;
17449 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17452 PyObject
* obj0
= 0 ;
17453 PyObject
* obj1
= 0 ;
17454 char *kwnames
[] = {
17455 (char *) "self",(char *) "id", NULL
17458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
17459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17461 arg2
= (int) SWIG_AsInt(obj1
);
17462 if (PyErr_Occurred()) SWIG_fail
;
17464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17465 result
= (bool)(arg1
)->GetToolState(arg2
);
17467 wxPyEndAllowThreads(__tstate
);
17468 if (PyErr_Occurred()) SWIG_fail
;
17471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17479 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17480 PyObject
*resultobj
;
17481 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17484 PyObject
* obj0
= 0 ;
17485 PyObject
* obj1
= 0 ;
17486 char *kwnames
[] = {
17487 (char *) "self",(char *) "id", NULL
17490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
17491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17493 arg2
= (int) SWIG_AsInt(obj1
);
17494 if (PyErr_Occurred()) SWIG_fail
;
17496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17497 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
17499 wxPyEndAllowThreads(__tstate
);
17500 if (PyErr_Occurred()) SWIG_fail
;
17503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17511 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17512 PyObject
*resultobj
;
17513 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17515 wxString
*arg3
= 0 ;
17516 bool temp3
= False
;
17517 PyObject
* obj0
= 0 ;
17518 PyObject
* obj1
= 0 ;
17519 PyObject
* obj2
= 0 ;
17520 char *kwnames
[] = {
17521 (char *) "self",(char *) "id",(char *) "helpString", NULL
17524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17527 arg2
= (int) SWIG_AsInt(obj1
);
17528 if (PyErr_Occurred()) SWIG_fail
;
17530 arg3
= wxString_in_helper(obj2
);
17531 if (arg3
== NULL
) SWIG_fail
;
17535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17536 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
17538 wxPyEndAllowThreads(__tstate
);
17539 if (PyErr_Occurred()) SWIG_fail
;
17541 Py_INCREF(Py_None
); resultobj
= Py_None
;
17556 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17557 PyObject
*resultobj
;
17558 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17561 PyObject
* obj0
= 0 ;
17562 PyObject
* obj1
= 0 ;
17563 char *kwnames
[] = {
17564 (char *) "self",(char *) "id", NULL
17567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17570 arg2
= (int) SWIG_AsInt(obj1
);
17571 if (PyErr_Occurred()) SWIG_fail
;
17573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17574 result
= (arg1
)->GetToolShortHelp(arg2
);
17576 wxPyEndAllowThreads(__tstate
);
17577 if (PyErr_Occurred()) SWIG_fail
;
17581 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17583 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17592 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17593 PyObject
*resultobj
;
17594 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17596 wxString
*arg3
= 0 ;
17597 bool temp3
= False
;
17598 PyObject
* obj0
= 0 ;
17599 PyObject
* obj1
= 0 ;
17600 PyObject
* obj2
= 0 ;
17601 char *kwnames
[] = {
17602 (char *) "self",(char *) "id",(char *) "helpString", NULL
17605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17608 arg2
= (int) SWIG_AsInt(obj1
);
17609 if (PyErr_Occurred()) SWIG_fail
;
17611 arg3
= wxString_in_helper(obj2
);
17612 if (arg3
== NULL
) SWIG_fail
;
17616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17617 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
17619 wxPyEndAllowThreads(__tstate
);
17620 if (PyErr_Occurred()) SWIG_fail
;
17622 Py_INCREF(Py_None
); resultobj
= Py_None
;
17637 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17638 PyObject
*resultobj
;
17639 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17642 PyObject
* obj0
= 0 ;
17643 PyObject
* obj1
= 0 ;
17644 char *kwnames
[] = {
17645 (char *) "self",(char *) "id", NULL
17648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17651 arg2
= (int) SWIG_AsInt(obj1
);
17652 if (PyErr_Occurred()) SWIG_fail
;
17654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17655 result
= (arg1
)->GetToolLongHelp(arg2
);
17657 wxPyEndAllowThreads(__tstate
);
17658 if (PyErr_Occurred()) SWIG_fail
;
17662 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17664 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17673 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17674 PyObject
*resultobj
;
17675 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17678 PyObject
* obj0
= 0 ;
17679 PyObject
* obj1
= 0 ;
17680 PyObject
* obj2
= 0 ;
17681 char *kwnames
[] = {
17682 (char *) "self",(char *) "x",(char *) "y", NULL
17685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17688 arg2
= (int) SWIG_AsInt(obj1
);
17689 if (PyErr_Occurred()) SWIG_fail
;
17690 arg3
= (int) SWIG_AsInt(obj2
);
17691 if (PyErr_Occurred()) SWIG_fail
;
17693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17694 (arg1
)->SetMargins(arg2
,arg3
);
17696 wxPyEndAllowThreads(__tstate
);
17697 if (PyErr_Occurred()) SWIG_fail
;
17699 Py_INCREF(Py_None
); resultobj
= Py_None
;
17706 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17707 PyObject
*resultobj
;
17708 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17711 PyObject
* obj0
= 0 ;
17712 PyObject
* obj1
= 0 ;
17713 char *kwnames
[] = {
17714 (char *) "self",(char *) "size", NULL
17717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
17718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17722 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17726 (arg1
)->SetMargins((wxSize
const &)*arg2
);
17728 wxPyEndAllowThreads(__tstate
);
17729 if (PyErr_Occurred()) SWIG_fail
;
17731 Py_INCREF(Py_None
); resultobj
= Py_None
;
17738 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17739 PyObject
*resultobj
;
17740 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17742 PyObject
* obj0
= 0 ;
17743 PyObject
* obj1
= 0 ;
17744 char *kwnames
[] = {
17745 (char *) "self",(char *) "packing", NULL
17748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
17749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17751 arg2
= (int) SWIG_AsInt(obj1
);
17752 if (PyErr_Occurred()) SWIG_fail
;
17754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17755 (arg1
)->SetToolPacking(arg2
);
17757 wxPyEndAllowThreads(__tstate
);
17758 if (PyErr_Occurred()) SWIG_fail
;
17760 Py_INCREF(Py_None
); resultobj
= Py_None
;
17767 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17768 PyObject
*resultobj
;
17769 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17771 PyObject
* obj0
= 0 ;
17772 PyObject
* obj1
= 0 ;
17773 char *kwnames
[] = {
17774 (char *) "self",(char *) "separation", NULL
17777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
17778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17780 arg2
= (int) SWIG_AsInt(obj1
);
17781 if (PyErr_Occurred()) SWIG_fail
;
17783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17784 (arg1
)->SetToolSeparation(arg2
);
17786 wxPyEndAllowThreads(__tstate
);
17787 if (PyErr_Occurred()) SWIG_fail
;
17789 Py_INCREF(Py_None
); resultobj
= Py_None
;
17796 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17797 PyObject
*resultobj
;
17798 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17800 PyObject
* obj0
= 0 ;
17801 char *kwnames
[] = {
17802 (char *) "self", NULL
17805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
17806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17810 result
= (arg1
)->GetToolMargins();
17812 wxPyEndAllowThreads(__tstate
);
17813 if (PyErr_Occurred()) SWIG_fail
;
17816 wxSize
* resultptr
;
17817 resultptr
= new wxSize((wxSize
&) result
);
17818 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17826 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17827 PyObject
*resultobj
;
17828 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17830 PyObject
* obj0
= 0 ;
17831 char *kwnames
[] = {
17832 (char *) "self", NULL
17835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
17836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17840 result
= (arg1
)->GetMargins();
17842 wxPyEndAllowThreads(__tstate
);
17843 if (PyErr_Occurred()) SWIG_fail
;
17846 wxSize
* resultptr
;
17847 resultptr
= new wxSize((wxSize
&) result
);
17848 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17856 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17857 PyObject
*resultobj
;
17858 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17860 PyObject
* obj0
= 0 ;
17861 char *kwnames
[] = {
17862 (char *) "self", NULL
17865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
17866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17870 result
= (int)(arg1
)->GetToolPacking();
17872 wxPyEndAllowThreads(__tstate
);
17873 if (PyErr_Occurred()) SWIG_fail
;
17875 resultobj
= SWIG_FromInt((int)result
);
17882 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17883 PyObject
*resultobj
;
17884 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17886 PyObject
* obj0
= 0 ;
17887 char *kwnames
[] = {
17888 (char *) "self", NULL
17891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
17892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17896 result
= (int)(arg1
)->GetToolSeparation();
17898 wxPyEndAllowThreads(__tstate
);
17899 if (PyErr_Occurred()) SWIG_fail
;
17901 resultobj
= SWIG_FromInt((int)result
);
17908 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17909 PyObject
*resultobj
;
17910 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17912 PyObject
* obj0
= 0 ;
17913 PyObject
* obj1
= 0 ;
17914 char *kwnames
[] = {
17915 (char *) "self",(char *) "nRows", NULL
17918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
17919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17921 arg2
= (int) SWIG_AsInt(obj1
);
17922 if (PyErr_Occurred()) SWIG_fail
;
17924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17925 (arg1
)->SetRows(arg2
);
17927 wxPyEndAllowThreads(__tstate
);
17928 if (PyErr_Occurred()) SWIG_fail
;
17930 Py_INCREF(Py_None
); resultobj
= Py_None
;
17937 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17938 PyObject
*resultobj
;
17939 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17942 PyObject
* obj0
= 0 ;
17943 PyObject
* obj1
= 0 ;
17944 PyObject
* obj2
= 0 ;
17945 char *kwnames
[] = {
17946 (char *) "self",(char *) "rows",(char *) "cols", NULL
17949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17952 arg2
= (int) SWIG_AsInt(obj1
);
17953 if (PyErr_Occurred()) SWIG_fail
;
17954 arg3
= (int) SWIG_AsInt(obj2
);
17955 if (PyErr_Occurred()) SWIG_fail
;
17957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17958 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
17960 wxPyEndAllowThreads(__tstate
);
17961 if (PyErr_Occurred()) SWIG_fail
;
17963 Py_INCREF(Py_None
); resultobj
= Py_None
;
17970 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17971 PyObject
*resultobj
;
17972 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17974 PyObject
* obj0
= 0 ;
17975 char *kwnames
[] = {
17976 (char *) "self", NULL
17979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
17980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17984 result
= (int)(arg1
)->GetMaxRows();
17986 wxPyEndAllowThreads(__tstate
);
17987 if (PyErr_Occurred()) SWIG_fail
;
17989 resultobj
= SWIG_FromInt((int)result
);
17996 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17997 PyObject
*resultobj
;
17998 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18000 PyObject
* obj0
= 0 ;
18001 char *kwnames
[] = {
18002 (char *) "self", NULL
18005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
18006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18010 result
= (int)(arg1
)->GetMaxCols();
18012 wxPyEndAllowThreads(__tstate
);
18013 if (PyErr_Occurred()) SWIG_fail
;
18015 resultobj
= SWIG_FromInt((int)result
);
18022 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18023 PyObject
*resultobj
;
18024 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18027 PyObject
* obj0
= 0 ;
18028 PyObject
* obj1
= 0 ;
18029 char *kwnames
[] = {
18030 (char *) "self",(char *) "size", NULL
18033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18038 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18042 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
18044 wxPyEndAllowThreads(__tstate
);
18045 if (PyErr_Occurred()) SWIG_fail
;
18047 Py_INCREF(Py_None
); resultobj
= Py_None
;
18054 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18055 PyObject
*resultobj
;
18056 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18058 PyObject
* obj0
= 0 ;
18059 char *kwnames
[] = {
18060 (char *) "self", NULL
18063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
18064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18068 result
= (arg1
)->GetToolBitmapSize();
18070 wxPyEndAllowThreads(__tstate
);
18071 if (PyErr_Occurred()) SWIG_fail
;
18074 wxSize
* resultptr
;
18075 resultptr
= new wxSize((wxSize
&) result
);
18076 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18084 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18085 PyObject
*resultobj
;
18086 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18088 PyObject
* obj0
= 0 ;
18089 char *kwnames
[] = {
18090 (char *) "self", NULL
18093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
18094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18098 result
= (arg1
)->GetToolSize();
18100 wxPyEndAllowThreads(__tstate
);
18101 if (PyErr_Occurred()) SWIG_fail
;
18104 wxSize
* resultptr
;
18105 resultptr
= new wxSize((wxSize
&) result
);
18106 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18114 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18115 PyObject
*resultobj
;
18116 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18119 wxToolBarToolBase
*result
;
18120 PyObject
* obj0
= 0 ;
18121 PyObject
* obj1
= 0 ;
18122 PyObject
* obj2
= 0 ;
18123 char *kwnames
[] = {
18124 (char *) "self",(char *) "x",(char *) "y", NULL
18127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18130 arg2
= (int) SWIG_AsInt(obj1
);
18131 if (PyErr_Occurred()) SWIG_fail
;
18132 arg3
= (int) SWIG_AsInt(obj2
);
18133 if (PyErr_Occurred()) SWIG_fail
;
18135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18136 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18138 wxPyEndAllowThreads(__tstate
);
18139 if (PyErr_Occurred()) SWIG_fail
;
18142 resultobj
= wxPyMake_wxObject(result
);
18150 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18151 PyObject
*resultobj
;
18152 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18154 wxToolBarToolBase
*result
;
18155 PyObject
* obj0
= 0 ;
18156 PyObject
* obj1
= 0 ;
18157 char *kwnames
[] = {
18158 (char *) "self",(char *) "toolid", NULL
18161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
18162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18164 arg2
= (int) SWIG_AsInt(obj1
);
18165 if (PyErr_Occurred()) SWIG_fail
;
18167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18168 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
18170 wxPyEndAllowThreads(__tstate
);
18171 if (PyErr_Occurred()) SWIG_fail
;
18174 resultobj
= wxPyMake_wxObject(result
);
18182 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18183 PyObject
*resultobj
;
18184 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18186 PyObject
* obj0
= 0 ;
18187 char *kwnames
[] = {
18188 (char *) "self", NULL
18191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
18192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18196 result
= (bool)(arg1
)->IsVertical();
18198 wxPyEndAllowThreads(__tstate
);
18199 if (PyErr_Occurred()) SWIG_fail
;
18202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18210 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
18212 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18213 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
18215 return Py_BuildValue((char *)"");
18217 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18218 PyObject
*resultobj
;
18219 wxWindow
*arg1
= (wxWindow
*) 0 ;
18221 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18222 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18223 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18224 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18225 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18226 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
18227 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18231 bool temp6
= False
;
18232 PyObject
* obj0
= 0 ;
18233 PyObject
* obj1
= 0 ;
18234 PyObject
* obj2
= 0 ;
18235 PyObject
* obj3
= 0 ;
18236 PyObject
* obj4
= 0 ;
18237 PyObject
* obj5
= 0 ;
18238 char *kwnames
[] = {
18239 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18245 arg2
= (int) SWIG_AsInt(obj1
);
18246 if (PyErr_Occurred()) SWIG_fail
;
18250 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18256 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18260 arg5
= (long) SWIG_AsLong(obj4
);
18261 if (PyErr_Occurred()) SWIG_fail
;
18265 arg6
= wxString_in_helper(obj5
);
18266 if (arg6
== NULL
) SWIG_fail
;
18271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18272 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18274 wxPyEndAllowThreads(__tstate
);
18275 if (PyErr_Occurred()) SWIG_fail
;
18278 resultobj
= wxPyMake_wxObject(result
);
18294 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18295 PyObject
*resultobj
;
18297 char *kwnames
[] = {
18301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
18303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18304 result
= (wxToolBar
*)new wxToolBar();
18306 wxPyEndAllowThreads(__tstate
);
18307 if (PyErr_Occurred()) SWIG_fail
;
18310 resultobj
= wxPyMake_wxObject(result
);
18318 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18319 PyObject
*resultobj
;
18320 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18321 wxWindow
*arg2
= (wxWindow
*) 0 ;
18323 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18324 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18325 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18326 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18327 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18328 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
18329 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18333 bool temp7
= False
;
18334 PyObject
* obj0
= 0 ;
18335 PyObject
* obj1
= 0 ;
18336 PyObject
* obj2
= 0 ;
18337 PyObject
* obj3
= 0 ;
18338 PyObject
* obj4
= 0 ;
18339 PyObject
* obj5
= 0 ;
18340 PyObject
* obj6
= 0 ;
18341 char *kwnames
[] = {
18342 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18348 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18350 arg3
= (int) SWIG_AsInt(obj2
);
18351 if (PyErr_Occurred()) SWIG_fail
;
18355 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18361 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18365 arg6
= (long) SWIG_AsLong(obj5
);
18366 if (PyErr_Occurred()) SWIG_fail
;
18370 arg7
= wxString_in_helper(obj6
);
18371 if (arg7
== NULL
) SWIG_fail
;
18376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18377 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18379 wxPyEndAllowThreads(__tstate
);
18380 if (PyErr_Occurred()) SWIG_fail
;
18383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18399 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18400 PyObject
*resultobj
;
18401 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18404 wxToolBarToolBase
*result
;
18405 PyObject
* obj0
= 0 ;
18406 PyObject
* obj1
= 0 ;
18407 PyObject
* obj2
= 0 ;
18408 char *kwnames
[] = {
18409 (char *) "self",(char *) "x",(char *) "y", NULL
18412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18415 arg2
= (int) SWIG_AsInt(obj1
);
18416 if (PyErr_Occurred()) SWIG_fail
;
18417 arg3
= (int) SWIG_AsInt(obj2
);
18418 if (PyErr_Occurred()) SWIG_fail
;
18420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18421 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18423 wxPyEndAllowThreads(__tstate
);
18424 if (PyErr_Occurred()) SWIG_fail
;
18427 resultobj
= wxPyMake_wxObject(result
);
18435 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18436 PyObject
*resultobj
;
18437 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
18438 wxVisualAttributes result
;
18439 PyObject
* obj0
= 0 ;
18440 char *kwnames
[] = {
18441 (char *) "variant", NULL
18444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18446 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
18447 if (PyErr_Occurred()) SWIG_fail
;
18450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18451 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
18453 wxPyEndAllowThreads(__tstate
);
18454 if (PyErr_Occurred()) SWIG_fail
;
18457 wxVisualAttributes
* resultptr
;
18458 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
18459 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18467 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
18469 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18470 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
18472 return Py_BuildValue((char *)"");
18474 static int _wrap_ListCtrlNameStr_set(PyObject
*_val
) {
18475 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
18480 static PyObject
*_wrap_ListCtrlNameStr_get() {
18485 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
18487 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
18494 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18495 PyObject
*resultobj
;
18496 wxColour
const &arg1_defvalue
= wxNullColour
;
18497 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
18498 wxColour
const &arg2_defvalue
= wxNullColour
;
18499 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
18500 wxFont
const &arg3_defvalue
= wxNullFont
;
18501 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
18502 wxListItemAttr
*result
;
18505 PyObject
* obj0
= 0 ;
18506 PyObject
* obj1
= 0 ;
18507 PyObject
* obj2
= 0 ;
18508 char *kwnames
[] = {
18509 (char *) "colText",(char *) "colBack",(char *) "font", NULL
18512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18516 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
18522 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18526 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
18527 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18529 if (arg3
== NULL
) {
18530 PyErr_SetString(PyExc_TypeError
,"null reference");
18535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18536 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
18538 wxPyEndAllowThreads(__tstate
);
18539 if (PyErr_Occurred()) SWIG_fail
;
18541 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
18548 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18549 PyObject
*resultobj
;
18550 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18551 wxColour
*arg2
= 0 ;
18553 PyObject
* obj0
= 0 ;
18554 PyObject
* obj1
= 0 ;
18555 char *kwnames
[] = {
18556 (char *) "self",(char *) "colText", NULL
18559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18564 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18568 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18570 wxPyEndAllowThreads(__tstate
);
18571 if (PyErr_Occurred()) SWIG_fail
;
18573 Py_INCREF(Py_None
); resultobj
= Py_None
;
18580 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18581 PyObject
*resultobj
;
18582 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18583 wxColour
*arg2
= 0 ;
18585 PyObject
* obj0
= 0 ;
18586 PyObject
* obj1
= 0 ;
18587 char *kwnames
[] = {
18588 (char *) "self",(char *) "colBack", NULL
18591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18596 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18600 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18602 wxPyEndAllowThreads(__tstate
);
18603 if (PyErr_Occurred()) SWIG_fail
;
18605 Py_INCREF(Py_None
); resultobj
= Py_None
;
18612 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18613 PyObject
*resultobj
;
18614 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18616 PyObject
* obj0
= 0 ;
18617 PyObject
* obj1
= 0 ;
18618 char *kwnames
[] = {
18619 (char *) "self",(char *) "font", NULL
18622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18625 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18626 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18628 if (arg2
== NULL
) {
18629 PyErr_SetString(PyExc_TypeError
,"null reference");
18633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18634 (arg1
)->SetFont((wxFont
const &)*arg2
);
18636 wxPyEndAllowThreads(__tstate
);
18637 if (PyErr_Occurred()) SWIG_fail
;
18639 Py_INCREF(Py_None
); resultobj
= Py_None
;
18646 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18647 PyObject
*resultobj
;
18648 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18650 PyObject
* obj0
= 0 ;
18651 char *kwnames
[] = {
18652 (char *) "self", NULL
18655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
18656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18660 result
= (bool)(arg1
)->HasTextColour();
18662 wxPyEndAllowThreads(__tstate
);
18663 if (PyErr_Occurred()) SWIG_fail
;
18666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18674 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18675 PyObject
*resultobj
;
18676 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18678 PyObject
* obj0
= 0 ;
18679 char *kwnames
[] = {
18680 (char *) "self", NULL
18683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
18684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18688 result
= (bool)(arg1
)->HasBackgroundColour();
18690 wxPyEndAllowThreads(__tstate
);
18691 if (PyErr_Occurred()) SWIG_fail
;
18694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18702 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18703 PyObject
*resultobj
;
18704 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18706 PyObject
* obj0
= 0 ;
18707 char *kwnames
[] = {
18708 (char *) "self", NULL
18711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
18712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18716 result
= (bool)(arg1
)->HasFont();
18718 wxPyEndAllowThreads(__tstate
);
18719 if (PyErr_Occurred()) SWIG_fail
;
18722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18730 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18731 PyObject
*resultobj
;
18732 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18734 PyObject
* obj0
= 0 ;
18735 char *kwnames
[] = {
18736 (char *) "self", NULL
18739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
18740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18744 result
= (arg1
)->GetTextColour();
18746 wxPyEndAllowThreads(__tstate
);
18747 if (PyErr_Occurred()) SWIG_fail
;
18750 wxColour
* resultptr
;
18751 resultptr
= new wxColour((wxColour
&) result
);
18752 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18760 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18761 PyObject
*resultobj
;
18762 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18764 PyObject
* obj0
= 0 ;
18765 char *kwnames
[] = {
18766 (char *) "self", NULL
18769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
18770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18774 result
= (arg1
)->GetBackgroundColour();
18776 wxPyEndAllowThreads(__tstate
);
18777 if (PyErr_Occurred()) SWIG_fail
;
18780 wxColour
* resultptr
;
18781 resultptr
= new wxColour((wxColour
&) result
);
18782 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18790 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18791 PyObject
*resultobj
;
18792 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18794 PyObject
* obj0
= 0 ;
18795 char *kwnames
[] = {
18796 (char *) "self", NULL
18799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
18800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18804 result
= (arg1
)->GetFont();
18806 wxPyEndAllowThreads(__tstate
);
18807 if (PyErr_Occurred()) SWIG_fail
;
18810 wxFont
* resultptr
;
18811 resultptr
= new wxFont((wxFont
&) result
);
18812 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
18820 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18821 PyObject
*resultobj
;
18822 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18823 PyObject
* obj0
= 0 ;
18824 char *kwnames
[] = {
18825 (char *) "self", NULL
18828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
18829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18833 wxListItemAttr_Destroy(arg1
);
18835 wxPyEndAllowThreads(__tstate
);
18836 if (PyErr_Occurred()) SWIG_fail
;
18838 Py_INCREF(Py_None
); resultobj
= Py_None
;
18845 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
18847 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18848 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
18850 return Py_BuildValue((char *)"");
18852 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18853 PyObject
*resultobj
;
18854 wxListItem
*result
;
18855 char *kwnames
[] = {
18859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
18861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18862 result
= (wxListItem
*)new wxListItem();
18864 wxPyEndAllowThreads(__tstate
);
18865 if (PyErr_Occurred()) SWIG_fail
;
18868 resultobj
= wxPyMake_wxObject(result
);
18876 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18877 PyObject
*resultobj
;
18878 wxListItem
*arg1
= (wxListItem
*) 0 ;
18879 PyObject
* obj0
= 0 ;
18880 char *kwnames
[] = {
18881 (char *) "self", NULL
18884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
18885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18891 wxPyEndAllowThreads(__tstate
);
18892 if (PyErr_Occurred()) SWIG_fail
;
18894 Py_INCREF(Py_None
); resultobj
= Py_None
;
18901 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18902 PyObject
*resultobj
;
18903 wxListItem
*arg1
= (wxListItem
*) 0 ;
18904 PyObject
* obj0
= 0 ;
18905 char *kwnames
[] = {
18906 (char *) "self", NULL
18909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
18910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18916 wxPyEndAllowThreads(__tstate
);
18917 if (PyErr_Occurred()) SWIG_fail
;
18919 Py_INCREF(Py_None
); resultobj
= Py_None
;
18926 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18927 PyObject
*resultobj
;
18928 wxListItem
*arg1
= (wxListItem
*) 0 ;
18929 PyObject
* obj0
= 0 ;
18930 char *kwnames
[] = {
18931 (char *) "self", NULL
18934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
18935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18939 (arg1
)->ClearAttributes();
18941 wxPyEndAllowThreads(__tstate
);
18942 if (PyErr_Occurred()) SWIG_fail
;
18944 Py_INCREF(Py_None
); resultobj
= Py_None
;
18951 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18952 PyObject
*resultobj
;
18953 wxListItem
*arg1
= (wxListItem
*) 0 ;
18955 PyObject
* obj0
= 0 ;
18956 PyObject
* obj1
= 0 ;
18957 char *kwnames
[] = {
18958 (char *) "self",(char *) "mask", NULL
18961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
18962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18964 arg2
= (long) SWIG_AsLong(obj1
);
18965 if (PyErr_Occurred()) SWIG_fail
;
18967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18968 (arg1
)->SetMask(arg2
);
18970 wxPyEndAllowThreads(__tstate
);
18971 if (PyErr_Occurred()) SWIG_fail
;
18973 Py_INCREF(Py_None
); resultobj
= Py_None
;
18980 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18981 PyObject
*resultobj
;
18982 wxListItem
*arg1
= (wxListItem
*) 0 ;
18984 PyObject
* obj0
= 0 ;
18985 PyObject
* obj1
= 0 ;
18986 char *kwnames
[] = {
18987 (char *) "self",(char *) "id", NULL
18990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
18991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18993 arg2
= (long) SWIG_AsLong(obj1
);
18994 if (PyErr_Occurred()) SWIG_fail
;
18996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18997 (arg1
)->SetId(arg2
);
18999 wxPyEndAllowThreads(__tstate
);
19000 if (PyErr_Occurred()) SWIG_fail
;
19002 Py_INCREF(Py_None
); resultobj
= Py_None
;
19009 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19010 PyObject
*resultobj
;
19011 wxListItem
*arg1
= (wxListItem
*) 0 ;
19013 PyObject
* obj0
= 0 ;
19014 PyObject
* obj1
= 0 ;
19015 char *kwnames
[] = {
19016 (char *) "self",(char *) "col", NULL
19019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
19020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19022 arg2
= (int) SWIG_AsInt(obj1
);
19023 if (PyErr_Occurred()) SWIG_fail
;
19025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19026 (arg1
)->SetColumn(arg2
);
19028 wxPyEndAllowThreads(__tstate
);
19029 if (PyErr_Occurred()) SWIG_fail
;
19031 Py_INCREF(Py_None
); resultobj
= Py_None
;
19038 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19039 PyObject
*resultobj
;
19040 wxListItem
*arg1
= (wxListItem
*) 0 ;
19042 PyObject
* obj0
= 0 ;
19043 PyObject
* obj1
= 0 ;
19044 char *kwnames
[] = {
19045 (char *) "self",(char *) "state", NULL
19048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
19049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19051 arg2
= (long) SWIG_AsLong(obj1
);
19052 if (PyErr_Occurred()) SWIG_fail
;
19054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19055 (arg1
)->SetState(arg2
);
19057 wxPyEndAllowThreads(__tstate
);
19058 if (PyErr_Occurred()) SWIG_fail
;
19060 Py_INCREF(Py_None
); resultobj
= Py_None
;
19067 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19068 PyObject
*resultobj
;
19069 wxListItem
*arg1
= (wxListItem
*) 0 ;
19071 PyObject
* obj0
= 0 ;
19072 PyObject
* obj1
= 0 ;
19073 char *kwnames
[] = {
19074 (char *) "self",(char *) "stateMask", NULL
19077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19080 arg2
= (long) SWIG_AsLong(obj1
);
19081 if (PyErr_Occurred()) SWIG_fail
;
19083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19084 (arg1
)->SetStateMask(arg2
);
19086 wxPyEndAllowThreads(__tstate
);
19087 if (PyErr_Occurred()) SWIG_fail
;
19089 Py_INCREF(Py_None
); resultobj
= Py_None
;
19096 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19097 PyObject
*resultobj
;
19098 wxListItem
*arg1
= (wxListItem
*) 0 ;
19099 wxString
*arg2
= 0 ;
19100 bool temp2
= False
;
19101 PyObject
* obj0
= 0 ;
19102 PyObject
* obj1
= 0 ;
19103 char *kwnames
[] = {
19104 (char *) "self",(char *) "text", NULL
19107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
19108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19111 arg2
= wxString_in_helper(obj1
);
19112 if (arg2
== NULL
) SWIG_fail
;
19116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19117 (arg1
)->SetText((wxString
const &)*arg2
);
19119 wxPyEndAllowThreads(__tstate
);
19120 if (PyErr_Occurred()) SWIG_fail
;
19122 Py_INCREF(Py_None
); resultobj
= Py_None
;
19137 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19138 PyObject
*resultobj
;
19139 wxListItem
*arg1
= (wxListItem
*) 0 ;
19141 PyObject
* obj0
= 0 ;
19142 PyObject
* obj1
= 0 ;
19143 char *kwnames
[] = {
19144 (char *) "self",(char *) "image", NULL
19147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
19148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19150 arg2
= (int) SWIG_AsInt(obj1
);
19151 if (PyErr_Occurred()) SWIG_fail
;
19153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19154 (arg1
)->SetImage(arg2
);
19156 wxPyEndAllowThreads(__tstate
);
19157 if (PyErr_Occurred()) SWIG_fail
;
19159 Py_INCREF(Py_None
); resultobj
= Py_None
;
19166 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19167 PyObject
*resultobj
;
19168 wxListItem
*arg1
= (wxListItem
*) 0 ;
19170 PyObject
* obj0
= 0 ;
19171 PyObject
* obj1
= 0 ;
19172 char *kwnames
[] = {
19173 (char *) "self",(char *) "data", NULL
19176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
19177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19179 arg2
= (long) SWIG_AsLong(obj1
);
19180 if (PyErr_Occurred()) SWIG_fail
;
19182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19183 (arg1
)->SetData(arg2
);
19185 wxPyEndAllowThreads(__tstate
);
19186 if (PyErr_Occurred()) SWIG_fail
;
19188 Py_INCREF(Py_None
); resultobj
= Py_None
;
19195 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19196 PyObject
*resultobj
;
19197 wxListItem
*arg1
= (wxListItem
*) 0 ;
19199 PyObject
* obj0
= 0 ;
19200 PyObject
* obj1
= 0 ;
19201 char *kwnames
[] = {
19202 (char *) "self",(char *) "width", NULL
19205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
19206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19208 arg2
= (int) SWIG_AsInt(obj1
);
19209 if (PyErr_Occurred()) SWIG_fail
;
19211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19212 (arg1
)->SetWidth(arg2
);
19214 wxPyEndAllowThreads(__tstate
);
19215 if (PyErr_Occurred()) SWIG_fail
;
19217 Py_INCREF(Py_None
); resultobj
= Py_None
;
19224 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19225 PyObject
*resultobj
;
19226 wxListItem
*arg1
= (wxListItem
*) 0 ;
19228 PyObject
* obj0
= 0 ;
19229 PyObject
* obj1
= 0 ;
19230 char *kwnames
[] = {
19231 (char *) "self",(char *) "align", NULL
19234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
19235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19237 arg2
= (wxListColumnFormat
) SWIG_AsInt(obj1
);
19238 if (PyErr_Occurred()) SWIG_fail
;
19240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19241 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
19243 wxPyEndAllowThreads(__tstate
);
19244 if (PyErr_Occurred()) SWIG_fail
;
19246 Py_INCREF(Py_None
); resultobj
= Py_None
;
19253 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19254 PyObject
*resultobj
;
19255 wxListItem
*arg1
= (wxListItem
*) 0 ;
19256 wxColour
*arg2
= 0 ;
19258 PyObject
* obj0
= 0 ;
19259 PyObject
* obj1
= 0 ;
19260 char *kwnames
[] = {
19261 (char *) "self",(char *) "colText", NULL
19264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19269 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19273 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
19275 wxPyEndAllowThreads(__tstate
);
19276 if (PyErr_Occurred()) SWIG_fail
;
19278 Py_INCREF(Py_None
); resultobj
= Py_None
;
19285 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19286 PyObject
*resultobj
;
19287 wxListItem
*arg1
= (wxListItem
*) 0 ;
19288 wxColour
*arg2
= 0 ;
19290 PyObject
* obj0
= 0 ;
19291 PyObject
* obj1
= 0 ;
19292 char *kwnames
[] = {
19293 (char *) "self",(char *) "colBack", NULL
19296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19301 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19305 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
19307 wxPyEndAllowThreads(__tstate
);
19308 if (PyErr_Occurred()) SWIG_fail
;
19310 Py_INCREF(Py_None
); resultobj
= Py_None
;
19317 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19318 PyObject
*resultobj
;
19319 wxListItem
*arg1
= (wxListItem
*) 0 ;
19321 PyObject
* obj0
= 0 ;
19322 PyObject
* obj1
= 0 ;
19323 char *kwnames
[] = {
19324 (char *) "self",(char *) "font", NULL
19327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
19328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19330 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
19331 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19333 if (arg2
== NULL
) {
19334 PyErr_SetString(PyExc_TypeError
,"null reference");
19338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19339 (arg1
)->SetFont((wxFont
const &)*arg2
);
19341 wxPyEndAllowThreads(__tstate
);
19342 if (PyErr_Occurred()) SWIG_fail
;
19344 Py_INCREF(Py_None
); resultobj
= Py_None
;
19351 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19352 PyObject
*resultobj
;
19353 wxListItem
*arg1
= (wxListItem
*) 0 ;
19355 PyObject
* obj0
= 0 ;
19356 char *kwnames
[] = {
19357 (char *) "self", NULL
19360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
19361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19365 result
= (long)(arg1
)->GetMask();
19367 wxPyEndAllowThreads(__tstate
);
19368 if (PyErr_Occurred()) SWIG_fail
;
19370 resultobj
= SWIG_FromLong((long)result
);
19377 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19378 PyObject
*resultobj
;
19379 wxListItem
*arg1
= (wxListItem
*) 0 ;
19381 PyObject
* obj0
= 0 ;
19382 char *kwnames
[] = {
19383 (char *) "self", NULL
19386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
19387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19391 result
= (long)(arg1
)->GetId();
19393 wxPyEndAllowThreads(__tstate
);
19394 if (PyErr_Occurred()) SWIG_fail
;
19396 resultobj
= SWIG_FromLong((long)result
);
19403 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19404 PyObject
*resultobj
;
19405 wxListItem
*arg1
= (wxListItem
*) 0 ;
19407 PyObject
* obj0
= 0 ;
19408 char *kwnames
[] = {
19409 (char *) "self", NULL
19412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
19413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19417 result
= (int)(arg1
)->GetColumn();
19419 wxPyEndAllowThreads(__tstate
);
19420 if (PyErr_Occurred()) SWIG_fail
;
19422 resultobj
= SWIG_FromInt((int)result
);
19429 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19430 PyObject
*resultobj
;
19431 wxListItem
*arg1
= (wxListItem
*) 0 ;
19433 PyObject
* obj0
= 0 ;
19434 char *kwnames
[] = {
19435 (char *) "self", NULL
19438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
19439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19443 result
= (long)(arg1
)->GetState();
19445 wxPyEndAllowThreads(__tstate
);
19446 if (PyErr_Occurred()) SWIG_fail
;
19448 resultobj
= SWIG_FromLong((long)result
);
19455 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19456 PyObject
*resultobj
;
19457 wxListItem
*arg1
= (wxListItem
*) 0 ;
19459 PyObject
* obj0
= 0 ;
19460 char *kwnames
[] = {
19461 (char *) "self", NULL
19464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
19465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19470 wxString
const &_result_ref
= (arg1
)->GetText();
19471 result
= (wxString
*) &_result_ref
;
19474 wxPyEndAllowThreads(__tstate
);
19475 if (PyErr_Occurred()) SWIG_fail
;
19479 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19481 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19490 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19491 PyObject
*resultobj
;
19492 wxListItem
*arg1
= (wxListItem
*) 0 ;
19494 PyObject
* obj0
= 0 ;
19495 char *kwnames
[] = {
19496 (char *) "self", NULL
19499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
19500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19504 result
= (int)(arg1
)->GetImage();
19506 wxPyEndAllowThreads(__tstate
);
19507 if (PyErr_Occurred()) SWIG_fail
;
19509 resultobj
= SWIG_FromInt((int)result
);
19516 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19517 PyObject
*resultobj
;
19518 wxListItem
*arg1
= (wxListItem
*) 0 ;
19520 PyObject
* obj0
= 0 ;
19521 char *kwnames
[] = {
19522 (char *) "self", NULL
19525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
19526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19530 result
= (long)(arg1
)->GetData();
19532 wxPyEndAllowThreads(__tstate
);
19533 if (PyErr_Occurred()) SWIG_fail
;
19535 resultobj
= SWIG_FromLong((long)result
);
19542 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19543 PyObject
*resultobj
;
19544 wxListItem
*arg1
= (wxListItem
*) 0 ;
19546 PyObject
* obj0
= 0 ;
19547 char *kwnames
[] = {
19548 (char *) "self", NULL
19551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
19552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19556 result
= (int)(arg1
)->GetWidth();
19558 wxPyEndAllowThreads(__tstate
);
19559 if (PyErr_Occurred()) SWIG_fail
;
19561 resultobj
= SWIG_FromInt((int)result
);
19568 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19569 PyObject
*resultobj
;
19570 wxListItem
*arg1
= (wxListItem
*) 0 ;
19572 PyObject
* obj0
= 0 ;
19573 char *kwnames
[] = {
19574 (char *) "self", NULL
19577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
19578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19582 result
= (int)(arg1
)->GetAlign();
19584 wxPyEndAllowThreads(__tstate
);
19585 if (PyErr_Occurred()) SWIG_fail
;
19587 resultobj
= SWIG_FromInt((int)result
);
19594 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19595 PyObject
*resultobj
;
19596 wxListItem
*arg1
= (wxListItem
*) 0 ;
19597 wxListItemAttr
*result
;
19598 PyObject
* obj0
= 0 ;
19599 char *kwnames
[] = {
19600 (char *) "self", NULL
19603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
19604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19608 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
19610 wxPyEndAllowThreads(__tstate
);
19611 if (PyErr_Occurred()) SWIG_fail
;
19613 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
19620 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19621 PyObject
*resultobj
;
19622 wxListItem
*arg1
= (wxListItem
*) 0 ;
19624 PyObject
* obj0
= 0 ;
19625 char *kwnames
[] = {
19626 (char *) "self", NULL
19629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
19630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19634 result
= (bool)(arg1
)->HasAttributes();
19636 wxPyEndAllowThreads(__tstate
);
19637 if (PyErr_Occurred()) SWIG_fail
;
19640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19648 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19649 PyObject
*resultobj
;
19650 wxListItem
*arg1
= (wxListItem
*) 0 ;
19652 PyObject
* obj0
= 0 ;
19653 char *kwnames
[] = {
19654 (char *) "self", NULL
19657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
19658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19662 result
= ((wxListItem
const *)arg1
)->GetTextColour();
19664 wxPyEndAllowThreads(__tstate
);
19665 if (PyErr_Occurred()) SWIG_fail
;
19668 wxColour
* resultptr
;
19669 resultptr
= new wxColour((wxColour
&) result
);
19670 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19678 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19679 PyObject
*resultobj
;
19680 wxListItem
*arg1
= (wxListItem
*) 0 ;
19682 PyObject
* obj0
= 0 ;
19683 char *kwnames
[] = {
19684 (char *) "self", NULL
19687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
19688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19692 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
19694 wxPyEndAllowThreads(__tstate
);
19695 if (PyErr_Occurred()) SWIG_fail
;
19698 wxColour
* resultptr
;
19699 resultptr
= new wxColour((wxColour
&) result
);
19700 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19708 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19709 PyObject
*resultobj
;
19710 wxListItem
*arg1
= (wxListItem
*) 0 ;
19712 PyObject
* obj0
= 0 ;
19713 char *kwnames
[] = {
19714 (char *) "self", NULL
19717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
19718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19722 result
= ((wxListItem
const *)arg1
)->GetFont();
19724 wxPyEndAllowThreads(__tstate
);
19725 if (PyErr_Occurred()) SWIG_fail
;
19728 wxFont
* resultptr
;
19729 resultptr
= new wxFont((wxFont
&) result
);
19730 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
19738 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19739 PyObject
*resultobj
;
19740 wxListItem
*arg1
= (wxListItem
*) 0 ;
19742 PyObject
* obj0
= 0 ;
19743 PyObject
* obj1
= 0 ;
19744 char *kwnames
[] = {
19745 (char *) "self",(char *) "m_mask", NULL
19748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19751 arg2
= (long) SWIG_AsLong(obj1
);
19752 if (PyErr_Occurred()) SWIG_fail
;
19753 if (arg1
) (arg1
)->m_mask
= arg2
;
19755 Py_INCREF(Py_None
); resultobj
= Py_None
;
19762 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19763 PyObject
*resultobj
;
19764 wxListItem
*arg1
= (wxListItem
*) 0 ;
19766 PyObject
* obj0
= 0 ;
19767 char *kwnames
[] = {
19768 (char *) "self", NULL
19771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
19772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19774 result
= (long) ((arg1
)->m_mask
);
19776 resultobj
= SWIG_FromLong((long)result
);
19783 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19784 PyObject
*resultobj
;
19785 wxListItem
*arg1
= (wxListItem
*) 0 ;
19787 PyObject
* obj0
= 0 ;
19788 PyObject
* obj1
= 0 ;
19789 char *kwnames
[] = {
19790 (char *) "self",(char *) "m_itemId", NULL
19793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19796 arg2
= (long) SWIG_AsLong(obj1
);
19797 if (PyErr_Occurred()) SWIG_fail
;
19798 if (arg1
) (arg1
)->m_itemId
= arg2
;
19800 Py_INCREF(Py_None
); resultobj
= Py_None
;
19807 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19808 PyObject
*resultobj
;
19809 wxListItem
*arg1
= (wxListItem
*) 0 ;
19811 PyObject
* obj0
= 0 ;
19812 char *kwnames
[] = {
19813 (char *) "self", NULL
19816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
19817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19819 result
= (long) ((arg1
)->m_itemId
);
19821 resultobj
= SWIG_FromLong((long)result
);
19828 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19829 PyObject
*resultobj
;
19830 wxListItem
*arg1
= (wxListItem
*) 0 ;
19832 PyObject
* obj0
= 0 ;
19833 PyObject
* obj1
= 0 ;
19834 char *kwnames
[] = {
19835 (char *) "self",(char *) "m_col", NULL
19838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19841 arg2
= (int) SWIG_AsInt(obj1
);
19842 if (PyErr_Occurred()) SWIG_fail
;
19843 if (arg1
) (arg1
)->m_col
= arg2
;
19845 Py_INCREF(Py_None
); resultobj
= Py_None
;
19852 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19853 PyObject
*resultobj
;
19854 wxListItem
*arg1
= (wxListItem
*) 0 ;
19856 PyObject
* obj0
= 0 ;
19857 char *kwnames
[] = {
19858 (char *) "self", NULL
19861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
19862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19864 result
= (int) ((arg1
)->m_col
);
19866 resultobj
= SWIG_FromInt((int)result
);
19873 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19874 PyObject
*resultobj
;
19875 wxListItem
*arg1
= (wxListItem
*) 0 ;
19877 PyObject
* obj0
= 0 ;
19878 PyObject
* obj1
= 0 ;
19879 char *kwnames
[] = {
19880 (char *) "self",(char *) "m_state", NULL
19883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19886 arg2
= (long) SWIG_AsLong(obj1
);
19887 if (PyErr_Occurred()) SWIG_fail
;
19888 if (arg1
) (arg1
)->m_state
= arg2
;
19890 Py_INCREF(Py_None
); resultobj
= Py_None
;
19897 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19898 PyObject
*resultobj
;
19899 wxListItem
*arg1
= (wxListItem
*) 0 ;
19901 PyObject
* obj0
= 0 ;
19902 char *kwnames
[] = {
19903 (char *) "self", NULL
19906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
19907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19909 result
= (long) ((arg1
)->m_state
);
19911 resultobj
= SWIG_FromLong((long)result
);
19918 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19919 PyObject
*resultobj
;
19920 wxListItem
*arg1
= (wxListItem
*) 0 ;
19922 PyObject
* obj0
= 0 ;
19923 PyObject
* obj1
= 0 ;
19924 char *kwnames
[] = {
19925 (char *) "self",(char *) "m_stateMask", NULL
19928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19931 arg2
= (long) SWIG_AsLong(obj1
);
19932 if (PyErr_Occurred()) SWIG_fail
;
19933 if (arg1
) (arg1
)->m_stateMask
= arg2
;
19935 Py_INCREF(Py_None
); resultobj
= Py_None
;
19942 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19943 PyObject
*resultobj
;
19944 wxListItem
*arg1
= (wxListItem
*) 0 ;
19946 PyObject
* obj0
= 0 ;
19947 char *kwnames
[] = {
19948 (char *) "self", NULL
19951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
19952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19954 result
= (long) ((arg1
)->m_stateMask
);
19956 resultobj
= SWIG_FromLong((long)result
);
19963 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19964 PyObject
*resultobj
;
19965 wxListItem
*arg1
= (wxListItem
*) 0 ;
19966 wxString
*arg2
= (wxString
*) 0 ;
19967 bool temp2
= False
;
19968 PyObject
* obj0
= 0 ;
19969 PyObject
* obj1
= 0 ;
19970 char *kwnames
[] = {
19971 (char *) "self",(char *) "m_text", NULL
19974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19978 arg2
= wxString_in_helper(obj1
);
19979 if (arg2
== NULL
) SWIG_fail
;
19982 if (arg1
) (arg1
)->m_text
= *arg2
;
19984 Py_INCREF(Py_None
); resultobj
= Py_None
;
19999 static PyObject
*_wrap_ListItem_m_text_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_text_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
= (wxString
*)& ((arg1
)->m_text
);
20015 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20017 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20026 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20027 PyObject
*resultobj
;
20028 wxListItem
*arg1
= (wxListItem
*) 0 ;
20030 PyObject
* obj0
= 0 ;
20031 PyObject
* obj1
= 0 ;
20032 char *kwnames
[] = {
20033 (char *) "self",(char *) "m_image", NULL
20036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20039 arg2
= (int) SWIG_AsInt(obj1
);
20040 if (PyErr_Occurred()) SWIG_fail
;
20041 if (arg1
) (arg1
)->m_image
= arg2
;
20043 Py_INCREF(Py_None
); resultobj
= Py_None
;
20050 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20051 PyObject
*resultobj
;
20052 wxListItem
*arg1
= (wxListItem
*) 0 ;
20054 PyObject
* obj0
= 0 ;
20055 char *kwnames
[] = {
20056 (char *) "self", NULL
20059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
20060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20062 result
= (int) ((arg1
)->m_image
);
20064 resultobj
= SWIG_FromInt((int)result
);
20071 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20072 PyObject
*resultobj
;
20073 wxListItem
*arg1
= (wxListItem
*) 0 ;
20075 PyObject
* obj0
= 0 ;
20076 PyObject
* obj1
= 0 ;
20077 char *kwnames
[] = {
20078 (char *) "self",(char *) "m_data", NULL
20081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20084 arg2
= (long) SWIG_AsLong(obj1
);
20085 if (PyErr_Occurred()) SWIG_fail
;
20086 if (arg1
) (arg1
)->m_data
= arg2
;
20088 Py_INCREF(Py_None
); resultobj
= Py_None
;
20095 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20096 PyObject
*resultobj
;
20097 wxListItem
*arg1
= (wxListItem
*) 0 ;
20099 PyObject
* obj0
= 0 ;
20100 char *kwnames
[] = {
20101 (char *) "self", NULL
20104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
20105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20107 result
= (long) ((arg1
)->m_data
);
20109 resultobj
= SWIG_FromLong((long)result
);
20116 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20117 PyObject
*resultobj
;
20118 wxListItem
*arg1
= (wxListItem
*) 0 ;
20120 PyObject
* obj0
= 0 ;
20121 PyObject
* obj1
= 0 ;
20122 char *kwnames
[] = {
20123 (char *) "self",(char *) "m_format", NULL
20126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20129 arg2
= (int) SWIG_AsInt(obj1
);
20130 if (PyErr_Occurred()) SWIG_fail
;
20131 if (arg1
) (arg1
)->m_format
= arg2
;
20133 Py_INCREF(Py_None
); resultobj
= Py_None
;
20140 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20141 PyObject
*resultobj
;
20142 wxListItem
*arg1
= (wxListItem
*) 0 ;
20144 PyObject
* obj0
= 0 ;
20145 char *kwnames
[] = {
20146 (char *) "self", NULL
20149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
20150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20152 result
= (int) ((arg1
)->m_format
);
20154 resultobj
= SWIG_FromInt((int)result
);
20161 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20162 PyObject
*resultobj
;
20163 wxListItem
*arg1
= (wxListItem
*) 0 ;
20165 PyObject
* obj0
= 0 ;
20166 PyObject
* obj1
= 0 ;
20167 char *kwnames
[] = {
20168 (char *) "self",(char *) "m_width", NULL
20171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20174 arg2
= (int) SWIG_AsInt(obj1
);
20175 if (PyErr_Occurred()) SWIG_fail
;
20176 if (arg1
) (arg1
)->m_width
= arg2
;
20178 Py_INCREF(Py_None
); resultobj
= Py_None
;
20185 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20186 PyObject
*resultobj
;
20187 wxListItem
*arg1
= (wxListItem
*) 0 ;
20189 PyObject
* obj0
= 0 ;
20190 char *kwnames
[] = {
20191 (char *) "self", NULL
20194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
20195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20197 result
= (int) ((arg1
)->m_width
);
20199 resultobj
= SWIG_FromInt((int)result
);
20206 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
20208 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20209 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
20211 return Py_BuildValue((char *)"");
20213 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20214 PyObject
*resultobj
;
20215 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20216 int arg2
= (int) 0 ;
20217 wxListEvent
*result
;
20218 PyObject
* obj0
= 0 ;
20219 PyObject
* obj1
= 0 ;
20220 char *kwnames
[] = {
20221 (char *) "commandType",(char *) "id", NULL
20224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20226 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
20227 if (PyErr_Occurred()) SWIG_fail
;
20230 arg2
= (int) SWIG_AsInt(obj1
);
20231 if (PyErr_Occurred()) SWIG_fail
;
20234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20235 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
20237 wxPyEndAllowThreads(__tstate
);
20238 if (PyErr_Occurred()) SWIG_fail
;
20240 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
20247 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20248 PyObject
*resultobj
;
20249 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20251 PyObject
* obj0
= 0 ;
20252 PyObject
* obj1
= 0 ;
20253 char *kwnames
[] = {
20254 (char *) "self",(char *) "m_code", NULL
20257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20260 arg2
= (int) SWIG_AsInt(obj1
);
20261 if (PyErr_Occurred()) SWIG_fail
;
20262 if (arg1
) (arg1
)->m_code
= arg2
;
20264 Py_INCREF(Py_None
); resultobj
= Py_None
;
20271 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20272 PyObject
*resultobj
;
20273 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20275 PyObject
* obj0
= 0 ;
20276 char *kwnames
[] = {
20277 (char *) "self", NULL
20280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
20281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20283 result
= (int) ((arg1
)->m_code
);
20285 resultobj
= SWIG_FromInt((int)result
);
20292 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20293 PyObject
*resultobj
;
20294 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20296 PyObject
* obj0
= 0 ;
20297 PyObject
* obj1
= 0 ;
20298 char *kwnames
[] = {
20299 (char *) "self",(char *) "m_oldItemIndex", NULL
20302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20305 arg2
= (long) SWIG_AsLong(obj1
);
20306 if (PyErr_Occurred()) SWIG_fail
;
20307 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
20309 Py_INCREF(Py_None
); resultobj
= Py_None
;
20316 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20317 PyObject
*resultobj
;
20318 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20320 PyObject
* obj0
= 0 ;
20321 char *kwnames
[] = {
20322 (char *) "self", NULL
20325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
20326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20328 result
= (long) ((arg1
)->m_oldItemIndex
);
20330 resultobj
= SWIG_FromLong((long)result
);
20337 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20338 PyObject
*resultobj
;
20339 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20341 PyObject
* obj0
= 0 ;
20342 PyObject
* obj1
= 0 ;
20343 char *kwnames
[] = {
20344 (char *) "self",(char *) "m_itemIndex", NULL
20347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20350 arg2
= (long) SWIG_AsLong(obj1
);
20351 if (PyErr_Occurred()) SWIG_fail
;
20352 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
20354 Py_INCREF(Py_None
); resultobj
= Py_None
;
20361 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20362 PyObject
*resultobj
;
20363 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20365 PyObject
* obj0
= 0 ;
20366 char *kwnames
[] = {
20367 (char *) "self", NULL
20370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
20371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20373 result
= (long) ((arg1
)->m_itemIndex
);
20375 resultobj
= SWIG_FromLong((long)result
);
20382 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20383 PyObject
*resultobj
;
20384 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20386 PyObject
* obj0
= 0 ;
20387 PyObject
* obj1
= 0 ;
20388 char *kwnames
[] = {
20389 (char *) "self",(char *) "m_col", NULL
20392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20395 arg2
= (int) SWIG_AsInt(obj1
);
20396 if (PyErr_Occurred()) SWIG_fail
;
20397 if (arg1
) (arg1
)->m_col
= arg2
;
20399 Py_INCREF(Py_None
); resultobj
= Py_None
;
20406 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20407 PyObject
*resultobj
;
20408 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20410 PyObject
* obj0
= 0 ;
20411 char *kwnames
[] = {
20412 (char *) "self", NULL
20415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
20416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20418 result
= (int) ((arg1
)->m_col
);
20420 resultobj
= SWIG_FromInt((int)result
);
20427 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20428 PyObject
*resultobj
;
20429 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20430 wxPoint
*arg2
= (wxPoint
*) 0 ;
20431 PyObject
* obj0
= 0 ;
20432 PyObject
* obj1
= 0 ;
20433 char *kwnames
[] = {
20434 (char *) "self",(char *) "m_pointDrag", NULL
20437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20440 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
20441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20442 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
20444 Py_INCREF(Py_None
); resultobj
= Py_None
;
20451 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20452 PyObject
*resultobj
;
20453 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20455 PyObject
* obj0
= 0 ;
20456 char *kwnames
[] = {
20457 (char *) "self", NULL
20460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
20461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20463 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
20465 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
20472 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20473 PyObject
*resultobj
;
20474 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20475 wxListItem
*result
;
20476 PyObject
* obj0
= 0 ;
20477 char *kwnames
[] = {
20478 (char *) "self", NULL
20481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
20482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20484 result
= (wxListItem
*)& ((arg1
)->m_item
);
20487 resultobj
= wxPyMake_wxObject(result
);
20495 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20496 PyObject
*resultobj
;
20497 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20499 PyObject
* obj0
= 0 ;
20500 char *kwnames
[] = {
20501 (char *) "self", NULL
20504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20509 result
= (int)(arg1
)->GetKeyCode();
20511 wxPyEndAllowThreads(__tstate
);
20512 if (PyErr_Occurred()) SWIG_fail
;
20514 resultobj
= SWIG_FromInt((int)result
);
20521 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20522 PyObject
*resultobj
;
20523 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20525 PyObject
* obj0
= 0 ;
20526 char *kwnames
[] = {
20527 (char *) "self", NULL
20530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
20531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20535 result
= (long)(arg1
)->GetIndex();
20537 wxPyEndAllowThreads(__tstate
);
20538 if (PyErr_Occurred()) SWIG_fail
;
20540 resultobj
= SWIG_FromLong((long)result
);
20547 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20548 PyObject
*resultobj
;
20549 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20551 PyObject
* obj0
= 0 ;
20552 char *kwnames
[] = {
20553 (char *) "self", NULL
20556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
20557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20561 result
= (int)(arg1
)->GetColumn();
20563 wxPyEndAllowThreads(__tstate
);
20564 if (PyErr_Occurred()) SWIG_fail
;
20566 resultobj
= SWIG_FromInt((int)result
);
20573 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20574 PyObject
*resultobj
;
20575 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20577 PyObject
* obj0
= 0 ;
20578 char *kwnames
[] = {
20579 (char *) "self", NULL
20582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
20583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20587 result
= (arg1
)->GetPoint();
20589 wxPyEndAllowThreads(__tstate
);
20590 if (PyErr_Occurred()) SWIG_fail
;
20593 wxPoint
* resultptr
;
20594 resultptr
= new wxPoint((wxPoint
&) result
);
20595 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20603 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20604 PyObject
*resultobj
;
20605 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20607 PyObject
* obj0
= 0 ;
20608 char *kwnames
[] = {
20609 (char *) "self", NULL
20612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
20613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20618 wxString
const &_result_ref
= (arg1
)->GetLabel();
20619 result
= (wxString
*) &_result_ref
;
20622 wxPyEndAllowThreads(__tstate
);
20623 if (PyErr_Occurred()) SWIG_fail
;
20627 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20629 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20638 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20639 PyObject
*resultobj
;
20640 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20642 PyObject
* obj0
= 0 ;
20643 char *kwnames
[] = {
20644 (char *) "self", NULL
20647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
20648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20653 wxString
const &_result_ref
= (arg1
)->GetText();
20654 result
= (wxString
*) &_result_ref
;
20657 wxPyEndAllowThreads(__tstate
);
20658 if (PyErr_Occurred()) SWIG_fail
;
20662 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20664 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20673 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20674 PyObject
*resultobj
;
20675 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20677 PyObject
* obj0
= 0 ;
20678 char *kwnames
[] = {
20679 (char *) "self", NULL
20682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
20683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20687 result
= (int)(arg1
)->GetImage();
20689 wxPyEndAllowThreads(__tstate
);
20690 if (PyErr_Occurred()) SWIG_fail
;
20692 resultobj
= SWIG_FromInt((int)result
);
20699 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20700 PyObject
*resultobj
;
20701 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20703 PyObject
* obj0
= 0 ;
20704 char *kwnames
[] = {
20705 (char *) "self", NULL
20708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
20709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20713 result
= (long)(arg1
)->GetData();
20715 wxPyEndAllowThreads(__tstate
);
20716 if (PyErr_Occurred()) SWIG_fail
;
20718 resultobj
= SWIG_FromLong((long)result
);
20725 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20726 PyObject
*resultobj
;
20727 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20729 PyObject
* obj0
= 0 ;
20730 char *kwnames
[] = {
20731 (char *) "self", NULL
20734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
20735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20739 result
= (long)(arg1
)->GetMask();
20741 wxPyEndAllowThreads(__tstate
);
20742 if (PyErr_Occurred()) SWIG_fail
;
20744 resultobj
= SWIG_FromLong((long)result
);
20751 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20752 PyObject
*resultobj
;
20753 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20754 wxListItem
*result
;
20755 PyObject
* obj0
= 0 ;
20756 char *kwnames
[] = {
20757 (char *) "self", NULL
20760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
20761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20766 wxListItem
const &_result_ref
= (arg1
)->GetItem();
20767 result
= (wxListItem
*) &_result_ref
;
20770 wxPyEndAllowThreads(__tstate
);
20771 if (PyErr_Occurred()) SWIG_fail
;
20773 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
20780 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20781 PyObject
*resultobj
;
20782 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20784 PyObject
* obj0
= 0 ;
20785 char *kwnames
[] = {
20786 (char *) "self", NULL
20789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
20790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20794 result
= (long)(arg1
)->GetCacheFrom();
20796 wxPyEndAllowThreads(__tstate
);
20797 if (PyErr_Occurred()) SWIG_fail
;
20799 resultobj
= SWIG_FromLong((long)result
);
20806 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20807 PyObject
*resultobj
;
20808 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20810 PyObject
* obj0
= 0 ;
20811 char *kwnames
[] = {
20812 (char *) "self", NULL
20815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
20816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20820 result
= (long)(arg1
)->GetCacheTo();
20822 wxPyEndAllowThreads(__tstate
);
20823 if (PyErr_Occurred()) SWIG_fail
;
20825 resultobj
= SWIG_FromLong((long)result
);
20832 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20833 PyObject
*resultobj
;
20834 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20836 PyObject
* obj0
= 0 ;
20837 char *kwnames
[] = {
20838 (char *) "self", NULL
20841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
20842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20846 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
20848 wxPyEndAllowThreads(__tstate
);
20849 if (PyErr_Occurred()) SWIG_fail
;
20852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20860 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20861 PyObject
*resultobj
;
20862 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20864 PyObject
* obj0
= 0 ;
20865 PyObject
* obj1
= 0 ;
20866 char *kwnames
[] = {
20867 (char *) "self",(char *) "editCancelled", NULL
20870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
20871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20873 arg2
= (bool) SWIG_AsBool(obj1
);
20874 if (PyErr_Occurred()) SWIG_fail
;
20876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20877 (arg1
)->SetEditCanceled(arg2
);
20879 wxPyEndAllowThreads(__tstate
);
20880 if (PyErr_Occurred()) SWIG_fail
;
20882 Py_INCREF(Py_None
); resultobj
= Py_None
;
20889 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
20891 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20892 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
20894 return Py_BuildValue((char *)"");
20896 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20897 PyObject
*resultobj
;
20898 wxWindow
*arg1
= (wxWindow
*) 0 ;
20899 int arg2
= (int) -1 ;
20900 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20901 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20902 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20903 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20904 long arg5
= (long) wxLC_ICON
;
20905 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
20906 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
20907 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
20908 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20909 wxPyListCtrl
*result
;
20912 bool temp7
= False
;
20913 PyObject
* obj0
= 0 ;
20914 PyObject
* obj1
= 0 ;
20915 PyObject
* obj2
= 0 ;
20916 PyObject
* obj3
= 0 ;
20917 PyObject
* obj4
= 0 ;
20918 PyObject
* obj5
= 0 ;
20919 PyObject
* obj6
= 0 ;
20920 char *kwnames
[] = {
20921 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20928 arg2
= (int) SWIG_AsInt(obj1
);
20929 if (PyErr_Occurred()) SWIG_fail
;
20934 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20940 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20944 arg5
= (long) SWIG_AsLong(obj4
);
20945 if (PyErr_Occurred()) SWIG_fail
;
20948 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
20949 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20951 if (arg6
== NULL
) {
20952 PyErr_SetString(PyExc_TypeError
,"null reference");
20958 arg7
= wxString_in_helper(obj6
);
20959 if (arg7
== NULL
) SWIG_fail
;
20964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20965 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
20967 wxPyEndAllowThreads(__tstate
);
20968 if (PyErr_Occurred()) SWIG_fail
;
20970 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
20985 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20986 PyObject
*resultobj
;
20987 wxPyListCtrl
*result
;
20988 char *kwnames
[] = {
20992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
20994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20995 result
= (wxPyListCtrl
*)new wxPyListCtrl();
20997 wxPyEndAllowThreads(__tstate
);
20998 if (PyErr_Occurred()) SWIG_fail
;
21000 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21007 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21008 PyObject
*resultobj
;
21009 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21010 wxWindow
*arg2
= (wxWindow
*) 0 ;
21011 int arg3
= (int) -1 ;
21012 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21013 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21014 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21015 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21016 long arg6
= (long) wxLC_ICON
;
21017 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
21018 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
21019 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
21020 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21024 bool temp8
= False
;
21025 PyObject
* obj0
= 0 ;
21026 PyObject
* obj1
= 0 ;
21027 PyObject
* obj2
= 0 ;
21028 PyObject
* obj3
= 0 ;
21029 PyObject
* obj4
= 0 ;
21030 PyObject
* obj5
= 0 ;
21031 PyObject
* obj6
= 0 ;
21032 PyObject
* obj7
= 0 ;
21033 char *kwnames
[] = {
21034 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
21038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21040 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21043 arg3
= (int) SWIG_AsInt(obj2
);
21044 if (PyErr_Occurred()) SWIG_fail
;
21049 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21055 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21059 arg6
= (long) SWIG_AsLong(obj5
);
21060 if (PyErr_Occurred()) SWIG_fail
;
21063 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
21064 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21066 if (arg7
== NULL
) {
21067 PyErr_SetString(PyExc_TypeError
,"null reference");
21073 arg8
= wxString_in_helper(obj7
);
21074 if (arg8
== NULL
) SWIG_fail
;
21079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21080 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
21082 wxPyEndAllowThreads(__tstate
);
21083 if (PyErr_Occurred()) SWIG_fail
;
21086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21102 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21103 PyObject
*resultobj
;
21104 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21105 PyObject
*arg2
= (PyObject
*) 0 ;
21106 PyObject
*arg3
= (PyObject
*) 0 ;
21107 PyObject
* obj0
= 0 ;
21108 PyObject
* obj1
= 0 ;
21109 PyObject
* obj2
= 0 ;
21110 char *kwnames
[] = {
21111 (char *) "self",(char *) "self",(char *) "_class", NULL
21114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21121 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21123 wxPyEndAllowThreads(__tstate
);
21124 if (PyErr_Occurred()) SWIG_fail
;
21126 Py_INCREF(Py_None
); resultobj
= Py_None
;
21133 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21134 PyObject
*resultobj
;
21135 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21136 wxColour
*arg2
= 0 ;
21139 PyObject
* obj0
= 0 ;
21140 PyObject
* obj1
= 0 ;
21141 char *kwnames
[] = {
21142 (char *) "self",(char *) "col", NULL
21145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21150 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21154 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
21156 wxPyEndAllowThreads(__tstate
);
21157 if (PyErr_Occurred()) SWIG_fail
;
21160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21168 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21169 PyObject
*resultobj
;
21170 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21171 wxColour
*arg2
= 0 ;
21174 PyObject
* obj0
= 0 ;
21175 PyObject
* obj1
= 0 ;
21176 char *kwnames
[] = {
21177 (char *) "self",(char *) "col", NULL
21180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21185 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21189 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21191 wxPyEndAllowThreads(__tstate
);
21192 if (PyErr_Occurred()) SWIG_fail
;
21195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21203 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21204 PyObject
*resultobj
;
21205 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21207 wxListItem
*result
;
21208 PyObject
* obj0
= 0 ;
21209 PyObject
* obj1
= 0 ;
21210 char *kwnames
[] = {
21211 (char *) "self",(char *) "col", NULL
21214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21217 arg2
= (int) SWIG_AsInt(obj1
);
21218 if (PyErr_Occurred()) SWIG_fail
;
21220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21221 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
21223 wxPyEndAllowThreads(__tstate
);
21224 if (PyErr_Occurred()) SWIG_fail
;
21227 resultobj
= wxPyMake_wxObject(result
);
21235 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21236 PyObject
*resultobj
;
21237 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21239 wxListItem
*arg3
= 0 ;
21241 PyObject
* obj0
= 0 ;
21242 PyObject
* obj1
= 0 ;
21243 PyObject
* obj2
= 0 ;
21244 char *kwnames
[] = {
21245 (char *) "self",(char *) "col",(char *) "item", NULL
21248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21251 arg2
= (int) SWIG_AsInt(obj1
);
21252 if (PyErr_Occurred()) SWIG_fail
;
21253 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
21254 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21256 if (arg3
== NULL
) {
21257 PyErr_SetString(PyExc_TypeError
,"null reference");
21261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21262 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
21264 wxPyEndAllowThreads(__tstate
);
21265 if (PyErr_Occurred()) SWIG_fail
;
21268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21276 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21277 PyObject
*resultobj
;
21278 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21281 PyObject
* obj0
= 0 ;
21282 PyObject
* obj1
= 0 ;
21283 char *kwnames
[] = {
21284 (char *) "self",(char *) "col", NULL
21287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
21288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21290 arg2
= (int) SWIG_AsInt(obj1
);
21291 if (PyErr_Occurred()) SWIG_fail
;
21293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21294 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
21296 wxPyEndAllowThreads(__tstate
);
21297 if (PyErr_Occurred()) SWIG_fail
;
21299 resultobj
= SWIG_FromInt((int)result
);
21306 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21307 PyObject
*resultobj
;
21308 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21312 PyObject
* obj0
= 0 ;
21313 PyObject
* obj1
= 0 ;
21314 PyObject
* obj2
= 0 ;
21315 char *kwnames
[] = {
21316 (char *) "self",(char *) "col",(char *) "width", NULL
21319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21322 arg2
= (int) SWIG_AsInt(obj1
);
21323 if (PyErr_Occurred()) SWIG_fail
;
21324 arg3
= (int) SWIG_AsInt(obj2
);
21325 if (PyErr_Occurred()) SWIG_fail
;
21327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21328 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
21330 wxPyEndAllowThreads(__tstate
);
21331 if (PyErr_Occurred()) SWIG_fail
;
21334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21342 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21343 PyObject
*resultobj
;
21344 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21346 PyObject
* obj0
= 0 ;
21347 char *kwnames
[] = {
21348 (char *) "self", NULL
21351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
21352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21356 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
21358 wxPyEndAllowThreads(__tstate
);
21359 if (PyErr_Occurred()) SWIG_fail
;
21361 resultobj
= SWIG_FromInt((int)result
);
21368 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21369 PyObject
*resultobj
;
21370 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21372 PyObject
* obj0
= 0 ;
21373 char *kwnames
[] = {
21374 (char *) "self", NULL
21377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
21378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21382 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
21384 wxPyEndAllowThreads(__tstate
);
21385 if (PyErr_Occurred()) SWIG_fail
;
21388 wxRect
* resultptr
;
21389 resultptr
= new wxRect((wxRect
&) result
);
21390 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
21398 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21399 PyObject
*resultobj
;
21400 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21402 int arg3
= (int) 0 ;
21403 wxListItem
*result
;
21404 PyObject
* obj0
= 0 ;
21405 PyObject
* obj1
= 0 ;
21406 PyObject
* obj2
= 0 ;
21407 char *kwnames
[] = {
21408 (char *) "self",(char *) "itemId",(char *) "col", NULL
21411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21414 arg2
= (long) SWIG_AsLong(obj1
);
21415 if (PyErr_Occurred()) SWIG_fail
;
21417 arg3
= (int) SWIG_AsInt(obj2
);
21418 if (PyErr_Occurred()) SWIG_fail
;
21421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21422 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
21424 wxPyEndAllowThreads(__tstate
);
21425 if (PyErr_Occurred()) SWIG_fail
;
21428 resultobj
= wxPyMake_wxObject(result
);
21436 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21437 PyObject
*resultobj
;
21438 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21439 wxListItem
*arg2
= 0 ;
21441 PyObject
* obj0
= 0 ;
21442 PyObject
* obj1
= 0 ;
21443 char *kwnames
[] = {
21444 (char *) "self",(char *) "info", NULL
21447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21450 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
21451 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21453 if (arg2
== NULL
) {
21454 PyErr_SetString(PyExc_TypeError
,"null reference");
21458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21459 result
= (bool)(arg1
)->SetItem(*arg2
);
21461 wxPyEndAllowThreads(__tstate
);
21462 if (PyErr_Occurred()) SWIG_fail
;
21465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21473 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21474 PyObject
*resultobj
;
21475 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21478 wxString
*arg4
= 0 ;
21479 int arg5
= (int) -1 ;
21481 bool temp4
= False
;
21482 PyObject
* obj0
= 0 ;
21483 PyObject
* obj1
= 0 ;
21484 PyObject
* obj2
= 0 ;
21485 PyObject
* obj3
= 0 ;
21486 PyObject
* obj4
= 0 ;
21487 char *kwnames
[] = {
21488 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
21491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21494 arg2
= (long) SWIG_AsLong(obj1
);
21495 if (PyErr_Occurred()) SWIG_fail
;
21496 arg3
= (int) SWIG_AsInt(obj2
);
21497 if (PyErr_Occurred()) SWIG_fail
;
21499 arg4
= wxString_in_helper(obj3
);
21500 if (arg4
== NULL
) SWIG_fail
;
21504 arg5
= (int) SWIG_AsInt(obj4
);
21505 if (PyErr_Occurred()) SWIG_fail
;
21508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21509 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
21511 wxPyEndAllowThreads(__tstate
);
21512 if (PyErr_Occurred()) SWIG_fail
;
21514 resultobj
= SWIG_FromLong((long)result
);
21529 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21530 PyObject
*resultobj
;
21531 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21535 PyObject
* obj0
= 0 ;
21536 PyObject
* obj1
= 0 ;
21537 PyObject
* obj2
= 0 ;
21538 char *kwnames
[] = {
21539 (char *) "self",(char *) "item",(char *) "stateMask", NULL
21542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21545 arg2
= (long) SWIG_AsLong(obj1
);
21546 if (PyErr_Occurred()) SWIG_fail
;
21547 arg3
= (long) SWIG_AsLong(obj2
);
21548 if (PyErr_Occurred()) SWIG_fail
;
21550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21551 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
21553 wxPyEndAllowThreads(__tstate
);
21554 if (PyErr_Occurred()) SWIG_fail
;
21556 resultobj
= SWIG_FromInt((int)result
);
21563 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21564 PyObject
*resultobj
;
21565 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21570 PyObject
* obj0
= 0 ;
21571 PyObject
* obj1
= 0 ;
21572 PyObject
* obj2
= 0 ;
21573 PyObject
* obj3
= 0 ;
21574 char *kwnames
[] = {
21575 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
21578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21581 arg2
= (long) SWIG_AsLong(obj1
);
21582 if (PyErr_Occurred()) SWIG_fail
;
21583 arg3
= (long) SWIG_AsLong(obj2
);
21584 if (PyErr_Occurred()) SWIG_fail
;
21585 arg4
= (long) SWIG_AsLong(obj3
);
21586 if (PyErr_Occurred()) SWIG_fail
;
21588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21589 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
21591 wxPyEndAllowThreads(__tstate
);
21592 if (PyErr_Occurred()) SWIG_fail
;
21595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21603 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21604 PyObject
*resultobj
;
21605 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21610 PyObject
* obj0
= 0 ;
21611 PyObject
* obj1
= 0 ;
21612 PyObject
* obj2
= 0 ;
21613 PyObject
* obj3
= 0 ;
21614 char *kwnames
[] = {
21615 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
21618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21621 arg2
= (long) SWIG_AsLong(obj1
);
21622 if (PyErr_Occurred()) SWIG_fail
;
21623 arg3
= (int) SWIG_AsInt(obj2
);
21624 if (PyErr_Occurred()) SWIG_fail
;
21625 arg4
= (int) SWIG_AsInt(obj3
);
21626 if (PyErr_Occurred()) SWIG_fail
;
21628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21629 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
21631 wxPyEndAllowThreads(__tstate
);
21632 if (PyErr_Occurred()) SWIG_fail
;
21635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21643 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21644 PyObject
*resultobj
;
21645 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21648 PyObject
* obj0
= 0 ;
21649 PyObject
* obj1
= 0 ;
21650 char *kwnames
[] = {
21651 (char *) "self",(char *) "item", NULL
21654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
21655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21657 arg2
= (long) SWIG_AsLong(obj1
);
21658 if (PyErr_Occurred()) SWIG_fail
;
21660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21661 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
21663 wxPyEndAllowThreads(__tstate
);
21664 if (PyErr_Occurred()) SWIG_fail
;
21668 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21670 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21679 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21680 PyObject
*resultobj
;
21681 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21683 wxString
*arg3
= 0 ;
21684 bool temp3
= False
;
21685 PyObject
* obj0
= 0 ;
21686 PyObject
* obj1
= 0 ;
21687 PyObject
* obj2
= 0 ;
21688 char *kwnames
[] = {
21689 (char *) "self",(char *) "item",(char *) "str", NULL
21692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21695 arg2
= (long) SWIG_AsLong(obj1
);
21696 if (PyErr_Occurred()) SWIG_fail
;
21698 arg3
= wxString_in_helper(obj2
);
21699 if (arg3
== NULL
) SWIG_fail
;
21703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21704 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
21706 wxPyEndAllowThreads(__tstate
);
21707 if (PyErr_Occurred()) SWIG_fail
;
21709 Py_INCREF(Py_None
); resultobj
= Py_None
;
21724 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21725 PyObject
*resultobj
;
21726 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21729 PyObject
* obj0
= 0 ;
21730 PyObject
* obj1
= 0 ;
21731 char *kwnames
[] = {
21732 (char *) "self",(char *) "item", NULL
21735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
21736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21738 arg2
= (long) SWIG_AsLong(obj1
);
21739 if (PyErr_Occurred()) SWIG_fail
;
21741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21742 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
21744 wxPyEndAllowThreads(__tstate
);
21745 if (PyErr_Occurred()) SWIG_fail
;
21747 resultobj
= SWIG_FromLong((long)result
);
21754 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21755 PyObject
*resultobj
;
21756 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21760 PyObject
* obj0
= 0 ;
21761 PyObject
* obj1
= 0 ;
21762 PyObject
* obj2
= 0 ;
21763 char *kwnames
[] = {
21764 (char *) "self",(char *) "item",(char *) "data", NULL
21767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21770 arg2
= (long) SWIG_AsLong(obj1
);
21771 if (PyErr_Occurred()) SWIG_fail
;
21772 arg3
= (long) SWIG_AsLong(obj2
);
21773 if (PyErr_Occurred()) SWIG_fail
;
21775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21776 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
21778 wxPyEndAllowThreads(__tstate
);
21779 if (PyErr_Occurred()) SWIG_fail
;
21782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21790 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21791 PyObject
*resultobj
;
21792 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21795 PyObject
* obj0
= 0 ;
21796 PyObject
* obj1
= 0 ;
21797 char *kwnames
[] = {
21798 (char *) "self",(char *) "item", NULL
21801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
21802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21804 arg2
= (long) SWIG_AsLong(obj1
);
21805 if (PyErr_Occurred()) SWIG_fail
;
21807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21808 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
21810 wxPyEndAllowThreads(__tstate
);
21811 if (PyErr_Occurred()) SWIG_fail
;
21814 wxPoint
* resultptr
;
21815 resultptr
= new wxPoint((wxPoint
&) result
);
21816 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
21824 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21825 PyObject
*resultobj
;
21826 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21828 int arg3
= (int) wxLIST_RECT_BOUNDS
;
21830 PyObject
* obj0
= 0 ;
21831 PyObject
* obj1
= 0 ;
21832 PyObject
* obj2
= 0 ;
21833 char *kwnames
[] = {
21834 (char *) "self",(char *) "item",(char *) "code", NULL
21837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21840 arg2
= (long) SWIG_AsLong(obj1
);
21841 if (PyErr_Occurred()) SWIG_fail
;
21843 arg3
= (int) SWIG_AsInt(obj2
);
21844 if (PyErr_Occurred()) SWIG_fail
;
21847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21848 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
21850 wxPyEndAllowThreads(__tstate
);
21851 if (PyErr_Occurred()) SWIG_fail
;
21854 wxRect
* resultptr
;
21855 resultptr
= new wxRect((wxRect
&) result
);
21856 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
21864 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21865 PyObject
*resultobj
;
21866 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21868 wxPoint
*arg3
= 0 ;
21871 PyObject
* obj0
= 0 ;
21872 PyObject
* obj1
= 0 ;
21873 PyObject
* obj2
= 0 ;
21874 char *kwnames
[] = {
21875 (char *) "self",(char *) "item",(char *) "pos", NULL
21878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21881 arg2
= (long) SWIG_AsLong(obj1
);
21882 if (PyErr_Occurred()) SWIG_fail
;
21885 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21889 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
21891 wxPyEndAllowThreads(__tstate
);
21892 if (PyErr_Occurred()) SWIG_fail
;
21895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21903 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21904 PyObject
*resultobj
;
21905 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21907 PyObject
* obj0
= 0 ;
21908 char *kwnames
[] = {
21909 (char *) "self", NULL
21912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
21913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21917 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
21919 wxPyEndAllowThreads(__tstate
);
21920 if (PyErr_Occurred()) SWIG_fail
;
21922 resultobj
= SWIG_FromInt((int)result
);
21929 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21930 PyObject
*resultobj
;
21931 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21933 PyObject
* obj0
= 0 ;
21934 char *kwnames
[] = {
21935 (char *) "self", NULL
21938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
21939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21943 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
21945 wxPyEndAllowThreads(__tstate
);
21946 if (PyErr_Occurred()) SWIG_fail
;
21948 resultobj
= SWIG_FromInt((int)result
);
21955 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21956 PyObject
*resultobj
;
21957 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21959 PyObject
* obj0
= 0 ;
21960 char *kwnames
[] = {
21961 (char *) "self", NULL
21964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
21965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21969 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
21971 wxPyEndAllowThreads(__tstate
);
21972 if (PyErr_Occurred()) SWIG_fail
;
21975 wxSize
* resultptr
;
21976 resultptr
= new wxSize((wxSize
&) result
);
21977 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
21985 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21986 PyObject
*resultobj
;
21987 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21989 bool arg3
= (bool) False
;
21990 PyObject
* obj0
= 0 ;
21991 PyObject
* obj1
= 0 ;
21992 PyObject
* obj2
= 0 ;
21993 char *kwnames
[] = {
21994 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
21997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22000 arg2
= (int) SWIG_AsInt(obj1
);
22001 if (PyErr_Occurred()) SWIG_fail
;
22003 arg3
= (bool) SWIG_AsBool(obj2
);
22004 if (PyErr_Occurred()) SWIG_fail
;
22007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22008 (arg1
)->SetItemSpacing(arg2
,arg3
);
22010 wxPyEndAllowThreads(__tstate
);
22011 if (PyErr_Occurred()) SWIG_fail
;
22013 Py_INCREF(Py_None
); resultobj
= Py_None
;
22020 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22021 PyObject
*resultobj
;
22022 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22024 PyObject
* obj0
= 0 ;
22025 char *kwnames
[] = {
22026 (char *) "self", NULL
22029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
22030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22034 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
22036 wxPyEndAllowThreads(__tstate
);
22037 if (PyErr_Occurred()) SWIG_fail
;
22039 resultobj
= SWIG_FromInt((int)result
);
22046 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22047 PyObject
*resultobj
;
22048 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22050 PyObject
* obj0
= 0 ;
22051 char *kwnames
[] = {
22052 (char *) "self", NULL
22055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
22056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22060 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
22062 wxPyEndAllowThreads(__tstate
);
22063 if (PyErr_Occurred()) SWIG_fail
;
22066 wxColour
* resultptr
;
22067 resultptr
= new wxColour((wxColour
&) result
);
22068 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22076 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22077 PyObject
*resultobj
;
22078 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22079 wxColour
*arg2
= 0 ;
22081 PyObject
* obj0
= 0 ;
22082 PyObject
* obj1
= 0 ;
22083 char *kwnames
[] = {
22084 (char *) "self",(char *) "col", NULL
22087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22092 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22096 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22098 wxPyEndAllowThreads(__tstate
);
22099 if (PyErr_Occurred()) SWIG_fail
;
22101 Py_INCREF(Py_None
); resultobj
= Py_None
;
22108 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22109 PyObject
*resultobj
;
22110 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22112 PyObject
* obj0
= 0 ;
22113 char *kwnames
[] = {
22114 (char *) "self", NULL
22117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
22118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22122 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
22124 wxPyEndAllowThreads(__tstate
);
22125 if (PyErr_Occurred()) SWIG_fail
;
22127 resultobj
= SWIG_FromLong((long)result
);
22134 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22135 PyObject
*resultobj
;
22136 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22138 bool arg3
= (bool) True
;
22139 PyObject
* obj0
= 0 ;
22140 PyObject
* obj1
= 0 ;
22141 PyObject
* obj2
= 0 ;
22142 char *kwnames
[] = {
22143 (char *) "self",(char *) "style",(char *) "add", NULL
22146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22149 arg2
= (long) SWIG_AsLong(obj1
);
22150 if (PyErr_Occurred()) SWIG_fail
;
22152 arg3
= (bool) SWIG_AsBool(obj2
);
22153 if (PyErr_Occurred()) SWIG_fail
;
22156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22157 (arg1
)->SetSingleStyle(arg2
,arg3
);
22159 wxPyEndAllowThreads(__tstate
);
22160 if (PyErr_Occurred()) SWIG_fail
;
22162 Py_INCREF(Py_None
); resultobj
= Py_None
;
22169 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22170 PyObject
*resultobj
;
22171 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22173 PyObject
* obj0
= 0 ;
22174 PyObject
* obj1
= 0 ;
22175 char *kwnames
[] = {
22176 (char *) "self",(char *) "style", NULL
22179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
22180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22182 arg2
= (long) SWIG_AsLong(obj1
);
22183 if (PyErr_Occurred()) SWIG_fail
;
22185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22186 (arg1
)->SetWindowStyleFlag(arg2
);
22188 wxPyEndAllowThreads(__tstate
);
22189 if (PyErr_Occurred()) SWIG_fail
;
22191 Py_INCREF(Py_None
); resultobj
= Py_None
;
22198 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22199 PyObject
*resultobj
;
22200 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22202 int arg3
= (int) wxLIST_NEXT_ALL
;
22203 int arg4
= (int) wxLIST_STATE_DONTCARE
;
22205 PyObject
* obj0
= 0 ;
22206 PyObject
* obj1
= 0 ;
22207 PyObject
* obj2
= 0 ;
22208 PyObject
* obj3
= 0 ;
22209 char *kwnames
[] = {
22210 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
22213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22216 arg2
= (long) SWIG_AsLong(obj1
);
22217 if (PyErr_Occurred()) SWIG_fail
;
22219 arg3
= (int) SWIG_AsInt(obj2
);
22220 if (PyErr_Occurred()) SWIG_fail
;
22223 arg4
= (int) SWIG_AsInt(obj3
);
22224 if (PyErr_Occurred()) SWIG_fail
;
22227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22228 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
22230 wxPyEndAllowThreads(__tstate
);
22231 if (PyErr_Occurred()) SWIG_fail
;
22233 resultobj
= SWIG_FromLong((long)result
);
22240 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22241 PyObject
*resultobj
;
22242 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22244 wxImageList
*result
;
22245 PyObject
* obj0
= 0 ;
22246 PyObject
* obj1
= 0 ;
22247 char *kwnames
[] = {
22248 (char *) "self",(char *) "which", NULL
22251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
22252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22254 arg2
= (int) SWIG_AsInt(obj1
);
22255 if (PyErr_Occurred()) SWIG_fail
;
22257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22258 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
22260 wxPyEndAllowThreads(__tstate
);
22261 if (PyErr_Occurred()) SWIG_fail
;
22264 resultobj
= wxPyMake_wxObject(result
);
22272 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22273 PyObject
*resultobj
;
22274 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22275 wxImageList
*arg2
= (wxImageList
*) 0 ;
22277 PyObject
* obj0
= 0 ;
22278 PyObject
* obj1
= 0 ;
22279 PyObject
* obj2
= 0 ;
22280 char *kwnames
[] = {
22281 (char *) "self",(char *) "imageList",(char *) "which", NULL
22284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22287 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22289 arg3
= (int) SWIG_AsInt(obj2
);
22290 if (PyErr_Occurred()) SWIG_fail
;
22292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22293 (arg1
)->SetImageList(arg2
,arg3
);
22295 wxPyEndAllowThreads(__tstate
);
22296 if (PyErr_Occurred()) SWIG_fail
;
22298 Py_INCREF(Py_None
); resultobj
= Py_None
;
22305 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22306 PyObject
*resultobj
;
22307 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22308 wxImageList
*arg2
= (wxImageList
*) 0 ;
22310 PyObject
* obj0
= 0 ;
22311 PyObject
* obj1
= 0 ;
22312 PyObject
* obj2
= 0 ;
22313 char *kwnames
[] = {
22314 (char *) "self",(char *) "imageList",(char *) "which", NULL
22317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22320 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22321 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22322 arg3
= (int) SWIG_AsInt(obj2
);
22323 if (PyErr_Occurred()) SWIG_fail
;
22325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22326 (arg1
)->AssignImageList(arg2
,arg3
);
22328 wxPyEndAllowThreads(__tstate
);
22329 if (PyErr_Occurred()) SWIG_fail
;
22331 Py_INCREF(Py_None
); resultobj
= Py_None
;
22338 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22339 PyObject
*resultobj
;
22340 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22342 PyObject
* obj0
= 0 ;
22343 char *kwnames
[] = {
22344 (char *) "self", NULL
22347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
22348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22352 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
22354 wxPyEndAllowThreads(__tstate
);
22355 if (PyErr_Occurred()) SWIG_fail
;
22358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22366 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22367 PyObject
*resultobj
;
22368 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22370 PyObject
* obj0
= 0 ;
22371 char *kwnames
[] = {
22372 (char *) "self", NULL
22375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
22376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22380 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
22382 wxPyEndAllowThreads(__tstate
);
22383 if (PyErr_Occurred()) SWIG_fail
;
22386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22394 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22395 PyObject
*resultobj
;
22396 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22398 PyObject
* obj0
= 0 ;
22399 PyObject
* obj1
= 0 ;
22400 char *kwnames
[] = {
22401 (char *) "self",(char *) "item", NULL
22404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22407 arg2
= (long) SWIG_AsLong(obj1
);
22408 if (PyErr_Occurred()) SWIG_fail
;
22410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22411 (arg1
)->RefreshItem(arg2
);
22413 wxPyEndAllowThreads(__tstate
);
22414 if (PyErr_Occurred()) SWIG_fail
;
22416 Py_INCREF(Py_None
); resultobj
= Py_None
;
22423 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22424 PyObject
*resultobj
;
22425 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22428 PyObject
* obj0
= 0 ;
22429 PyObject
* obj1
= 0 ;
22430 PyObject
* obj2
= 0 ;
22431 char *kwnames
[] = {
22432 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
22435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22438 arg2
= (long) SWIG_AsLong(obj1
);
22439 if (PyErr_Occurred()) SWIG_fail
;
22440 arg3
= (long) SWIG_AsLong(obj2
);
22441 if (PyErr_Occurred()) SWIG_fail
;
22443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22444 (arg1
)->RefreshItems(arg2
,arg3
);
22446 wxPyEndAllowThreads(__tstate
);
22447 if (PyErr_Occurred()) SWIG_fail
;
22449 Py_INCREF(Py_None
); resultobj
= Py_None
;
22456 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22457 PyObject
*resultobj
;
22458 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22459 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
22461 PyObject
* obj0
= 0 ;
22462 PyObject
* obj1
= 0 ;
22463 char *kwnames
[] = {
22464 (char *) "self",(char *) "flag", NULL
22467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
22468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22471 arg2
= (int) SWIG_AsInt(obj1
);
22472 if (PyErr_Occurred()) SWIG_fail
;
22475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22476 result
= (bool)(arg1
)->Arrange(arg2
);
22478 wxPyEndAllowThreads(__tstate
);
22479 if (PyErr_Occurred()) SWIG_fail
;
22482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22490 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22491 PyObject
*resultobj
;
22492 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22495 PyObject
* obj0
= 0 ;
22496 PyObject
* obj1
= 0 ;
22497 char *kwnames
[] = {
22498 (char *) "self",(char *) "item", NULL
22501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22504 arg2
= (long) SWIG_AsLong(obj1
);
22505 if (PyErr_Occurred()) SWIG_fail
;
22507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22508 result
= (bool)(arg1
)->DeleteItem(arg2
);
22510 wxPyEndAllowThreads(__tstate
);
22511 if (PyErr_Occurred()) SWIG_fail
;
22514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22522 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22523 PyObject
*resultobj
;
22524 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22526 PyObject
* obj0
= 0 ;
22527 char *kwnames
[] = {
22528 (char *) "self", NULL
22531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
22532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22536 result
= (bool)(arg1
)->DeleteAllItems();
22538 wxPyEndAllowThreads(__tstate
);
22539 if (PyErr_Occurred()) SWIG_fail
;
22542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22550 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22551 PyObject
*resultobj
;
22552 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22555 PyObject
* obj0
= 0 ;
22556 PyObject
* obj1
= 0 ;
22557 char *kwnames
[] = {
22558 (char *) "self",(char *) "col", NULL
22561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
22562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22564 arg2
= (int) SWIG_AsInt(obj1
);
22565 if (PyErr_Occurred()) SWIG_fail
;
22567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22568 result
= (bool)(arg1
)->DeleteColumn(arg2
);
22570 wxPyEndAllowThreads(__tstate
);
22571 if (PyErr_Occurred()) SWIG_fail
;
22574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22582 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22583 PyObject
*resultobj
;
22584 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22586 PyObject
* obj0
= 0 ;
22587 char *kwnames
[] = {
22588 (char *) "self", NULL
22591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
22592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22596 result
= (bool)(arg1
)->DeleteAllColumns();
22598 wxPyEndAllowThreads(__tstate
);
22599 if (PyErr_Occurred()) SWIG_fail
;
22602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22610 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22611 PyObject
*resultobj
;
22612 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22613 PyObject
* obj0
= 0 ;
22614 char *kwnames
[] = {
22615 (char *) "self", NULL
22618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
22619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22623 (arg1
)->ClearAll();
22625 wxPyEndAllowThreads(__tstate
);
22626 if (PyErr_Occurred()) SWIG_fail
;
22628 Py_INCREF(Py_None
); resultobj
= Py_None
;
22635 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22636 PyObject
*resultobj
;
22637 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22639 PyObject
* obj0
= 0 ;
22640 PyObject
* obj1
= 0 ;
22641 char *kwnames
[] = {
22642 (char *) "self",(char *) "item", NULL
22645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22648 arg2
= (long) SWIG_AsLong(obj1
);
22649 if (PyErr_Occurred()) SWIG_fail
;
22651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22652 (arg1
)->EditLabel(arg2
);
22654 wxPyEndAllowThreads(__tstate
);
22655 if (PyErr_Occurred()) SWIG_fail
;
22657 Py_INCREF(Py_None
); resultobj
= Py_None
;
22664 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22665 PyObject
*resultobj
;
22666 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22669 PyObject
* obj0
= 0 ;
22670 PyObject
* obj1
= 0 ;
22671 char *kwnames
[] = {
22672 (char *) "self",(char *) "item", NULL
22675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22678 arg2
= (long) SWIG_AsLong(obj1
);
22679 if (PyErr_Occurred()) SWIG_fail
;
22681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22682 result
= (bool)(arg1
)->EnsureVisible(arg2
);
22684 wxPyEndAllowThreads(__tstate
);
22685 if (PyErr_Occurred()) SWIG_fail
;
22688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22696 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22697 PyObject
*resultobj
;
22698 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22700 wxString
*arg3
= 0 ;
22701 bool arg4
= (bool) False
;
22703 bool temp3
= False
;
22704 PyObject
* obj0
= 0 ;
22705 PyObject
* obj1
= 0 ;
22706 PyObject
* obj2
= 0 ;
22707 PyObject
* obj3
= 0 ;
22708 char *kwnames
[] = {
22709 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
22712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22715 arg2
= (long) SWIG_AsLong(obj1
);
22716 if (PyErr_Occurred()) SWIG_fail
;
22718 arg3
= wxString_in_helper(obj2
);
22719 if (arg3
== NULL
) SWIG_fail
;
22723 arg4
= (bool) SWIG_AsBool(obj3
);
22724 if (PyErr_Occurred()) SWIG_fail
;
22727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22728 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
22730 wxPyEndAllowThreads(__tstate
);
22731 if (PyErr_Occurred()) SWIG_fail
;
22733 resultobj
= SWIG_FromLong((long)result
);
22748 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22749 PyObject
*resultobj
;
22750 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22754 PyObject
* obj0
= 0 ;
22755 PyObject
* obj1
= 0 ;
22756 PyObject
* obj2
= 0 ;
22757 char *kwnames
[] = {
22758 (char *) "self",(char *) "start",(char *) "data", NULL
22761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22764 arg2
= (long) SWIG_AsLong(obj1
);
22765 if (PyErr_Occurred()) SWIG_fail
;
22766 arg3
= (long) SWIG_AsLong(obj2
);
22767 if (PyErr_Occurred()) SWIG_fail
;
22769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22770 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
22772 wxPyEndAllowThreads(__tstate
);
22773 if (PyErr_Occurred()) SWIG_fail
;
22775 resultobj
= SWIG_FromLong((long)result
);
22782 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22783 PyObject
*resultobj
;
22784 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22786 wxPoint
*arg3
= 0 ;
22790 PyObject
* obj0
= 0 ;
22791 PyObject
* obj1
= 0 ;
22792 PyObject
* obj2
= 0 ;
22793 PyObject
* obj3
= 0 ;
22794 char *kwnames
[] = {
22795 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
22798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22801 arg2
= (long) SWIG_AsLong(obj1
);
22802 if (PyErr_Occurred()) SWIG_fail
;
22805 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22807 arg4
= (int) SWIG_AsInt(obj3
);
22808 if (PyErr_Occurred()) SWIG_fail
;
22810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22811 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
22813 wxPyEndAllowThreads(__tstate
);
22814 if (PyErr_Occurred()) SWIG_fail
;
22816 resultobj
= SWIG_FromLong((long)result
);
22823 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22824 PyObject
*resultobj
;
22825 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22826 wxPoint
*arg2
= 0 ;
22831 PyObject
* obj0
= 0 ;
22832 PyObject
* obj1
= 0 ;
22833 char *kwnames
[] = {
22834 (char *) "self",(char *) "point", NULL
22838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
22839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22843 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22847 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
22849 wxPyEndAllowThreads(__tstate
);
22850 if (PyErr_Occurred()) SWIG_fail
;
22852 resultobj
= SWIG_FromLong((long)result
);
22854 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22855 resultobj
= t_output_helper(resultobj
,o
);
22863 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22864 PyObject
*resultobj
;
22865 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22866 wxListItem
*arg2
= 0 ;
22868 PyObject
* obj0
= 0 ;
22869 PyObject
* obj1
= 0 ;
22870 char *kwnames
[] = {
22871 (char *) "self",(char *) "info", NULL
22874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22877 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
22878 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22880 if (arg2
== NULL
) {
22881 PyErr_SetString(PyExc_TypeError
,"null reference");
22885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22886 result
= (long)(arg1
)->InsertItem(*arg2
);
22888 wxPyEndAllowThreads(__tstate
);
22889 if (PyErr_Occurred()) SWIG_fail
;
22891 resultobj
= SWIG_FromLong((long)result
);
22898 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22899 PyObject
*resultobj
;
22900 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22902 wxString
*arg3
= 0 ;
22904 bool temp3
= False
;
22905 PyObject
* obj0
= 0 ;
22906 PyObject
* obj1
= 0 ;
22907 PyObject
* obj2
= 0 ;
22908 char *kwnames
[] = {
22909 (char *) "self",(char *) "index",(char *) "label", NULL
22912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22915 arg2
= (long) SWIG_AsLong(obj1
);
22916 if (PyErr_Occurred()) SWIG_fail
;
22918 arg3
= wxString_in_helper(obj2
);
22919 if (arg3
== NULL
) SWIG_fail
;
22923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22924 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
22926 wxPyEndAllowThreads(__tstate
);
22927 if (PyErr_Occurred()) SWIG_fail
;
22929 resultobj
= SWIG_FromLong((long)result
);
22944 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22945 PyObject
*resultobj
;
22946 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22950 PyObject
* obj0
= 0 ;
22951 PyObject
* obj1
= 0 ;
22952 PyObject
* obj2
= 0 ;
22953 char *kwnames
[] = {
22954 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
22957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22960 arg2
= (long) SWIG_AsLong(obj1
);
22961 if (PyErr_Occurred()) SWIG_fail
;
22962 arg3
= (int) SWIG_AsInt(obj2
);
22963 if (PyErr_Occurred()) SWIG_fail
;
22965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22966 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
22968 wxPyEndAllowThreads(__tstate
);
22969 if (PyErr_Occurred()) SWIG_fail
;
22971 resultobj
= SWIG_FromLong((long)result
);
22978 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22979 PyObject
*resultobj
;
22980 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22982 wxString
*arg3
= 0 ;
22985 bool temp3
= False
;
22986 PyObject
* obj0
= 0 ;
22987 PyObject
* obj1
= 0 ;
22988 PyObject
* obj2
= 0 ;
22989 PyObject
* obj3
= 0 ;
22990 char *kwnames
[] = {
22991 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
22994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22997 arg2
= (long) SWIG_AsLong(obj1
);
22998 if (PyErr_Occurred()) SWIG_fail
;
23000 arg3
= wxString_in_helper(obj2
);
23001 if (arg3
== NULL
) SWIG_fail
;
23004 arg4
= (int) SWIG_AsInt(obj3
);
23005 if (PyErr_Occurred()) SWIG_fail
;
23007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23008 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
23010 wxPyEndAllowThreads(__tstate
);
23011 if (PyErr_Occurred()) SWIG_fail
;
23013 resultobj
= SWIG_FromLong((long)result
);
23028 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23029 PyObject
*resultobj
;
23030 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23032 wxListItem
*arg3
= 0 ;
23034 PyObject
* obj0
= 0 ;
23035 PyObject
* obj1
= 0 ;
23036 PyObject
* obj2
= 0 ;
23037 char *kwnames
[] = {
23038 (char *) "self",(char *) "col",(char *) "info", NULL
23041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23044 arg2
= (long) SWIG_AsLong(obj1
);
23045 if (PyErr_Occurred()) SWIG_fail
;
23046 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
23047 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23049 if (arg3
== NULL
) {
23050 PyErr_SetString(PyExc_TypeError
,"null reference");
23054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23055 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
23057 wxPyEndAllowThreads(__tstate
);
23058 if (PyErr_Occurred()) SWIG_fail
;
23060 resultobj
= SWIG_FromLong((long)result
);
23067 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23068 PyObject
*resultobj
;
23069 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23071 wxString
*arg3
= 0 ;
23072 int arg4
= (int) wxLIST_FORMAT_LEFT
;
23073 int arg5
= (int) -1 ;
23075 bool temp3
= False
;
23076 PyObject
* obj0
= 0 ;
23077 PyObject
* obj1
= 0 ;
23078 PyObject
* obj2
= 0 ;
23079 PyObject
* obj3
= 0 ;
23080 PyObject
* obj4
= 0 ;
23081 char *kwnames
[] = {
23082 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
23085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23088 arg2
= (long) SWIG_AsLong(obj1
);
23089 if (PyErr_Occurred()) SWIG_fail
;
23091 arg3
= wxString_in_helper(obj2
);
23092 if (arg3
== NULL
) SWIG_fail
;
23096 arg4
= (int) SWIG_AsInt(obj3
);
23097 if (PyErr_Occurred()) SWIG_fail
;
23100 arg5
= (int) SWIG_AsInt(obj4
);
23101 if (PyErr_Occurred()) SWIG_fail
;
23104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23105 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
23107 wxPyEndAllowThreads(__tstate
);
23108 if (PyErr_Occurred()) SWIG_fail
;
23110 resultobj
= SWIG_FromLong((long)result
);
23125 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23126 PyObject
*resultobj
;
23127 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23129 PyObject
* obj0
= 0 ;
23130 PyObject
* obj1
= 0 ;
23131 char *kwnames
[] = {
23132 (char *) "self",(char *) "count", NULL
23135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
23136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23138 arg2
= (long) SWIG_AsLong(obj1
);
23139 if (PyErr_Occurred()) SWIG_fail
;
23141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23142 (arg1
)->SetItemCount(arg2
);
23144 wxPyEndAllowThreads(__tstate
);
23145 if (PyErr_Occurred()) SWIG_fail
;
23147 Py_INCREF(Py_None
); resultobj
= Py_None
;
23154 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23155 PyObject
*resultobj
;
23156 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23160 PyObject
* obj0
= 0 ;
23161 PyObject
* obj1
= 0 ;
23162 PyObject
* obj2
= 0 ;
23163 char *kwnames
[] = {
23164 (char *) "self",(char *) "dx",(char *) "dy", NULL
23167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23170 arg2
= (int) SWIG_AsInt(obj1
);
23171 if (PyErr_Occurred()) SWIG_fail
;
23172 arg3
= (int) SWIG_AsInt(obj2
);
23173 if (PyErr_Occurred()) SWIG_fail
;
23175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23176 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
23178 wxPyEndAllowThreads(__tstate
);
23179 if (PyErr_Occurred()) SWIG_fail
;
23182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23190 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23191 PyObject
*resultobj
;
23192 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23194 wxColour
*arg3
= 0 ;
23196 PyObject
* obj0
= 0 ;
23197 PyObject
* obj1
= 0 ;
23198 PyObject
* obj2
= 0 ;
23199 char *kwnames
[] = {
23200 (char *) "self",(char *) "item",(char *) "col", NULL
23203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23206 arg2
= (long) SWIG_AsLong(obj1
);
23207 if (PyErr_Occurred()) SWIG_fail
;
23210 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23214 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
23216 wxPyEndAllowThreads(__tstate
);
23217 if (PyErr_Occurred()) SWIG_fail
;
23219 Py_INCREF(Py_None
); resultobj
= Py_None
;
23226 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23227 PyObject
*resultobj
;
23228 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23231 PyObject
* obj0
= 0 ;
23232 PyObject
* obj1
= 0 ;
23233 char *kwnames
[] = {
23234 (char *) "self",(char *) "item", NULL
23237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23240 arg2
= (long) SWIG_AsLong(obj1
);
23241 if (PyErr_Occurred()) SWIG_fail
;
23243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23244 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
23246 wxPyEndAllowThreads(__tstate
);
23247 if (PyErr_Occurred()) SWIG_fail
;
23250 wxColour
* resultptr
;
23251 resultptr
= new wxColour((wxColour
&) result
);
23252 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23260 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23261 PyObject
*resultobj
;
23262 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23264 wxColour
*arg3
= 0 ;
23266 PyObject
* obj0
= 0 ;
23267 PyObject
* obj1
= 0 ;
23268 PyObject
* obj2
= 0 ;
23269 char *kwnames
[] = {
23270 (char *) "self",(char *) "item",(char *) "col", NULL
23273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23276 arg2
= (long) SWIG_AsLong(obj1
);
23277 if (PyErr_Occurred()) SWIG_fail
;
23280 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23284 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
23286 wxPyEndAllowThreads(__tstate
);
23287 if (PyErr_Occurred()) SWIG_fail
;
23289 Py_INCREF(Py_None
); resultobj
= Py_None
;
23296 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23297 PyObject
*resultobj
;
23298 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23301 PyObject
* obj0
= 0 ;
23302 PyObject
* obj1
= 0 ;
23303 char *kwnames
[] = {
23304 (char *) "self",(char *) "item", NULL
23307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23310 arg2
= (long) SWIG_AsLong(obj1
);
23311 if (PyErr_Occurred()) SWIG_fail
;
23313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23314 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
23316 wxPyEndAllowThreads(__tstate
);
23317 if (PyErr_Occurred()) SWIG_fail
;
23320 wxColour
* resultptr
;
23321 resultptr
= new wxColour((wxColour
&) result
);
23322 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23330 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23331 PyObject
*resultobj
;
23332 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23333 PyObject
*arg2
= (PyObject
*) 0 ;
23335 PyObject
* obj0
= 0 ;
23336 PyObject
* obj1
= 0 ;
23337 char *kwnames
[] = {
23338 (char *) "self",(char *) "func", NULL
23341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
23342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23347 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
23349 wxPyEndAllowThreads(__tstate
);
23350 if (PyErr_Occurred()) SWIG_fail
;
23353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23361 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23362 PyObject
*resultobj
;
23363 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23365 PyObject
* obj0
= 0 ;
23366 char *kwnames
[] = {
23367 (char *) "self", NULL
23370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
23371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23375 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
23377 wxPyEndAllowThreads(__tstate
);
23378 if (PyErr_Occurred()) SWIG_fail
;
23381 resultobj
= wxPyMake_wxObject(result
);
23389 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23390 PyObject
*resultobj
;
23391 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
23392 wxVisualAttributes result
;
23393 PyObject
* obj0
= 0 ;
23394 char *kwnames
[] = {
23395 (char *) "variant", NULL
23398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
23400 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
23401 if (PyErr_Occurred()) SWIG_fail
;
23404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23405 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
23407 wxPyEndAllowThreads(__tstate
);
23408 if (PyErr_Occurred()) SWIG_fail
;
23411 wxVisualAttributes
* resultptr
;
23412 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
23413 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
23421 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
23423 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23424 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
23426 return Py_BuildValue((char *)"");
23428 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23429 PyObject
*resultobj
;
23430 wxWindow
*arg1
= (wxWindow
*) 0 ;
23431 int arg2
= (int) -1 ;
23432 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23433 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23434 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23435 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23436 long arg5
= (long) wxLC_REPORT
;
23437 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23438 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23439 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
23440 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23441 wxListView
*result
;
23444 bool temp7
= False
;
23445 PyObject
* obj0
= 0 ;
23446 PyObject
* obj1
= 0 ;
23447 PyObject
* obj2
= 0 ;
23448 PyObject
* obj3
= 0 ;
23449 PyObject
* obj4
= 0 ;
23450 PyObject
* obj5
= 0 ;
23451 PyObject
* obj6
= 0 ;
23452 char *kwnames
[] = {
23453 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23460 arg2
= (int) SWIG_AsInt(obj1
);
23461 if (PyErr_Occurred()) SWIG_fail
;
23466 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23472 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23476 arg5
= (long) SWIG_AsLong(obj4
);
23477 if (PyErr_Occurred()) SWIG_fail
;
23480 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
23481 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23483 if (arg6
== NULL
) {
23484 PyErr_SetString(PyExc_TypeError
,"null reference");
23490 arg7
= wxString_in_helper(obj6
);
23491 if (arg7
== NULL
) SWIG_fail
;
23496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23497 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23499 wxPyEndAllowThreads(__tstate
);
23500 if (PyErr_Occurred()) SWIG_fail
;
23502 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
23517 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23518 PyObject
*resultobj
;
23519 wxListView
*result
;
23520 char *kwnames
[] = {
23524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
23526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23527 result
= (wxListView
*)new wxListView();
23529 wxPyEndAllowThreads(__tstate
);
23530 if (PyErr_Occurred()) SWIG_fail
;
23532 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
23539 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23540 PyObject
*resultobj
;
23541 wxListView
*arg1
= (wxListView
*) 0 ;
23542 wxWindow
*arg2
= (wxWindow
*) 0 ;
23543 int arg3
= (int) -1 ;
23544 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23545 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23546 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23547 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23548 long arg6
= (long) wxLC_REPORT
;
23549 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23550 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23551 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
23552 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23556 bool temp8
= False
;
23557 PyObject
* obj0
= 0 ;
23558 PyObject
* obj1
= 0 ;
23559 PyObject
* obj2
= 0 ;
23560 PyObject
* obj3
= 0 ;
23561 PyObject
* obj4
= 0 ;
23562 PyObject
* obj5
= 0 ;
23563 PyObject
* obj6
= 0 ;
23564 PyObject
* obj7
= 0 ;
23565 char *kwnames
[] = {
23566 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23572 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23575 arg3
= (int) SWIG_AsInt(obj2
);
23576 if (PyErr_Occurred()) SWIG_fail
;
23581 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23587 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23591 arg6
= (long) SWIG_AsLong(obj5
);
23592 if (PyErr_Occurred()) SWIG_fail
;
23595 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
23596 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23598 if (arg7
== NULL
) {
23599 PyErr_SetString(PyExc_TypeError
,"null reference");
23605 arg8
= wxString_in_helper(obj7
);
23606 if (arg8
== NULL
) SWIG_fail
;
23611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23612 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23614 wxPyEndAllowThreads(__tstate
);
23615 if (PyErr_Occurred()) SWIG_fail
;
23618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23634 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23635 PyObject
*resultobj
;
23636 wxListView
*arg1
= (wxListView
*) 0 ;
23638 bool arg3
= (bool) True
;
23639 PyObject
* obj0
= 0 ;
23640 PyObject
* obj1
= 0 ;
23641 PyObject
* obj2
= 0 ;
23642 char *kwnames
[] = {
23643 (char *) "self",(char *) "n",(char *) "on", NULL
23646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23649 arg2
= (long) SWIG_AsLong(obj1
);
23650 if (PyErr_Occurred()) SWIG_fail
;
23652 arg3
= (bool) SWIG_AsBool(obj2
);
23653 if (PyErr_Occurred()) SWIG_fail
;
23656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23657 (arg1
)->Select(arg2
,arg3
);
23659 wxPyEndAllowThreads(__tstate
);
23660 if (PyErr_Occurred()) SWIG_fail
;
23662 Py_INCREF(Py_None
); resultobj
= Py_None
;
23669 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23670 PyObject
*resultobj
;
23671 wxListView
*arg1
= (wxListView
*) 0 ;
23673 PyObject
* obj0
= 0 ;
23674 PyObject
* obj1
= 0 ;
23675 char *kwnames
[] = {
23676 (char *) "self",(char *) "index", NULL
23679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
23680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23682 arg2
= (long) SWIG_AsLong(obj1
);
23683 if (PyErr_Occurred()) SWIG_fail
;
23685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23686 (arg1
)->Focus(arg2
);
23688 wxPyEndAllowThreads(__tstate
);
23689 if (PyErr_Occurred()) SWIG_fail
;
23691 Py_INCREF(Py_None
); resultobj
= Py_None
;
23698 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23699 PyObject
*resultobj
;
23700 wxListView
*arg1
= (wxListView
*) 0 ;
23702 PyObject
* obj0
= 0 ;
23703 char *kwnames
[] = {
23704 (char *) "self", NULL
23707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
23708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23712 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
23714 wxPyEndAllowThreads(__tstate
);
23715 if (PyErr_Occurred()) SWIG_fail
;
23717 resultobj
= SWIG_FromLong((long)result
);
23724 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23725 PyObject
*resultobj
;
23726 wxListView
*arg1
= (wxListView
*) 0 ;
23729 PyObject
* obj0
= 0 ;
23730 PyObject
* obj1
= 0 ;
23731 char *kwnames
[] = {
23732 (char *) "self",(char *) "item", NULL
23735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
23736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23738 arg2
= (long) SWIG_AsLong(obj1
);
23739 if (PyErr_Occurred()) SWIG_fail
;
23741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23742 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
23744 wxPyEndAllowThreads(__tstate
);
23745 if (PyErr_Occurred()) SWIG_fail
;
23747 resultobj
= SWIG_FromLong((long)result
);
23754 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23755 PyObject
*resultobj
;
23756 wxListView
*arg1
= (wxListView
*) 0 ;
23758 PyObject
* obj0
= 0 ;
23759 char *kwnames
[] = {
23760 (char *) "self", NULL
23763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
23764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23768 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
23770 wxPyEndAllowThreads(__tstate
);
23771 if (PyErr_Occurred()) SWIG_fail
;
23773 resultobj
= SWIG_FromLong((long)result
);
23780 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23781 PyObject
*resultobj
;
23782 wxListView
*arg1
= (wxListView
*) 0 ;
23785 PyObject
* obj0
= 0 ;
23786 PyObject
* obj1
= 0 ;
23787 char *kwnames
[] = {
23788 (char *) "self",(char *) "index", NULL
23791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
23792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23794 arg2
= (long) SWIG_AsLong(obj1
);
23795 if (PyErr_Occurred()) SWIG_fail
;
23797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23798 result
= (bool)(arg1
)->IsSelected(arg2
);
23800 wxPyEndAllowThreads(__tstate
);
23801 if (PyErr_Occurred()) SWIG_fail
;
23804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23812 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23813 PyObject
*resultobj
;
23814 wxListView
*arg1
= (wxListView
*) 0 ;
23817 PyObject
* obj0
= 0 ;
23818 PyObject
* obj1
= 0 ;
23819 PyObject
* obj2
= 0 ;
23820 char *kwnames
[] = {
23821 (char *) "self",(char *) "col",(char *) "image", NULL
23824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23827 arg2
= (int) SWIG_AsInt(obj1
);
23828 if (PyErr_Occurred()) SWIG_fail
;
23829 arg3
= (int) SWIG_AsInt(obj2
);
23830 if (PyErr_Occurred()) SWIG_fail
;
23832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23833 (arg1
)->SetColumnImage(arg2
,arg3
);
23835 wxPyEndAllowThreads(__tstate
);
23836 if (PyErr_Occurred()) SWIG_fail
;
23838 Py_INCREF(Py_None
); resultobj
= Py_None
;
23845 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23846 PyObject
*resultobj
;
23847 wxListView
*arg1
= (wxListView
*) 0 ;
23849 PyObject
* obj0
= 0 ;
23850 PyObject
* obj1
= 0 ;
23851 char *kwnames
[] = {
23852 (char *) "self",(char *) "col", NULL
23855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
23856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23858 arg2
= (int) SWIG_AsInt(obj1
);
23859 if (PyErr_Occurred()) SWIG_fail
;
23861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23862 (arg1
)->ClearColumnImage(arg2
);
23864 wxPyEndAllowThreads(__tstate
);
23865 if (PyErr_Occurred()) SWIG_fail
;
23867 Py_INCREF(Py_None
); resultobj
= Py_None
;
23874 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
23876 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23877 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
23879 return Py_BuildValue((char *)"");
23881 static int _wrap_TreeCtrlNameStr_set(PyObject
*_val
) {
23882 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
23887 static PyObject
*_wrap_TreeCtrlNameStr_get() {
23892 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
23894 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
23901 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23902 PyObject
*resultobj
;
23903 wxTreeItemId
*result
;
23904 char *kwnames
[] = {
23908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
23910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23911 result
= (wxTreeItemId
*)new wxTreeItemId();
23913 wxPyEndAllowThreads(__tstate
);
23914 if (PyErr_Occurred()) SWIG_fail
;
23916 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
23923 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23924 PyObject
*resultobj
;
23925 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23926 PyObject
* obj0
= 0 ;
23927 char *kwnames
[] = {
23928 (char *) "self", NULL
23931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
23932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23938 wxPyEndAllowThreads(__tstate
);
23939 if (PyErr_Occurred()) SWIG_fail
;
23941 Py_INCREF(Py_None
); resultobj
= Py_None
;
23948 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23949 PyObject
*resultobj
;
23950 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23952 PyObject
* obj0
= 0 ;
23953 char *kwnames
[] = {
23954 (char *) "self", NULL
23957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
23958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23962 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
23964 wxPyEndAllowThreads(__tstate
);
23965 if (PyErr_Occurred()) SWIG_fail
;
23968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23976 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23977 PyObject
*resultobj
;
23978 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23979 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
23981 PyObject
* obj0
= 0 ;
23982 PyObject
* obj1
= 0 ;
23983 char *kwnames
[] = {
23984 (char *) "self",(char *) "other", NULL
23987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23990 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23994 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
23996 wxPyEndAllowThreads(__tstate
);
23997 if (PyErr_Occurred()) SWIG_fail
;
24000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24008 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24009 PyObject
*resultobj
;
24010 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24011 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24013 PyObject
* obj0
= 0 ;
24014 PyObject
* obj1
= 0 ;
24015 char *kwnames
[] = {
24016 (char *) "self",(char *) "other", NULL
24019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24022 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24026 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
24028 wxPyEndAllowThreads(__tstate
);
24029 if (PyErr_Occurred()) SWIG_fail
;
24032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24040 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24041 PyObject
*resultobj
;
24042 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24043 void *arg2
= (void *) 0 ;
24044 PyObject
* obj0
= 0 ;
24045 PyObject
* obj1
= 0 ;
24046 char *kwnames
[] = {
24047 (char *) "self",(char *) "m_pItem", NULL
24050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24053 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24054 if (arg1
) (arg1
)->m_pItem
= arg2
;
24056 Py_INCREF(Py_None
); resultobj
= Py_None
;
24063 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24064 PyObject
*resultobj
;
24065 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24067 PyObject
* obj0
= 0 ;
24068 char *kwnames
[] = {
24069 (char *) "self", NULL
24072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
24073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24075 result
= (void *) ((arg1
)->m_pItem
);
24077 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
24084 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
24086 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24087 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
24089 return Py_BuildValue((char *)"");
24091 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24092 PyObject
*resultobj
;
24093 PyObject
*arg1
= (PyObject
*) NULL
;
24094 wxPyTreeItemData
*result
;
24095 PyObject
* obj0
= 0 ;
24096 char *kwnames
[] = {
24097 (char *) "obj", NULL
24100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
24105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24106 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
24108 wxPyEndAllowThreads(__tstate
);
24109 if (PyErr_Occurred()) SWIG_fail
;
24111 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
24118 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24119 PyObject
*resultobj
;
24120 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24122 PyObject
* obj0
= 0 ;
24123 char *kwnames
[] = {
24124 (char *) "self", NULL
24127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
24128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24132 result
= (PyObject
*)(arg1
)->GetData();
24134 wxPyEndAllowThreads(__tstate
);
24135 if (PyErr_Occurred()) SWIG_fail
;
24137 resultobj
= result
;
24144 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24145 PyObject
*resultobj
;
24146 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24147 PyObject
*arg2
= (PyObject
*) 0 ;
24148 PyObject
* obj0
= 0 ;
24149 PyObject
* obj1
= 0 ;
24150 char *kwnames
[] = {
24151 (char *) "self",(char *) "obj", NULL
24154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24160 (arg1
)->SetData(arg2
);
24162 wxPyEndAllowThreads(__tstate
);
24163 if (PyErr_Occurred()) SWIG_fail
;
24165 Py_INCREF(Py_None
); resultobj
= Py_None
;
24172 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24173 PyObject
*resultobj
;
24174 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24175 wxTreeItemId
*result
;
24176 PyObject
* obj0
= 0 ;
24177 char *kwnames
[] = {
24178 (char *) "self", NULL
24181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
24182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24187 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
24188 result
= (wxTreeItemId
*) &_result_ref
;
24191 wxPyEndAllowThreads(__tstate
);
24192 if (PyErr_Occurred()) SWIG_fail
;
24194 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
24201 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24202 PyObject
*resultobj
;
24203 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24204 wxTreeItemId
*arg2
= 0 ;
24205 PyObject
* obj0
= 0 ;
24206 PyObject
* obj1
= 0 ;
24207 char *kwnames
[] = {
24208 (char *) "self",(char *) "id", NULL
24211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24214 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24215 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24217 if (arg2
== NULL
) {
24218 PyErr_SetString(PyExc_TypeError
,"null reference");
24222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24223 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
24225 wxPyEndAllowThreads(__tstate
);
24226 if (PyErr_Occurred()) SWIG_fail
;
24228 Py_INCREF(Py_None
); resultobj
= Py_None
;
24235 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24236 PyObject
*resultobj
;
24237 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24238 PyObject
* obj0
= 0 ;
24239 char *kwnames
[] = {
24240 (char *) "self", NULL
24243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
24244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24248 wxPyTreeItemData_Destroy(arg1
);
24250 wxPyEndAllowThreads(__tstate
);
24251 if (PyErr_Occurred()) SWIG_fail
;
24253 Py_INCREF(Py_None
); resultobj
= Py_None
;
24260 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
24262 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24263 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
24265 return Py_BuildValue((char *)"");
24267 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24268 PyObject
*resultobj
;
24269 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
24270 int arg2
= (int) 0 ;
24271 wxTreeEvent
*result
;
24272 PyObject
* obj0
= 0 ;
24273 PyObject
* obj1
= 0 ;
24274 char *kwnames
[] = {
24275 (char *) "commandType",(char *) "id", NULL
24278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24280 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
24281 if (PyErr_Occurred()) SWIG_fail
;
24284 arg2
= (int) SWIG_AsInt(obj1
);
24285 if (PyErr_Occurred()) SWIG_fail
;
24288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24289 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
24291 wxPyEndAllowThreads(__tstate
);
24292 if (PyErr_Occurred()) SWIG_fail
;
24294 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
24301 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24302 PyObject
*resultobj
;
24303 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24304 wxTreeItemId result
;
24305 PyObject
* obj0
= 0 ;
24306 char *kwnames
[] = {
24307 (char *) "self", NULL
24310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
24311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24315 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
24317 wxPyEndAllowThreads(__tstate
);
24318 if (PyErr_Occurred()) SWIG_fail
;
24321 wxTreeItemId
* resultptr
;
24322 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24323 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24331 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24332 PyObject
*resultobj
;
24333 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24334 wxTreeItemId
*arg2
= 0 ;
24335 PyObject
* obj0
= 0 ;
24336 PyObject
* obj1
= 0 ;
24337 char *kwnames
[] = {
24338 (char *) "self",(char *) "item", NULL
24341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24344 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24345 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24347 if (arg2
== NULL
) {
24348 PyErr_SetString(PyExc_TypeError
,"null reference");
24352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24353 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
24355 wxPyEndAllowThreads(__tstate
);
24356 if (PyErr_Occurred()) SWIG_fail
;
24358 Py_INCREF(Py_None
); resultobj
= Py_None
;
24365 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24366 PyObject
*resultobj
;
24367 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24368 wxTreeItemId result
;
24369 PyObject
* obj0
= 0 ;
24370 char *kwnames
[] = {
24371 (char *) "self", NULL
24374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
24375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24379 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
24381 wxPyEndAllowThreads(__tstate
);
24382 if (PyErr_Occurred()) SWIG_fail
;
24385 wxTreeItemId
* resultptr
;
24386 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24387 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24395 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24396 PyObject
*resultobj
;
24397 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24398 wxTreeItemId
*arg2
= 0 ;
24399 PyObject
* obj0
= 0 ;
24400 PyObject
* obj1
= 0 ;
24401 char *kwnames
[] = {
24402 (char *) "self",(char *) "item", NULL
24405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24408 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24409 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24411 if (arg2
== NULL
) {
24412 PyErr_SetString(PyExc_TypeError
,"null reference");
24416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24417 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
24419 wxPyEndAllowThreads(__tstate
);
24420 if (PyErr_Occurred()) SWIG_fail
;
24422 Py_INCREF(Py_None
); resultobj
= Py_None
;
24429 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24430 PyObject
*resultobj
;
24431 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24433 PyObject
* obj0
= 0 ;
24434 char *kwnames
[] = {
24435 (char *) "self", NULL
24438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
24439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24443 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
24445 wxPyEndAllowThreads(__tstate
);
24446 if (PyErr_Occurred()) SWIG_fail
;
24449 wxPoint
* resultptr
;
24450 resultptr
= new wxPoint((wxPoint
&) result
);
24451 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24459 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24460 PyObject
*resultobj
;
24461 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24462 wxPoint
*arg2
= 0 ;
24464 PyObject
* obj0
= 0 ;
24465 PyObject
* obj1
= 0 ;
24466 char *kwnames
[] = {
24467 (char *) "self",(char *) "pt", NULL
24470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
24471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24475 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24479 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
24481 wxPyEndAllowThreads(__tstate
);
24482 if (PyErr_Occurred()) SWIG_fail
;
24484 Py_INCREF(Py_None
); resultobj
= Py_None
;
24491 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24492 PyObject
*resultobj
;
24493 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24494 wxKeyEvent
*result
;
24495 PyObject
* obj0
= 0 ;
24496 char *kwnames
[] = {
24497 (char *) "self", NULL
24500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
24501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24506 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
24507 result
= (wxKeyEvent
*) &_result_ref
;
24510 wxPyEndAllowThreads(__tstate
);
24511 if (PyErr_Occurred()) SWIG_fail
;
24513 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
24520 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24521 PyObject
*resultobj
;
24522 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24524 PyObject
* obj0
= 0 ;
24525 char *kwnames
[] = {
24526 (char *) "self", NULL
24529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24534 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
24536 wxPyEndAllowThreads(__tstate
);
24537 if (PyErr_Occurred()) SWIG_fail
;
24539 resultobj
= SWIG_FromInt((int)result
);
24546 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24547 PyObject
*resultobj
;
24548 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24549 wxKeyEvent
*arg2
= 0 ;
24550 PyObject
* obj0
= 0 ;
24551 PyObject
* obj1
= 0 ;
24552 char *kwnames
[] = {
24553 (char *) "self",(char *) "evt", NULL
24556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24559 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
24560 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24562 if (arg2
== NULL
) {
24563 PyErr_SetString(PyExc_TypeError
,"null reference");
24567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24568 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
24570 wxPyEndAllowThreads(__tstate
);
24571 if (PyErr_Occurred()) SWIG_fail
;
24573 Py_INCREF(Py_None
); resultobj
= Py_None
;
24580 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24581 PyObject
*resultobj
;
24582 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24584 PyObject
* obj0
= 0 ;
24585 char *kwnames
[] = {
24586 (char *) "self", NULL
24589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
24590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24595 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
24596 result
= (wxString
*) &_result_ref
;
24599 wxPyEndAllowThreads(__tstate
);
24600 if (PyErr_Occurred()) SWIG_fail
;
24604 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24606 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24615 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24616 PyObject
*resultobj
;
24617 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24618 wxString
*arg2
= 0 ;
24619 bool temp2
= False
;
24620 PyObject
* obj0
= 0 ;
24621 PyObject
* obj1
= 0 ;
24622 char *kwnames
[] = {
24623 (char *) "self",(char *) "label", NULL
24626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
24627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24630 arg2
= wxString_in_helper(obj1
);
24631 if (arg2
== NULL
) SWIG_fail
;
24635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24636 (arg1
)->SetLabel((wxString
const &)*arg2
);
24638 wxPyEndAllowThreads(__tstate
);
24639 if (PyErr_Occurred()) SWIG_fail
;
24641 Py_INCREF(Py_None
); resultobj
= Py_None
;
24656 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24657 PyObject
*resultobj
;
24658 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24660 PyObject
* obj0
= 0 ;
24661 char *kwnames
[] = {
24662 (char *) "self", NULL
24665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
24666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24670 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
24672 wxPyEndAllowThreads(__tstate
);
24673 if (PyErr_Occurred()) SWIG_fail
;
24676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24684 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24685 PyObject
*resultobj
;
24686 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24688 PyObject
* obj0
= 0 ;
24689 PyObject
* obj1
= 0 ;
24690 char *kwnames
[] = {
24691 (char *) "self",(char *) "editCancelled", NULL
24694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
24695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24697 arg2
= (bool) SWIG_AsBool(obj1
);
24698 if (PyErr_Occurred()) SWIG_fail
;
24700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24701 (arg1
)->SetEditCanceled(arg2
);
24703 wxPyEndAllowThreads(__tstate
);
24704 if (PyErr_Occurred()) SWIG_fail
;
24706 Py_INCREF(Py_None
); resultobj
= Py_None
;
24713 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24714 PyObject
*resultobj
;
24715 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24716 wxString
*arg2
= 0 ;
24717 bool temp2
= False
;
24718 PyObject
* obj0
= 0 ;
24719 PyObject
* obj1
= 0 ;
24720 char *kwnames
[] = {
24721 (char *) "self",(char *) "toolTip", NULL
24724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
24725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24728 arg2
= wxString_in_helper(obj1
);
24729 if (arg2
== NULL
) SWIG_fail
;
24733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24734 (arg1
)->SetToolTip((wxString
const &)*arg2
);
24736 wxPyEndAllowThreads(__tstate
);
24737 if (PyErr_Occurred()) SWIG_fail
;
24739 Py_INCREF(Py_None
); resultobj
= Py_None
;
24754 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
24756 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24757 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
24759 return Py_BuildValue((char *)"");
24761 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24762 PyObject
*resultobj
;
24763 wxWindow
*arg1
= (wxWindow
*) 0 ;
24764 int arg2
= (int) -1 ;
24765 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24766 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24767 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24768 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24769 long arg5
= (long) wxTR_DEFAULT_STYLE
;
24770 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
24771 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
24772 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
24773 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24774 wxPyTreeCtrl
*result
;
24777 bool temp7
= False
;
24778 PyObject
* obj0
= 0 ;
24779 PyObject
* obj1
= 0 ;
24780 PyObject
* obj2
= 0 ;
24781 PyObject
* obj3
= 0 ;
24782 PyObject
* obj4
= 0 ;
24783 PyObject
* obj5
= 0 ;
24784 PyObject
* obj6
= 0 ;
24785 char *kwnames
[] = {
24786 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24793 arg2
= (int) SWIG_AsInt(obj1
);
24794 if (PyErr_Occurred()) SWIG_fail
;
24799 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24805 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24809 arg5
= (long) SWIG_AsLong(obj4
);
24810 if (PyErr_Occurred()) SWIG_fail
;
24813 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
24814 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24816 if (arg6
== NULL
) {
24817 PyErr_SetString(PyExc_TypeError
,"null reference");
24823 arg7
= wxString_in_helper(obj6
);
24824 if (arg7
== NULL
) SWIG_fail
;
24829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24830 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
24832 wxPyEndAllowThreads(__tstate
);
24833 if (PyErr_Occurred()) SWIG_fail
;
24836 resultobj
= wxPyMake_wxObject(result
);
24852 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24853 PyObject
*resultobj
;
24854 wxPyTreeCtrl
*result
;
24855 char *kwnames
[] = {
24859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
24861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24862 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
24864 wxPyEndAllowThreads(__tstate
);
24865 if (PyErr_Occurred()) SWIG_fail
;
24868 resultobj
= wxPyMake_wxObject(result
);
24876 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24877 PyObject
*resultobj
;
24878 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24879 wxWindow
*arg2
= (wxWindow
*) 0 ;
24880 int arg3
= (int) -1 ;
24881 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24882 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24883 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24884 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24885 long arg6
= (long) wxTR_DEFAULT_STYLE
;
24886 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
24887 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
24888 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
24889 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
24893 bool temp8
= False
;
24894 PyObject
* obj0
= 0 ;
24895 PyObject
* obj1
= 0 ;
24896 PyObject
* obj2
= 0 ;
24897 PyObject
* obj3
= 0 ;
24898 PyObject
* obj4
= 0 ;
24899 PyObject
* obj5
= 0 ;
24900 PyObject
* obj6
= 0 ;
24901 PyObject
* obj7
= 0 ;
24902 char *kwnames
[] = {
24903 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
24907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24909 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24912 arg3
= (int) SWIG_AsInt(obj2
);
24913 if (PyErr_Occurred()) SWIG_fail
;
24918 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24924 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24928 arg6
= (long) SWIG_AsLong(obj5
);
24929 if (PyErr_Occurred()) SWIG_fail
;
24932 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
24933 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24935 if (arg7
== NULL
) {
24936 PyErr_SetString(PyExc_TypeError
,"null reference");
24942 arg8
= wxString_in_helper(obj7
);
24943 if (arg8
== NULL
) SWIG_fail
;
24948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24949 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
24951 wxPyEndAllowThreads(__tstate
);
24952 if (PyErr_Occurred()) SWIG_fail
;
24955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24971 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24972 PyObject
*resultobj
;
24973 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24974 PyObject
*arg2
= (PyObject
*) 0 ;
24975 PyObject
*arg3
= (PyObject
*) 0 ;
24976 PyObject
* obj0
= 0 ;
24977 PyObject
* obj1
= 0 ;
24978 PyObject
* obj2
= 0 ;
24979 char *kwnames
[] = {
24980 (char *) "self",(char *) "self",(char *) "_class", NULL
24983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24990 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24992 wxPyEndAllowThreads(__tstate
);
24993 if (PyErr_Occurred()) SWIG_fail
;
24995 Py_INCREF(Py_None
); resultobj
= Py_None
;
25002 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25003 PyObject
*resultobj
;
25004 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25006 PyObject
* obj0
= 0 ;
25007 char *kwnames
[] = {
25008 (char *) "self", NULL
25011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
25012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25016 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
25018 wxPyEndAllowThreads(__tstate
);
25019 if (PyErr_Occurred()) SWIG_fail
;
25021 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25028 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25029 PyObject
*resultobj
;
25030 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25031 unsigned int result
;
25032 PyObject
* obj0
= 0 ;
25033 char *kwnames
[] = {
25034 (char *) "self", NULL
25037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
25038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25042 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
25044 wxPyEndAllowThreads(__tstate
);
25045 if (PyErr_Occurred()) SWIG_fail
;
25047 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
25054 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25055 PyObject
*resultobj
;
25056 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25057 unsigned int arg2
;
25058 PyObject
* obj0
= 0 ;
25059 PyObject
* obj1
= 0 ;
25060 char *kwnames
[] = {
25061 (char *) "self",(char *) "indent", NULL
25064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
25065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25067 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
25068 if (PyErr_Occurred()) SWIG_fail
;
25070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25071 (arg1
)->SetIndent(arg2
);
25073 wxPyEndAllowThreads(__tstate
);
25074 if (PyErr_Occurred()) SWIG_fail
;
25076 Py_INCREF(Py_None
); resultobj
= Py_None
;
25083 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25084 PyObject
*resultobj
;
25085 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25086 unsigned int result
;
25087 PyObject
* obj0
= 0 ;
25088 char *kwnames
[] = {
25089 (char *) "self", NULL
25092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
25093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25097 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
25099 wxPyEndAllowThreads(__tstate
);
25100 if (PyErr_Occurred()) SWIG_fail
;
25102 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
25109 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25110 PyObject
*resultobj
;
25111 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25112 unsigned int arg2
;
25113 PyObject
* obj0
= 0 ;
25114 PyObject
* obj1
= 0 ;
25115 char *kwnames
[] = {
25116 (char *) "self",(char *) "spacing", NULL
25119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
25120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25122 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
25123 if (PyErr_Occurred()) SWIG_fail
;
25125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25126 (arg1
)->SetSpacing(arg2
);
25128 wxPyEndAllowThreads(__tstate
);
25129 if (PyErr_Occurred()) SWIG_fail
;
25131 Py_INCREF(Py_None
); resultobj
= Py_None
;
25138 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25139 PyObject
*resultobj
;
25140 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25141 wxImageList
*result
;
25142 PyObject
* obj0
= 0 ;
25143 char *kwnames
[] = {
25144 (char *) "self", NULL
25147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
25148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25152 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
25154 wxPyEndAllowThreads(__tstate
);
25155 if (PyErr_Occurred()) SWIG_fail
;
25158 resultobj
= wxPyMake_wxObject(result
);
25166 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25167 PyObject
*resultobj
;
25168 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25169 wxImageList
*result
;
25170 PyObject
* obj0
= 0 ;
25171 char *kwnames
[] = {
25172 (char *) "self", NULL
25175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
25176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25180 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
25182 wxPyEndAllowThreads(__tstate
);
25183 if (PyErr_Occurred()) SWIG_fail
;
25186 resultobj
= wxPyMake_wxObject(result
);
25194 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25195 PyObject
*resultobj
;
25196 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25197 wxImageList
*arg2
= (wxImageList
*) 0 ;
25198 PyObject
* obj0
= 0 ;
25199 PyObject
* obj1
= 0 ;
25200 char *kwnames
[] = {
25201 (char *) "self",(char *) "imageList", NULL
25204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25207 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25211 (arg1
)->SetImageList(arg2
);
25213 wxPyEndAllowThreads(__tstate
);
25214 if (PyErr_Occurred()) SWIG_fail
;
25216 Py_INCREF(Py_None
); resultobj
= Py_None
;
25223 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25224 PyObject
*resultobj
;
25225 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25226 wxImageList
*arg2
= (wxImageList
*) 0 ;
25227 PyObject
* obj0
= 0 ;
25228 PyObject
* obj1
= 0 ;
25229 char *kwnames
[] = {
25230 (char *) "self",(char *) "imageList", NULL
25233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25236 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25240 (arg1
)->SetStateImageList(arg2
);
25242 wxPyEndAllowThreads(__tstate
);
25243 if (PyErr_Occurred()) SWIG_fail
;
25245 Py_INCREF(Py_None
); resultobj
= Py_None
;
25252 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25253 PyObject
*resultobj
;
25254 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25255 wxImageList
*arg2
= (wxImageList
*) 0 ;
25256 PyObject
* obj0
= 0 ;
25257 PyObject
* obj1
= 0 ;
25258 char *kwnames
[] = {
25259 (char *) "self",(char *) "imageList", NULL
25262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25265 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25266 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25269 (arg1
)->AssignImageList(arg2
);
25271 wxPyEndAllowThreads(__tstate
);
25272 if (PyErr_Occurred()) SWIG_fail
;
25274 Py_INCREF(Py_None
); resultobj
= Py_None
;
25281 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25282 PyObject
*resultobj
;
25283 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25284 wxImageList
*arg2
= (wxImageList
*) 0 ;
25285 PyObject
* obj0
= 0 ;
25286 PyObject
* obj1
= 0 ;
25287 char *kwnames
[] = {
25288 (char *) "self",(char *) "imageList", NULL
25291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25294 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25295 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25298 (arg1
)->AssignStateImageList(arg2
);
25300 wxPyEndAllowThreads(__tstate
);
25301 if (PyErr_Occurred()) SWIG_fail
;
25303 Py_INCREF(Py_None
); resultobj
= Py_None
;
25310 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25311 PyObject
*resultobj
;
25312 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25313 wxTreeItemId
*arg2
= 0 ;
25315 PyObject
* obj0
= 0 ;
25316 PyObject
* obj1
= 0 ;
25317 char *kwnames
[] = {
25318 (char *) "self",(char *) "item", NULL
25321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
25322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25324 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25325 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25327 if (arg2
== NULL
) {
25328 PyErr_SetString(PyExc_TypeError
,"null reference");
25332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25333 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
25335 wxPyEndAllowThreads(__tstate
);
25336 if (PyErr_Occurred()) SWIG_fail
;
25340 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25342 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25351 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25352 PyObject
*resultobj
;
25353 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25354 wxTreeItemId
*arg2
= 0 ;
25355 int arg3
= (int) wxTreeItemIcon_Normal
;
25357 PyObject
* obj0
= 0 ;
25358 PyObject
* obj1
= 0 ;
25359 PyObject
* obj2
= 0 ;
25360 char *kwnames
[] = {
25361 (char *) "self",(char *) "item",(char *) "which", NULL
25364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25367 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25368 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25370 if (arg2
== NULL
) {
25371 PyErr_SetString(PyExc_TypeError
,"null reference");
25375 arg3
= (wxTreeItemIcon
) SWIG_AsInt(obj2
);
25376 if (PyErr_Occurred()) SWIG_fail
;
25379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25380 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
25382 wxPyEndAllowThreads(__tstate
);
25383 if (PyErr_Occurred()) SWIG_fail
;
25385 resultobj
= SWIG_FromInt((int)result
);
25392 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25393 PyObject
*resultobj
;
25394 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25395 wxTreeItemId
*arg2
= 0 ;
25396 wxPyTreeItemData
*result
;
25397 PyObject
* obj0
= 0 ;
25398 PyObject
* obj1
= 0 ;
25399 char *kwnames
[] = {
25400 (char *) "self",(char *) "item", NULL
25403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
25404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25406 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25407 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25409 if (arg2
== NULL
) {
25410 PyErr_SetString(PyExc_TypeError
,"null reference");
25414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25415 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
25417 wxPyEndAllowThreads(__tstate
);
25418 if (PyErr_Occurred()) SWIG_fail
;
25420 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
25427 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25428 PyObject
*resultobj
;
25429 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25430 wxTreeItemId
*arg2
= 0 ;
25432 PyObject
* obj0
= 0 ;
25433 PyObject
* obj1
= 0 ;
25434 char *kwnames
[] = {
25435 (char *) "self",(char *) "item", NULL
25438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
25439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25441 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25442 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25444 if (arg2
== NULL
) {
25445 PyErr_SetString(PyExc_TypeError
,"null reference");
25449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25450 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
25452 wxPyEndAllowThreads(__tstate
);
25453 if (PyErr_Occurred()) SWIG_fail
;
25455 resultobj
= result
;
25462 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25463 PyObject
*resultobj
;
25464 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25465 wxTreeItemId
*arg2
= 0 ;
25467 PyObject
* obj0
= 0 ;
25468 PyObject
* obj1
= 0 ;
25469 char *kwnames
[] = {
25470 (char *) "self",(char *) "item", NULL
25473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25476 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25477 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25479 if (arg2
== NULL
) {
25480 PyErr_SetString(PyExc_TypeError
,"null reference");
25484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25485 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
25487 wxPyEndAllowThreads(__tstate
);
25488 if (PyErr_Occurred()) SWIG_fail
;
25491 wxColour
* resultptr
;
25492 resultptr
= new wxColour((wxColour
&) result
);
25493 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25501 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25502 PyObject
*resultobj
;
25503 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25504 wxTreeItemId
*arg2
= 0 ;
25506 PyObject
* obj0
= 0 ;
25507 PyObject
* obj1
= 0 ;
25508 char *kwnames
[] = {
25509 (char *) "self",(char *) "item", NULL
25512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25515 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25516 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25518 if (arg2
== NULL
) {
25519 PyErr_SetString(PyExc_TypeError
,"null reference");
25523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25524 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
25526 wxPyEndAllowThreads(__tstate
);
25527 if (PyErr_Occurred()) SWIG_fail
;
25530 wxColour
* resultptr
;
25531 resultptr
= new wxColour((wxColour
&) result
);
25532 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25540 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25541 PyObject
*resultobj
;
25542 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25543 wxTreeItemId
*arg2
= 0 ;
25545 PyObject
* obj0
= 0 ;
25546 PyObject
* obj1
= 0 ;
25547 char *kwnames
[] = {
25548 (char *) "self",(char *) "item", NULL
25551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
25552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25554 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25555 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25557 if (arg2
== NULL
) {
25558 PyErr_SetString(PyExc_TypeError
,"null reference");
25562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25563 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
25565 wxPyEndAllowThreads(__tstate
);
25566 if (PyErr_Occurred()) SWIG_fail
;
25569 wxFont
* resultptr
;
25570 resultptr
= new wxFont((wxFont
&) result
);
25571 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
25579 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25580 PyObject
*resultobj
;
25581 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25582 wxTreeItemId
*arg2
= 0 ;
25583 wxString
*arg3
= 0 ;
25584 bool temp3
= False
;
25585 PyObject
* obj0
= 0 ;
25586 PyObject
* obj1
= 0 ;
25587 PyObject
* obj2
= 0 ;
25588 char *kwnames
[] = {
25589 (char *) "self",(char *) "item",(char *) "text", NULL
25592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25595 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25596 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25598 if (arg2
== NULL
) {
25599 PyErr_SetString(PyExc_TypeError
,"null reference");
25603 arg3
= wxString_in_helper(obj2
);
25604 if (arg3
== NULL
) SWIG_fail
;
25608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25609 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
25611 wxPyEndAllowThreads(__tstate
);
25612 if (PyErr_Occurred()) SWIG_fail
;
25614 Py_INCREF(Py_None
); resultobj
= Py_None
;
25629 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25630 PyObject
*resultobj
;
25631 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25632 wxTreeItemId
*arg2
= 0 ;
25634 int arg4
= (int) wxTreeItemIcon_Normal
;
25635 PyObject
* obj0
= 0 ;
25636 PyObject
* obj1
= 0 ;
25637 PyObject
* obj2
= 0 ;
25638 PyObject
* obj3
= 0 ;
25639 char *kwnames
[] = {
25640 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
25643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25646 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25647 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25649 if (arg2
== NULL
) {
25650 PyErr_SetString(PyExc_TypeError
,"null reference");
25653 arg3
= (int) SWIG_AsInt(obj2
);
25654 if (PyErr_Occurred()) SWIG_fail
;
25656 arg4
= (wxTreeItemIcon
) SWIG_AsInt(obj3
);
25657 if (PyErr_Occurred()) SWIG_fail
;
25660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25661 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
25663 wxPyEndAllowThreads(__tstate
);
25664 if (PyErr_Occurred()) SWIG_fail
;
25666 Py_INCREF(Py_None
); resultobj
= Py_None
;
25673 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25674 PyObject
*resultobj
;
25675 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25676 wxTreeItemId
*arg2
= 0 ;
25677 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
25678 PyObject
* obj0
= 0 ;
25679 PyObject
* obj1
= 0 ;
25680 PyObject
* obj2
= 0 ;
25681 char *kwnames
[] = {
25682 (char *) "self",(char *) "item",(char *) "data", NULL
25685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25688 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25689 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25691 if (arg2
== NULL
) {
25692 PyErr_SetString(PyExc_TypeError
,"null reference");
25695 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
25696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25699 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25701 wxPyEndAllowThreads(__tstate
);
25702 if (PyErr_Occurred()) SWIG_fail
;
25704 Py_INCREF(Py_None
); resultobj
= Py_None
;
25711 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25712 PyObject
*resultobj
;
25713 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25714 wxTreeItemId
*arg2
= 0 ;
25715 PyObject
*arg3
= (PyObject
*) 0 ;
25716 PyObject
* obj0
= 0 ;
25717 PyObject
* obj1
= 0 ;
25718 PyObject
* obj2
= 0 ;
25719 char *kwnames
[] = {
25720 (char *) "self",(char *) "item",(char *) "obj", NULL
25723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25726 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25727 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25729 if (arg2
== NULL
) {
25730 PyErr_SetString(PyExc_TypeError
,"null reference");
25735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25736 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25738 wxPyEndAllowThreads(__tstate
);
25739 if (PyErr_Occurred()) SWIG_fail
;
25741 Py_INCREF(Py_None
); resultobj
= Py_None
;
25748 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25749 PyObject
*resultobj
;
25750 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25751 wxTreeItemId
*arg2
= 0 ;
25752 bool arg3
= (bool) True
;
25753 PyObject
* obj0
= 0 ;
25754 PyObject
* obj1
= 0 ;
25755 PyObject
* obj2
= 0 ;
25756 char *kwnames
[] = {
25757 (char *) "self",(char *) "item",(char *) "has", NULL
25760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25763 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25764 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25766 if (arg2
== NULL
) {
25767 PyErr_SetString(PyExc_TypeError
,"null reference");
25771 arg3
= (bool) SWIG_AsBool(obj2
);
25772 if (PyErr_Occurred()) SWIG_fail
;
25775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25776 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
25778 wxPyEndAllowThreads(__tstate
);
25779 if (PyErr_Occurred()) SWIG_fail
;
25781 Py_INCREF(Py_None
); resultobj
= Py_None
;
25788 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25789 PyObject
*resultobj
;
25790 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25791 wxTreeItemId
*arg2
= 0 ;
25792 bool arg3
= (bool) True
;
25793 PyObject
* obj0
= 0 ;
25794 PyObject
* obj1
= 0 ;
25795 PyObject
* obj2
= 0 ;
25796 char *kwnames
[] = {
25797 (char *) "self",(char *) "item",(char *) "bold", NULL
25800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25803 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25804 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25806 if (arg2
== NULL
) {
25807 PyErr_SetString(PyExc_TypeError
,"null reference");
25811 arg3
= (bool) SWIG_AsBool(obj2
);
25812 if (PyErr_Occurred()) SWIG_fail
;
25815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25816 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
25818 wxPyEndAllowThreads(__tstate
);
25819 if (PyErr_Occurred()) SWIG_fail
;
25821 Py_INCREF(Py_None
); resultobj
= Py_None
;
25828 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25829 PyObject
*resultobj
;
25830 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25831 wxTreeItemId
*arg2
= 0 ;
25832 wxColour
*arg3
= 0 ;
25834 PyObject
* obj0
= 0 ;
25835 PyObject
* obj1
= 0 ;
25836 PyObject
* obj2
= 0 ;
25837 char *kwnames
[] = {
25838 (char *) "self",(char *) "item",(char *) "col", NULL
25841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25844 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25845 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25847 if (arg2
== NULL
) {
25848 PyErr_SetString(PyExc_TypeError
,"null reference");
25853 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
25856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25857 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
25859 wxPyEndAllowThreads(__tstate
);
25860 if (PyErr_Occurred()) SWIG_fail
;
25862 Py_INCREF(Py_None
); resultobj
= Py_None
;
25869 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25870 PyObject
*resultobj
;
25871 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25872 wxTreeItemId
*arg2
= 0 ;
25873 wxColour
*arg3
= 0 ;
25875 PyObject
* obj0
= 0 ;
25876 PyObject
* obj1
= 0 ;
25877 PyObject
* obj2
= 0 ;
25878 char *kwnames
[] = {
25879 (char *) "self",(char *) "item",(char *) "col", NULL
25882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25885 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25886 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25888 if (arg2
== NULL
) {
25889 PyErr_SetString(PyExc_TypeError
,"null reference");
25894 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
25897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25898 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
25900 wxPyEndAllowThreads(__tstate
);
25901 if (PyErr_Occurred()) SWIG_fail
;
25903 Py_INCREF(Py_None
); resultobj
= Py_None
;
25910 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25911 PyObject
*resultobj
;
25912 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25913 wxTreeItemId
*arg2
= 0 ;
25915 PyObject
* obj0
= 0 ;
25916 PyObject
* obj1
= 0 ;
25917 PyObject
* obj2
= 0 ;
25918 char *kwnames
[] = {
25919 (char *) "self",(char *) "item",(char *) "font", NULL
25922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25925 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25926 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25928 if (arg2
== NULL
) {
25929 PyErr_SetString(PyExc_TypeError
,"null reference");
25932 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
25933 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25935 if (arg3
== NULL
) {
25936 PyErr_SetString(PyExc_TypeError
,"null reference");
25940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25941 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
25943 wxPyEndAllowThreads(__tstate
);
25944 if (PyErr_Occurred()) SWIG_fail
;
25946 Py_INCREF(Py_None
); resultobj
= Py_None
;
25953 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25954 PyObject
*resultobj
;
25955 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25956 wxTreeItemId
*arg2
= 0 ;
25958 PyObject
* obj0
= 0 ;
25959 PyObject
* obj1
= 0 ;
25960 char *kwnames
[] = {
25961 (char *) "self",(char *) "item", NULL
25964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25967 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25968 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25970 if (arg2
== NULL
) {
25971 PyErr_SetString(PyExc_TypeError
,"null reference");
25975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25976 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
25978 wxPyEndAllowThreads(__tstate
);
25979 if (PyErr_Occurred()) SWIG_fail
;
25982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25990 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25991 PyObject
*resultobj
;
25992 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25993 wxTreeItemId
*arg2
= 0 ;
25995 PyObject
* obj0
= 0 ;
25996 PyObject
* obj1
= 0 ;
25997 char *kwnames
[] = {
25998 (char *) "self",(char *) "item", NULL
26001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26004 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26005 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26007 if (arg2
== NULL
) {
26008 PyErr_SetString(PyExc_TypeError
,"null reference");
26012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26013 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
26015 wxPyEndAllowThreads(__tstate
);
26016 if (PyErr_Occurred()) SWIG_fail
;
26019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26027 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26028 PyObject
*resultobj
;
26029 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26030 wxTreeItemId
*arg2
= 0 ;
26032 PyObject
* obj0
= 0 ;
26033 PyObject
* obj1
= 0 ;
26034 char *kwnames
[] = {
26035 (char *) "self",(char *) "item", NULL
26038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
26039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26041 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26042 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26044 if (arg2
== NULL
) {
26045 PyErr_SetString(PyExc_TypeError
,"null reference");
26049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26050 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
26052 wxPyEndAllowThreads(__tstate
);
26053 if (PyErr_Occurred()) SWIG_fail
;
26056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26064 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26065 PyObject
*resultobj
;
26066 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26067 wxTreeItemId
*arg2
= 0 ;
26069 PyObject
* obj0
= 0 ;
26070 PyObject
* obj1
= 0 ;
26071 char *kwnames
[] = {
26072 (char *) "self",(char *) "item", NULL
26075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26078 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26079 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26081 if (arg2
== NULL
) {
26082 PyErr_SetString(PyExc_TypeError
,"null reference");
26086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26087 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
26089 wxPyEndAllowThreads(__tstate
);
26090 if (PyErr_Occurred()) SWIG_fail
;
26093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26101 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26102 PyObject
*resultobj
;
26103 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26104 wxTreeItemId
*arg2
= 0 ;
26106 PyObject
* obj0
= 0 ;
26107 PyObject
* obj1
= 0 ;
26108 char *kwnames
[] = {
26109 (char *) "self",(char *) "item", NULL
26112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
26113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26115 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26116 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26118 if (arg2
== NULL
) {
26119 PyErr_SetString(PyExc_TypeError
,"null reference");
26123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26124 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
26126 wxPyEndAllowThreads(__tstate
);
26127 if (PyErr_Occurred()) SWIG_fail
;
26130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26138 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26139 PyObject
*resultobj
;
26140 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26141 wxTreeItemId
*arg2
= 0 ;
26142 bool arg3
= (bool) True
;
26144 PyObject
* obj0
= 0 ;
26145 PyObject
* obj1
= 0 ;
26146 PyObject
* obj2
= 0 ;
26147 char *kwnames
[] = {
26148 (char *) "self",(char *) "item",(char *) "recursively", NULL
26151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26154 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26155 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26157 if (arg2
== NULL
) {
26158 PyErr_SetString(PyExc_TypeError
,"null reference");
26162 arg3
= (bool) SWIG_AsBool(obj2
);
26163 if (PyErr_Occurred()) SWIG_fail
;
26166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26167 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
26169 wxPyEndAllowThreads(__tstate
);
26170 if (PyErr_Occurred()) SWIG_fail
;
26172 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
26179 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26180 PyObject
*resultobj
;
26181 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26182 wxTreeItemId result
;
26183 PyObject
* obj0
= 0 ;
26184 char *kwnames
[] = {
26185 (char *) "self", NULL
26188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
26189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26193 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
26195 wxPyEndAllowThreads(__tstate
);
26196 if (PyErr_Occurred()) SWIG_fail
;
26199 wxTreeItemId
* resultptr
;
26200 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26201 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26209 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26210 PyObject
*resultobj
;
26211 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26212 wxTreeItemId result
;
26213 PyObject
* obj0
= 0 ;
26214 char *kwnames
[] = {
26215 (char *) "self", NULL
26218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
26219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26223 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
26225 wxPyEndAllowThreads(__tstate
);
26226 if (PyErr_Occurred()) SWIG_fail
;
26229 wxTreeItemId
* resultptr
;
26230 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26231 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26239 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26240 PyObject
*resultobj
;
26241 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26243 PyObject
* obj0
= 0 ;
26244 char *kwnames
[] = {
26245 (char *) "self", NULL
26248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
26249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26253 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
26255 wxPyEndAllowThreads(__tstate
);
26256 if (PyErr_Occurred()) SWIG_fail
;
26258 resultobj
= result
;
26265 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26266 PyObject
*resultobj
;
26267 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26268 wxTreeItemId
*arg2
= 0 ;
26269 wxTreeItemId result
;
26270 PyObject
* obj0
= 0 ;
26271 PyObject
* obj1
= 0 ;
26272 char *kwnames
[] = {
26273 (char *) "self",(char *) "item", NULL
26276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26279 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26280 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26282 if (arg2
== NULL
) {
26283 PyErr_SetString(PyExc_TypeError
,"null reference");
26287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26288 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
26290 wxPyEndAllowThreads(__tstate
);
26291 if (PyErr_Occurred()) SWIG_fail
;
26294 wxTreeItemId
* resultptr
;
26295 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26296 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26304 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26305 PyObject
*resultobj
;
26306 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26307 wxTreeItemId
*arg2
= 0 ;
26309 PyObject
* obj0
= 0 ;
26310 PyObject
* obj1
= 0 ;
26311 char *kwnames
[] = {
26312 (char *) "self",(char *) "item", NULL
26315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26318 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26319 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26321 if (arg2
== NULL
) {
26322 PyErr_SetString(PyExc_TypeError
,"null reference");
26326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26327 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
26329 wxPyEndAllowThreads(__tstate
);
26330 if (PyErr_Occurred()) SWIG_fail
;
26332 resultobj
= result
;
26339 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26340 PyObject
*resultobj
;
26341 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26342 wxTreeItemId
*arg2
= 0 ;
26343 void *arg3
= (void *) 0 ;
26345 PyObject
* obj0
= 0 ;
26346 PyObject
* obj1
= 0 ;
26347 PyObject
* obj2
= 0 ;
26348 char *kwnames
[] = {
26349 (char *) "self",(char *) "item",(char *) "cookie", NULL
26352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26355 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26356 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26358 if (arg2
== NULL
) {
26359 PyErr_SetString(PyExc_TypeError
,"null reference");
26362 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26365 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26367 wxPyEndAllowThreads(__tstate
);
26368 if (PyErr_Occurred()) SWIG_fail
;
26370 resultobj
= result
;
26377 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26378 PyObject
*resultobj
;
26379 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26380 wxTreeItemId
*arg2
= 0 ;
26381 wxTreeItemId result
;
26382 PyObject
* obj0
= 0 ;
26383 PyObject
* obj1
= 0 ;
26384 char *kwnames
[] = {
26385 (char *) "self",(char *) "item", NULL
26388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26391 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26392 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26394 if (arg2
== NULL
) {
26395 PyErr_SetString(PyExc_TypeError
,"null reference");
26399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26400 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
26402 wxPyEndAllowThreads(__tstate
);
26403 if (PyErr_Occurred()) SWIG_fail
;
26406 wxTreeItemId
* resultptr
;
26407 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26408 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26416 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26417 PyObject
*resultobj
;
26418 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26419 wxTreeItemId
*arg2
= 0 ;
26420 wxTreeItemId result
;
26421 PyObject
* obj0
= 0 ;
26422 PyObject
* obj1
= 0 ;
26423 char *kwnames
[] = {
26424 (char *) "self",(char *) "item", NULL
26427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
26428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26430 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26431 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26433 if (arg2
== NULL
) {
26434 PyErr_SetString(PyExc_TypeError
,"null reference");
26438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26439 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
26441 wxPyEndAllowThreads(__tstate
);
26442 if (PyErr_Occurred()) SWIG_fail
;
26445 wxTreeItemId
* resultptr
;
26446 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26447 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26455 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26456 PyObject
*resultobj
;
26457 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26458 wxTreeItemId
*arg2
= 0 ;
26459 wxTreeItemId result
;
26460 PyObject
* obj0
= 0 ;
26461 PyObject
* obj1
= 0 ;
26462 char *kwnames
[] = {
26463 (char *) "self",(char *) "item", NULL
26466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
26467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26469 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26470 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26472 if (arg2
== NULL
) {
26473 PyErr_SetString(PyExc_TypeError
,"null reference");
26477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26478 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
26480 wxPyEndAllowThreads(__tstate
);
26481 if (PyErr_Occurred()) SWIG_fail
;
26484 wxTreeItemId
* resultptr
;
26485 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26486 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26494 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26495 PyObject
*resultobj
;
26496 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26497 wxTreeItemId result
;
26498 PyObject
* obj0
= 0 ;
26499 char *kwnames
[] = {
26500 (char *) "self", NULL
26503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
26504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26508 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
26510 wxPyEndAllowThreads(__tstate
);
26511 if (PyErr_Occurred()) SWIG_fail
;
26514 wxTreeItemId
* resultptr
;
26515 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26516 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26524 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26525 PyObject
*resultobj
;
26526 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26527 wxTreeItemId
*arg2
= 0 ;
26528 wxTreeItemId result
;
26529 PyObject
* obj0
= 0 ;
26530 PyObject
* obj1
= 0 ;
26531 char *kwnames
[] = {
26532 (char *) "self",(char *) "item", NULL
26535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26538 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26539 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26541 if (arg2
== NULL
) {
26542 PyErr_SetString(PyExc_TypeError
,"null reference");
26546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26547 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
26549 wxPyEndAllowThreads(__tstate
);
26550 if (PyErr_Occurred()) SWIG_fail
;
26553 wxTreeItemId
* resultptr
;
26554 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26555 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26563 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26564 PyObject
*resultobj
;
26565 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26566 wxTreeItemId
*arg2
= 0 ;
26567 wxTreeItemId result
;
26568 PyObject
* obj0
= 0 ;
26569 PyObject
* obj1
= 0 ;
26570 char *kwnames
[] = {
26571 (char *) "self",(char *) "item", NULL
26574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26577 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26578 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26580 if (arg2
== NULL
) {
26581 PyErr_SetString(PyExc_TypeError
,"null reference");
26585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26586 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
26588 wxPyEndAllowThreads(__tstate
);
26589 if (PyErr_Occurred()) SWIG_fail
;
26592 wxTreeItemId
* resultptr
;
26593 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26594 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26602 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26603 PyObject
*resultobj
;
26604 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26605 wxString
*arg2
= 0 ;
26606 int arg3
= (int) -1 ;
26607 int arg4
= (int) -1 ;
26608 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
26609 wxTreeItemId result
;
26610 bool temp2
= False
;
26611 PyObject
* obj0
= 0 ;
26612 PyObject
* obj1
= 0 ;
26613 PyObject
* obj2
= 0 ;
26614 PyObject
* obj3
= 0 ;
26615 PyObject
* obj4
= 0 ;
26616 char *kwnames
[] = {
26617 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26624 arg2
= wxString_in_helper(obj1
);
26625 if (arg2
== NULL
) SWIG_fail
;
26629 arg3
= (int) SWIG_AsInt(obj2
);
26630 if (PyErr_Occurred()) SWIG_fail
;
26633 arg4
= (int) SWIG_AsInt(obj3
);
26634 if (PyErr_Occurred()) SWIG_fail
;
26637 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
26638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26642 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
26644 wxPyEndAllowThreads(__tstate
);
26645 if (PyErr_Occurred()) SWIG_fail
;
26648 wxTreeItemId
* resultptr
;
26649 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26650 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26666 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26667 PyObject
*resultobj
;
26668 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26669 wxTreeItemId
*arg2
= 0 ;
26670 wxString
*arg3
= 0 ;
26671 int arg4
= (int) -1 ;
26672 int arg5
= (int) -1 ;
26673 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
26674 wxTreeItemId result
;
26675 bool temp3
= False
;
26676 PyObject
* obj0
= 0 ;
26677 PyObject
* obj1
= 0 ;
26678 PyObject
* obj2
= 0 ;
26679 PyObject
* obj3
= 0 ;
26680 PyObject
* obj4
= 0 ;
26681 PyObject
* obj5
= 0 ;
26682 char *kwnames
[] = {
26683 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26689 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26690 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26692 if (arg2
== NULL
) {
26693 PyErr_SetString(PyExc_TypeError
,"null reference");
26697 arg3
= wxString_in_helper(obj2
);
26698 if (arg3
== NULL
) SWIG_fail
;
26702 arg4
= (int) SWIG_AsInt(obj3
);
26703 if (PyErr_Occurred()) SWIG_fail
;
26706 arg5
= (int) SWIG_AsInt(obj4
);
26707 if (PyErr_Occurred()) SWIG_fail
;
26710 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
26711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26715 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
26717 wxPyEndAllowThreads(__tstate
);
26718 if (PyErr_Occurred()) SWIG_fail
;
26721 wxTreeItemId
* resultptr
;
26722 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26723 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26739 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26740 PyObject
*resultobj
;
26741 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26742 wxTreeItemId
*arg2
= 0 ;
26743 wxTreeItemId
*arg3
= 0 ;
26744 wxString
*arg4
= 0 ;
26745 int arg5
= (int) -1 ;
26746 int arg6
= (int) -1 ;
26747 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
26748 wxTreeItemId result
;
26749 bool temp4
= False
;
26750 PyObject
* obj0
= 0 ;
26751 PyObject
* obj1
= 0 ;
26752 PyObject
* obj2
= 0 ;
26753 PyObject
* obj3
= 0 ;
26754 PyObject
* obj4
= 0 ;
26755 PyObject
* obj5
= 0 ;
26756 PyObject
* obj6
= 0 ;
26757 char *kwnames
[] = {
26758 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26764 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26765 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26767 if (arg2
== NULL
) {
26768 PyErr_SetString(PyExc_TypeError
,"null reference");
26771 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
26772 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26774 if (arg3
== NULL
) {
26775 PyErr_SetString(PyExc_TypeError
,"null reference");
26779 arg4
= wxString_in_helper(obj3
);
26780 if (arg4
== NULL
) SWIG_fail
;
26784 arg5
= (int) SWIG_AsInt(obj4
);
26785 if (PyErr_Occurred()) SWIG_fail
;
26788 arg6
= (int) SWIG_AsInt(obj5
);
26789 if (PyErr_Occurred()) SWIG_fail
;
26792 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
26793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26797 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
26799 wxPyEndAllowThreads(__tstate
);
26800 if (PyErr_Occurred()) SWIG_fail
;
26803 wxTreeItemId
* resultptr
;
26804 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26805 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26821 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26822 PyObject
*resultobj
;
26823 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26824 wxTreeItemId
*arg2
= 0 ;
26826 wxString
*arg4
= 0 ;
26827 int arg5
= (int) -1 ;
26828 int arg6
= (int) -1 ;
26829 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
26830 wxTreeItemId result
;
26831 bool temp4
= False
;
26832 PyObject
* obj0
= 0 ;
26833 PyObject
* obj1
= 0 ;
26834 PyObject
* obj2
= 0 ;
26835 PyObject
* obj3
= 0 ;
26836 PyObject
* obj4
= 0 ;
26837 PyObject
* obj5
= 0 ;
26838 PyObject
* obj6
= 0 ;
26839 char *kwnames
[] = {
26840 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26846 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26847 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26849 if (arg2
== NULL
) {
26850 PyErr_SetString(PyExc_TypeError
,"null reference");
26853 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
26854 if (PyErr_Occurred()) SWIG_fail
;
26856 arg4
= wxString_in_helper(obj3
);
26857 if (arg4
== NULL
) SWIG_fail
;
26861 arg5
= (int) SWIG_AsInt(obj4
);
26862 if (PyErr_Occurred()) SWIG_fail
;
26865 arg6
= (int) SWIG_AsInt(obj5
);
26866 if (PyErr_Occurred()) SWIG_fail
;
26869 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
26870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26874 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
26876 wxPyEndAllowThreads(__tstate
);
26877 if (PyErr_Occurred()) SWIG_fail
;
26880 wxTreeItemId
* resultptr
;
26881 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26882 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26898 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26899 PyObject
*resultobj
;
26900 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26901 wxTreeItemId
*arg2
= 0 ;
26902 wxString
*arg3
= 0 ;
26903 int arg4
= (int) -1 ;
26904 int arg5
= (int) -1 ;
26905 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
26906 wxTreeItemId result
;
26907 bool temp3
= False
;
26908 PyObject
* obj0
= 0 ;
26909 PyObject
* obj1
= 0 ;
26910 PyObject
* obj2
= 0 ;
26911 PyObject
* obj3
= 0 ;
26912 PyObject
* obj4
= 0 ;
26913 PyObject
* obj5
= 0 ;
26914 char *kwnames
[] = {
26915 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26921 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26922 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26924 if (arg2
== NULL
) {
26925 PyErr_SetString(PyExc_TypeError
,"null reference");
26929 arg3
= wxString_in_helper(obj2
);
26930 if (arg3
== NULL
) SWIG_fail
;
26934 arg4
= (int) SWIG_AsInt(obj3
);
26935 if (PyErr_Occurred()) SWIG_fail
;
26938 arg5
= (int) SWIG_AsInt(obj4
);
26939 if (PyErr_Occurred()) SWIG_fail
;
26942 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
26943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26947 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
26949 wxPyEndAllowThreads(__tstate
);
26950 if (PyErr_Occurred()) SWIG_fail
;
26953 wxTreeItemId
* resultptr
;
26954 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26955 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26971 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26972 PyObject
*resultobj
;
26973 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26974 wxTreeItemId
*arg2
= 0 ;
26975 PyObject
* obj0
= 0 ;
26976 PyObject
* obj1
= 0 ;
26977 char *kwnames
[] = {
26978 (char *) "self",(char *) "item", NULL
26981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
26982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26984 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26985 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26987 if (arg2
== NULL
) {
26988 PyErr_SetString(PyExc_TypeError
,"null reference");
26992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26993 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
26995 wxPyEndAllowThreads(__tstate
);
26996 if (PyErr_Occurred()) SWIG_fail
;
26998 Py_INCREF(Py_None
); resultobj
= Py_None
;
27005 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27006 PyObject
*resultobj
;
27007 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27008 wxTreeItemId
*arg2
= 0 ;
27009 PyObject
* obj0
= 0 ;
27010 PyObject
* obj1
= 0 ;
27011 char *kwnames
[] = {
27012 (char *) "self",(char *) "item", NULL
27015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27018 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27019 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27021 if (arg2
== NULL
) {
27022 PyErr_SetString(PyExc_TypeError
,"null reference");
27026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27027 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
27029 wxPyEndAllowThreads(__tstate
);
27030 if (PyErr_Occurred()) SWIG_fail
;
27032 Py_INCREF(Py_None
); resultobj
= Py_None
;
27039 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27040 PyObject
*resultobj
;
27041 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27042 PyObject
* obj0
= 0 ;
27043 char *kwnames
[] = {
27044 (char *) "self", NULL
27047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
27048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27052 (arg1
)->DeleteAllItems();
27054 wxPyEndAllowThreads(__tstate
);
27055 if (PyErr_Occurred()) SWIG_fail
;
27057 Py_INCREF(Py_None
); resultobj
= Py_None
;
27064 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27065 PyObject
*resultobj
;
27066 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27067 wxTreeItemId
*arg2
= 0 ;
27068 PyObject
* obj0
= 0 ;
27069 PyObject
* obj1
= 0 ;
27070 char *kwnames
[] = {
27071 (char *) "self",(char *) "item", NULL
27074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
27075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27077 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27078 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27080 if (arg2
== NULL
) {
27081 PyErr_SetString(PyExc_TypeError
,"null reference");
27085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27086 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
27088 wxPyEndAllowThreads(__tstate
);
27089 if (PyErr_Occurred()) SWIG_fail
;
27091 Py_INCREF(Py_None
); resultobj
= Py_None
;
27098 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27099 PyObject
*resultobj
;
27100 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27101 wxTreeItemId
*arg2
= 0 ;
27102 PyObject
* obj0
= 0 ;
27103 PyObject
* obj1
= 0 ;
27104 char *kwnames
[] = {
27105 (char *) "self",(char *) "item", NULL
27108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
27109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27111 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27112 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27114 if (arg2
== NULL
) {
27115 PyErr_SetString(PyExc_TypeError
,"null reference");
27119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27120 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
27122 wxPyEndAllowThreads(__tstate
);
27123 if (PyErr_Occurred()) SWIG_fail
;
27125 Py_INCREF(Py_None
); resultobj
= Py_None
;
27132 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27133 PyObject
*resultobj
;
27134 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27135 wxTreeItemId
*arg2
= 0 ;
27136 PyObject
* obj0
= 0 ;
27137 PyObject
* obj1
= 0 ;
27138 char *kwnames
[] = {
27139 (char *) "self",(char *) "item", NULL
27142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
27143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27145 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27146 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27148 if (arg2
== NULL
) {
27149 PyErr_SetString(PyExc_TypeError
,"null reference");
27153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27154 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
27156 wxPyEndAllowThreads(__tstate
);
27157 if (PyErr_Occurred()) SWIG_fail
;
27159 Py_INCREF(Py_None
); resultobj
= Py_None
;
27166 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27167 PyObject
*resultobj
;
27168 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27169 wxTreeItemId
*arg2
= 0 ;
27170 PyObject
* obj0
= 0 ;
27171 PyObject
* obj1
= 0 ;
27172 char *kwnames
[] = {
27173 (char *) "self",(char *) "item", NULL
27176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
27177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27179 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27180 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27182 if (arg2
== NULL
) {
27183 PyErr_SetString(PyExc_TypeError
,"null reference");
27187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27188 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
27190 wxPyEndAllowThreads(__tstate
);
27191 if (PyErr_Occurred()) SWIG_fail
;
27193 Py_INCREF(Py_None
); resultobj
= Py_None
;
27200 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27201 PyObject
*resultobj
;
27202 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27203 PyObject
* obj0
= 0 ;
27204 char *kwnames
[] = {
27205 (char *) "self", NULL
27208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
27209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27213 (arg1
)->Unselect();
27215 wxPyEndAllowThreads(__tstate
);
27216 if (PyErr_Occurred()) SWIG_fail
;
27218 Py_INCREF(Py_None
); resultobj
= Py_None
;
27225 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27226 PyObject
*resultobj
;
27227 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27228 wxTreeItemId
*arg2
= 0 ;
27229 PyObject
* obj0
= 0 ;
27230 PyObject
* obj1
= 0 ;
27231 char *kwnames
[] = {
27232 (char *) "self",(char *) "item", NULL
27235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27238 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27239 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27241 if (arg2
== NULL
) {
27242 PyErr_SetString(PyExc_TypeError
,"null reference");
27246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27247 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
27249 wxPyEndAllowThreads(__tstate
);
27250 if (PyErr_Occurred()) SWIG_fail
;
27252 Py_INCREF(Py_None
); resultobj
= Py_None
;
27259 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27260 PyObject
*resultobj
;
27261 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27262 PyObject
* obj0
= 0 ;
27263 char *kwnames
[] = {
27264 (char *) "self", NULL
27267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
27268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27272 (arg1
)->UnselectAll();
27274 wxPyEndAllowThreads(__tstate
);
27275 if (PyErr_Occurred()) SWIG_fail
;
27277 Py_INCREF(Py_None
); resultobj
= Py_None
;
27284 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27285 PyObject
*resultobj
;
27286 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27287 wxTreeItemId
*arg2
= 0 ;
27288 bool arg3
= (bool) True
;
27289 PyObject
* obj0
= 0 ;
27290 PyObject
* obj1
= 0 ;
27291 PyObject
* obj2
= 0 ;
27292 char *kwnames
[] = {
27293 (char *) "self",(char *) "item",(char *) "select", NULL
27296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27299 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27300 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27302 if (arg2
== NULL
) {
27303 PyErr_SetString(PyExc_TypeError
,"null reference");
27307 arg3
= (bool) SWIG_AsBool(obj2
);
27308 if (PyErr_Occurred()) SWIG_fail
;
27311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27312 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
27314 wxPyEndAllowThreads(__tstate
);
27315 if (PyErr_Occurred()) SWIG_fail
;
27317 Py_INCREF(Py_None
); resultobj
= Py_None
;
27324 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27325 PyObject
*resultobj
;
27326 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27327 wxTreeItemId
*arg2
= 0 ;
27328 PyObject
* obj0
= 0 ;
27329 PyObject
* obj1
= 0 ;
27330 char *kwnames
[] = {
27331 (char *) "self",(char *) "item", NULL
27334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27337 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27338 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27340 if (arg2
== NULL
) {
27341 PyErr_SetString(PyExc_TypeError
,"null reference");
27345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27346 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
27348 wxPyEndAllowThreads(__tstate
);
27349 if (PyErr_Occurred()) SWIG_fail
;
27351 Py_INCREF(Py_None
); resultobj
= Py_None
;
27358 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27359 PyObject
*resultobj
;
27360 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27361 wxTreeItemId
*arg2
= 0 ;
27362 PyObject
* obj0
= 0 ;
27363 PyObject
* obj1
= 0 ;
27364 char *kwnames
[] = {
27365 (char *) "self",(char *) "item", NULL
27368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
27369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27371 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27372 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27374 if (arg2
== NULL
) {
27375 PyErr_SetString(PyExc_TypeError
,"null reference");
27379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27380 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
27382 wxPyEndAllowThreads(__tstate
);
27383 if (PyErr_Occurred()) SWIG_fail
;
27385 Py_INCREF(Py_None
); resultobj
= Py_None
;
27392 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27393 PyObject
*resultobj
;
27394 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27395 wxTreeItemId
*arg2
= 0 ;
27396 PyObject
* obj0
= 0 ;
27397 PyObject
* obj1
= 0 ;
27398 char *kwnames
[] = {
27399 (char *) "self",(char *) "item", NULL
27402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
27403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27405 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27406 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27408 if (arg2
== NULL
) {
27409 PyErr_SetString(PyExc_TypeError
,"null reference");
27413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27414 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
27416 wxPyEndAllowThreads(__tstate
);
27417 if (PyErr_Occurred()) SWIG_fail
;
27419 Py_INCREF(Py_None
); resultobj
= Py_None
;
27426 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27427 PyObject
*resultobj
;
27428 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27429 wxTreeItemId
*arg2
= 0 ;
27430 PyObject
* obj0
= 0 ;
27431 PyObject
* obj1
= 0 ;
27432 char *kwnames
[] = {
27433 (char *) "self",(char *) "item", NULL
27436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27439 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27440 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27442 if (arg2
== NULL
) {
27443 PyErr_SetString(PyExc_TypeError
,"null reference");
27447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27448 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
27450 wxPyEndAllowThreads(__tstate
);
27451 if (PyErr_Occurred()) SWIG_fail
;
27453 Py_INCREF(Py_None
); resultobj
= Py_None
;
27460 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27461 PyObject
*resultobj
;
27462 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27463 wxTextCtrl
*result
;
27464 PyObject
* obj0
= 0 ;
27465 char *kwnames
[] = {
27466 (char *) "self", NULL
27469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
27470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27474 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
27476 wxPyEndAllowThreads(__tstate
);
27477 if (PyErr_Occurred()) SWIG_fail
;
27480 resultobj
= wxPyMake_wxObject(result
);
27488 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27489 PyObject
*resultobj
;
27490 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27491 wxTreeItemId
*arg2
= 0 ;
27492 PyObject
* obj0
= 0 ;
27493 PyObject
* obj1
= 0 ;
27494 char *kwnames
[] = {
27495 (char *) "self",(char *) "item", NULL
27498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27501 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27502 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27504 if (arg2
== NULL
) {
27505 PyErr_SetString(PyExc_TypeError
,"null reference");
27509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27510 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
27512 wxPyEndAllowThreads(__tstate
);
27513 if (PyErr_Occurred()) SWIG_fail
;
27515 Py_INCREF(Py_None
); resultobj
= Py_None
;
27522 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27523 PyObject
*resultobj
;
27524 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27525 wxPoint
*arg2
= 0 ;
27527 wxTreeItemId result
;
27530 PyObject
* obj0
= 0 ;
27531 PyObject
* obj1
= 0 ;
27532 char *kwnames
[] = {
27533 (char *) "self",(char *) "point", NULL
27537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
27538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27542 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27546 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
27548 wxPyEndAllowThreads(__tstate
);
27549 if (PyErr_Occurred()) SWIG_fail
;
27552 wxTreeItemId
* resultptr
;
27553 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27554 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27557 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27558 resultobj
= t_output_helper(resultobj
,o
);
27566 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27567 PyObject
*resultobj
;
27568 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27569 wxTreeItemId
*arg2
= 0 ;
27570 bool arg3
= (bool) False
;
27572 PyObject
* obj0
= 0 ;
27573 PyObject
* obj1
= 0 ;
27574 PyObject
* obj2
= 0 ;
27575 char *kwnames
[] = {
27576 (char *) "self",(char *) "item",(char *) "textOnly", NULL
27579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27582 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27583 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27585 if (arg2
== NULL
) {
27586 PyErr_SetString(PyExc_TypeError
,"null reference");
27590 arg3
= (bool) SWIG_AsBool(obj2
);
27591 if (PyErr_Occurred()) SWIG_fail
;
27594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27595 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
27597 wxPyEndAllowThreads(__tstate
);
27598 if (PyErr_Occurred()) SWIG_fail
;
27600 resultobj
= result
;
27607 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27608 PyObject
*resultobj
;
27609 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
27610 wxVisualAttributes result
;
27611 PyObject
* obj0
= 0 ;
27612 char *kwnames
[] = {
27613 (char *) "variant", NULL
27616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
27618 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
27619 if (PyErr_Occurred()) SWIG_fail
;
27622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27623 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
27625 wxPyEndAllowThreads(__tstate
);
27626 if (PyErr_Occurred()) SWIG_fail
;
27629 wxVisualAttributes
* resultptr
;
27630 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
27631 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
27639 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27641 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27642 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
27644 return Py_BuildValue((char *)"");
27646 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*_val
) {
27647 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
27652 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
27657 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
27659 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
27666 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27667 PyObject
*resultobj
;
27668 wxWindow
*arg1
= (wxWindow
*) 0 ;
27669 int arg2
= (int) (int)-1 ;
27670 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
27671 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
27672 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27673 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27674 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27675 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27676 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
27677 wxString
const &arg7_defvalue
= wxPyEmptyString
;
27678 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27679 int arg8
= (int) 0 ;
27680 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
27681 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
27682 wxGenericDirCtrl
*result
;
27683 bool temp3
= False
;
27686 bool temp7
= False
;
27687 bool temp9
= False
;
27688 PyObject
* obj0
= 0 ;
27689 PyObject
* obj1
= 0 ;
27690 PyObject
* obj2
= 0 ;
27691 PyObject
* obj3
= 0 ;
27692 PyObject
* obj4
= 0 ;
27693 PyObject
* obj5
= 0 ;
27694 PyObject
* obj6
= 0 ;
27695 PyObject
* obj7
= 0 ;
27696 PyObject
* obj8
= 0 ;
27697 char *kwnames
[] = {
27698 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
27702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27705 arg2
= (int const) SWIG_AsInt(obj1
);
27706 if (PyErr_Occurred()) SWIG_fail
;
27710 arg3
= wxString_in_helper(obj2
);
27711 if (arg3
== NULL
) SWIG_fail
;
27718 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27724 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27728 arg6
= (long) SWIG_AsLong(obj5
);
27729 if (PyErr_Occurred()) SWIG_fail
;
27733 arg7
= wxString_in_helper(obj6
);
27734 if (arg7
== NULL
) SWIG_fail
;
27739 arg8
= (int) SWIG_AsInt(obj7
);
27740 if (PyErr_Occurred()) SWIG_fail
;
27744 arg9
= wxString_in_helper(obj8
);
27745 if (arg9
== NULL
) SWIG_fail
;
27750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27751 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
27753 wxPyEndAllowThreads(__tstate
);
27754 if (PyErr_Occurred()) SWIG_fail
;
27756 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
27787 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27788 PyObject
*resultobj
;
27789 wxGenericDirCtrl
*result
;
27790 char *kwnames
[] = {
27794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
27796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27797 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
27799 wxPyEndAllowThreads(__tstate
);
27800 if (PyErr_Occurred()) SWIG_fail
;
27802 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
27809 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27810 PyObject
*resultobj
;
27811 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27812 wxWindow
*arg2
= (wxWindow
*) 0 ;
27813 int arg3
= (int) (int)-1 ;
27814 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
27815 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27816 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
27817 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
27818 wxSize
const &arg6_defvalue
= wxDefaultSize
;
27819 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
27820 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
27821 wxString
const &arg8_defvalue
= wxPyEmptyString
;
27822 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
27823 int arg9
= (int) 0 ;
27824 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
27825 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
27827 bool temp4
= False
;
27830 bool temp8
= False
;
27831 bool temp10
= False
;
27832 PyObject
* obj0
= 0 ;
27833 PyObject
* obj1
= 0 ;
27834 PyObject
* obj2
= 0 ;
27835 PyObject
* obj3
= 0 ;
27836 PyObject
* obj4
= 0 ;
27837 PyObject
* obj5
= 0 ;
27838 PyObject
* obj6
= 0 ;
27839 PyObject
* obj7
= 0 ;
27840 PyObject
* obj8
= 0 ;
27841 PyObject
* obj9
= 0 ;
27842 char *kwnames
[] = {
27843 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
27847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27849 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
27850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27852 arg3
= (int const) SWIG_AsInt(obj2
);
27853 if (PyErr_Occurred()) SWIG_fail
;
27857 arg4
= wxString_in_helper(obj3
);
27858 if (arg4
== NULL
) SWIG_fail
;
27865 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
27871 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
27875 arg7
= (long) SWIG_AsLong(obj6
);
27876 if (PyErr_Occurred()) SWIG_fail
;
27880 arg8
= wxString_in_helper(obj7
);
27881 if (arg8
== NULL
) SWIG_fail
;
27886 arg9
= (int) SWIG_AsInt(obj8
);
27887 if (PyErr_Occurred()) SWIG_fail
;
27891 arg10
= wxString_in_helper(obj9
);
27892 if (arg10
== NULL
) SWIG_fail
;
27897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27898 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
27900 wxPyEndAllowThreads(__tstate
);
27901 if (PyErr_Occurred()) SWIG_fail
;
27904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27936 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27937 PyObject
*resultobj
;
27938 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27939 wxString
*arg2
= 0 ;
27941 bool temp2
= False
;
27942 PyObject
* obj0
= 0 ;
27943 PyObject
* obj1
= 0 ;
27944 char *kwnames
[] = {
27945 (char *) "self",(char *) "path", NULL
27948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
27949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27952 arg2
= wxString_in_helper(obj1
);
27953 if (arg2
== NULL
) SWIG_fail
;
27957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27958 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
27960 wxPyEndAllowThreads(__tstate
);
27961 if (PyErr_Occurred()) SWIG_fail
;
27964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27980 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27981 PyObject
*resultobj
;
27982 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27984 PyObject
* obj0
= 0 ;
27985 char *kwnames
[] = {
27986 (char *) "self", NULL
27989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
27990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27994 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
27996 wxPyEndAllowThreads(__tstate
);
27997 if (PyErr_Occurred()) SWIG_fail
;
28001 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28003 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28012 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28013 PyObject
*resultobj
;
28014 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28015 wxString
*arg2
= 0 ;
28016 bool temp2
= False
;
28017 PyObject
* obj0
= 0 ;
28018 PyObject
* obj1
= 0 ;
28019 char *kwnames
[] = {
28020 (char *) "self",(char *) "path", NULL
28023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28027 arg2
= wxString_in_helper(obj1
);
28028 if (arg2
== NULL
) SWIG_fail
;
28032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28033 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
28035 wxPyEndAllowThreads(__tstate
);
28036 if (PyErr_Occurred()) SWIG_fail
;
28038 Py_INCREF(Py_None
); resultobj
= Py_None
;
28053 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28054 PyObject
*resultobj
;
28055 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28057 PyObject
* obj0
= 0 ;
28058 char *kwnames
[] = {
28059 (char *) "self", NULL
28062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
28063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28067 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
28069 wxPyEndAllowThreads(__tstate
);
28070 if (PyErr_Occurred()) SWIG_fail
;
28074 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28076 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28085 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28086 PyObject
*resultobj
;
28087 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28089 PyObject
* obj0
= 0 ;
28090 char *kwnames
[] = {
28091 (char *) "self", NULL
28094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
28095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28099 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
28101 wxPyEndAllowThreads(__tstate
);
28102 if (PyErr_Occurred()) SWIG_fail
;
28106 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28108 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28117 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28118 PyObject
*resultobj
;
28119 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28120 wxString
*arg2
= 0 ;
28121 bool temp2
= False
;
28122 PyObject
* obj0
= 0 ;
28123 PyObject
* obj1
= 0 ;
28124 char *kwnames
[] = {
28125 (char *) "self",(char *) "path", NULL
28128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28132 arg2
= wxString_in_helper(obj1
);
28133 if (arg2
== NULL
) SWIG_fail
;
28137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28138 (arg1
)->SetPath((wxString
const &)*arg2
);
28140 wxPyEndAllowThreads(__tstate
);
28141 if (PyErr_Occurred()) SWIG_fail
;
28143 Py_INCREF(Py_None
); resultobj
= Py_None
;
28158 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28159 PyObject
*resultobj
;
28160 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28162 PyObject
* obj0
= 0 ;
28163 PyObject
* obj1
= 0 ;
28164 char *kwnames
[] = {
28165 (char *) "self",(char *) "show", NULL
28168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
28169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28171 arg2
= (bool) SWIG_AsBool(obj1
);
28172 if (PyErr_Occurred()) SWIG_fail
;
28174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28175 (arg1
)->ShowHidden(arg2
);
28177 wxPyEndAllowThreads(__tstate
);
28178 if (PyErr_Occurred()) SWIG_fail
;
28180 Py_INCREF(Py_None
); resultobj
= Py_None
;
28187 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28188 PyObject
*resultobj
;
28189 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28191 PyObject
* obj0
= 0 ;
28192 char *kwnames
[] = {
28193 (char *) "self", NULL
28196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
28197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28201 result
= (bool)(arg1
)->GetShowHidden();
28203 wxPyEndAllowThreads(__tstate
);
28204 if (PyErr_Occurred()) SWIG_fail
;
28207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28215 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28216 PyObject
*resultobj
;
28217 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28219 PyObject
* obj0
= 0 ;
28220 char *kwnames
[] = {
28221 (char *) "self", NULL
28224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
28225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28229 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
28231 wxPyEndAllowThreads(__tstate
);
28232 if (PyErr_Occurred()) SWIG_fail
;
28236 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28238 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28247 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28248 PyObject
*resultobj
;
28249 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28250 wxString
*arg2
= 0 ;
28251 bool temp2
= False
;
28252 PyObject
* obj0
= 0 ;
28253 PyObject
* obj1
= 0 ;
28254 char *kwnames
[] = {
28255 (char *) "self",(char *) "filter", NULL
28258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
28259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28262 arg2
= wxString_in_helper(obj1
);
28263 if (arg2
== NULL
) SWIG_fail
;
28267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28268 (arg1
)->SetFilter((wxString
const &)*arg2
);
28270 wxPyEndAllowThreads(__tstate
);
28271 if (PyErr_Occurred()) SWIG_fail
;
28273 Py_INCREF(Py_None
); resultobj
= Py_None
;
28288 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28289 PyObject
*resultobj
;
28290 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28292 PyObject
* obj0
= 0 ;
28293 char *kwnames
[] = {
28294 (char *) "self", NULL
28297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
28298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28302 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
28304 wxPyEndAllowThreads(__tstate
);
28305 if (PyErr_Occurred()) SWIG_fail
;
28307 resultobj
= SWIG_FromInt((int)result
);
28314 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28315 PyObject
*resultobj
;
28316 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28318 PyObject
* obj0
= 0 ;
28319 PyObject
* obj1
= 0 ;
28320 char *kwnames
[] = {
28321 (char *) "self",(char *) "n", NULL
28324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
28325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28327 arg2
= (int) SWIG_AsInt(obj1
);
28328 if (PyErr_Occurred()) SWIG_fail
;
28330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28331 (arg1
)->SetFilterIndex(arg2
);
28333 wxPyEndAllowThreads(__tstate
);
28334 if (PyErr_Occurred()) SWIG_fail
;
28336 Py_INCREF(Py_None
); resultobj
= Py_None
;
28343 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28344 PyObject
*resultobj
;
28345 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28346 wxTreeItemId result
;
28347 PyObject
* obj0
= 0 ;
28348 char *kwnames
[] = {
28349 (char *) "self", NULL
28352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
28353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28357 result
= (arg1
)->GetRootId();
28359 wxPyEndAllowThreads(__tstate
);
28360 if (PyErr_Occurred()) SWIG_fail
;
28363 wxTreeItemId
* resultptr
;
28364 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28365 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28373 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28374 PyObject
*resultobj
;
28375 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28376 wxPyTreeCtrl
*result
;
28377 PyObject
* obj0
= 0 ;
28378 char *kwnames
[] = {
28379 (char *) "self", NULL
28382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
28383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28387 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
28389 wxPyEndAllowThreads(__tstate
);
28390 if (PyErr_Occurred()) SWIG_fail
;
28393 resultobj
= wxPyMake_wxObject(result
);
28401 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28402 PyObject
*resultobj
;
28403 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28404 wxDirFilterListCtrl
*result
;
28405 PyObject
* obj0
= 0 ;
28406 char *kwnames
[] = {
28407 (char *) "self", NULL
28410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
28411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28415 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
28417 wxPyEndAllowThreads(__tstate
);
28418 if (PyErr_Occurred()) SWIG_fail
;
28420 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
28427 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28428 PyObject
*resultobj
;
28429 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28430 wxTreeItemId arg2
;
28431 wxString
*arg3
= 0 ;
28433 wxTreeItemId result
;
28434 wxTreeItemId
*argp2
;
28435 bool temp3
= False
;
28437 PyObject
* obj0
= 0 ;
28438 PyObject
* obj1
= 0 ;
28439 PyObject
* obj2
= 0 ;
28440 char *kwnames
[] = {
28441 (char *) "self",(char *) "parentId",(char *) "path", NULL
28445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28448 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
28449 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
28452 arg3
= wxString_in_helper(obj2
);
28453 if (arg3
== NULL
) SWIG_fail
;
28457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28458 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
28460 wxPyEndAllowThreads(__tstate
);
28461 if (PyErr_Occurred()) SWIG_fail
;
28464 wxTreeItemId
* resultptr
;
28465 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28466 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28469 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
28470 resultobj
= t_output_helper(resultobj
,o
);
28486 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28487 PyObject
*resultobj
;
28488 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28489 PyObject
* obj0
= 0 ;
28490 char *kwnames
[] = {
28491 (char *) "self", NULL
28494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
28495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28499 (arg1
)->DoResize();
28501 wxPyEndAllowThreads(__tstate
);
28502 if (PyErr_Occurred()) SWIG_fail
;
28504 Py_INCREF(Py_None
); resultobj
= Py_None
;
28511 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28512 PyObject
*resultobj
;
28513 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28514 PyObject
* obj0
= 0 ;
28515 char *kwnames
[] = {
28516 (char *) "self", NULL
28519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
28520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28524 (arg1
)->ReCreateTree();
28526 wxPyEndAllowThreads(__tstate
);
28527 if (PyErr_Occurred()) SWIG_fail
;
28529 Py_INCREF(Py_None
); resultobj
= Py_None
;
28536 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
28538 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28539 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
28541 return Py_BuildValue((char *)"");
28543 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28544 PyObject
*resultobj
;
28545 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28546 int arg2
= (int) (int)-1 ;
28547 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28548 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28549 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28550 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28551 long arg5
= (long) 0 ;
28552 wxDirFilterListCtrl
*result
;
28555 PyObject
* obj0
= 0 ;
28556 PyObject
* obj1
= 0 ;
28557 PyObject
* obj2
= 0 ;
28558 PyObject
* obj3
= 0 ;
28559 PyObject
* obj4
= 0 ;
28560 char *kwnames
[] = {
28561 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28568 arg2
= (int const) SWIG_AsInt(obj1
);
28569 if (PyErr_Occurred()) SWIG_fail
;
28574 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28580 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28584 arg5
= (long) SWIG_AsLong(obj4
);
28585 if (PyErr_Occurred()) SWIG_fail
;
28588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28589 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
28591 wxPyEndAllowThreads(__tstate
);
28592 if (PyErr_Occurred()) SWIG_fail
;
28594 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
28601 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28602 PyObject
*resultobj
;
28603 wxDirFilterListCtrl
*result
;
28604 char *kwnames
[] = {
28608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
28610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28611 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
28613 wxPyEndAllowThreads(__tstate
);
28614 if (PyErr_Occurred()) SWIG_fail
;
28616 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
28623 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28624 PyObject
*resultobj
;
28625 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
28626 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
28627 int arg3
= (int) (int)-1 ;
28628 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28629 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28630 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28631 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28632 long arg6
= (long) 0 ;
28636 PyObject
* obj0
= 0 ;
28637 PyObject
* obj1
= 0 ;
28638 PyObject
* obj2
= 0 ;
28639 PyObject
* obj3
= 0 ;
28640 PyObject
* obj4
= 0 ;
28641 PyObject
* obj5
= 0 ;
28642 char *kwnames
[] = {
28643 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
28648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28649 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
28650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28652 arg3
= (int const) SWIG_AsInt(obj2
);
28653 if (PyErr_Occurred()) SWIG_fail
;
28658 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28664 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28668 arg6
= (long) SWIG_AsLong(obj5
);
28669 if (PyErr_Occurred()) SWIG_fail
;
28672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28673 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
28675 wxPyEndAllowThreads(__tstate
);
28676 if (PyErr_Occurred()) SWIG_fail
;
28679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28687 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28688 PyObject
*resultobj
;
28689 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
28690 wxString
*arg2
= 0 ;
28692 bool temp2
= False
;
28693 PyObject
* obj0
= 0 ;
28694 PyObject
* obj1
= 0 ;
28695 PyObject
* obj2
= 0 ;
28696 char *kwnames
[] = {
28697 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
28700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
28702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28704 arg2
= wxString_in_helper(obj1
);
28705 if (arg2
== NULL
) SWIG_fail
;
28708 arg3
= (int) SWIG_AsInt(obj2
);
28709 if (PyErr_Occurred()) SWIG_fail
;
28711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28712 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
28714 wxPyEndAllowThreads(__tstate
);
28715 if (PyErr_Occurred()) SWIG_fail
;
28717 Py_INCREF(Py_None
); resultobj
= Py_None
;
28732 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
28734 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28735 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
28737 return Py_BuildValue((char *)"");
28739 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28740 PyObject
*resultobj
;
28741 wxWindow
*arg1
= (wxWindow
*) 0 ;
28743 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28744 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28745 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28746 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28747 long arg5
= (long) 0 ;
28748 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28749 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28750 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
28751 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28752 wxPyControl
*result
;
28755 bool temp7
= False
;
28756 PyObject
* obj0
= 0 ;
28757 PyObject
* obj1
= 0 ;
28758 PyObject
* obj2
= 0 ;
28759 PyObject
* obj3
= 0 ;
28760 PyObject
* obj4
= 0 ;
28761 PyObject
* obj5
= 0 ;
28762 PyObject
* obj6
= 0 ;
28763 char *kwnames
[] = {
28764 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
28768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28770 arg2
= (int const) SWIG_AsInt(obj1
);
28771 if (PyErr_Occurred()) SWIG_fail
;
28775 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28781 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28785 arg5
= (long) SWIG_AsLong(obj4
);
28786 if (PyErr_Occurred()) SWIG_fail
;
28789 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
28790 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28792 if (arg6
== NULL
) {
28793 PyErr_SetString(PyExc_TypeError
,"null reference");
28799 arg7
= wxString_in_helper(obj6
);
28800 if (arg7
== NULL
) SWIG_fail
;
28805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28806 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28808 wxPyEndAllowThreads(__tstate
);
28809 if (PyErr_Occurred()) SWIG_fail
;
28811 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
28826 static PyObject
*_wrap_new_PrePyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28827 PyObject
*resultobj
;
28828 wxPyControl
*result
;
28829 char *kwnames
[] = {
28833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
28835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28836 result
= (wxPyControl
*)new wxPyControl();
28838 wxPyEndAllowThreads(__tstate
);
28839 if (PyErr_Occurred()) SWIG_fail
;
28841 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
28848 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28849 PyObject
*resultobj
;
28850 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28851 PyObject
*arg2
= (PyObject
*) 0 ;
28852 PyObject
*arg3
= (PyObject
*) 0 ;
28853 PyObject
* obj0
= 0 ;
28854 PyObject
* obj1
= 0 ;
28855 PyObject
* obj2
= 0 ;
28856 char *kwnames
[] = {
28857 (char *) "self",(char *) "self",(char *) "_class", NULL
28860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28867 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28869 wxPyEndAllowThreads(__tstate
);
28870 if (PyErr_Occurred()) SWIG_fail
;
28872 Py_INCREF(Py_None
); resultobj
= Py_None
;
28879 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28880 PyObject
*resultobj
;
28881 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28884 PyObject
* obj0
= 0 ;
28885 PyObject
* obj1
= 0 ;
28886 char *kwnames
[] = {
28887 (char *) "self",(char *) "size", NULL
28890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
28891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28895 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28899 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
28901 wxPyEndAllowThreads(__tstate
);
28902 if (PyErr_Occurred()) SWIG_fail
;
28904 Py_INCREF(Py_None
); resultobj
= Py_None
;
28911 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28912 PyObject
*resultobj
;
28913 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28918 PyObject
* obj0
= 0 ;
28919 PyObject
* obj1
= 0 ;
28920 PyObject
* obj2
= 0 ;
28921 PyObject
* obj3
= 0 ;
28922 PyObject
* obj4
= 0 ;
28923 char *kwnames
[] = {
28924 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
28927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28930 arg2
= (int) SWIG_AsInt(obj1
);
28931 if (PyErr_Occurred()) SWIG_fail
;
28932 arg3
= (int) SWIG_AsInt(obj2
);
28933 if (PyErr_Occurred()) SWIG_fail
;
28934 arg4
= (int) SWIG_AsInt(obj3
);
28935 if (PyErr_Occurred()) SWIG_fail
;
28936 arg5
= (int) SWIG_AsInt(obj4
);
28937 if (PyErr_Occurred()) SWIG_fail
;
28939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28940 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
28942 wxPyEndAllowThreads(__tstate
);
28943 if (PyErr_Occurred()) SWIG_fail
;
28945 Py_INCREF(Py_None
); resultobj
= Py_None
;
28952 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28953 PyObject
*resultobj
;
28954 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28959 int arg6
= (int) wxSIZE_AUTO
;
28960 PyObject
* obj0
= 0 ;
28961 PyObject
* obj1
= 0 ;
28962 PyObject
* obj2
= 0 ;
28963 PyObject
* obj3
= 0 ;
28964 PyObject
* obj4
= 0 ;
28965 PyObject
* obj5
= 0 ;
28966 char *kwnames
[] = {
28967 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
28970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28973 arg2
= (int) SWIG_AsInt(obj1
);
28974 if (PyErr_Occurred()) SWIG_fail
;
28975 arg3
= (int) SWIG_AsInt(obj2
);
28976 if (PyErr_Occurred()) SWIG_fail
;
28977 arg4
= (int) SWIG_AsInt(obj3
);
28978 if (PyErr_Occurred()) SWIG_fail
;
28979 arg5
= (int) SWIG_AsInt(obj4
);
28980 if (PyErr_Occurred()) SWIG_fail
;
28982 arg6
= (int) SWIG_AsInt(obj5
);
28983 if (PyErr_Occurred()) SWIG_fail
;
28986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28987 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
28989 wxPyEndAllowThreads(__tstate
);
28990 if (PyErr_Occurred()) SWIG_fail
;
28992 Py_INCREF(Py_None
); resultobj
= Py_None
;
28999 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29000 PyObject
*resultobj
;
29001 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29004 PyObject
* obj0
= 0 ;
29005 PyObject
* obj1
= 0 ;
29006 PyObject
* obj2
= 0 ;
29007 char *kwnames
[] = {
29008 (char *) "self",(char *) "width",(char *) "height", NULL
29011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29014 arg2
= (int) SWIG_AsInt(obj1
);
29015 if (PyErr_Occurred()) SWIG_fail
;
29016 arg3
= (int) SWIG_AsInt(obj2
);
29017 if (PyErr_Occurred()) SWIG_fail
;
29019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29020 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
29022 wxPyEndAllowThreads(__tstate
);
29023 if (PyErr_Occurred()) SWIG_fail
;
29025 Py_INCREF(Py_None
); resultobj
= Py_None
;
29032 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29033 PyObject
*resultobj
;
29034 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29037 PyObject
* obj0
= 0 ;
29038 PyObject
* obj1
= 0 ;
29039 PyObject
* obj2
= 0 ;
29040 char *kwnames
[] = {
29041 (char *) "self",(char *) "x",(char *) "y", NULL
29044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29047 arg2
= (int) SWIG_AsInt(obj1
);
29048 if (PyErr_Occurred()) SWIG_fail
;
29049 arg3
= (int) SWIG_AsInt(obj2
);
29050 if (PyErr_Occurred()) SWIG_fail
;
29052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29053 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
29055 wxPyEndAllowThreads(__tstate
);
29056 if (PyErr_Occurred()) SWIG_fail
;
29058 Py_INCREF(Py_None
); resultobj
= Py_None
;
29065 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29066 PyObject
*resultobj
;
29067 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29068 int *arg2
= (int *) 0 ;
29069 int *arg3
= (int *) 0 ;
29072 PyObject
* obj0
= 0 ;
29073 char *kwnames
[] = {
29074 (char *) "self", NULL
29079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
29080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29084 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
29086 wxPyEndAllowThreads(__tstate
);
29087 if (PyErr_Occurred()) SWIG_fail
;
29089 Py_INCREF(Py_None
); resultobj
= Py_None
;
29091 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29092 resultobj
= t_output_helper(resultobj
,o
);
29095 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29096 resultobj
= t_output_helper(resultobj
,o
);
29104 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29105 PyObject
*resultobj
;
29106 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29107 int *arg2
= (int *) 0 ;
29108 int *arg3
= (int *) 0 ;
29111 PyObject
* obj0
= 0 ;
29112 char *kwnames
[] = {
29113 (char *) "self", NULL
29118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
29119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29123 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
29125 wxPyEndAllowThreads(__tstate
);
29126 if (PyErr_Occurred()) SWIG_fail
;
29128 Py_INCREF(Py_None
); resultobj
= Py_None
;
29130 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29131 resultobj
= t_output_helper(resultobj
,o
);
29134 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29135 resultobj
= t_output_helper(resultobj
,o
);
29143 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29144 PyObject
*resultobj
;
29145 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29146 int *arg2
= (int *) 0 ;
29147 int *arg3
= (int *) 0 ;
29150 PyObject
* obj0
= 0 ;
29151 char *kwnames
[] = {
29152 (char *) "self", NULL
29157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
29158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29162 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
29164 wxPyEndAllowThreads(__tstate
);
29165 if (PyErr_Occurred()) SWIG_fail
;
29167 Py_INCREF(Py_None
); resultobj
= Py_None
;
29169 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29170 resultobj
= t_output_helper(resultobj
,o
);
29173 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29174 resultobj
= t_output_helper(resultobj
,o
);
29182 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29183 PyObject
*resultobj
;
29184 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29186 PyObject
* obj0
= 0 ;
29187 char *kwnames
[] = {
29188 (char *) "self", NULL
29191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
29192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29196 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
29198 wxPyEndAllowThreads(__tstate
);
29199 if (PyErr_Occurred()) SWIG_fail
;
29202 wxSize
* resultptr
;
29203 resultptr
= new wxSize((wxSize
&) result
);
29204 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29212 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29213 PyObject
*resultobj
;
29214 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29216 PyObject
* obj0
= 0 ;
29217 char *kwnames
[] = {
29218 (char *) "self", NULL
29221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
29222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29226 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
29228 wxPyEndAllowThreads(__tstate
);
29229 if (PyErr_Occurred()) SWIG_fail
;
29232 wxSize
* resultptr
;
29233 resultptr
= new wxSize((wxSize
&) result
);
29234 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29242 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29243 PyObject
*resultobj
;
29244 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29245 PyObject
* obj0
= 0 ;
29246 char *kwnames
[] = {
29247 (char *) "self", NULL
29250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
29251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29255 (arg1
)->base_InitDialog();
29257 wxPyEndAllowThreads(__tstate
);
29258 if (PyErr_Occurred()) SWIG_fail
;
29260 Py_INCREF(Py_None
); resultobj
= Py_None
;
29267 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29268 PyObject
*resultobj
;
29269 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29271 PyObject
* obj0
= 0 ;
29272 char *kwnames
[] = {
29273 (char *) "self", NULL
29276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
29277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29281 result
= (bool)(arg1
)->base_TransferDataToWindow();
29283 wxPyEndAllowThreads(__tstate
);
29284 if (PyErr_Occurred()) SWIG_fail
;
29287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29295 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29296 PyObject
*resultobj
;
29297 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29299 PyObject
* obj0
= 0 ;
29300 char *kwnames
[] = {
29301 (char *) "self", NULL
29304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
29305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29309 result
= (bool)(arg1
)->base_TransferDataFromWindow();
29311 wxPyEndAllowThreads(__tstate
);
29312 if (PyErr_Occurred()) SWIG_fail
;
29315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29323 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29324 PyObject
*resultobj
;
29325 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29327 PyObject
* obj0
= 0 ;
29328 char *kwnames
[] = {
29329 (char *) "self", NULL
29332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",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 result
= (bool)(arg1
)->base_Validate();
29339 wxPyEndAllowThreads(__tstate
);
29340 if (PyErr_Occurred()) SWIG_fail
;
29343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29351 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29352 PyObject
*resultobj
;
29353 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29355 PyObject
* obj0
= 0 ;
29356 char *kwnames
[] = {
29357 (char *) "self", NULL
29360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
29361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29365 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
29367 wxPyEndAllowThreads(__tstate
);
29368 if (PyErr_Occurred()) SWIG_fail
;
29371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29379 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29380 PyObject
*resultobj
;
29381 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29383 PyObject
* obj0
= 0 ;
29384 char *kwnames
[] = {
29385 (char *) "self", NULL
29388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
29389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29393 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
29395 wxPyEndAllowThreads(__tstate
);
29396 if (PyErr_Occurred()) SWIG_fail
;
29399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29407 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29408 PyObject
*resultobj
;
29409 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29411 PyObject
* obj0
= 0 ;
29412 char *kwnames
[] = {
29413 (char *) "self", NULL
29416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
29417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29421 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
29423 wxPyEndAllowThreads(__tstate
);
29424 if (PyErr_Occurred()) SWIG_fail
;
29427 wxSize
* resultptr
;
29428 resultptr
= new wxSize((wxSize
&) result
);
29429 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29437 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29438 PyObject
*resultobj
;
29439 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29440 wxWindow
*arg2
= (wxWindow
*) 0 ;
29441 PyObject
* obj0
= 0 ;
29442 PyObject
* obj1
= 0 ;
29443 char *kwnames
[] = {
29444 (char *) "self",(char *) "child", NULL
29447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29450 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29454 (arg1
)->base_AddChild(arg2
);
29456 wxPyEndAllowThreads(__tstate
);
29457 if (PyErr_Occurred()) SWIG_fail
;
29459 Py_INCREF(Py_None
); resultobj
= Py_None
;
29466 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29467 PyObject
*resultobj
;
29468 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29469 wxWindow
*arg2
= (wxWindow
*) 0 ;
29470 PyObject
* obj0
= 0 ;
29471 PyObject
* obj1
= 0 ;
29472 char *kwnames
[] = {
29473 (char *) "self",(char *) "child", NULL
29476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29479 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29483 (arg1
)->base_RemoveChild(arg2
);
29485 wxPyEndAllowThreads(__tstate
);
29486 if (PyErr_Occurred()) SWIG_fail
;
29488 Py_INCREF(Py_None
); resultobj
= Py_None
;
29495 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29496 PyObject
*resultobj
;
29497 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29499 PyObject
* obj0
= 0 ;
29500 char *kwnames
[] = {
29501 (char *) "self", NULL
29504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
29505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29509 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
29511 wxPyEndAllowThreads(__tstate
);
29512 if (PyErr_Occurred()) SWIG_fail
;
29515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29523 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29524 PyObject
*resultobj
;
29525 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29526 wxColour
*arg2
= 0 ;
29528 PyObject
* obj0
= 0 ;
29529 PyObject
* obj1
= 0 ;
29530 char *kwnames
[] = {
29531 (char *) "self",(char *) "c", NULL
29534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
29535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29539 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29543 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
29545 wxPyEndAllowThreads(__tstate
);
29546 if (PyErr_Occurred()) SWIG_fail
;
29548 Py_INCREF(Py_None
); resultobj
= Py_None
;
29555 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29556 PyObject
*resultobj
;
29557 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29558 wxVisualAttributes result
;
29559 PyObject
* obj0
= 0 ;
29560 char *kwnames
[] = {
29561 (char *) "self", NULL
29564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29569 result
= (arg1
)->base_GetDefaultAttributes();
29571 wxPyEndAllowThreads(__tstate
);
29572 if (PyErr_Occurred()) SWIG_fail
;
29575 wxVisualAttributes
* resultptr
;
29576 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
29577 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29585 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
29587 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29588 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
29590 return Py_BuildValue((char *)"");
29592 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29593 PyObject
*resultobj
;
29594 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
29595 int arg2
= (int) 0 ;
29596 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29597 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29598 wxHelpEvent
*result
;
29600 PyObject
* obj0
= 0 ;
29601 PyObject
* obj1
= 0 ;
29602 PyObject
* obj2
= 0 ;
29603 char *kwnames
[] = {
29604 (char *) "type",(char *) "winid",(char *) "pt", NULL
29607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29609 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
29610 if (PyErr_Occurred()) SWIG_fail
;
29613 arg2
= (int) SWIG_AsInt(obj1
);
29614 if (PyErr_Occurred()) SWIG_fail
;
29619 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29624 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
29626 wxPyEndAllowThreads(__tstate
);
29627 if (PyErr_Occurred()) SWIG_fail
;
29629 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
29636 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29637 PyObject
*resultobj
;
29638 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29640 PyObject
* obj0
= 0 ;
29641 char *kwnames
[] = {
29642 (char *) "self", NULL
29645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
29646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29650 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
29652 wxPyEndAllowThreads(__tstate
);
29653 if (PyErr_Occurred()) SWIG_fail
;
29656 wxPoint
* resultptr
;
29657 resultptr
= new wxPoint((wxPoint
&) result
);
29658 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29666 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29667 PyObject
*resultobj
;
29668 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29669 wxPoint
*arg2
= 0 ;
29671 PyObject
* obj0
= 0 ;
29672 PyObject
* obj1
= 0 ;
29673 char *kwnames
[] = {
29674 (char *) "self",(char *) "pos", NULL
29677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
29678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29682 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29686 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
29688 wxPyEndAllowThreads(__tstate
);
29689 if (PyErr_Occurred()) SWIG_fail
;
29691 Py_INCREF(Py_None
); resultobj
= Py_None
;
29698 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29699 PyObject
*resultobj
;
29700 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29702 PyObject
* obj0
= 0 ;
29703 char *kwnames
[] = {
29704 (char *) "self", NULL
29707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
29708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29713 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
29714 result
= (wxString
*) &_result_ref
;
29717 wxPyEndAllowThreads(__tstate
);
29718 if (PyErr_Occurred()) SWIG_fail
;
29722 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29724 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29733 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29734 PyObject
*resultobj
;
29735 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29736 wxString
*arg2
= 0 ;
29737 bool temp2
= False
;
29738 PyObject
* obj0
= 0 ;
29739 PyObject
* obj1
= 0 ;
29740 char *kwnames
[] = {
29741 (char *) "self",(char *) "link", NULL
29744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
29745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29748 arg2
= wxString_in_helper(obj1
);
29749 if (arg2
== NULL
) SWIG_fail
;
29753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29754 (arg1
)->SetLink((wxString
const &)*arg2
);
29756 wxPyEndAllowThreads(__tstate
);
29757 if (PyErr_Occurred()) SWIG_fail
;
29759 Py_INCREF(Py_None
); resultobj
= Py_None
;
29774 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29775 PyObject
*resultobj
;
29776 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29778 PyObject
* obj0
= 0 ;
29779 char *kwnames
[] = {
29780 (char *) "self", NULL
29783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
29784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29789 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
29790 result
= (wxString
*) &_result_ref
;
29793 wxPyEndAllowThreads(__tstate
);
29794 if (PyErr_Occurred()) SWIG_fail
;
29798 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29800 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29809 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29810 PyObject
*resultobj
;
29811 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29812 wxString
*arg2
= 0 ;
29813 bool temp2
= False
;
29814 PyObject
* obj0
= 0 ;
29815 PyObject
* obj1
= 0 ;
29816 char *kwnames
[] = {
29817 (char *) "self",(char *) "target", NULL
29820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
29821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29824 arg2
= wxString_in_helper(obj1
);
29825 if (arg2
== NULL
) SWIG_fail
;
29829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29830 (arg1
)->SetTarget((wxString
const &)*arg2
);
29832 wxPyEndAllowThreads(__tstate
);
29833 if (PyErr_Occurred()) SWIG_fail
;
29835 Py_INCREF(Py_None
); resultobj
= Py_None
;
29850 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
29852 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29853 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
29855 return Py_BuildValue((char *)"");
29857 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29858 PyObject
*resultobj
;
29859 wxWindow
*arg1
= (wxWindow
*) NULL
;
29860 bool arg2
= (bool) True
;
29861 wxContextHelp
*result
;
29862 PyObject
* obj0
= 0 ;
29863 PyObject
* obj1
= 0 ;
29864 char *kwnames
[] = {
29865 (char *) "window",(char *) "doNow", NULL
29868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29874 arg2
= (bool) SWIG_AsBool(obj1
);
29875 if (PyErr_Occurred()) SWIG_fail
;
29878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29879 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
29881 wxPyEndAllowThreads(__tstate
);
29882 if (PyErr_Occurred()) SWIG_fail
;
29884 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
29891 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29892 PyObject
*resultobj
;
29893 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
29894 PyObject
* obj0
= 0 ;
29895 char *kwnames
[] = {
29896 (char *) "self", NULL
29899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
29900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
29901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29906 wxPyEndAllowThreads(__tstate
);
29907 if (PyErr_Occurred()) SWIG_fail
;
29909 Py_INCREF(Py_None
); resultobj
= Py_None
;
29916 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29917 PyObject
*resultobj
;
29918 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
29919 wxWindow
*arg2
= (wxWindow
*) NULL
;
29921 PyObject
* obj0
= 0 ;
29922 PyObject
* obj1
= 0 ;
29923 char *kwnames
[] = {
29924 (char *) "self",(char *) "window", NULL
29927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
29929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29931 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29936 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
29938 wxPyEndAllowThreads(__tstate
);
29939 if (PyErr_Occurred()) SWIG_fail
;
29942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29950 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29951 PyObject
*resultobj
;
29952 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
29954 PyObject
* obj0
= 0 ;
29955 char *kwnames
[] = {
29956 (char *) "self", NULL
29959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
29960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
29961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29964 result
= (bool)(arg1
)->EndContextHelp();
29966 wxPyEndAllowThreads(__tstate
);
29967 if (PyErr_Occurred()) SWIG_fail
;
29970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29978 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
29980 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29981 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
29983 return Py_BuildValue((char *)"");
29985 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29986 PyObject
*resultobj
;
29987 wxWindow
*arg1
= (wxWindow
*) 0 ;
29988 int arg2
= (int) wxID_CONTEXT_HELP
;
29989 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29990 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29991 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29992 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29993 long arg5
= (long) wxBU_AUTODRAW
;
29994 wxContextHelpButton
*result
;
29997 PyObject
* obj0
= 0 ;
29998 PyObject
* obj1
= 0 ;
29999 PyObject
* obj2
= 0 ;
30000 PyObject
* obj3
= 0 ;
30001 PyObject
* obj4
= 0 ;
30002 char *kwnames
[] = {
30003 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
30006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30010 arg2
= (int) SWIG_AsInt(obj1
);
30011 if (PyErr_Occurred()) SWIG_fail
;
30016 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30022 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
30026 arg5
= (long) SWIG_AsLong(obj4
);
30027 if (PyErr_Occurred()) SWIG_fail
;
30030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30031 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
30033 wxPyEndAllowThreads(__tstate
);
30034 if (PyErr_Occurred()) SWIG_fail
;
30036 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
30043 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
30045 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30046 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
30048 return Py_BuildValue((char *)"");
30050 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30051 PyObject
*resultobj
;
30052 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30053 wxHelpProvider
*result
;
30054 PyObject
* obj0
= 0 ;
30055 char *kwnames
[] = {
30056 (char *) "helpProvider", NULL
30059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
30060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30064 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
30066 wxPyEndAllowThreads(__tstate
);
30067 if (PyErr_Occurred()) SWIG_fail
;
30069 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30076 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30077 PyObject
*resultobj
;
30078 wxHelpProvider
*result
;
30079 char *kwnames
[] = {
30083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
30085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30086 result
= (wxHelpProvider
*)wxHelpProvider::Get();
30088 wxPyEndAllowThreads(__tstate
);
30089 if (PyErr_Occurred()) SWIG_fail
;
30091 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30098 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30099 PyObject
*resultobj
;
30100 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30101 wxWindow
*arg2
= (wxWindow
*) 0 ;
30103 PyObject
* obj0
= 0 ;
30104 PyObject
* obj1
= 0 ;
30105 char *kwnames
[] = {
30106 (char *) "self",(char *) "window", NULL
30109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30112 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30116 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
30118 wxPyEndAllowThreads(__tstate
);
30119 if (PyErr_Occurred()) SWIG_fail
;
30123 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30125 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30134 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30135 PyObject
*resultobj
;
30136 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30137 wxWindow
*arg2
= (wxWindow
*) 0 ;
30139 PyObject
* obj0
= 0 ;
30140 PyObject
* obj1
= 0 ;
30141 char *kwnames
[] = {
30142 (char *) "self",(char *) "window", NULL
30145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30148 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30152 result
= (bool)(arg1
)->ShowHelp(arg2
);
30154 wxPyEndAllowThreads(__tstate
);
30155 if (PyErr_Occurred()) SWIG_fail
;
30158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30166 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30167 PyObject
*resultobj
;
30168 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30169 wxWindow
*arg2
= (wxWindow
*) 0 ;
30170 wxString
*arg3
= 0 ;
30171 bool temp3
= False
;
30172 PyObject
* obj0
= 0 ;
30173 PyObject
* obj1
= 0 ;
30174 PyObject
* obj2
= 0 ;
30175 char *kwnames
[] = {
30176 (char *) "self",(char *) "window",(char *) "text", NULL
30179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30182 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30185 arg3
= wxString_in_helper(obj2
);
30186 if (arg3
== NULL
) SWIG_fail
;
30190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30191 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30193 wxPyEndAllowThreads(__tstate
);
30194 if (PyErr_Occurred()) SWIG_fail
;
30196 Py_INCREF(Py_None
); resultobj
= Py_None
;
30211 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30212 PyObject
*resultobj
;
30213 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30215 wxString
*arg3
= 0 ;
30216 bool temp3
= False
;
30217 PyObject
* obj0
= 0 ;
30218 PyObject
* obj1
= 0 ;
30219 PyObject
* obj2
= 0 ;
30220 char *kwnames
[] = {
30221 (char *) "self",(char *) "id",(char *) "text", NULL
30224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30227 arg2
= (int) SWIG_AsInt(obj1
);
30228 if (PyErr_Occurred()) SWIG_fail
;
30230 arg3
= wxString_in_helper(obj2
);
30231 if (arg3
== NULL
) SWIG_fail
;
30235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30236 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30238 wxPyEndAllowThreads(__tstate
);
30239 if (PyErr_Occurred()) SWIG_fail
;
30241 Py_INCREF(Py_None
); resultobj
= Py_None
;
30256 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30257 PyObject
*resultobj
;
30258 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30259 wxWindow
*arg2
= (wxWindow
*) 0 ;
30260 PyObject
* obj0
= 0 ;
30261 PyObject
* obj1
= 0 ;
30262 char *kwnames
[] = {
30263 (char *) "self",(char *) "window", NULL
30266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30269 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30273 (arg1
)->RemoveHelp(arg2
);
30275 wxPyEndAllowThreads(__tstate
);
30276 if (PyErr_Occurred()) SWIG_fail
;
30278 Py_INCREF(Py_None
); resultobj
= Py_None
;
30285 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30286 PyObject
*resultobj
;
30287 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30288 PyObject
* obj0
= 0 ;
30289 char *kwnames
[] = {
30290 (char *) "self", NULL
30293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
30294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30298 wxHelpProvider_Destroy(arg1
);
30300 wxPyEndAllowThreads(__tstate
);
30301 if (PyErr_Occurred()) SWIG_fail
;
30303 Py_INCREF(Py_None
); resultobj
= Py_None
;
30310 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
30312 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30313 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
30315 return Py_BuildValue((char *)"");
30317 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30318 PyObject
*resultobj
;
30319 wxSimpleHelpProvider
*result
;
30320 char *kwnames
[] = {
30324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
30326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30327 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
30329 wxPyEndAllowThreads(__tstate
);
30330 if (PyErr_Occurred()) SWIG_fail
;
30332 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
30339 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
30341 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30342 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
30344 return Py_BuildValue((char *)"");
30346 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30347 PyObject
*resultobj
;
30348 wxBitmap
*arg1
= 0 ;
30349 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30350 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30351 wxGenericDragImage
*result
;
30352 PyObject
* obj0
= 0 ;
30353 PyObject
* obj1
= 0 ;
30354 char *kwnames
[] = {
30355 (char *) "image",(char *) "cursor", NULL
30358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
30359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
30360 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30362 if (arg1
== NULL
) {
30363 PyErr_SetString(PyExc_TypeError
,"null reference");
30367 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30368 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30370 if (arg2
== NULL
) {
30371 PyErr_SetString(PyExc_TypeError
,"null reference");
30376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30377 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
30379 wxPyEndAllowThreads(__tstate
);
30380 if (PyErr_Occurred()) SWIG_fail
;
30382 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30389 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30390 PyObject
*resultobj
;
30392 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30393 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30394 wxGenericDragImage
*result
;
30395 PyObject
* obj0
= 0 ;
30396 PyObject
* obj1
= 0 ;
30397 char *kwnames
[] = {
30398 (char *) "image",(char *) "cursor", NULL
30401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
30402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
30403 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30405 if (arg1
== NULL
) {
30406 PyErr_SetString(PyExc_TypeError
,"null reference");
30410 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30411 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30413 if (arg2
== NULL
) {
30414 PyErr_SetString(PyExc_TypeError
,"null reference");
30419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30420 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
30422 wxPyEndAllowThreads(__tstate
);
30423 if (PyErr_Occurred()) SWIG_fail
;
30425 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30432 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30433 PyObject
*resultobj
;
30434 wxString
*arg1
= 0 ;
30435 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30436 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30437 wxGenericDragImage
*result
;
30438 bool temp1
= False
;
30439 PyObject
* obj0
= 0 ;
30440 PyObject
* obj1
= 0 ;
30441 char *kwnames
[] = {
30442 (char *) "str",(char *) "cursor", NULL
30445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
30447 arg1
= wxString_in_helper(obj0
);
30448 if (arg1
== NULL
) SWIG_fail
;
30452 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30453 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30455 if (arg2
== NULL
) {
30456 PyErr_SetString(PyExc_TypeError
,"null reference");
30461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30462 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
30464 wxPyEndAllowThreads(__tstate
);
30465 if (PyErr_Occurred()) SWIG_fail
;
30467 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30482 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30483 PyObject
*resultobj
;
30484 wxPyTreeCtrl
*arg1
= 0 ;
30485 wxTreeItemId
*arg2
= 0 ;
30486 wxGenericDragImage
*result
;
30487 PyObject
* obj0
= 0 ;
30488 PyObject
* obj1
= 0 ;
30489 char *kwnames
[] = {
30490 (char *) "treeCtrl",(char *) "id", NULL
30493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
30495 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30497 if (arg1
== NULL
) {
30498 PyErr_SetString(PyExc_TypeError
,"null reference");
30501 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
30502 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30504 if (arg2
== NULL
) {
30505 PyErr_SetString(PyExc_TypeError
,"null reference");
30509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30510 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
30512 wxPyEndAllowThreads(__tstate
);
30513 if (PyErr_Occurred()) SWIG_fail
;
30515 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30522 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30523 PyObject
*resultobj
;
30524 wxPyListCtrl
*arg1
= 0 ;
30526 wxGenericDragImage
*result
;
30527 PyObject
* obj0
= 0 ;
30528 PyObject
* obj1
= 0 ;
30529 char *kwnames
[] = {
30530 (char *) "listCtrl",(char *) "id", NULL
30533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
30535 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30537 if (arg1
== NULL
) {
30538 PyErr_SetString(PyExc_TypeError
,"null reference");
30541 arg2
= (long) SWIG_AsLong(obj1
);
30542 if (PyErr_Occurred()) SWIG_fail
;
30544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30545 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
30547 wxPyEndAllowThreads(__tstate
);
30548 if (PyErr_Occurred()) SWIG_fail
;
30550 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30557 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30558 PyObject
*resultobj
;
30559 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30560 PyObject
* obj0
= 0 ;
30561 char *kwnames
[] = {
30562 (char *) "self", NULL
30565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
30566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30572 wxPyEndAllowThreads(__tstate
);
30573 if (PyErr_Occurred()) SWIG_fail
;
30575 Py_INCREF(Py_None
); resultobj
= Py_None
;
30582 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30583 PyObject
*resultobj
;
30584 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30585 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
30586 PyObject
* obj0
= 0 ;
30587 PyObject
* obj1
= 0 ;
30588 char *kwnames
[] = {
30589 (char *) "self",(char *) "bitmap", NULL
30592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
30593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30595 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
30596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30599 (arg1
)->SetBackingBitmap(arg2
);
30601 wxPyEndAllowThreads(__tstate
);
30602 if (PyErr_Occurred()) SWIG_fail
;
30604 Py_INCREF(Py_None
); resultobj
= Py_None
;
30611 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30612 PyObject
*resultobj
;
30613 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30614 wxPoint
*arg2
= 0 ;
30615 wxWindow
*arg3
= (wxWindow
*) 0 ;
30616 bool arg4
= (bool) False
;
30617 wxRect
*arg5
= (wxRect
*) NULL
;
30620 PyObject
* obj0
= 0 ;
30621 PyObject
* obj1
= 0 ;
30622 PyObject
* obj2
= 0 ;
30623 PyObject
* obj3
= 0 ;
30624 PyObject
* obj4
= 0 ;
30625 char *kwnames
[] = {
30626 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
30629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30634 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30636 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
30637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30639 arg4
= (bool) SWIG_AsBool(obj3
);
30640 if (PyErr_Occurred()) SWIG_fail
;
30643 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
30644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30648 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
30650 wxPyEndAllowThreads(__tstate
);
30651 if (PyErr_Occurred()) SWIG_fail
;
30654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30662 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30663 PyObject
*resultobj
;
30664 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30665 wxPoint
*arg2
= 0 ;
30666 wxWindow
*arg3
= (wxWindow
*) 0 ;
30667 wxWindow
*arg4
= (wxWindow
*) 0 ;
30670 PyObject
* obj0
= 0 ;
30671 PyObject
* obj1
= 0 ;
30672 PyObject
* obj2
= 0 ;
30673 PyObject
* obj3
= 0 ;
30674 char *kwnames
[] = {
30675 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
30678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30683 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30685 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
30686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30687 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
30688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30691 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
30693 wxPyEndAllowThreads(__tstate
);
30694 if (PyErr_Occurred()) SWIG_fail
;
30697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30705 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30706 PyObject
*resultobj
;
30707 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30709 PyObject
* obj0
= 0 ;
30710 char *kwnames
[] = {
30711 (char *) "self", NULL
30714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
30715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30719 result
= (bool)(arg1
)->EndDrag();
30721 wxPyEndAllowThreads(__tstate
);
30722 if (PyErr_Occurred()) SWIG_fail
;
30725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30733 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30734 PyObject
*resultobj
;
30735 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30736 wxPoint
*arg2
= 0 ;
30739 PyObject
* obj0
= 0 ;
30740 PyObject
* obj1
= 0 ;
30741 char *kwnames
[] = {
30742 (char *) "self",(char *) "pt", NULL
30745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
30746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30750 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30754 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
30756 wxPyEndAllowThreads(__tstate
);
30757 if (PyErr_Occurred()) SWIG_fail
;
30760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30768 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30769 PyObject
*resultobj
;
30770 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30772 PyObject
* obj0
= 0 ;
30773 char *kwnames
[] = {
30774 (char *) "self", NULL
30777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
30778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30782 result
= (bool)(arg1
)->Show();
30784 wxPyEndAllowThreads(__tstate
);
30785 if (PyErr_Occurred()) SWIG_fail
;
30788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30796 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30797 PyObject
*resultobj
;
30798 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30800 PyObject
* obj0
= 0 ;
30801 char *kwnames
[] = {
30802 (char *) "self", NULL
30805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
30806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30810 result
= (bool)(arg1
)->Hide();
30812 wxPyEndAllowThreads(__tstate
);
30813 if (PyErr_Occurred()) SWIG_fail
;
30816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30824 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30825 PyObject
*resultobj
;
30826 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30827 wxPoint
*arg2
= 0 ;
30830 PyObject
* obj0
= 0 ;
30831 PyObject
* obj1
= 0 ;
30832 char *kwnames
[] = {
30833 (char *) "self",(char *) "pos", NULL
30836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
30837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30841 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30845 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
30847 wxPyEndAllowThreads(__tstate
);
30848 if (PyErr_Occurred()) SWIG_fail
;
30851 wxRect
* resultptr
;
30852 resultptr
= new wxRect((wxRect
&) result
);
30853 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
30861 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30862 PyObject
*resultobj
;
30863 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30865 wxPoint
*arg3
= 0 ;
30868 PyObject
* obj0
= 0 ;
30869 PyObject
* obj1
= 0 ;
30870 PyObject
* obj2
= 0 ;
30871 char *kwnames
[] = {
30872 (char *) "self",(char *) "dc",(char *) "pos", NULL
30875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30878 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30879 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30881 if (arg2
== NULL
) {
30882 PyErr_SetString(PyExc_TypeError
,"null reference");
30887 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30891 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
30893 wxPyEndAllowThreads(__tstate
);
30894 if (PyErr_Occurred()) SWIG_fail
;
30897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30905 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30906 PyObject
*resultobj
;
30907 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30909 wxMemoryDC
*arg3
= 0 ;
30915 PyObject
* obj0
= 0 ;
30916 PyObject
* obj1
= 0 ;
30917 PyObject
* obj2
= 0 ;
30918 PyObject
* obj3
= 0 ;
30919 PyObject
* obj4
= 0 ;
30920 char *kwnames
[] = {
30921 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
30924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30927 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30928 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30930 if (arg2
== NULL
) {
30931 PyErr_SetString(PyExc_TypeError
,"null reference");
30934 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
30935 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30937 if (arg3
== NULL
) {
30938 PyErr_SetString(PyExc_TypeError
,"null reference");
30943 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30947 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
30950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30951 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
30953 wxPyEndAllowThreads(__tstate
);
30954 if (PyErr_Occurred()) SWIG_fail
;
30957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30965 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30966 PyObject
*resultobj
;
30967 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30968 wxPoint
*arg2
= 0 ;
30969 wxPoint
*arg3
= 0 ;
30975 PyObject
* obj0
= 0 ;
30976 PyObject
* obj1
= 0 ;
30977 PyObject
* obj2
= 0 ;
30978 PyObject
* obj3
= 0 ;
30979 PyObject
* obj4
= 0 ;
30980 char *kwnames
[] = {
30981 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
30984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30989 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30993 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30995 arg4
= (bool) SWIG_AsBool(obj3
);
30996 if (PyErr_Occurred()) SWIG_fail
;
30997 arg5
= (bool) SWIG_AsBool(obj4
);
30998 if (PyErr_Occurred()) SWIG_fail
;
31000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31001 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
31003 wxPyEndAllowThreads(__tstate
);
31004 if (PyErr_Occurred()) SWIG_fail
;
31007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31015 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
31017 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31018 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
31020 return Py_BuildValue((char *)"");
31022 static PyMethodDef SwigMethods
[] = {
31023 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
31024 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
31025 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
31026 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
31027 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
31028 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31029 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
31030 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
31031 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
31032 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31033 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
31034 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
31035 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
31036 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
31037 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
31038 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
31039 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
31040 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
31041 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31042 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
31043 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
31044 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
31045 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
31046 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
31047 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31048 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31049 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
31050 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31051 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
31052 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
31053 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
31054 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
31055 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31056 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
31057 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
31058 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
31059 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
31060 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31061 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31062 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31063 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31064 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
31065 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
31066 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
31067 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31068 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31069 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31070 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
31071 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
31072 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
31073 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31074 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31075 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
31076 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
31077 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31078 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
31079 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31080 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31081 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
31082 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
31083 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
31084 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31085 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
31086 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
31087 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
31088 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
31089 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31090 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31091 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31092 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31093 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31094 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
31095 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
31096 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
31097 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
31098 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31099 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
31100 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
31101 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
31102 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31103 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31104 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
31105 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
31106 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
31107 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
31108 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31109 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
31110 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31111 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
31112 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
31113 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
31114 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
31115 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31116 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
31117 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31118 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31119 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
31120 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31121 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31122 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
31123 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31124 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
31125 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
31126 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
31127 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31128 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
31129 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
31130 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
31131 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31132 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31133 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
31134 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
31135 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
31136 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31137 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
31138 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
31139 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
31140 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31141 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31142 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
31143 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31144 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31145 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31146 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31147 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
31148 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
31149 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
31150 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31151 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
31152 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
31153 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
31154 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31155 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
31156 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
31157 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
},
31158 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
31159 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
31160 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31161 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31162 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31163 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31164 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
31165 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31166 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31167 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
31168 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31169 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31170 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
31171 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31172 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
31173 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31174 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31175 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
31176 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31177 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31178 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31179 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31180 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
31181 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31182 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31183 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
31184 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
31185 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
31186 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
31187 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31188 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31189 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31190 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31191 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31192 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31193 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
31194 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
31195 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
31196 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
31197 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
31198 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
31199 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
31200 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31201 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31202 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
31203 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
31204 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
31205 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
31206 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
31207 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
31208 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
31209 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
31210 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
31211 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
31212 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
31213 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31214 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31215 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
31216 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
31217 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
31218 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
31219 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
31220 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31221 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
31222 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
31223 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
31224 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
31225 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
31226 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
31227 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
31228 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
31229 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
31230 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
31231 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31232 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
31233 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31234 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
31235 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31236 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
31237 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
31238 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
31239 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
31240 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31241 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
31242 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
31243 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
31244 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
31245 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
31246 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
31247 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
31248 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
31249 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
31250 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
31251 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
31252 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31253 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31254 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31255 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
31256 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
31257 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31258 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
31259 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
31260 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
31261 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31262 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31263 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31264 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31265 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31266 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
31267 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
31268 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31269 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31270 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31271 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
31272 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31273 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31274 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31275 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31276 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31277 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
31278 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31279 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31280 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31281 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31282 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31283 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
31284 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
31285 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31286 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31287 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
},
31288 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
31289 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
31290 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31291 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31292 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31293 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31294 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31295 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
31296 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
31297 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
31298 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31299 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
31300 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
31301 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
31302 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
31303 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
31304 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31305 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
31306 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
31307 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
31308 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31309 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31310 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31311 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31312 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
31313 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
31314 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
31315 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
31316 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31317 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31318 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31319 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31320 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31321 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
31322 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
31323 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
31324 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31325 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
31326 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31327 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
31328 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
31329 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
31330 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
31331 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
31332 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
31333 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
31334 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
31335 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
31336 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31337 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31338 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
31339 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
31340 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
31341 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31342 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31343 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31344 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31345 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31346 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
31347 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
31348 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
31349 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31350 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
31351 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
31352 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31353 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31354 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31355 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
31356 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
31357 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31358 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
31359 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
31360 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
31361 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
31362 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
31363 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
31364 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31365 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
31366 { (char *)"BookCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31367 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
31368 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
31369 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31370 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31371 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
31372 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
31373 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
31374 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
31375 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
31376 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
31377 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
31378 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
31379 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
31380 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31381 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
31382 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31383 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
31384 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
31385 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
31386 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
31387 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
31388 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
31389 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31390 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
31391 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
31392 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
31393 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
31394 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
31395 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
31396 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
31397 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
31398 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
31399 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
31400 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
31401 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
31402 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
31403 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31404 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
31405 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31406 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
31407 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
31408 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31409 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31410 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
31411 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
31412 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
31413 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
31414 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31415 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31416 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31417 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31418 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31419 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31420 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
31421 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
31422 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
31423 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31424 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31425 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31426 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31427 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31428 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
31429 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
31430 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
31431 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
31432 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
31433 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
31434 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
31435 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
31436 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
31437 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
31438 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
31439 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
31440 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31441 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31442 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
31443 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
31444 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
31445 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
31446 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
31447 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
31448 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
31449 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
31450 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
31451 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
31452 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
31453 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
31454 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
31455 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31456 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31457 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31458 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31459 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
31460 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31461 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
31462 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
31463 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
31464 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31465 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
31466 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
31467 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
31468 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
31469 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
31470 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
31471 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
31472 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
31473 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
31474 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
31475 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
31476 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31477 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
31478 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31479 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31480 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
31481 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
31482 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31483 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
31484 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
31485 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31486 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31487 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31488 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31489 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31490 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
31491 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31492 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31493 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31494 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31495 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
31496 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
31497 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
31498 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
31499 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31500 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
31501 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
31502 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31503 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
31504 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
31505 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
31506 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
31507 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
31508 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
31509 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
31510 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31511 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31512 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31513 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
31514 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31515 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31516 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
31517 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
31518 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
31519 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31520 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
31521 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
31522 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31523 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31524 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31525 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31526 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31527 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
31528 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
31529 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
31530 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
31531 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
31532 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
31533 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
31534 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
31535 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
31536 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
31537 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
31538 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
31539 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
31540 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
31541 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
31542 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
31543 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
31544 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
31545 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
31546 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
31547 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
31548 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
31549 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
31550 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
31551 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
31552 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
31553 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
31554 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
31555 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
31556 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
31557 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
31558 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
31559 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
31560 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
31561 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
31562 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31563 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31564 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31565 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
31566 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
31567 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31568 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
31569 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31570 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
31571 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
31572 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
31573 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
31574 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
31575 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31576 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31577 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31578 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31579 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31580 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31581 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31582 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31583 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
31584 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
31585 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
31586 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
31587 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31588 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
31589 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31590 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
31591 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
31592 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31593 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31594 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31595 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31596 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31597 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
31598 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
31599 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
31600 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31601 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
31602 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31603 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31604 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31605 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31606 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31607 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
31608 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
31609 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
31610 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
31611 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31612 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31613 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31614 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
},
31615 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
31616 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
31617 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
31618 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
31619 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
31620 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
31621 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
31622 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
31623 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
31624 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
31625 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31626 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
31627 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
31628 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
31629 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31630 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
31631 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31632 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
31633 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31634 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
31635 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
31636 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31637 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
31638 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31639 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31640 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31641 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31642 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
31643 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
31644 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31645 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
31646 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
31647 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
31648 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
31649 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
31650 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
31651 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
31652 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
31653 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
31654 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31655 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
31656 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
31657 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
31658 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
31659 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
31660 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
31661 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
31662 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
31663 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
31664 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
31665 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
31666 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
31667 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31668 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
31669 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31670 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
31671 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31672 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
31673 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
31674 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31675 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
31676 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
31677 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
31678 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31679 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31680 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
31681 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
31682 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
31683 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31684 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31685 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
31686 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
31687 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
31688 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
31689 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31690 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31691 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31692 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31693 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
31694 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
31695 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
31696 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31697 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31698 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31699 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31700 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31701 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31702 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31703 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31704 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31705 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31706 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31707 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
31708 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31709 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31710 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31711 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31712 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31713 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31714 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
31715 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
31716 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
31717 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31718 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31719 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31720 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
31721 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
31722 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
31723 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31724 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
31725 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
31726 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
31727 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31728 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
31729 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
31730 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
31731 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
31732 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
31733 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
31734 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
31735 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
31736 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
31737 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
31738 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
31739 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
31740 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
31741 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
31742 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
31743 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
31744 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
31745 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
31746 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
31747 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
31748 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
31749 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
31750 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
31751 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
},
31752 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
31753 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
31754 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
},
31755 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31756 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
31757 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
31758 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
31759 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
31760 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31761 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
31762 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31763 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
31764 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31765 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31766 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31767 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
31768 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
31769 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
31770 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
31771 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
31772 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
31773 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
31774 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
31775 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
31776 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
31777 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
31778 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
31779 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
31780 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31781 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31782 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
31783 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
31784 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
31785 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
31786 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31787 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31788 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31789 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
31790 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
31791 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
31792 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
},
31793 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31794 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
31795 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
31796 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
31797 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
31798 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
31799 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
31800 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
31801 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31802 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
31803 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
31804 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
31805 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
31806 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
31807 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
31808 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
31809 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
31810 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
31811 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
31812 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
31813 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
31814 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
31815 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31816 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
31817 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
31818 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31819 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31820 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
31821 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
31822 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
31823 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
31824 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
31825 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31826 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31827 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31828 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31829 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
31830 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
31831 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
31832 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
31833 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
31834 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
31835 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
31836 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
31837 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
31838 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
},
31839 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31840 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
31841 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
31842 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
31843 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
31844 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
31845 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
31846 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
31847 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
31848 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
31849 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31850 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
31851 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
31852 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
31853 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
31854 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
31855 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
31856 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
31857 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
31858 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
31859 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
31860 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
31865 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31867 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
31868 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31870 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
31871 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31873 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
31874 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
31876 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
31877 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31879 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
31880 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31882 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
31883 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
31885 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
31886 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31888 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
31889 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
31891 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
31892 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
31894 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
31895 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
31897 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
31898 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31900 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
31901 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
31903 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
31904 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
31906 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
31907 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
31909 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
31910 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
31912 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
31913 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31915 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
31916 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
31918 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
31919 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
31921 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
31922 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
31924 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
31925 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
31927 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
31928 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31930 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
31931 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
31933 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
31934 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31936 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
31937 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
31939 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
31940 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31942 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
31943 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31945 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
31946 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
31948 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
31949 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
31951 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
31952 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31954 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
31955 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31957 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
31958 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
31960 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
31961 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
31963 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
31964 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
31966 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
31967 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
31969 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
31970 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
31972 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
31973 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
31975 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
31976 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
31978 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
31979 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31981 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
31982 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31984 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
31985 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31987 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
31988 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31990 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
31991 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31993 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
31994 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
31996 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
31997 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
31999 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32000 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32002 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32003 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32005 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32006 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32008 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32009 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32011 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32012 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32014 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32015 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32017 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32018 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32020 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32021 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32023 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
32024 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32026 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
32027 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
32029 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
32030 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32032 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
32033 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32035 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
32036 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
32038 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
32039 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32041 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
32042 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32044 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
32045 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
32047 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
32048 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32050 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
32051 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32053 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
32054 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32056 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
32057 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
32059 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
32060 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
32062 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
32063 return (void *)((wxControl
*) ((wxComboBox
*) x
));
32065 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
32066 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
32068 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
32069 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
32071 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
32072 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
32074 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
32075 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
32077 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
32078 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32080 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
32081 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
32083 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
32084 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
32086 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
32087 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
32089 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
32090 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
32092 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
32093 return (void *)((wxControl
*) ((wxGauge
*) x
));
32095 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
32096 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
32098 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
32099 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
32101 static void *_p_wxButtonTo_p_wxControl(void *x
) {
32102 return (void *)((wxControl
*) ((wxButton
*) x
));
32104 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
32105 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
32107 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
32108 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32110 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
32111 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
32113 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
32114 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
32116 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
32117 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
32119 static void *_p_wxListbookTo_p_wxControl(void *x
) {
32120 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
32122 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
32123 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
32125 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
32126 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
32128 static void *_p_wxListViewTo_p_wxControl(void *x
) {
32129 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
32131 static void *_p_wxSliderTo_p_wxControl(void *x
) {
32132 return (void *)((wxControl
*) ((wxSlider
*) x
));
32134 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
32135 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
32137 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
32138 return (void *)((wxControl
*) ((wxPyControl
*) x
));
32140 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
32141 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
32143 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
32144 return (void *)((wxControl
*) ((wxStaticText
*) x
));
32146 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
32147 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
32149 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
32150 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32152 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
32153 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32155 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
32156 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32158 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
32159 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
32161 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
32162 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32164 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
32165 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32167 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
32168 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32170 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
32171 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
32173 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32174 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32176 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32177 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32179 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32180 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32182 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
32183 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32185 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32186 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32188 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
32189 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
32191 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
32192 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
32194 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32195 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32197 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32198 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32200 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
32201 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
32203 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
32204 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32206 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
32207 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
32209 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
32210 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32212 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
32213 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
32215 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32216 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32218 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
32219 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32221 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
32222 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
32224 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32225 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32227 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
32228 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
32230 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
32231 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
32233 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
32234 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32236 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
32237 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32239 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
32240 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32242 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
32243 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
32245 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
32246 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32248 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
32249 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32251 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
32252 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32254 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
32255 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32257 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
32258 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
32260 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
32261 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32263 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
32264 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
32266 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
32267 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
32269 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
32270 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
32272 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
32273 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
32275 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
32276 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
32278 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
32279 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
32281 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
32282 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32284 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
32285 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32287 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
32288 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
32290 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
32291 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
32293 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
32294 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
32296 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
32297 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
32299 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
32300 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
32302 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
32303 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32305 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
32306 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32308 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
32309 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
32311 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32312 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32314 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32315 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32317 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32318 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32320 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32321 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32323 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32324 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32326 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
32327 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32329 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
32330 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32332 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32333 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32335 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32336 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32338 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32339 return (void *)((wxObject
*) ((wxSizer
*) x
));
32341 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32342 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32344 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
32345 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32347 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
32348 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32350 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32351 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32353 static void *_p_wxEventTo_p_wxObject(void *x
) {
32354 return (void *)((wxObject
*) ((wxEvent
*) x
));
32356 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32357 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32359 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32360 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32362 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32363 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32365 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
32366 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32368 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
32369 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32371 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
32372 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32374 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32375 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32377 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32378 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32380 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32381 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32383 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32384 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32386 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32387 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32389 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32390 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32392 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
32393 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
32395 static void *_p_wxControlTo_p_wxObject(void *x
) {
32396 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32398 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
32399 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
32401 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
32402 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
32404 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
32405 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
32407 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
32408 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
32410 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
32411 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
32413 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32414 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32416 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
32417 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32419 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32420 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32422 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32423 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32425 static void *_p_wxListViewTo_p_wxObject(void *x
) {
32426 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32428 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
32429 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
32431 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
32432 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32434 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32435 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32437 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32438 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32440 static void *_p_wxListbookTo_p_wxObject(void *x
) {
32441 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32443 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32444 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32446 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
32447 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
32449 static void *_p_wxSliderTo_p_wxObject(void *x
) {
32450 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
32452 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32453 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32455 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32456 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32458 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32459 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32461 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32462 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32464 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32465 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32467 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32468 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32470 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32471 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32473 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32474 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32476 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32477 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32479 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
32480 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
32482 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
32483 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
32485 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32486 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32488 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32489 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32491 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32492 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32494 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32495 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32497 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32498 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32500 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32501 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32503 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32504 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32506 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32507 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32509 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32510 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32512 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32513 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32515 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32516 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32518 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32519 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32521 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32522 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32524 static void *_p_wxListEventTo_p_wxObject(void *x
) {
32525 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
32527 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
32528 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32530 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
32531 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32533 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
32534 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
32536 static void *_p_wxButtonTo_p_wxObject(void *x
) {
32537 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
32539 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
32540 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32542 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
32543 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
32545 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
32546 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32548 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32549 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32551 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
32552 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
32554 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
32555 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
32557 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
32558 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
32560 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
32561 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
32563 static void *_p_wxListItemTo_p_wxObject(void *x
) {
32564 return (void *)((wxObject
*) ((wxListItem
*) x
));
32566 static void *_p_wxImageTo_p_wxObject(void *x
) {
32567 return (void *)((wxObject
*) ((wxImage
*) x
));
32569 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
32570 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
32572 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32573 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32575 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
32576 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32578 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
32579 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
32581 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
32582 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
32584 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
32585 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32587 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
32588 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32590 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32591 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32593 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32594 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32596 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32597 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32599 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32600 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32602 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32603 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32605 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32606 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32608 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32609 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32611 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32612 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32614 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32615 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32617 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32618 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32620 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32621 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32623 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32624 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32626 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32627 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32629 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
32630 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32632 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32633 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32635 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32636 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32638 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
32639 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
32641 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32642 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32644 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32645 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32647 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32648 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32650 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32651 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32653 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
32654 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
32656 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
32657 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32659 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32660 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32662 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32663 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32665 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
32666 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
32668 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
32669 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
32671 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32672 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32674 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
32675 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32677 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
32678 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
32680 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
32681 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
32683 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
32684 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
32686 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32687 return (void *)((wxWindow
*) ((wxControl
*) x
));
32689 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
32690 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
32692 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
32693 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32695 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
32696 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
32698 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
32699 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
32701 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
32702 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
32704 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
32705 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
32707 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32708 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32710 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
32711 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
32713 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
32714 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
32716 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
32717 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32719 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
32720 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
32722 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
32723 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
32725 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
32726 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
32728 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
32729 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32731 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
32732 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32734 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
32735 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32737 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
32738 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32740 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
32741 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32743 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
32744 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
32746 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
32747 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
32749 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
32750 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
32752 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
32753 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
32755 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
32756 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
32758 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
32759 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
32761 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
32762 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
32764 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
32765 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32767 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
32768 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32770 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
32771 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
32773 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
32774 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32776 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
32777 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32779 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
32780 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32782 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
32783 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
32785 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
32786 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32788 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
32789 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32791 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
32792 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32794 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
32795 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32797 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
32798 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32800 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
32801 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
32803 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
32804 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32806 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
32807 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32809 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
32810 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32812 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
32813 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
32815 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
32816 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32818 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
32819 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32821 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
32822 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32824 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
32825 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
32827 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
32828 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
32830 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
32831 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
32833 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
32834 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
32836 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}};
32837 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}};
32838 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}};
32839 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}};
32840 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}};
32841 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}};
32842 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}};
32843 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}};
32844 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}};
32845 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}};
32846 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}};
32847 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}};
32848 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}};
32849 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}};
32850 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}};
32851 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}};
32852 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}};
32853 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}};
32854 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}};
32855 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}};
32856 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}};
32857 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}};
32858 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}};
32859 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}};
32860 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}};
32861 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}};
32862 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}};
32863 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}};
32864 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}};
32865 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}};
32866 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}};
32867 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}};
32868 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}};
32869 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}};
32870 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}};
32871 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}};
32872 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}};
32873 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}};
32874 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}};
32875 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}};
32876 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}};
32877 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}};
32878 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}};
32879 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}};
32880 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}};
32881 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}};
32882 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}};
32883 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}};
32884 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}};
32885 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}};
32886 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}};
32887 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}};
32888 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}};
32889 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}};
32890 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}};
32891 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}};
32892 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}};
32893 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}};
32894 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}};
32895 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}};
32896 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}};
32897 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}};
32898 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}};
32899 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}};
32900 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}};
32901 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}};
32902 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}};
32903 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}};
32904 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}};
32905 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}};
32906 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}};
32907 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}};
32908 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}};
32909 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}};
32910 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}};
32911 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}};
32912 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}};
32913 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}};
32914 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}};
32915 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}};
32916 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}};
32917 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}};
32918 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}};
32919 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}};
32920 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}};
32922 static swig_type_info
*swig_types_initial
[] = {
32923 _swigt__p_wxTextUrlEvent
,
32924 _swigt__p_wxBookCtrlEvent
,
32926 _swigt__p_wxCheckBox
,
32927 _swigt__p_wxPyTreeCtrl
,
32929 _swigt__p_wxGenericDirCtrl
,
32931 _swigt__p_wxPyTreeItemData
,
32932 _swigt__p_wxItemContainer
,
32933 _swigt__p_wxPyListCtrl
,
32934 _swigt__p_wxDirFilterListCtrl
,
32935 _swigt__p_wxStaticLine
,
32936 _swigt__p_wxControl
,
32937 _swigt__p_wxPyControl
,
32939 _swigt__p_wxToolBarBase
,
32941 _swigt__p_wxToggleButton
,
32942 _swigt__p_wxRadioButton
,
32943 _swigt__p_wxChoice
,
32944 _swigt__p_wxMemoryDC
,
32945 _swigt__p_wxListItemAttr
,
32950 _swigt__p_wxListView
,
32952 _swigt__p_wxVisualAttributes
,
32953 _swigt__p_wxTextCtrl
,
32954 _swigt__p_wxNotebook
,
32955 _swigt__p_wxNotifyEvent
,
32956 _swigt__p_wxArrayString
,
32957 _swigt__p_wxListbook
,
32958 _swigt__p_wxStaticBitmap
,
32959 _swigt__p_wxSlider
,
32960 _swigt__p_wxStaticBox
,
32961 _swigt__p_wxArrayInt
,
32962 _swigt__p_wxContextHelp
,
32964 _swigt__p_wxEvtHandler
,
32965 _swigt__p_wxListEvent
,
32966 _swigt__p_wxCheckListBox
,
32967 _swigt__p_wxListBox
,
32968 _swigt__p_wxBookCtrl
,
32969 _swigt__p_wxSpinButton
,
32970 _swigt__p_wxButton
,
32971 _swigt__p_wxBitmapButton
,
32973 _swigt__p_wxContextHelpButton
,
32974 _swigt__p_wxRadioBox
,
32975 _swigt__p_wxScrollBar
,
32977 _swigt__p_wxTreeItemId
,
32978 _swigt__p_wxComboBox
,
32979 _swigt__p_wxHelpEvent
,
32980 _swigt__p_wxListItem
,
32981 _swigt__p_wxNotebookSizer
,
32982 _swigt__p_wxSpinEvent
,
32983 _swigt__p_wxGenericDragImage
,
32984 _swigt__p_wxSpinCtrl
,
32985 _swigt__p_wxImageList
,
32986 _swigt__p_wxHelpProvider
,
32987 _swigt__p_wxTextAttr
,
32988 _swigt__p_wxSimpleHelpProvider
,
32990 _swigt__p_wxListbookEvent
,
32991 _swigt__p_wxNotebookEvent
,
32992 _swigt__p_wxObject
,
32993 _swigt__p_wxCursor
,
32994 _swigt__p_wxKeyEvent
,
32995 _swigt__p_wxWindow
,
32996 _swigt__p_wxString
,
32997 _swigt__p_wxBitmap
,
32998 _swigt__p_wxTreeEvent
,
32999 _swigt__p_wxMouseEvent
,
33000 _swigt__p_wxCommandEvent
,
33001 _swigt__p_wxStaticText
,
33002 _swigt__p_wxControlWithItems
,
33003 _swigt__p_wxToolBarToolBase
,
33004 _swigt__p_wxColour
,
33005 _swigt__p_wxToolBar
,
33006 _swigt__p_wxBookCtrlSizer
,
33007 _swigt__p_wxValidator
,
33012 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33014 static swig_const_info swig_const_table
[] = {
33024 SWIGEXPORT(void) SWIG_init(void) {
33025 static PyObject
*SWIG_globals
= 0;
33026 static int typeinit
= 0;
33029 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
33030 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33031 d
= PyModule_GetDict(m
);
33034 for (i
= 0; swig_types_initial
[i
]; i
++) {
33035 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
33039 SWIG_InstallConstants(d
,swig_const_table
);
33041 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
33042 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
33043 PyDict_SetItemString(d
,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT
));
33044 PyDict_SetItemString(d
,"BU_TOP", SWIG_FromInt((int)wxBU_TOP
));
33045 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT
));
33046 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM
));
33047 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT
));
33048 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW
));
33049 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
33050 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE
));
33051 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE
));
33052 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
33053 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED
));
33054 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED
));
33055 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED
));
33056 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
33057 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
33058 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
33059 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL
));
33060 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL
));
33061 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH
));
33062 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR
));
33063 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
33064 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
33065 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
33066 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
33067 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
33068 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL
));
33069 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL
));
33070 PyDict_SetItemString(d
,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY
));
33071 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE
));
33072 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB
));
33073 PyDict_SetItemString(d
,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT
));
33074 PyDict_SetItemString(d
,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER
));
33075 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT
));
33076 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE
));
33077 PyDict_SetItemString(d
,"TE_RICH", SWIG_FromInt((int)wxTE_RICH
));
33078 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER
));
33079 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD
));
33080 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL
));
33081 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL
));
33082 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP
));
33083 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP
));
33084 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP
));
33085 PyDict_SetItemString(d
,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2
));
33086 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT
));
33087 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT
));
33088 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE
));
33089 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER
));
33090 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT
));
33091 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
33092 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR
));
33093 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
33094 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE
));
33095 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE
));
33096 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT
));
33097 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC
));
33098 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE
));
33099 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT
));
33100 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT
));
33101 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT
));
33102 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT
));
33103 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS
));
33104 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN
));
33105 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE
));
33106 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT
));
33107 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW
));
33108 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND
));
33109 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
33110 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
33111 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
33112 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
33113 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
33114 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
33115 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
33116 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL
));
33117 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL
));
33118 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS
));
33119 PyDict_SetItemString(d
,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP
));
33120 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
33121 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
33122 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
33123 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
33124 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
33125 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
33126 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
33127 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH
));
33128 PyDict_SetItemString(d
,"NB_TOP", SWIG_FromInt((int)wxNB_TOP
));
33129 PyDict_SetItemString(d
,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT
));
33130 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT
));
33131 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM
));
33132 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE
));
33133 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE
));
33134 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON
));
33135 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL
));
33136 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM
));
33137 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
33138 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
33139 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT
));
33140 PyDict_SetItemString(d
,"LB_TOP", SWIG_FromInt((int)wxLB_TOP
));
33141 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM
));
33142 PyDict_SetItemString(d
,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT
));
33143 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT
));
33144 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK
));
33145 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
33146 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
33147 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON
));
33148 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR
));
33149 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL
));
33150 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL
));
33151 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL
));
33152 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS
));
33153 PyDict_SetItemString(d
,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT
));
33154 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE
));
33155 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS
));
33156 PyDict_SetItemString(d
,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT
));
33157 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER
));
33158 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN
));
33159 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT
));
33160 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT
));
33161 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
33162 PyDict_SetItemString(d
,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES
));
33163 PyDict_SetItemString(d
,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES
));
33164 PyDict_SetItemString(d
,"LC_ICON", SWIG_FromInt((int)wxLC_ICON
));
33165 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON
));
33166 PyDict_SetItemString(d
,"LC_LIST", SWIG_FromInt((int)wxLC_LIST
));
33167 PyDict_SetItemString(d
,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT
));
33168 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP
));
33169 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT
));
33170 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE
));
33171 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL
));
33172 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS
));
33173 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER
));
33174 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER
));
33175 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL
));
33176 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING
));
33177 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING
));
33178 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE
));
33179 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN
));
33180 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT
));
33181 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE
));
33182 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT
));
33183 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE
));
33184 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA
));
33185 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM
));
33186 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH
));
33187 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT
));
33188 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE
));
33189 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED
));
33190 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED
));
33191 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED
));
33192 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT
));
33193 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED
));
33194 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED
));
33195 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE
));
33196 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED
));
33197 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE
));
33198 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE
));
33199 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW
));
33200 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE
));
33201 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON
));
33202 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL
));
33203 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT
));
33204 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON
));
33205 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT
));
33206 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT
));
33207 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM
));
33208 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE
));
33209 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL
));
33210 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW
));
33211 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT
));
33212 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT
));
33213 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT
));
33214 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT
));
33215 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP
));
33216 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID
));
33217 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT
));
33218 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT
));
33219 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE
));
33220 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER
));
33221 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE
));
33222 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER
));
33223 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS
));
33224 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON
));
33225 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL
));
33226 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP
));
33227 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN
));
33228 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT
));
33229 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT
));
33230 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
33231 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
33232 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
33233 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
33234 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
33235 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
33236 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
33237 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
33238 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
33239 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
33240 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
33241 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
33242 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
33243 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
33244 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
33245 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
33246 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
33247 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
33248 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
33249 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
33250 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
33251 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
33253 // Map renamed classes back to their common name for OOR
33254 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
33256 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
33257 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS
));
33258 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS
));
33259 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES
));
33260 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT
));
33261 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE
));
33262 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE
));
33263 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED
));
33264 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
33265 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS
));
33266 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT
));
33267 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES
));
33268 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT
));
33269 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE
));
33270 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS
));
33271 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS
));
33272 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS
));
33273 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal
));
33274 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected
));
33275 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded
));
33276 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded
));
33277 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max
));
33278 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE
));
33279 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW
));
33280 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE
));
33281 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON
));
33282 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON
));
33283 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT
));
33284 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL
));
33285 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT
));
33286 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON
));
33287 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT
));
33288 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT
));
33289 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART
));
33290 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART
));
33291 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM
));
33292 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
33293 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
33294 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
33295 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
33296 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
33297 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
33298 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
33299 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
33300 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
33301 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
33302 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
33303 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
33304 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
33305 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
33306 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
33307 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
33308 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
33309 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
33310 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
33311 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
33313 // Map renamed classes back to their common name for OOR
33314 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
33315 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
33317 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
33318 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY
));
33319 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST
));
33320 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS
));
33321 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL
));
33322 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS
));
33323 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP
));
33324 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP
));
33325 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
33326 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
33328 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");