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
);
903 wxPyEndBlockThreads(blocked
);
906 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
908 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
909 bool blocked
= wxPyBeginBlockThreads();
910 PyObject
* tup
= PyTuple_New(2);
911 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
912 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
913 wxPyEndBlockThreads(blocked
);
916 PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
917 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
918 bool blocked
= wxPyBeginBlockThreads();
919 PyObject
* tup
= PyTuple_New(2);
920 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
921 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
922 wxPyEndBlockThreads(blocked
);
925 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
927 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
928 bool blocked
= wxPyBeginBlockThreads();
929 wxRect
* r
= new wxRect(rect
);
930 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), True
);
931 wxPyEndBlockThreads(blocked
);
937 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
938 // C++ version of Python aware wxControl
939 class wxPyControl
: public wxControl
941 DECLARE_DYNAMIC_CLASS(wxPyControl
)
943 wxPyControl() : wxControl() {}
944 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
945 const wxPoint
& pos
= wxDefaultPosition
,
946 const wxSize
& size
= wxDefaultSize
,
948 const wxValidator
& validator
=wxDefaultValidator
,
949 const wxString
& name
= wxPyControlNameStr
)
950 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
952 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
954 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
955 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
956 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
957 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
959 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
960 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
961 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
963 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
964 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
966 DEC_PYCALLBACK__(InitDialog
);
967 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
968 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
969 DEC_PYCALLBACK_BOOL_(Validate
);
971 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
972 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
973 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
975 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
976 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
978 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
979 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
980 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
985 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
987 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
988 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
989 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
990 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
992 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
993 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
994 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
996 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
997 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
999 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
1000 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
1001 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
1002 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
1004 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
1005 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
1006 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
1008 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
1009 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
1011 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
1012 IMP_PYCALLBACK__COLOUR(wxPyControl
, wxControl
, ApplyParentThemeBackground
);
1013 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
1017 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
1019 #include <wx/generic/dragimgg.h>
1024 static int _wrap_ButtonNameStr_set(PyObject
*_val
) {
1025 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
1030 static PyObject
*_wrap_ButtonNameStr_get() {
1035 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1037 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1044 static PyObject
*_wrap_new_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1045 PyObject
*resultobj
;
1046 wxWindow
*arg1
= (wxWindow
*) 0 ;
1048 wxString
*arg3
= 0 ;
1049 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1050 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1051 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1052 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1053 long arg6
= (long) 0 ;
1054 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1055 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1056 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1057 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1059 bool temp3
= False
;
1062 bool temp8
= False
;
1063 PyObject
* obj0
= 0 ;
1064 PyObject
* obj1
= 0 ;
1065 PyObject
* obj2
= 0 ;
1066 PyObject
* obj3
= 0 ;
1067 PyObject
* obj4
= 0 ;
1068 PyObject
* obj5
= 0 ;
1069 PyObject
* obj6
= 0 ;
1070 PyObject
* obj7
= 0 ;
1072 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1078 arg2
= (int) SWIG_AsInt(obj1
);
1079 if (PyErr_Occurred()) SWIG_fail
;
1081 arg3
= wxString_in_helper(obj2
);
1082 if (arg3
== NULL
) SWIG_fail
;
1088 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1094 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1098 arg6
= (long) SWIG_AsLong(obj5
);
1099 if (PyErr_Occurred()) SWIG_fail
;
1102 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1103 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1106 PyErr_SetString(PyExc_TypeError
,"null reference");
1112 arg8
= wxString_in_helper(obj7
);
1113 if (arg8
== NULL
) SWIG_fail
;
1118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1119 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1121 wxPyEndAllowThreads(__tstate
);
1122 if (PyErr_Occurred()) SWIG_fail
;
1125 resultobj
= wxPyMake_wxObject(result
);
1149 static PyObject
*_wrap_new_PreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1150 PyObject
*resultobj
;
1156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
1158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1159 result
= (wxButton
*)new wxButton();
1161 wxPyEndAllowThreads(__tstate
);
1162 if (PyErr_Occurred()) SWIG_fail
;
1165 resultobj
= wxPyMake_wxObject(result
);
1173 static PyObject
*_wrap_Button_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1174 PyObject
*resultobj
;
1175 wxButton
*arg1
= (wxButton
*) 0 ;
1176 wxWindow
*arg2
= (wxWindow
*) 0 ;
1178 wxString
*arg4
= 0 ;
1179 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1180 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1181 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1182 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1183 long arg7
= (long) 0 ;
1184 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1185 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1186 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1187 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1189 bool temp4
= False
;
1192 bool temp9
= False
;
1193 PyObject
* obj0
= 0 ;
1194 PyObject
* obj1
= 0 ;
1195 PyObject
* obj2
= 0 ;
1196 PyObject
* obj3
= 0 ;
1197 PyObject
* obj4
= 0 ;
1198 PyObject
* obj5
= 0 ;
1199 PyObject
* obj6
= 0 ;
1200 PyObject
* obj7
= 0 ;
1201 PyObject
* obj8
= 0 ;
1203 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1209 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1211 arg3
= (int) SWIG_AsInt(obj2
);
1212 if (PyErr_Occurred()) SWIG_fail
;
1214 arg4
= wxString_in_helper(obj3
);
1215 if (arg4
== NULL
) SWIG_fail
;
1221 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1227 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1231 arg7
= (long) SWIG_AsLong(obj6
);
1232 if (PyErr_Occurred()) SWIG_fail
;
1235 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1236 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1239 PyErr_SetString(PyExc_TypeError
,"null reference");
1245 arg9
= wxString_in_helper(obj8
);
1246 if (arg9
== NULL
) SWIG_fail
;
1251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1252 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1254 wxPyEndAllowThreads(__tstate
);
1255 if (PyErr_Occurred()) SWIG_fail
;
1258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1282 static PyObject
*_wrap_Button_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1283 PyObject
*resultobj
;
1284 wxButton
*arg1
= (wxButton
*) 0 ;
1285 PyObject
* obj0
= 0 ;
1287 (char *) "self", NULL
1290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1295 (arg1
)->SetDefault();
1297 wxPyEndAllowThreads(__tstate
);
1298 if (PyErr_Occurred()) SWIG_fail
;
1300 Py_INCREF(Py_None
); resultobj
= Py_None
;
1307 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1308 PyObject
*resultobj
;
1314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1317 result
= wxButton::GetDefaultSize();
1319 wxPyEndAllowThreads(__tstate
);
1320 if (PyErr_Occurred()) SWIG_fail
;
1324 resultptr
= new wxSize((wxSize
&) result
);
1325 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
1333 static PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1334 PyObject
*resultobj
;
1335 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
1336 wxVisualAttributes result
;
1337 PyObject
* obj0
= 0 ;
1339 (char *) "variant", NULL
1342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
1344 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
1345 if (PyErr_Occurred()) SWIG_fail
;
1348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1349 result
= wxButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
1351 wxPyEndAllowThreads(__tstate
);
1352 if (PyErr_Occurred()) SWIG_fail
;
1355 wxVisualAttributes
* resultptr
;
1356 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
1357 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
1365 static PyObject
* Button_swigregister(PyObject
*self
, PyObject
*args
) {
1367 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1368 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1370 return Py_BuildValue((char *)"");
1372 static PyObject
*_wrap_new_BitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1373 PyObject
*resultobj
;
1374 wxWindow
*arg1
= (wxWindow
*) 0 ;
1376 wxBitmap
*arg3
= 0 ;
1377 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1378 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1379 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1380 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1381 long arg6
= (long) wxBU_AUTODRAW
;
1382 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1383 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1384 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1385 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1386 wxBitmapButton
*result
;
1389 bool temp8
= False
;
1390 PyObject
* obj0
= 0 ;
1391 PyObject
* obj1
= 0 ;
1392 PyObject
* obj2
= 0 ;
1393 PyObject
* obj3
= 0 ;
1394 PyObject
* obj4
= 0 ;
1395 PyObject
* obj5
= 0 ;
1396 PyObject
* obj6
= 0 ;
1397 PyObject
* obj7
= 0 ;
1399 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1405 arg2
= (int) SWIG_AsInt(obj1
);
1406 if (PyErr_Occurred()) SWIG_fail
;
1407 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
1408 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1411 PyErr_SetString(PyExc_TypeError
,"null reference");
1417 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1423 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1427 arg6
= (long) SWIG_AsLong(obj5
);
1428 if (PyErr_Occurred()) SWIG_fail
;
1431 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1432 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1435 PyErr_SetString(PyExc_TypeError
,"null reference");
1441 arg8
= wxString_in_helper(obj7
);
1442 if (arg8
== NULL
) SWIG_fail
;
1447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1448 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1450 wxPyEndAllowThreads(__tstate
);
1451 if (PyErr_Occurred()) SWIG_fail
;
1454 resultobj
= wxPyMake_wxObject(result
);
1470 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1471 PyObject
*resultobj
;
1472 wxBitmapButton
*result
;
1477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1480 result
= (wxBitmapButton
*)new wxBitmapButton();
1482 wxPyEndAllowThreads(__tstate
);
1483 if (PyErr_Occurred()) SWIG_fail
;
1486 resultobj
= wxPyMake_wxObject(result
);
1494 static PyObject
*_wrap_BitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1495 PyObject
*resultobj
;
1496 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1497 wxWindow
*arg2
= (wxWindow
*) 0 ;
1499 wxBitmap
*arg4
= 0 ;
1500 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1501 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1502 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1503 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1504 long arg7
= (long) wxBU_AUTODRAW
;
1505 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1506 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1507 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1508 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1512 bool temp9
= False
;
1513 PyObject
* obj0
= 0 ;
1514 PyObject
* obj1
= 0 ;
1515 PyObject
* obj2
= 0 ;
1516 PyObject
* obj3
= 0 ;
1517 PyObject
* obj4
= 0 ;
1518 PyObject
* obj5
= 0 ;
1519 PyObject
* obj6
= 0 ;
1520 PyObject
* obj7
= 0 ;
1521 PyObject
* obj8
= 0 ;
1523 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1529 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1531 arg3
= (int) SWIG_AsInt(obj2
);
1532 if (PyErr_Occurred()) SWIG_fail
;
1533 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
1534 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1537 PyErr_SetString(PyExc_TypeError
,"null reference");
1543 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1549 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1553 arg7
= (long) SWIG_AsLong(obj6
);
1554 if (PyErr_Occurred()) SWIG_fail
;
1557 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1558 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1561 PyErr_SetString(PyExc_TypeError
,"null reference");
1567 arg9
= wxString_in_helper(obj8
);
1568 if (arg9
== NULL
) SWIG_fail
;
1573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1574 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1576 wxPyEndAllowThreads(__tstate
);
1577 if (PyErr_Occurred()) SWIG_fail
;
1580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1596 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1597 PyObject
*resultobj
;
1598 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1600 PyObject
* obj0
= 0 ;
1602 (char *) "self", NULL
1605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1610 result
= (arg1
)->GetBitmapLabel();
1612 wxPyEndAllowThreads(__tstate
);
1613 if (PyErr_Occurred()) SWIG_fail
;
1616 wxBitmap
* resultptr
;
1617 resultptr
= new wxBitmap((wxBitmap
&) result
);
1618 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1626 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1627 PyObject
*resultobj
;
1628 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1630 PyObject
* obj0
= 0 ;
1632 (char *) "self", NULL
1635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1640 result
= (arg1
)->GetBitmapDisabled();
1642 wxPyEndAllowThreads(__tstate
);
1643 if (PyErr_Occurred()) SWIG_fail
;
1646 wxBitmap
* resultptr
;
1647 resultptr
= new wxBitmap((wxBitmap
&) result
);
1648 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1656 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1657 PyObject
*resultobj
;
1658 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1660 PyObject
* obj0
= 0 ;
1662 (char *) "self", NULL
1665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1670 result
= (arg1
)->GetBitmapFocus();
1672 wxPyEndAllowThreads(__tstate
);
1673 if (PyErr_Occurred()) SWIG_fail
;
1676 wxBitmap
* resultptr
;
1677 resultptr
= new wxBitmap((wxBitmap
&) result
);
1678 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1686 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1687 PyObject
*resultobj
;
1688 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1690 PyObject
* obj0
= 0 ;
1692 (char *) "self", NULL
1695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1700 result
= (arg1
)->GetBitmapSelected();
1702 wxPyEndAllowThreads(__tstate
);
1703 if (PyErr_Occurred()) SWIG_fail
;
1706 wxBitmap
* resultptr
;
1707 resultptr
= new wxBitmap((wxBitmap
&) result
);
1708 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1716 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1717 PyObject
*resultobj
;
1718 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1719 wxBitmap
*arg2
= 0 ;
1720 PyObject
* obj0
= 0 ;
1721 PyObject
* obj1
= 0 ;
1723 (char *) "self",(char *) "bitmap", NULL
1726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1729 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1730 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1733 PyErr_SetString(PyExc_TypeError
,"null reference");
1737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1738 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1740 wxPyEndAllowThreads(__tstate
);
1741 if (PyErr_Occurred()) SWIG_fail
;
1743 Py_INCREF(Py_None
); resultobj
= Py_None
;
1750 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1751 PyObject
*resultobj
;
1752 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1753 wxBitmap
*arg2
= 0 ;
1754 PyObject
* obj0
= 0 ;
1755 PyObject
* obj1
= 0 ;
1757 (char *) "self",(char *) "bitmap", NULL
1760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1763 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1764 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1767 PyErr_SetString(PyExc_TypeError
,"null reference");
1771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1772 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1774 wxPyEndAllowThreads(__tstate
);
1775 if (PyErr_Occurred()) SWIG_fail
;
1777 Py_INCREF(Py_None
); resultobj
= Py_None
;
1784 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1785 PyObject
*resultobj
;
1786 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1787 wxBitmap
*arg2
= 0 ;
1788 PyObject
* obj0
= 0 ;
1789 PyObject
* obj1
= 0 ;
1791 (char *) "self",(char *) "bitmap", NULL
1794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1797 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1798 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1801 PyErr_SetString(PyExc_TypeError
,"null reference");
1805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1806 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1808 wxPyEndAllowThreads(__tstate
);
1809 if (PyErr_Occurred()) SWIG_fail
;
1811 Py_INCREF(Py_None
); resultobj
= Py_None
;
1818 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1819 PyObject
*resultobj
;
1820 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1821 wxBitmap
*arg2
= 0 ;
1822 PyObject
* obj0
= 0 ;
1823 PyObject
* obj1
= 0 ;
1825 (char *) "self",(char *) "bitmap", NULL
1828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1831 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1832 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1835 PyErr_SetString(PyExc_TypeError
,"null reference");
1839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1840 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1842 wxPyEndAllowThreads(__tstate
);
1843 if (PyErr_Occurred()) SWIG_fail
;
1845 Py_INCREF(Py_None
); resultobj
= Py_None
;
1852 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1853 PyObject
*resultobj
;
1854 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1857 PyObject
* obj0
= 0 ;
1858 PyObject
* obj1
= 0 ;
1859 PyObject
* obj2
= 0 ;
1861 (char *) "self",(char *) "x",(char *) "y", NULL
1864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1867 arg2
= (int) SWIG_AsInt(obj1
);
1868 if (PyErr_Occurred()) SWIG_fail
;
1869 arg3
= (int) SWIG_AsInt(obj2
);
1870 if (PyErr_Occurred()) SWIG_fail
;
1872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1873 (arg1
)->SetMargins(arg2
,arg3
);
1875 wxPyEndAllowThreads(__tstate
);
1876 if (PyErr_Occurred()) SWIG_fail
;
1878 Py_INCREF(Py_None
); resultobj
= Py_None
;
1885 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1886 PyObject
*resultobj
;
1887 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1889 PyObject
* obj0
= 0 ;
1891 (char *) "self", NULL
1894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1899 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1901 wxPyEndAllowThreads(__tstate
);
1902 if (PyErr_Occurred()) SWIG_fail
;
1904 resultobj
= SWIG_FromInt((int)result
);
1911 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1912 PyObject
*resultobj
;
1913 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1915 PyObject
* obj0
= 0 ;
1917 (char *) "self", NULL
1920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1925 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1927 wxPyEndAllowThreads(__tstate
);
1928 if (PyErr_Occurred()) SWIG_fail
;
1930 resultobj
= SWIG_FromInt((int)result
);
1937 static PyObject
* BitmapButton_swigregister(PyObject
*self
, PyObject
*args
) {
1939 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1940 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1942 return Py_BuildValue((char *)"");
1944 static int _wrap_CheckBoxNameStr_set(PyObject
*_val
) {
1945 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
1950 static PyObject
*_wrap_CheckBoxNameStr_get() {
1955 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1957 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1964 static PyObject
*_wrap_new_CheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1965 PyObject
*resultobj
;
1966 wxWindow
*arg1
= (wxWindow
*) 0 ;
1968 wxString
*arg3
= 0 ;
1969 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1970 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1971 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1972 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1973 long arg6
= (long) 0 ;
1974 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1975 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1976 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
1977 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1979 bool temp3
= False
;
1982 bool temp8
= False
;
1983 PyObject
* obj0
= 0 ;
1984 PyObject
* obj1
= 0 ;
1985 PyObject
* obj2
= 0 ;
1986 PyObject
* obj3
= 0 ;
1987 PyObject
* obj4
= 0 ;
1988 PyObject
* obj5
= 0 ;
1989 PyObject
* obj6
= 0 ;
1990 PyObject
* obj7
= 0 ;
1992 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1998 arg2
= (int) SWIG_AsInt(obj1
);
1999 if (PyErr_Occurred()) SWIG_fail
;
2001 arg3
= wxString_in_helper(obj2
);
2002 if (arg3
== NULL
) SWIG_fail
;
2008 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2014 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2018 arg6
= (long) SWIG_AsLong(obj5
);
2019 if (PyErr_Occurred()) SWIG_fail
;
2022 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2023 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2026 PyErr_SetString(PyExc_TypeError
,"null reference");
2032 arg8
= wxString_in_helper(obj7
);
2033 if (arg8
== NULL
) SWIG_fail
;
2038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2039 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2041 wxPyEndAllowThreads(__tstate
);
2042 if (PyErr_Occurred()) SWIG_fail
;
2044 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2067 static PyObject
*_wrap_new_PreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2068 PyObject
*resultobj
;
2074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
2076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2077 result
= (wxCheckBox
*)new wxCheckBox();
2079 wxPyEndAllowThreads(__tstate
);
2080 if (PyErr_Occurred()) SWIG_fail
;
2082 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2089 static PyObject
*_wrap_CheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2090 PyObject
*resultobj
;
2091 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2092 wxWindow
*arg2
= (wxWindow
*) 0 ;
2094 wxString
*arg4
= 0 ;
2095 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2096 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2097 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2098 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2099 long arg7
= (long) 0 ;
2100 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2101 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2102 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
2103 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2105 bool temp4
= False
;
2108 bool temp9
= False
;
2109 PyObject
* obj0
= 0 ;
2110 PyObject
* obj1
= 0 ;
2111 PyObject
* obj2
= 0 ;
2112 PyObject
* obj3
= 0 ;
2113 PyObject
* obj4
= 0 ;
2114 PyObject
* obj5
= 0 ;
2115 PyObject
* obj6
= 0 ;
2116 PyObject
* obj7
= 0 ;
2117 PyObject
* obj8
= 0 ;
2119 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2125 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2127 arg3
= (int) SWIG_AsInt(obj2
);
2128 if (PyErr_Occurred()) SWIG_fail
;
2130 arg4
= wxString_in_helper(obj3
);
2131 if (arg4
== NULL
) SWIG_fail
;
2137 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2143 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2147 arg7
= (long) SWIG_AsLong(obj6
);
2148 if (PyErr_Occurred()) SWIG_fail
;
2151 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2152 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2155 PyErr_SetString(PyExc_TypeError
,"null reference");
2161 arg9
= wxString_in_helper(obj8
);
2162 if (arg9
== NULL
) SWIG_fail
;
2167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2168 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2170 wxPyEndAllowThreads(__tstate
);
2171 if (PyErr_Occurred()) SWIG_fail
;
2174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2198 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2199 PyObject
*resultobj
;
2200 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2202 PyObject
* obj0
= 0 ;
2204 (char *) "self", NULL
2207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
2208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2212 result
= (bool)(arg1
)->GetValue();
2214 wxPyEndAllowThreads(__tstate
);
2215 if (PyErr_Occurred()) SWIG_fail
;
2218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2226 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2227 PyObject
*resultobj
;
2228 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2230 PyObject
* obj0
= 0 ;
2232 (char *) "self", NULL
2235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2240 result
= (bool)(arg1
)->IsChecked();
2242 wxPyEndAllowThreads(__tstate
);
2243 if (PyErr_Occurred()) SWIG_fail
;
2246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2254 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2255 PyObject
*resultobj
;
2256 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2258 PyObject
* obj0
= 0 ;
2259 PyObject
* obj1
= 0 ;
2261 (char *) "self",(char *) "state", NULL
2264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2267 arg2
= (bool const) SWIG_AsBool(obj1
);
2268 if (PyErr_Occurred()) SWIG_fail
;
2270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2271 (arg1
)->SetValue(arg2
);
2273 wxPyEndAllowThreads(__tstate
);
2274 if (PyErr_Occurred()) SWIG_fail
;
2276 Py_INCREF(Py_None
); resultobj
= Py_None
;
2283 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2284 PyObject
*resultobj
;
2285 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2287 PyObject
* obj0
= 0 ;
2289 (char *) "self", NULL
2292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2297 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2299 wxPyEndAllowThreads(__tstate
);
2300 if (PyErr_Occurred()) SWIG_fail
;
2302 resultobj
= SWIG_FromInt((int)result
);
2309 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2310 PyObject
*resultobj
;
2311 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2313 PyObject
* obj0
= 0 ;
2314 PyObject
* obj1
= 0 ;
2316 (char *) "self",(char *) "state", NULL
2319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2322 arg2
= (wxCheckBoxState
) SWIG_AsInt(obj1
);
2323 if (PyErr_Occurred()) SWIG_fail
;
2325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2326 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2328 wxPyEndAllowThreads(__tstate
);
2329 if (PyErr_Occurred()) SWIG_fail
;
2331 Py_INCREF(Py_None
); resultobj
= Py_None
;
2338 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2339 PyObject
*resultobj
;
2340 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2342 PyObject
* obj0
= 0 ;
2344 (char *) "self", NULL
2347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2352 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2354 wxPyEndAllowThreads(__tstate
);
2355 if (PyErr_Occurred()) SWIG_fail
;
2358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2366 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2367 PyObject
*resultobj
;
2368 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2370 PyObject
* obj0
= 0 ;
2372 (char *) "self", NULL
2375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2380 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2382 wxPyEndAllowThreads(__tstate
);
2383 if (PyErr_Occurred()) SWIG_fail
;
2386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2394 static PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2395 PyObject
*resultobj
;
2396 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2397 wxVisualAttributes result
;
2398 PyObject
* obj0
= 0 ;
2400 (char *) "variant", NULL
2403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2405 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2406 if (PyErr_Occurred()) SWIG_fail
;
2409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2410 result
= wxCheckBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2412 wxPyEndAllowThreads(__tstate
);
2413 if (PyErr_Occurred()) SWIG_fail
;
2416 wxVisualAttributes
* resultptr
;
2417 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2418 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2426 static PyObject
* CheckBox_swigregister(PyObject
*self
, PyObject
*args
) {
2428 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2429 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2431 return Py_BuildValue((char *)"");
2433 static int _wrap_ChoiceNameStr_set(PyObject
*_val
) {
2434 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2439 static PyObject
*_wrap_ChoiceNameStr_get() {
2444 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2446 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2453 static PyObject
*_wrap_new_Choice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2454 PyObject
*resultobj
;
2455 wxWindow
*arg1
= (wxWindow
*) 0 ;
2456 int arg2
= (int) -1 ;
2457 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2458 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2459 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2460 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2461 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
2462 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
2463 long arg6
= (long) 0 ;
2464 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2465 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2466 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
2467 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2471 bool temp5
= False
;
2472 bool temp8
= False
;
2473 PyObject
* obj0
= 0 ;
2474 PyObject
* obj1
= 0 ;
2475 PyObject
* obj2
= 0 ;
2476 PyObject
* obj3
= 0 ;
2477 PyObject
* obj4
= 0 ;
2478 PyObject
* obj5
= 0 ;
2479 PyObject
* obj6
= 0 ;
2480 PyObject
* obj7
= 0 ;
2482 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2489 arg2
= (int) SWIG_AsInt(obj1
);
2490 if (PyErr_Occurred()) SWIG_fail
;
2495 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2501 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2506 if (! PySequence_Check(obj4
)) {
2507 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2510 arg5
= new wxArrayString
;
2512 int i
, len
=PySequence_Length(obj4
);
2513 for (i
=0; i
<len
; i
++) {
2514 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2516 PyObject
* str
= PyObject_Unicode(item
);
2518 PyObject
* str
= PyObject_Str(item
);
2520 if (PyErr_Occurred()) SWIG_fail
;
2521 arg5
->Add(Py2wxString(str
));
2528 arg6
= (long) SWIG_AsLong(obj5
);
2529 if (PyErr_Occurred()) SWIG_fail
;
2532 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2533 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2536 PyErr_SetString(PyExc_TypeError
,"null reference");
2542 arg8
= wxString_in_helper(obj7
);
2543 if (arg8
== NULL
) SWIG_fail
;
2548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2549 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2551 wxPyEndAllowThreads(__tstate
);
2552 if (PyErr_Occurred()) SWIG_fail
;
2554 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2556 if (temp5
) delete arg5
;
2565 if (temp5
) delete arg5
;
2575 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2576 PyObject
*resultobj
;
2582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2585 result
= (wxChoice
*)new wxChoice();
2587 wxPyEndAllowThreads(__tstate
);
2588 if (PyErr_Occurred()) SWIG_fail
;
2590 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2597 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2598 PyObject
*resultobj
;
2599 wxChoice
*arg1
= (wxChoice
*) 0 ;
2600 wxWindow
*arg2
= (wxWindow
*) 0 ;
2601 int arg3
= (int) -1 ;
2602 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2603 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2604 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2605 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2606 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2607 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2608 long arg7
= (long) 0 ;
2609 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2610 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2611 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2612 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2616 bool temp6
= False
;
2617 bool temp9
= False
;
2618 PyObject
* obj0
= 0 ;
2619 PyObject
* obj1
= 0 ;
2620 PyObject
* obj2
= 0 ;
2621 PyObject
* obj3
= 0 ;
2622 PyObject
* obj4
= 0 ;
2623 PyObject
* obj5
= 0 ;
2624 PyObject
* obj6
= 0 ;
2625 PyObject
* obj7
= 0 ;
2626 PyObject
* obj8
= 0 ;
2628 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2634 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2637 arg3
= (int) SWIG_AsInt(obj2
);
2638 if (PyErr_Occurred()) SWIG_fail
;
2643 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2649 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2654 if (! PySequence_Check(obj5
)) {
2655 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2658 arg6
= new wxArrayString
;
2660 int i
, len
=PySequence_Length(obj5
);
2661 for (i
=0; i
<len
; i
++) {
2662 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2664 PyObject
* str
= PyObject_Unicode(item
);
2666 PyObject
* str
= PyObject_Str(item
);
2668 if (PyErr_Occurred()) SWIG_fail
;
2669 arg6
->Add(Py2wxString(str
));
2676 arg7
= (long) SWIG_AsLong(obj6
);
2677 if (PyErr_Occurred()) SWIG_fail
;
2680 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2681 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2684 PyErr_SetString(PyExc_TypeError
,"null reference");
2690 arg9
= wxString_in_helper(obj8
);
2691 if (arg9
== NULL
) SWIG_fail
;
2696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2697 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2699 wxPyEndAllowThreads(__tstate
);
2700 if (PyErr_Occurred()) SWIG_fail
;
2703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2706 if (temp6
) delete arg6
;
2715 if (temp6
) delete arg6
;
2725 static PyObject
*_wrap_Choice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2726 PyObject
*resultobj
;
2727 wxChoice
*arg1
= (wxChoice
*) 0 ;
2729 PyObject
* obj0
= 0 ;
2730 PyObject
* obj1
= 0 ;
2732 (char *) "self",(char *) "n", NULL
2735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2738 arg2
= (int const) SWIG_AsInt(obj1
);
2739 if (PyErr_Occurred()) SWIG_fail
;
2741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2742 (arg1
)->SetSelection(arg2
);
2744 wxPyEndAllowThreads(__tstate
);
2745 if (PyErr_Occurred()) SWIG_fail
;
2747 Py_INCREF(Py_None
); resultobj
= Py_None
;
2754 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2755 PyObject
*resultobj
;
2756 wxChoice
*arg1
= (wxChoice
*) 0 ;
2757 wxString
*arg2
= 0 ;
2759 bool temp2
= False
;
2760 PyObject
* obj0
= 0 ;
2761 PyObject
* obj1
= 0 ;
2763 (char *) "self",(char *) "string", NULL
2766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2770 arg2
= wxString_in_helper(obj1
);
2771 if (arg2
== NULL
) SWIG_fail
;
2775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2776 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
2778 wxPyEndAllowThreads(__tstate
);
2779 if (PyErr_Occurred()) SWIG_fail
;
2782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2798 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2799 PyObject
*resultobj
;
2800 wxChoice
*arg1
= (wxChoice
*) 0 ;
2802 wxString
*arg3
= 0 ;
2803 bool temp3
= False
;
2804 PyObject
* obj0
= 0 ;
2805 PyObject
* obj1
= 0 ;
2806 PyObject
* obj2
= 0 ;
2808 (char *) "self",(char *) "n",(char *) "string", NULL
2811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2814 arg2
= (int) SWIG_AsInt(obj1
);
2815 if (PyErr_Occurred()) SWIG_fail
;
2817 arg3
= wxString_in_helper(obj2
);
2818 if (arg3
== NULL
) SWIG_fail
;
2822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2823 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2825 wxPyEndAllowThreads(__tstate
);
2826 if (PyErr_Occurred()) SWIG_fail
;
2828 Py_INCREF(Py_None
); resultobj
= Py_None
;
2843 static PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2844 PyObject
*resultobj
;
2845 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2846 wxVisualAttributes result
;
2847 PyObject
* obj0
= 0 ;
2849 (char *) "variant", NULL
2852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2854 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2855 if (PyErr_Occurred()) SWIG_fail
;
2858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2859 result
= wxChoice::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2861 wxPyEndAllowThreads(__tstate
);
2862 if (PyErr_Occurred()) SWIG_fail
;
2865 wxVisualAttributes
* resultptr
;
2866 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2867 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2875 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2877 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2878 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2880 return Py_BuildValue((char *)"");
2882 static int _wrap_ComboBoxNameStr_set(PyObject
*_val
) {
2883 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2888 static PyObject
*_wrap_ComboBoxNameStr_get() {
2893 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2895 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2902 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2903 PyObject
*resultobj
;
2904 wxWindow
*arg1
= (wxWindow
*) 0 ;
2905 int arg2
= (int) -1 ;
2906 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2907 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2908 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2909 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2910 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2911 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2912 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2913 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2914 long arg7
= (long) 0 ;
2915 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2916 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2917 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
2918 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2920 bool temp3
= False
;
2923 bool temp6
= False
;
2924 bool temp9
= False
;
2925 PyObject
* obj0
= 0 ;
2926 PyObject
* obj1
= 0 ;
2927 PyObject
* obj2
= 0 ;
2928 PyObject
* obj3
= 0 ;
2929 PyObject
* obj4
= 0 ;
2930 PyObject
* obj5
= 0 ;
2931 PyObject
* obj6
= 0 ;
2932 PyObject
* obj7
= 0 ;
2933 PyObject
* obj8
= 0 ;
2935 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2942 arg2
= (int) SWIG_AsInt(obj1
);
2943 if (PyErr_Occurred()) SWIG_fail
;
2947 arg3
= wxString_in_helper(obj2
);
2948 if (arg3
== NULL
) SWIG_fail
;
2955 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2961 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2966 if (! PySequence_Check(obj5
)) {
2967 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2970 arg6
= new wxArrayString
;
2972 int i
, len
=PySequence_Length(obj5
);
2973 for (i
=0; i
<len
; i
++) {
2974 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2976 PyObject
* str
= PyObject_Unicode(item
);
2978 PyObject
* str
= PyObject_Str(item
);
2980 if (PyErr_Occurred()) SWIG_fail
;
2981 arg6
->Add(Py2wxString(str
));
2988 arg7
= (long) SWIG_AsLong(obj6
);
2989 if (PyErr_Occurred()) SWIG_fail
;
2992 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2993 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2996 PyErr_SetString(PyExc_TypeError
,"null reference");
3002 arg9
= wxString_in_helper(obj8
);
3003 if (arg9
== NULL
) SWIG_fail
;
3008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3009 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
);
3011 wxPyEndAllowThreads(__tstate
);
3012 if (PyErr_Occurred()) SWIG_fail
;
3014 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3020 if (temp6
) delete arg6
;
3033 if (temp6
) delete arg6
;
3043 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3044 PyObject
*resultobj
;
3050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
3052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3053 result
= (wxComboBox
*)new wxComboBox();
3055 wxPyEndAllowThreads(__tstate
);
3056 if (PyErr_Occurred()) SWIG_fail
;
3058 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3065 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3066 PyObject
*resultobj
;
3067 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3068 wxWindow
*arg2
= (wxWindow
*) 0 ;
3069 int arg3
= (int) -1 ;
3070 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3071 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3072 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3073 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3074 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3075 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3076 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
3077 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
3078 long arg8
= (long) 0 ;
3079 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
3080 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
3081 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
3082 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
3084 bool temp4
= False
;
3087 bool temp7
= False
;
3088 bool temp10
= False
;
3089 PyObject
* obj0
= 0 ;
3090 PyObject
* obj1
= 0 ;
3091 PyObject
* obj2
= 0 ;
3092 PyObject
* obj3
= 0 ;
3093 PyObject
* obj4
= 0 ;
3094 PyObject
* obj5
= 0 ;
3095 PyObject
* obj6
= 0 ;
3096 PyObject
* obj7
= 0 ;
3097 PyObject
* obj8
= 0 ;
3098 PyObject
* obj9
= 0 ;
3100 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
3104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3106 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3109 arg3
= (int) SWIG_AsInt(obj2
);
3110 if (PyErr_Occurred()) SWIG_fail
;
3114 arg4
= wxString_in_helper(obj3
);
3115 if (arg4
== NULL
) SWIG_fail
;
3122 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3128 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3133 if (! PySequence_Check(obj6
)) {
3134 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3137 arg7
= new wxArrayString
;
3139 int i
, len
=PySequence_Length(obj6
);
3140 for (i
=0; i
<len
; i
++) {
3141 PyObject
* item
= PySequence_GetItem(obj6
, i
);
3143 PyObject
* str
= PyObject_Unicode(item
);
3145 PyObject
* str
= PyObject_Str(item
);
3147 if (PyErr_Occurred()) SWIG_fail
;
3148 arg7
->Add(Py2wxString(str
));
3155 arg8
= (long) SWIG_AsLong(obj7
);
3156 if (PyErr_Occurred()) SWIG_fail
;
3159 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
3160 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3163 PyErr_SetString(PyExc_TypeError
,"null reference");
3169 arg10
= wxString_in_helper(obj9
);
3170 if (arg10
== NULL
) SWIG_fail
;
3175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3176 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
);
3178 wxPyEndAllowThreads(__tstate
);
3179 if (PyErr_Occurred()) SWIG_fail
;
3182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3189 if (temp7
) delete arg7
;
3202 if (temp7
) delete arg7
;
3212 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3213 PyObject
*resultobj
;
3214 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3216 PyObject
* obj0
= 0 ;
3218 (char *) "self", NULL
3221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
3222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3226 result
= ((wxComboBox
const *)arg1
)->GetValue();
3228 wxPyEndAllowThreads(__tstate
);
3229 if (PyErr_Occurred()) SWIG_fail
;
3233 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3235 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3244 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3245 PyObject
*resultobj
;
3246 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3247 wxString
*arg2
= 0 ;
3248 bool temp2
= False
;
3249 PyObject
* obj0
= 0 ;
3250 PyObject
* obj1
= 0 ;
3252 (char *) "self",(char *) "value", NULL
3255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3259 arg2
= wxString_in_helper(obj1
);
3260 if (arg2
== NULL
) SWIG_fail
;
3264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3265 (arg1
)->SetValue((wxString
const &)*arg2
);
3267 wxPyEndAllowThreads(__tstate
);
3268 if (PyErr_Occurred()) SWIG_fail
;
3270 Py_INCREF(Py_None
); resultobj
= Py_None
;
3285 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3286 PyObject
*resultobj
;
3287 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3288 PyObject
* obj0
= 0 ;
3290 (char *) "self", NULL
3293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
3294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3300 wxPyEndAllowThreads(__tstate
);
3301 if (PyErr_Occurred()) SWIG_fail
;
3303 Py_INCREF(Py_None
); resultobj
= Py_None
;
3310 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3311 PyObject
*resultobj
;
3312 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3313 PyObject
* obj0
= 0 ;
3315 (char *) "self", NULL
3318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3325 wxPyEndAllowThreads(__tstate
);
3326 if (PyErr_Occurred()) SWIG_fail
;
3328 Py_INCREF(Py_None
); resultobj
= Py_None
;
3335 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3336 PyObject
*resultobj
;
3337 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3338 PyObject
* obj0
= 0 ;
3340 (char *) "self", NULL
3343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3350 wxPyEndAllowThreads(__tstate
);
3351 if (PyErr_Occurred()) SWIG_fail
;
3353 Py_INCREF(Py_None
); resultobj
= Py_None
;
3360 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3361 PyObject
*resultobj
;
3362 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3364 PyObject
* obj0
= 0 ;
3365 PyObject
* obj1
= 0 ;
3367 (char *) "self",(char *) "pos", NULL
3370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3373 arg2
= (long) SWIG_AsLong(obj1
);
3374 if (PyErr_Occurred()) SWIG_fail
;
3376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3377 (arg1
)->SetInsertionPoint(arg2
);
3379 wxPyEndAllowThreads(__tstate
);
3380 if (PyErr_Occurred()) SWIG_fail
;
3382 Py_INCREF(Py_None
); resultobj
= Py_None
;
3389 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3390 PyObject
*resultobj
;
3391 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3393 PyObject
* obj0
= 0 ;
3395 (char *) "self", NULL
3398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3403 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3405 wxPyEndAllowThreads(__tstate
);
3406 if (PyErr_Occurred()) SWIG_fail
;
3408 resultobj
= SWIG_FromLong((long)result
);
3415 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3416 PyObject
*resultobj
;
3417 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3419 PyObject
* obj0
= 0 ;
3421 (char *) "self", NULL
3424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3429 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3431 wxPyEndAllowThreads(__tstate
);
3432 if (PyErr_Occurred()) SWIG_fail
;
3434 resultobj
= SWIG_FromLong((long)result
);
3441 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3442 PyObject
*resultobj
;
3443 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3446 wxString
*arg4
= 0 ;
3447 bool temp4
= False
;
3448 PyObject
* obj0
= 0 ;
3449 PyObject
* obj1
= 0 ;
3450 PyObject
* obj2
= 0 ;
3451 PyObject
* obj3
= 0 ;
3453 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3459 arg2
= (long) SWIG_AsLong(obj1
);
3460 if (PyErr_Occurred()) SWIG_fail
;
3461 arg3
= (long) SWIG_AsLong(obj2
);
3462 if (PyErr_Occurred()) SWIG_fail
;
3464 arg4
= wxString_in_helper(obj3
);
3465 if (arg4
== NULL
) SWIG_fail
;
3469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3470 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3472 wxPyEndAllowThreads(__tstate
);
3473 if (PyErr_Occurred()) SWIG_fail
;
3475 Py_INCREF(Py_None
); resultobj
= Py_None
;
3490 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3491 PyObject
*resultobj
;
3492 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3494 PyObject
* obj0
= 0 ;
3495 PyObject
* obj1
= 0 ;
3497 (char *) "self",(char *) "n", NULL
3500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3503 arg2
= (int) SWIG_AsInt(obj1
);
3504 if (PyErr_Occurred()) SWIG_fail
;
3506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3507 (arg1
)->SetSelection(arg2
);
3509 wxPyEndAllowThreads(__tstate
);
3510 if (PyErr_Occurred()) SWIG_fail
;
3512 Py_INCREF(Py_None
); resultobj
= Py_None
;
3519 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3520 PyObject
*resultobj
;
3521 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3524 PyObject
* obj0
= 0 ;
3525 PyObject
* obj1
= 0 ;
3526 PyObject
* obj2
= 0 ;
3528 (char *) "self",(char *) "from",(char *) "to", NULL
3531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3534 arg2
= (long) SWIG_AsLong(obj1
);
3535 if (PyErr_Occurred()) SWIG_fail
;
3536 arg3
= (long) SWIG_AsLong(obj2
);
3537 if (PyErr_Occurred()) SWIG_fail
;
3539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3540 (arg1
)->SetSelection(arg2
,arg3
);
3542 wxPyEndAllowThreads(__tstate
);
3543 if (PyErr_Occurred()) SWIG_fail
;
3545 Py_INCREF(Py_None
); resultobj
= Py_None
;
3552 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3553 PyObject
*resultobj
;
3554 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3555 wxString
*arg2
= 0 ;
3557 bool temp2
= False
;
3558 PyObject
* obj0
= 0 ;
3559 PyObject
* obj1
= 0 ;
3561 (char *) "self",(char *) "string", NULL
3564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3568 arg2
= wxString_in_helper(obj1
);
3569 if (arg2
== NULL
) SWIG_fail
;
3573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3574 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
3576 wxPyEndAllowThreads(__tstate
);
3577 if (PyErr_Occurred()) SWIG_fail
;
3580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3596 static PyObject
*_wrap_ComboBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3597 PyObject
*resultobj
;
3598 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3600 wxString
*arg3
= 0 ;
3601 bool temp3
= False
;
3602 PyObject
* obj0
= 0 ;
3603 PyObject
* obj1
= 0 ;
3604 PyObject
* obj2
= 0 ;
3606 (char *) "self",(char *) "n",(char *) "string", NULL
3609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3612 arg2
= (int) SWIG_AsInt(obj1
);
3613 if (PyErr_Occurred()) SWIG_fail
;
3615 arg3
= wxString_in_helper(obj2
);
3616 if (arg3
== NULL
) SWIG_fail
;
3620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3621 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
3623 wxPyEndAllowThreads(__tstate
);
3624 if (PyErr_Occurred()) SWIG_fail
;
3626 Py_INCREF(Py_None
); resultobj
= Py_None
;
3641 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3642 PyObject
*resultobj
;
3643 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3645 PyObject
* obj0
= 0 ;
3646 PyObject
* obj1
= 0 ;
3648 (char *) "self",(char *) "editable", NULL
3651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3654 arg2
= (bool) SWIG_AsBool(obj1
);
3655 if (PyErr_Occurred()) SWIG_fail
;
3657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3658 (arg1
)->SetEditable(arg2
);
3660 wxPyEndAllowThreads(__tstate
);
3661 if (PyErr_Occurred()) SWIG_fail
;
3663 Py_INCREF(Py_None
); resultobj
= Py_None
;
3670 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3671 PyObject
*resultobj
;
3672 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3673 PyObject
* obj0
= 0 ;
3675 (char *) "self", NULL
3678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3683 (arg1
)->SetInsertionPointEnd();
3685 wxPyEndAllowThreads(__tstate
);
3686 if (PyErr_Occurred()) SWIG_fail
;
3688 Py_INCREF(Py_None
); resultobj
= Py_None
;
3695 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3696 PyObject
*resultobj
;
3697 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3700 PyObject
* obj0
= 0 ;
3701 PyObject
* obj1
= 0 ;
3702 PyObject
* obj2
= 0 ;
3704 (char *) "self",(char *) "from",(char *) "to", NULL
3707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3710 arg2
= (long) SWIG_AsLong(obj1
);
3711 if (PyErr_Occurred()) SWIG_fail
;
3712 arg3
= (long) SWIG_AsLong(obj2
);
3713 if (PyErr_Occurred()) SWIG_fail
;
3715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3716 (arg1
)->Remove(arg2
,arg3
);
3718 wxPyEndAllowThreads(__tstate
);
3719 if (PyErr_Occurred()) SWIG_fail
;
3721 Py_INCREF(Py_None
); resultobj
= Py_None
;
3728 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3729 PyObject
*resultobj
;
3730 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
3731 wxVisualAttributes result
;
3732 PyObject
* obj0
= 0 ;
3734 (char *) "variant", NULL
3737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3739 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
3740 if (PyErr_Occurred()) SWIG_fail
;
3743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3744 result
= wxComboBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3746 wxPyEndAllowThreads(__tstate
);
3747 if (PyErr_Occurred()) SWIG_fail
;
3750 wxVisualAttributes
* resultptr
;
3751 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
3752 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3760 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
3762 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3763 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3765 return Py_BuildValue((char *)"");
3767 static int _wrap_GaugeNameStr_set(PyObject
*_val
) {
3768 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3773 static PyObject
*_wrap_GaugeNameStr_get() {
3778 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3780 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3787 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3788 PyObject
*resultobj
;
3789 wxWindow
*arg1
= (wxWindow
*) 0 ;
3792 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3793 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3794 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3795 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3796 long arg6
= (long) wxGA_HORIZONTAL
;
3797 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3798 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3799 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3800 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3804 bool temp8
= False
;
3805 PyObject
* obj0
= 0 ;
3806 PyObject
* obj1
= 0 ;
3807 PyObject
* obj2
= 0 ;
3808 PyObject
* obj3
= 0 ;
3809 PyObject
* obj4
= 0 ;
3810 PyObject
* obj5
= 0 ;
3811 PyObject
* obj6
= 0 ;
3812 PyObject
* obj7
= 0 ;
3814 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3820 arg2
= (int) SWIG_AsInt(obj1
);
3821 if (PyErr_Occurred()) SWIG_fail
;
3822 arg3
= (int) SWIG_AsInt(obj2
);
3823 if (PyErr_Occurred()) SWIG_fail
;
3827 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3833 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3837 arg6
= (long) SWIG_AsLong(obj5
);
3838 if (PyErr_Occurred()) SWIG_fail
;
3841 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
3842 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3845 PyErr_SetString(PyExc_TypeError
,"null reference");
3851 arg8
= wxString_in_helper(obj7
);
3852 if (arg8
== NULL
) SWIG_fail
;
3857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3858 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3860 wxPyEndAllowThreads(__tstate
);
3861 if (PyErr_Occurred()) SWIG_fail
;
3863 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3878 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3879 PyObject
*resultobj
;
3885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3888 result
= (wxGauge
*)new wxGauge();
3890 wxPyEndAllowThreads(__tstate
);
3891 if (PyErr_Occurred()) SWIG_fail
;
3893 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3900 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3901 PyObject
*resultobj
;
3902 wxGauge
*arg1
= (wxGauge
*) 0 ;
3903 wxWindow
*arg2
= (wxWindow
*) 0 ;
3906 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3907 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3908 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3909 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3910 long arg7
= (long) wxGA_HORIZONTAL
;
3911 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3912 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3913 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3914 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3918 bool temp9
= False
;
3919 PyObject
* obj0
= 0 ;
3920 PyObject
* obj1
= 0 ;
3921 PyObject
* obj2
= 0 ;
3922 PyObject
* obj3
= 0 ;
3923 PyObject
* obj4
= 0 ;
3924 PyObject
* obj5
= 0 ;
3925 PyObject
* obj6
= 0 ;
3926 PyObject
* obj7
= 0 ;
3927 PyObject
* obj8
= 0 ;
3929 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3935 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3937 arg3
= (int) SWIG_AsInt(obj2
);
3938 if (PyErr_Occurred()) SWIG_fail
;
3939 arg4
= (int) SWIG_AsInt(obj3
);
3940 if (PyErr_Occurred()) SWIG_fail
;
3944 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3950 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3954 arg7
= (long) SWIG_AsLong(obj6
);
3955 if (PyErr_Occurred()) SWIG_fail
;
3958 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
3959 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3962 PyErr_SetString(PyExc_TypeError
,"null reference");
3968 arg9
= wxString_in_helper(obj8
);
3969 if (arg9
== NULL
) SWIG_fail
;
3974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3975 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3977 wxPyEndAllowThreads(__tstate
);
3978 if (PyErr_Occurred()) SWIG_fail
;
3981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3997 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3998 PyObject
*resultobj
;
3999 wxGauge
*arg1
= (wxGauge
*) 0 ;
4001 PyObject
* obj0
= 0 ;
4002 PyObject
* obj1
= 0 ;
4004 (char *) "self",(char *) "range", NULL
4007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
4008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4010 arg2
= (int) SWIG_AsInt(obj1
);
4011 if (PyErr_Occurred()) SWIG_fail
;
4013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4014 (arg1
)->SetRange(arg2
);
4016 wxPyEndAllowThreads(__tstate
);
4017 if (PyErr_Occurred()) SWIG_fail
;
4019 Py_INCREF(Py_None
); resultobj
= Py_None
;
4026 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4027 PyObject
*resultobj
;
4028 wxGauge
*arg1
= (wxGauge
*) 0 ;
4030 PyObject
* obj0
= 0 ;
4032 (char *) "self", NULL
4035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
4036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4040 result
= (int)((wxGauge
const *)arg1
)->GetRange();
4042 wxPyEndAllowThreads(__tstate
);
4043 if (PyErr_Occurred()) SWIG_fail
;
4045 resultobj
= SWIG_FromInt((int)result
);
4052 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4053 PyObject
*resultobj
;
4054 wxGauge
*arg1
= (wxGauge
*) 0 ;
4056 PyObject
* obj0
= 0 ;
4057 PyObject
* obj1
= 0 ;
4059 (char *) "self",(char *) "pos", NULL
4062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
4063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4065 arg2
= (int) SWIG_AsInt(obj1
);
4066 if (PyErr_Occurred()) SWIG_fail
;
4068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4069 (arg1
)->SetValue(arg2
);
4071 wxPyEndAllowThreads(__tstate
);
4072 if (PyErr_Occurred()) SWIG_fail
;
4074 Py_INCREF(Py_None
); resultobj
= Py_None
;
4081 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4082 PyObject
*resultobj
;
4083 wxGauge
*arg1
= (wxGauge
*) 0 ;
4085 PyObject
* obj0
= 0 ;
4087 (char *) "self", NULL
4090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
4091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4095 result
= (int)((wxGauge
const *)arg1
)->GetValue();
4097 wxPyEndAllowThreads(__tstate
);
4098 if (PyErr_Occurred()) SWIG_fail
;
4100 resultobj
= SWIG_FromInt((int)result
);
4107 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4108 PyObject
*resultobj
;
4109 wxGauge
*arg1
= (wxGauge
*) 0 ;
4111 PyObject
* obj0
= 0 ;
4113 (char *) "self", NULL
4116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
4117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4121 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
4123 wxPyEndAllowThreads(__tstate
);
4124 if (PyErr_Occurred()) SWIG_fail
;
4127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4135 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4136 PyObject
*resultobj
;
4137 wxGauge
*arg1
= (wxGauge
*) 0 ;
4139 PyObject
* obj0
= 0 ;
4140 PyObject
* obj1
= 0 ;
4142 (char *) "self",(char *) "w", NULL
4145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4148 arg2
= (int) SWIG_AsInt(obj1
);
4149 if (PyErr_Occurred()) SWIG_fail
;
4151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4152 (arg1
)->SetShadowWidth(arg2
);
4154 wxPyEndAllowThreads(__tstate
);
4155 if (PyErr_Occurred()) SWIG_fail
;
4157 Py_INCREF(Py_None
); resultobj
= Py_None
;
4164 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4165 PyObject
*resultobj
;
4166 wxGauge
*arg1
= (wxGauge
*) 0 ;
4168 PyObject
* obj0
= 0 ;
4170 (char *) "self", NULL
4173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
4174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4178 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
4180 wxPyEndAllowThreads(__tstate
);
4181 if (PyErr_Occurred()) SWIG_fail
;
4183 resultobj
= SWIG_FromInt((int)result
);
4190 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4191 PyObject
*resultobj
;
4192 wxGauge
*arg1
= (wxGauge
*) 0 ;
4194 PyObject
* obj0
= 0 ;
4195 PyObject
* obj1
= 0 ;
4197 (char *) "self",(char *) "w", NULL
4200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
4201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4203 arg2
= (int) SWIG_AsInt(obj1
);
4204 if (PyErr_Occurred()) SWIG_fail
;
4206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4207 (arg1
)->SetBezelFace(arg2
);
4209 wxPyEndAllowThreads(__tstate
);
4210 if (PyErr_Occurred()) SWIG_fail
;
4212 Py_INCREF(Py_None
); resultobj
= Py_None
;
4219 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4220 PyObject
*resultobj
;
4221 wxGauge
*arg1
= (wxGauge
*) 0 ;
4223 PyObject
* obj0
= 0 ;
4225 (char *) "self", NULL
4228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
4229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4233 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
4235 wxPyEndAllowThreads(__tstate
);
4236 if (PyErr_Occurred()) SWIG_fail
;
4238 resultobj
= SWIG_FromInt((int)result
);
4245 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4246 PyObject
*resultobj
;
4247 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4248 wxVisualAttributes result
;
4249 PyObject
* obj0
= 0 ;
4251 (char *) "variant", NULL
4254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4256 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4257 if (PyErr_Occurred()) SWIG_fail
;
4260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4261 result
= wxGauge::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4263 wxPyEndAllowThreads(__tstate
);
4264 if (PyErr_Occurred()) SWIG_fail
;
4267 wxVisualAttributes
* resultptr
;
4268 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4269 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4277 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
4279 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4280 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
4282 return Py_BuildValue((char *)"");
4284 static int _wrap_StaticBitmapNameStr_set(PyObject
*_val
) {
4285 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
4290 static PyObject
*_wrap_StaticBitmapNameStr_get() {
4295 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4297 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4304 static int _wrap_StaticBoxNameStr_set(PyObject
*_val
) {
4305 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
4310 static PyObject
*_wrap_StaticBoxNameStr_get() {
4315 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4317 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4324 static int _wrap_StaticTextNameStr_set(PyObject
*_val
) {
4325 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
4330 static PyObject
*_wrap_StaticTextNameStr_get() {
4335 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4337 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4344 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4345 PyObject
*resultobj
;
4346 wxWindow
*arg1
= (wxWindow
*) 0 ;
4348 wxString
*arg3
= 0 ;
4349 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4350 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4351 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4352 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4353 long arg6
= (long) 0 ;
4354 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
4355 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4356 wxStaticBox
*result
;
4357 bool temp3
= False
;
4360 bool temp7
= False
;
4361 PyObject
* obj0
= 0 ;
4362 PyObject
* obj1
= 0 ;
4363 PyObject
* obj2
= 0 ;
4364 PyObject
* obj3
= 0 ;
4365 PyObject
* obj4
= 0 ;
4366 PyObject
* obj5
= 0 ;
4367 PyObject
* obj6
= 0 ;
4369 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4375 arg2
= (int) SWIG_AsInt(obj1
);
4376 if (PyErr_Occurred()) SWIG_fail
;
4378 arg3
= wxString_in_helper(obj2
);
4379 if (arg3
== NULL
) SWIG_fail
;
4385 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4391 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4395 arg6
= (long) SWIG_AsLong(obj5
);
4396 if (PyErr_Occurred()) SWIG_fail
;
4400 arg7
= wxString_in_helper(obj6
);
4401 if (arg7
== NULL
) SWIG_fail
;
4406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4407 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4409 wxPyEndAllowThreads(__tstate
);
4410 if (PyErr_Occurred()) SWIG_fail
;
4413 resultobj
= wxPyMake_wxObject(result
);
4437 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4438 PyObject
*resultobj
;
4439 wxStaticBox
*result
;
4444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4447 result
= (wxStaticBox
*)new wxStaticBox();
4449 wxPyEndAllowThreads(__tstate
);
4450 if (PyErr_Occurred()) SWIG_fail
;
4453 resultobj
= wxPyMake_wxObject(result
);
4461 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4462 PyObject
*resultobj
;
4463 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4464 wxWindow
*arg2
= (wxWindow
*) 0 ;
4466 wxString
*arg4
= 0 ;
4467 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4468 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4469 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4470 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4471 long arg7
= (long) 0 ;
4472 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4473 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4475 bool temp4
= False
;
4478 bool temp8
= False
;
4479 PyObject
* obj0
= 0 ;
4480 PyObject
* obj1
= 0 ;
4481 PyObject
* obj2
= 0 ;
4482 PyObject
* obj3
= 0 ;
4483 PyObject
* obj4
= 0 ;
4484 PyObject
* obj5
= 0 ;
4485 PyObject
* obj6
= 0 ;
4486 PyObject
* obj7
= 0 ;
4488 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
4493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4494 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4496 arg3
= (int) SWIG_AsInt(obj2
);
4497 if (PyErr_Occurred()) SWIG_fail
;
4499 arg4
= wxString_in_helper(obj3
);
4500 if (arg4
== NULL
) SWIG_fail
;
4506 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4512 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4516 arg7
= (long) SWIG_AsLong(obj6
);
4517 if (PyErr_Occurred()) SWIG_fail
;
4521 arg8
= wxString_in_helper(obj7
);
4522 if (arg8
== NULL
) SWIG_fail
;
4527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4528 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4530 wxPyEndAllowThreads(__tstate
);
4531 if (PyErr_Occurred()) SWIG_fail
;
4534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4558 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4559 PyObject
*resultobj
;
4560 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4561 wxVisualAttributes result
;
4562 PyObject
* obj0
= 0 ;
4564 (char *) "variant", NULL
4567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4569 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4570 if (PyErr_Occurred()) SWIG_fail
;
4573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4574 result
= wxStaticBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4576 wxPyEndAllowThreads(__tstate
);
4577 if (PyErr_Occurred()) SWIG_fail
;
4580 wxVisualAttributes
* resultptr
;
4581 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4582 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4590 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
4592 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4593 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4595 return Py_BuildValue((char *)"");
4597 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4598 PyObject
*resultobj
;
4599 wxWindow
*arg1
= (wxWindow
*) 0 ;
4601 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4602 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4603 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4604 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4605 long arg5
= (long) wxLI_HORIZONTAL
;
4606 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4607 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4608 wxStaticLine
*result
;
4611 bool temp6
= False
;
4612 PyObject
* obj0
= 0 ;
4613 PyObject
* obj1
= 0 ;
4614 PyObject
* obj2
= 0 ;
4615 PyObject
* obj3
= 0 ;
4616 PyObject
* obj4
= 0 ;
4617 PyObject
* obj5
= 0 ;
4619 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4625 arg2
= (int) SWIG_AsInt(obj1
);
4626 if (PyErr_Occurred()) SWIG_fail
;
4630 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4636 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4640 arg5
= (long) SWIG_AsLong(obj4
);
4641 if (PyErr_Occurred()) SWIG_fail
;
4645 arg6
= wxString_in_helper(obj5
);
4646 if (arg6
== NULL
) SWIG_fail
;
4651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4652 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4654 wxPyEndAllowThreads(__tstate
);
4655 if (PyErr_Occurred()) SWIG_fail
;
4657 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4672 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4673 PyObject
*resultobj
;
4674 wxStaticLine
*result
;
4679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4682 result
= (wxStaticLine
*)new wxStaticLine();
4684 wxPyEndAllowThreads(__tstate
);
4685 if (PyErr_Occurred()) SWIG_fail
;
4687 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4694 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4695 PyObject
*resultobj
;
4696 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4697 wxWindow
*arg2
= (wxWindow
*) 0 ;
4699 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4700 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4701 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4702 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4703 long arg6
= (long) wxLI_HORIZONTAL
;
4704 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4705 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4709 bool temp7
= False
;
4710 PyObject
* obj0
= 0 ;
4711 PyObject
* obj1
= 0 ;
4712 PyObject
* obj2
= 0 ;
4713 PyObject
* obj3
= 0 ;
4714 PyObject
* obj4
= 0 ;
4715 PyObject
* obj5
= 0 ;
4716 PyObject
* obj6
= 0 ;
4718 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4724 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4726 arg3
= (int) SWIG_AsInt(obj2
);
4727 if (PyErr_Occurred()) SWIG_fail
;
4731 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4737 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4741 arg6
= (long) SWIG_AsLong(obj5
);
4742 if (PyErr_Occurred()) SWIG_fail
;
4746 arg7
= wxString_in_helper(obj6
);
4747 if (arg7
== NULL
) SWIG_fail
;
4752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4753 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4755 wxPyEndAllowThreads(__tstate
);
4756 if (PyErr_Occurred()) SWIG_fail
;
4759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4775 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4776 PyObject
*resultobj
;
4777 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4779 PyObject
* obj0
= 0 ;
4781 (char *) "self", NULL
4784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4789 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4791 wxPyEndAllowThreads(__tstate
);
4792 if (PyErr_Occurred()) SWIG_fail
;
4795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4803 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4804 PyObject
*resultobj
;
4810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
4812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4813 result
= (int)wxStaticLine::GetDefaultSize();
4815 wxPyEndAllowThreads(__tstate
);
4816 if (PyErr_Occurred()) SWIG_fail
;
4818 resultobj
= SWIG_FromInt((int)result
);
4825 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4826 PyObject
*resultobj
;
4827 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4828 wxVisualAttributes result
;
4829 PyObject
* obj0
= 0 ;
4831 (char *) "variant", NULL
4834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4836 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4837 if (PyErr_Occurred()) SWIG_fail
;
4840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4841 result
= wxStaticLine::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4843 wxPyEndAllowThreads(__tstate
);
4844 if (PyErr_Occurred()) SWIG_fail
;
4847 wxVisualAttributes
* resultptr
;
4848 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4849 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4857 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
4859 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4860 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
4862 return Py_BuildValue((char *)"");
4864 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4865 PyObject
*resultobj
;
4866 wxWindow
*arg1
= (wxWindow
*) 0 ;
4868 wxString
*arg3
= 0 ;
4869 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4870 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4871 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4872 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4873 long arg6
= (long) 0 ;
4874 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4875 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4876 wxStaticText
*result
;
4877 bool temp3
= False
;
4880 bool temp7
= False
;
4881 PyObject
* obj0
= 0 ;
4882 PyObject
* obj1
= 0 ;
4883 PyObject
* obj2
= 0 ;
4884 PyObject
* obj3
= 0 ;
4885 PyObject
* obj4
= 0 ;
4886 PyObject
* obj5
= 0 ;
4887 PyObject
* obj6
= 0 ;
4889 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4895 arg2
= (int) SWIG_AsInt(obj1
);
4896 if (PyErr_Occurred()) SWIG_fail
;
4898 arg3
= wxString_in_helper(obj2
);
4899 if (arg3
== NULL
) SWIG_fail
;
4905 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4911 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4915 arg6
= (long) SWIG_AsLong(obj5
);
4916 if (PyErr_Occurred()) SWIG_fail
;
4920 arg7
= wxString_in_helper(obj6
);
4921 if (arg7
== NULL
) SWIG_fail
;
4926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4927 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4929 wxPyEndAllowThreads(__tstate
);
4930 if (PyErr_Occurred()) SWIG_fail
;
4932 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4955 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4956 PyObject
*resultobj
;
4957 wxStaticText
*result
;
4962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
4964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4965 result
= (wxStaticText
*)new wxStaticText();
4967 wxPyEndAllowThreads(__tstate
);
4968 if (PyErr_Occurred()) SWIG_fail
;
4970 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4977 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4978 PyObject
*resultobj
;
4979 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
4980 wxWindow
*arg2
= (wxWindow
*) 0 ;
4982 wxString
*arg4
= 0 ;
4983 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4984 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4985 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4986 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4987 long arg7
= (long) 0 ;
4988 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
4989 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4991 bool temp4
= False
;
4994 bool temp8
= False
;
4995 PyObject
* obj0
= 0 ;
4996 PyObject
* obj1
= 0 ;
4997 PyObject
* obj2
= 0 ;
4998 PyObject
* obj3
= 0 ;
4999 PyObject
* obj4
= 0 ;
5000 PyObject
* obj5
= 0 ;
5001 PyObject
* obj6
= 0 ;
5002 PyObject
* obj7
= 0 ;
5004 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticText
,
5009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5010 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5012 arg3
= (int) SWIG_AsInt(obj2
);
5013 if (PyErr_Occurred()) SWIG_fail
;
5015 arg4
= wxString_in_helper(obj3
);
5016 if (arg4
== NULL
) SWIG_fail
;
5022 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5028 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5032 arg7
= (long) SWIG_AsLong(obj6
);
5033 if (PyErr_Occurred()) SWIG_fail
;
5037 arg8
= wxString_in_helper(obj7
);
5038 if (arg8
== NULL
) SWIG_fail
;
5043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5044 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5046 wxPyEndAllowThreads(__tstate
);
5047 if (PyErr_Occurred()) SWIG_fail
;
5050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5074 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5075 PyObject
*resultobj
;
5076 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5077 wxVisualAttributes result
;
5078 PyObject
* obj0
= 0 ;
5080 (char *) "variant", NULL
5083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5085 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
5086 if (PyErr_Occurred()) SWIG_fail
;
5089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5090 result
= wxStaticText::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5092 wxPyEndAllowThreads(__tstate
);
5093 if (PyErr_Occurred()) SWIG_fail
;
5096 wxVisualAttributes
* resultptr
;
5097 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5098 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5106 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
5108 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5109 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
5111 return Py_BuildValue((char *)"");
5113 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5114 PyObject
*resultobj
;
5115 wxWindow
*arg1
= (wxWindow
*) 0 ;
5117 wxBitmap
*arg3
= 0 ;
5118 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5119 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5120 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5121 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5122 long arg6
= (long) 0 ;
5123 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
5124 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5125 wxStaticBitmap
*result
;
5128 bool temp7
= False
;
5129 PyObject
* obj0
= 0 ;
5130 PyObject
* obj1
= 0 ;
5131 PyObject
* obj2
= 0 ;
5132 PyObject
* obj3
= 0 ;
5133 PyObject
* obj4
= 0 ;
5134 PyObject
* obj5
= 0 ;
5135 PyObject
* obj6
= 0 ;
5137 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5143 arg2
= (int) SWIG_AsInt(obj1
);
5144 if (PyErr_Occurred()) SWIG_fail
;
5145 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
5146 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5149 PyErr_SetString(PyExc_TypeError
,"null reference");
5155 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5161 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5165 arg6
= (long) SWIG_AsLong(obj5
);
5166 if (PyErr_Occurred()) SWIG_fail
;
5170 arg7
= wxString_in_helper(obj6
);
5171 if (arg7
== NULL
) SWIG_fail
;
5176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5177 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5179 wxPyEndAllowThreads(__tstate
);
5180 if (PyErr_Occurred()) SWIG_fail
;
5182 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5197 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5198 PyObject
*resultobj
;
5199 wxStaticBitmap
*result
;
5204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
5206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5207 result
= (wxStaticBitmap
*)new wxStaticBitmap();
5209 wxPyEndAllowThreads(__tstate
);
5210 if (PyErr_Occurred()) SWIG_fail
;
5212 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5219 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5220 PyObject
*resultobj
;
5221 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5222 wxWindow
*arg2
= (wxWindow
*) 0 ;
5224 wxBitmap
*arg4
= 0 ;
5225 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5226 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5227 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5228 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5229 long arg7
= (long) 0 ;
5230 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
5231 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5235 bool temp8
= False
;
5236 PyObject
* obj0
= 0 ;
5237 PyObject
* obj1
= 0 ;
5238 PyObject
* obj2
= 0 ;
5239 PyObject
* obj3
= 0 ;
5240 PyObject
* obj4
= 0 ;
5241 PyObject
* obj5
= 0 ;
5242 PyObject
* obj6
= 0 ;
5243 PyObject
* obj7
= 0 ;
5245 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5251 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5253 arg3
= (int) SWIG_AsInt(obj2
);
5254 if (PyErr_Occurred()) SWIG_fail
;
5255 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
5256 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5259 PyErr_SetString(PyExc_TypeError
,"null reference");
5265 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5271 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5275 arg7
= (long) SWIG_AsLong(obj6
);
5276 if (PyErr_Occurred()) SWIG_fail
;
5280 arg8
= wxString_in_helper(obj7
);
5281 if (arg8
== NULL
) SWIG_fail
;
5286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5287 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5289 wxPyEndAllowThreads(__tstate
);
5290 if (PyErr_Occurred()) SWIG_fail
;
5293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5309 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5310 PyObject
*resultobj
;
5311 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5313 PyObject
* obj0
= 0 ;
5315 (char *) "self", NULL
5318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
5319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5323 result
= (arg1
)->GetBitmap();
5325 wxPyEndAllowThreads(__tstate
);
5326 if (PyErr_Occurred()) SWIG_fail
;
5329 wxBitmap
* resultptr
;
5330 resultptr
= new wxBitmap((wxBitmap
&) result
);
5331 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5339 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5340 PyObject
*resultobj
;
5341 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5342 wxBitmap
*arg2
= 0 ;
5343 PyObject
* obj0
= 0 ;
5344 PyObject
* obj1
= 0 ;
5346 (char *) "self",(char *) "bitmap", NULL
5349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5352 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5353 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5356 PyErr_SetString(PyExc_TypeError
,"null reference");
5360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5361 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
5363 wxPyEndAllowThreads(__tstate
);
5364 if (PyErr_Occurred()) SWIG_fail
;
5366 Py_INCREF(Py_None
); resultobj
= Py_None
;
5373 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5374 PyObject
*resultobj
;
5375 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5377 PyObject
* obj0
= 0 ;
5378 PyObject
* obj1
= 0 ;
5380 (char *) "self",(char *) "icon", NULL
5383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5386 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
5387 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5390 PyErr_SetString(PyExc_TypeError
,"null reference");
5394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5395 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5397 wxPyEndAllowThreads(__tstate
);
5398 if (PyErr_Occurred()) SWIG_fail
;
5400 Py_INCREF(Py_None
); resultobj
= Py_None
;
5407 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5408 PyObject
*resultobj
;
5409 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5410 wxVisualAttributes result
;
5411 PyObject
* obj0
= 0 ;
5413 (char *) "variant", NULL
5416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5418 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
5419 if (PyErr_Occurred()) SWIG_fail
;
5422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5423 result
= wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5425 wxPyEndAllowThreads(__tstate
);
5426 if (PyErr_Occurred()) SWIG_fail
;
5429 wxVisualAttributes
* resultptr
;
5430 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5431 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5439 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
5441 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5442 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
5444 return Py_BuildValue((char *)"");
5446 static int _wrap_ListBoxNameStr_set(PyObject
*_val
) {
5447 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
5452 static PyObject
*_wrap_ListBoxNameStr_get() {
5457 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5459 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5466 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5467 PyObject
*resultobj
;
5468 wxWindow
*arg1
= (wxWindow
*) 0 ;
5470 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5471 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5472 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5473 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5474 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5475 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5476 long arg6
= (long) 0 ;
5477 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5478 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5479 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5480 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5484 bool temp5
= False
;
5485 bool temp8
= False
;
5486 PyObject
* obj0
= 0 ;
5487 PyObject
* obj1
= 0 ;
5488 PyObject
* obj2
= 0 ;
5489 PyObject
* obj3
= 0 ;
5490 PyObject
* obj4
= 0 ;
5491 PyObject
* obj5
= 0 ;
5492 PyObject
* obj6
= 0 ;
5493 PyObject
* obj7
= 0 ;
5495 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5501 arg2
= (int) SWIG_AsInt(obj1
);
5502 if (PyErr_Occurred()) SWIG_fail
;
5506 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5512 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5517 if (! PySequence_Check(obj4
)) {
5518 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5521 arg5
= new wxArrayString
;
5523 int i
, len
=PySequence_Length(obj4
);
5524 for (i
=0; i
<len
; i
++) {
5525 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5527 PyObject
* str
= PyObject_Unicode(item
);
5529 PyObject
* str
= PyObject_Str(item
);
5531 if (PyErr_Occurred()) SWIG_fail
;
5532 arg5
->Add(Py2wxString(str
));
5539 arg6
= (long) SWIG_AsLong(obj5
);
5540 if (PyErr_Occurred()) SWIG_fail
;
5543 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
5544 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5547 PyErr_SetString(PyExc_TypeError
,"null reference");
5553 arg8
= wxString_in_helper(obj7
);
5554 if (arg8
== NULL
) SWIG_fail
;
5559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5560 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5562 wxPyEndAllowThreads(__tstate
);
5563 if (PyErr_Occurred()) SWIG_fail
;
5565 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5567 if (temp5
) delete arg5
;
5576 if (temp5
) delete arg5
;
5586 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5587 PyObject
*resultobj
;
5593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5596 result
= (wxListBox
*)new wxListBox();
5598 wxPyEndAllowThreads(__tstate
);
5599 if (PyErr_Occurred()) SWIG_fail
;
5601 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5608 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5609 PyObject
*resultobj
;
5610 wxListBox
*arg1
= (wxListBox
*) 0 ;
5611 wxWindow
*arg2
= (wxWindow
*) 0 ;
5613 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5614 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5615 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5616 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5617 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5618 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5619 long arg7
= (long) 0 ;
5620 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5621 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5622 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5623 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5627 bool temp6
= False
;
5628 bool temp9
= False
;
5629 PyObject
* obj0
= 0 ;
5630 PyObject
* obj1
= 0 ;
5631 PyObject
* obj2
= 0 ;
5632 PyObject
* obj3
= 0 ;
5633 PyObject
* obj4
= 0 ;
5634 PyObject
* obj5
= 0 ;
5635 PyObject
* obj6
= 0 ;
5636 PyObject
* obj7
= 0 ;
5637 PyObject
* obj8
= 0 ;
5639 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5645 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5647 arg3
= (int) SWIG_AsInt(obj2
);
5648 if (PyErr_Occurred()) SWIG_fail
;
5652 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5658 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5663 if (! PySequence_Check(obj5
)) {
5664 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5667 arg6
= new wxArrayString
;
5669 int i
, len
=PySequence_Length(obj5
);
5670 for (i
=0; i
<len
; i
++) {
5671 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5673 PyObject
* str
= PyObject_Unicode(item
);
5675 PyObject
* str
= PyObject_Str(item
);
5677 if (PyErr_Occurred()) SWIG_fail
;
5678 arg6
->Add(Py2wxString(str
));
5685 arg7
= (long) SWIG_AsLong(obj6
);
5686 if (PyErr_Occurred()) SWIG_fail
;
5689 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
5690 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5693 PyErr_SetString(PyExc_TypeError
,"null reference");
5699 arg9
= wxString_in_helper(obj8
);
5700 if (arg9
== NULL
) SWIG_fail
;
5705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5706 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5708 wxPyEndAllowThreads(__tstate
);
5709 if (PyErr_Occurred()) SWIG_fail
;
5712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5715 if (temp6
) delete arg6
;
5724 if (temp6
) delete arg6
;
5734 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5735 PyObject
*resultobj
;
5736 wxListBox
*arg1
= (wxListBox
*) 0 ;
5737 wxString
*arg2
= 0 ;
5739 PyObject
*arg4
= (PyObject
*) NULL
;
5740 bool temp2
= False
;
5741 PyObject
* obj0
= 0 ;
5742 PyObject
* obj1
= 0 ;
5743 PyObject
* obj2
= 0 ;
5744 PyObject
* obj3
= 0 ;
5746 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5753 arg2
= wxString_in_helper(obj1
);
5754 if (arg2
== NULL
) SWIG_fail
;
5757 arg3
= (int) SWIG_AsInt(obj2
);
5758 if (PyErr_Occurred()) SWIG_fail
;
5763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5764 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5766 wxPyEndAllowThreads(__tstate
);
5767 if (PyErr_Occurred()) SWIG_fail
;
5769 Py_INCREF(Py_None
); resultobj
= Py_None
;
5784 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5785 PyObject
*resultobj
;
5786 wxListBox
*arg1
= (wxListBox
*) 0 ;
5787 wxArrayString
*arg2
= 0 ;
5789 bool temp2
= False
;
5790 PyObject
* obj0
= 0 ;
5791 PyObject
* obj1
= 0 ;
5792 PyObject
* obj2
= 0 ;
5794 (char *) "self",(char *) "items",(char *) "pos", NULL
5797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5801 if (! PySequence_Check(obj1
)) {
5802 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5805 arg2
= new wxArrayString
;
5807 int i
, len
=PySequence_Length(obj1
);
5808 for (i
=0; i
<len
; i
++) {
5809 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5811 PyObject
* str
= PyObject_Unicode(item
);
5813 PyObject
* str
= PyObject_Str(item
);
5815 if (PyErr_Occurred()) SWIG_fail
;
5816 arg2
->Add(Py2wxString(str
));
5821 arg3
= (int) SWIG_AsInt(obj2
);
5822 if (PyErr_Occurred()) SWIG_fail
;
5824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5825 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
5827 wxPyEndAllowThreads(__tstate
);
5828 if (PyErr_Occurred()) SWIG_fail
;
5830 Py_INCREF(Py_None
); resultobj
= Py_None
;
5832 if (temp2
) delete arg2
;
5837 if (temp2
) delete arg2
;
5843 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5844 PyObject
*resultobj
;
5845 wxListBox
*arg1
= (wxListBox
*) 0 ;
5846 wxArrayString
*arg2
= 0 ;
5847 bool temp2
= False
;
5848 PyObject
* obj0
= 0 ;
5849 PyObject
* obj1
= 0 ;
5851 (char *) "self",(char *) "items", NULL
5854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
5855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5858 if (! PySequence_Check(obj1
)) {
5859 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5862 arg2
= new wxArrayString
;
5864 int i
, len
=PySequence_Length(obj1
);
5865 for (i
=0; i
<len
; i
++) {
5866 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5868 PyObject
* str
= PyObject_Unicode(item
);
5870 PyObject
* str
= PyObject_Str(item
);
5872 if (PyErr_Occurred()) SWIG_fail
;
5873 arg2
->Add(Py2wxString(str
));
5879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5880 (arg1
)->Set((wxArrayString
const &)*arg2
);
5882 wxPyEndAllowThreads(__tstate
);
5883 if (PyErr_Occurred()) SWIG_fail
;
5885 Py_INCREF(Py_None
); resultobj
= Py_None
;
5887 if (temp2
) delete arg2
;
5892 if (temp2
) delete arg2
;
5898 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5899 PyObject
*resultobj
;
5900 wxListBox
*arg1
= (wxListBox
*) 0 ;
5903 PyObject
* obj0
= 0 ;
5904 PyObject
* obj1
= 0 ;
5906 (char *) "self",(char *) "n", NULL
5909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
5910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5912 arg2
= (int) SWIG_AsInt(obj1
);
5913 if (PyErr_Occurred()) SWIG_fail
;
5915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5916 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
5918 wxPyEndAllowThreads(__tstate
);
5919 if (PyErr_Occurred()) SWIG_fail
;
5922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5930 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5931 PyObject
*resultobj
;
5932 wxListBox
*arg1
= (wxListBox
*) 0 ;
5934 bool arg3
= (bool) True
;
5935 PyObject
* obj0
= 0 ;
5936 PyObject
* obj1
= 0 ;
5937 PyObject
* obj2
= 0 ;
5939 (char *) "self",(char *) "n",(char *) "select", NULL
5942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5945 arg2
= (int) SWIG_AsInt(obj1
);
5946 if (PyErr_Occurred()) SWIG_fail
;
5948 arg3
= (bool) SWIG_AsBool(obj2
);
5949 if (PyErr_Occurred()) SWIG_fail
;
5952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5953 (arg1
)->SetSelection(arg2
,arg3
);
5955 wxPyEndAllowThreads(__tstate
);
5956 if (PyErr_Occurred()) SWIG_fail
;
5958 Py_INCREF(Py_None
); resultobj
= Py_None
;
5965 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5966 PyObject
*resultobj
;
5967 wxListBox
*arg1
= (wxListBox
*) 0 ;
5969 PyObject
* obj0
= 0 ;
5970 PyObject
* obj1
= 0 ;
5972 (char *) "self",(char *) "n", NULL
5975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
5976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5978 arg2
= (int) SWIG_AsInt(obj1
);
5979 if (PyErr_Occurred()) SWIG_fail
;
5981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5982 (arg1
)->Select(arg2
);
5984 wxPyEndAllowThreads(__tstate
);
5985 if (PyErr_Occurred()) SWIG_fail
;
5987 Py_INCREF(Py_None
); resultobj
= Py_None
;
5994 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5995 PyObject
*resultobj
;
5996 wxListBox
*arg1
= (wxListBox
*) 0 ;
5998 PyObject
* obj0
= 0 ;
5999 PyObject
* obj1
= 0 ;
6001 (char *) "self",(char *) "n", NULL
6004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
6005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6007 arg2
= (int) SWIG_AsInt(obj1
);
6008 if (PyErr_Occurred()) SWIG_fail
;
6010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6011 (arg1
)->Deselect(arg2
);
6013 wxPyEndAllowThreads(__tstate
);
6014 if (PyErr_Occurred()) SWIG_fail
;
6016 Py_INCREF(Py_None
); resultobj
= Py_None
;
6023 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6024 PyObject
*resultobj
;
6025 wxListBox
*arg1
= (wxListBox
*) 0 ;
6026 int arg2
= (int) -1 ;
6027 PyObject
* obj0
= 0 ;
6028 PyObject
* obj1
= 0 ;
6030 (char *) "self",(char *) "itemToLeaveSelected", NULL
6033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
6034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6037 arg2
= (int) SWIG_AsInt(obj1
);
6038 if (PyErr_Occurred()) SWIG_fail
;
6041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6042 (arg1
)->DeselectAll(arg2
);
6044 wxPyEndAllowThreads(__tstate
);
6045 if (PyErr_Occurred()) SWIG_fail
;
6047 Py_INCREF(Py_None
); resultobj
= Py_None
;
6054 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6055 PyObject
*resultobj
;
6056 wxListBox
*arg1
= (wxListBox
*) 0 ;
6057 wxString
*arg2
= 0 ;
6058 bool arg3
= (bool) True
;
6060 bool temp2
= False
;
6061 PyObject
* obj0
= 0 ;
6062 PyObject
* obj1
= 0 ;
6063 PyObject
* obj2
= 0 ;
6065 (char *) "self",(char *) "s",(char *) "select", NULL
6068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6072 arg2
= wxString_in_helper(obj1
);
6073 if (arg2
== NULL
) SWIG_fail
;
6077 arg3
= (bool) SWIG_AsBool(obj2
);
6078 if (PyErr_Occurred()) SWIG_fail
;
6081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6082 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
6084 wxPyEndAllowThreads(__tstate
);
6085 if (PyErr_Occurred()) SWIG_fail
;
6088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6104 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6105 PyObject
*resultobj
;
6106 wxListBox
*arg1
= (wxListBox
*) 0 ;
6108 PyObject
* obj0
= 0 ;
6110 (char *) "self", NULL
6113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
6114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6118 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
6120 wxPyEndAllowThreads(__tstate
);
6121 if (PyErr_Occurred()) SWIG_fail
;
6130 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6131 PyObject
*resultobj
;
6132 wxListBox
*arg1
= (wxListBox
*) 0 ;
6134 PyObject
* obj0
= 0 ;
6135 PyObject
* obj1
= 0 ;
6137 (char *) "self",(char *) "n", NULL
6140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
6141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6143 arg2
= (int) SWIG_AsInt(obj1
);
6144 if (PyErr_Occurred()) SWIG_fail
;
6146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6147 (arg1
)->SetFirstItem(arg2
);
6149 wxPyEndAllowThreads(__tstate
);
6150 if (PyErr_Occurred()) SWIG_fail
;
6152 Py_INCREF(Py_None
); resultobj
= Py_None
;
6159 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6160 PyObject
*resultobj
;
6161 wxListBox
*arg1
= (wxListBox
*) 0 ;
6162 wxString
*arg2
= 0 ;
6163 bool temp2
= False
;
6164 PyObject
* obj0
= 0 ;
6165 PyObject
* obj1
= 0 ;
6167 (char *) "self",(char *) "s", NULL
6170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
6171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6174 arg2
= wxString_in_helper(obj1
);
6175 if (arg2
== NULL
) SWIG_fail
;
6179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6180 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
6182 wxPyEndAllowThreads(__tstate
);
6183 if (PyErr_Occurred()) SWIG_fail
;
6185 Py_INCREF(Py_None
); resultobj
= Py_None
;
6200 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6201 PyObject
*resultobj
;
6202 wxListBox
*arg1
= (wxListBox
*) 0 ;
6204 PyObject
* obj0
= 0 ;
6205 PyObject
* obj1
= 0 ;
6207 (char *) "self",(char *) "n", NULL
6210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6213 arg2
= (int) SWIG_AsInt(obj1
);
6214 if (PyErr_Occurred()) SWIG_fail
;
6216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6217 (arg1
)->EnsureVisible(arg2
);
6219 wxPyEndAllowThreads(__tstate
);
6220 if (PyErr_Occurred()) SWIG_fail
;
6222 Py_INCREF(Py_None
); resultobj
= Py_None
;
6229 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6230 PyObject
*resultobj
;
6231 wxListBox
*arg1
= (wxListBox
*) 0 ;
6232 wxString
*arg2
= 0 ;
6233 bool temp2
= False
;
6234 PyObject
* obj0
= 0 ;
6235 PyObject
* obj1
= 0 ;
6237 (char *) "self",(char *) "s", NULL
6240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6244 arg2
= wxString_in_helper(obj1
);
6245 if (arg2
== NULL
) SWIG_fail
;
6249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6250 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
6252 wxPyEndAllowThreads(__tstate
);
6253 if (PyErr_Occurred()) SWIG_fail
;
6255 Py_INCREF(Py_None
); resultobj
= Py_None
;
6270 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6271 PyObject
*resultobj
;
6272 wxListBox
*arg1
= (wxListBox
*) 0 ;
6274 PyObject
* obj0
= 0 ;
6276 (char *) "self", NULL
6279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
6280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6284 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
6286 wxPyEndAllowThreads(__tstate
);
6287 if (PyErr_Occurred()) SWIG_fail
;
6290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6298 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6299 PyObject
*resultobj
;
6300 wxListBox
*arg1
= (wxListBox
*) 0 ;
6302 wxColour
*arg3
= 0 ;
6304 PyObject
* obj0
= 0 ;
6305 PyObject
* obj1
= 0 ;
6306 PyObject
* obj2
= 0 ;
6308 (char *) "self",(char *) "item",(char *) "c", NULL
6311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6314 arg2
= (int) SWIG_AsInt(obj1
);
6315 if (PyErr_Occurred()) SWIG_fail
;
6318 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6322 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6324 wxPyEndAllowThreads(__tstate
);
6325 if (PyErr_Occurred()) SWIG_fail
;
6327 Py_INCREF(Py_None
); resultobj
= Py_None
;
6334 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6335 PyObject
*resultobj
;
6336 wxListBox
*arg1
= (wxListBox
*) 0 ;
6338 wxColour
*arg3
= 0 ;
6340 PyObject
* obj0
= 0 ;
6341 PyObject
* obj1
= 0 ;
6342 PyObject
* obj2
= 0 ;
6344 (char *) "self",(char *) "item",(char *) "c", NULL
6347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6350 arg2
= (int) SWIG_AsInt(obj1
);
6351 if (PyErr_Occurred()) SWIG_fail
;
6354 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6358 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6360 wxPyEndAllowThreads(__tstate
);
6361 if (PyErr_Occurred()) SWIG_fail
;
6363 Py_INCREF(Py_None
); resultobj
= Py_None
;
6370 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6371 PyObject
*resultobj
;
6372 wxListBox
*arg1
= (wxListBox
*) 0 ;
6375 PyObject
* obj0
= 0 ;
6376 PyObject
* obj1
= 0 ;
6377 PyObject
* obj2
= 0 ;
6379 (char *) "self",(char *) "item",(char *) "f", NULL
6382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6385 arg2
= (int) SWIG_AsInt(obj1
);
6386 if (PyErr_Occurred()) SWIG_fail
;
6387 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6388 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6391 PyErr_SetString(PyExc_TypeError
,"null reference");
6395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6396 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
6398 wxPyEndAllowThreads(__tstate
);
6399 if (PyErr_Occurred()) SWIG_fail
;
6401 Py_INCREF(Py_None
); resultobj
= Py_None
;
6408 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6409 PyObject
*resultobj
;
6410 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6411 wxVisualAttributes result
;
6412 PyObject
* obj0
= 0 ;
6414 (char *) "variant", NULL
6417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6419 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
6420 if (PyErr_Occurred()) SWIG_fail
;
6423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6424 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6426 wxPyEndAllowThreads(__tstate
);
6427 if (PyErr_Occurred()) SWIG_fail
;
6430 wxVisualAttributes
* resultptr
;
6431 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6432 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6440 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6442 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6443 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
6445 return Py_BuildValue((char *)"");
6447 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6448 PyObject
*resultobj
;
6449 wxWindow
*arg1
= (wxWindow
*) 0 ;
6451 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6452 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6453 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6454 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6455 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
6456 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
6457 long arg6
= (long) 0 ;
6458 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6459 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6460 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
6461 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6462 wxCheckListBox
*result
;
6465 bool temp5
= False
;
6466 bool temp8
= False
;
6467 PyObject
* obj0
= 0 ;
6468 PyObject
* obj1
= 0 ;
6469 PyObject
* obj2
= 0 ;
6470 PyObject
* obj3
= 0 ;
6471 PyObject
* obj4
= 0 ;
6472 PyObject
* obj5
= 0 ;
6473 PyObject
* obj6
= 0 ;
6474 PyObject
* obj7
= 0 ;
6476 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6482 arg2
= (int) SWIG_AsInt(obj1
);
6483 if (PyErr_Occurred()) SWIG_fail
;
6487 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6493 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6498 if (! PySequence_Check(obj4
)) {
6499 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6502 arg5
= new wxArrayString
;
6504 int i
, len
=PySequence_Length(obj4
);
6505 for (i
=0; i
<len
; i
++) {
6506 PyObject
* item
= PySequence_GetItem(obj4
, i
);
6508 PyObject
* str
= PyObject_Unicode(item
);
6510 PyObject
* str
= PyObject_Str(item
);
6512 if (PyErr_Occurred()) SWIG_fail
;
6513 arg5
->Add(Py2wxString(str
));
6520 arg6
= (long) SWIG_AsLong(obj5
);
6521 if (PyErr_Occurred()) SWIG_fail
;
6524 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
6525 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6528 PyErr_SetString(PyExc_TypeError
,"null reference");
6534 arg8
= wxString_in_helper(obj7
);
6535 if (arg8
== NULL
) SWIG_fail
;
6540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6541 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6543 wxPyEndAllowThreads(__tstate
);
6544 if (PyErr_Occurred()) SWIG_fail
;
6546 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6548 if (temp5
) delete arg5
;
6557 if (temp5
) delete arg5
;
6567 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6568 PyObject
*resultobj
;
6569 wxCheckListBox
*result
;
6574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
6576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6577 result
= (wxCheckListBox
*)new wxCheckListBox();
6579 wxPyEndAllowThreads(__tstate
);
6580 if (PyErr_Occurred()) SWIG_fail
;
6582 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6589 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6590 PyObject
*resultobj
;
6591 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6592 wxWindow
*arg2
= (wxWindow
*) 0 ;
6594 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6595 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6596 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6597 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6598 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
6599 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
6600 long arg7
= (long) 0 ;
6601 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6602 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6603 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
6604 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6608 bool temp6
= False
;
6609 bool temp9
= False
;
6610 PyObject
* obj0
= 0 ;
6611 PyObject
* obj1
= 0 ;
6612 PyObject
* obj2
= 0 ;
6613 PyObject
* obj3
= 0 ;
6614 PyObject
* obj4
= 0 ;
6615 PyObject
* obj5
= 0 ;
6616 PyObject
* obj6
= 0 ;
6617 PyObject
* obj7
= 0 ;
6618 PyObject
* obj8
= 0 ;
6620 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
6624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6626 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6628 arg3
= (int) SWIG_AsInt(obj2
);
6629 if (PyErr_Occurred()) SWIG_fail
;
6633 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6639 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6644 if (! PySequence_Check(obj5
)) {
6645 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6648 arg6
= new wxArrayString
;
6650 int i
, len
=PySequence_Length(obj5
);
6651 for (i
=0; i
<len
; i
++) {
6652 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6654 PyObject
* str
= PyObject_Unicode(item
);
6656 PyObject
* str
= PyObject_Str(item
);
6658 if (PyErr_Occurred()) SWIG_fail
;
6659 arg6
->Add(Py2wxString(str
));
6666 arg7
= (long) SWIG_AsLong(obj6
);
6667 if (PyErr_Occurred()) SWIG_fail
;
6670 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
6671 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6674 PyErr_SetString(PyExc_TypeError
,"null reference");
6680 arg9
= wxString_in_helper(obj8
);
6681 if (arg9
== NULL
) SWIG_fail
;
6686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6687 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6689 wxPyEndAllowThreads(__tstate
);
6690 if (PyErr_Occurred()) SWIG_fail
;
6693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6696 if (temp6
) delete arg6
;
6705 if (temp6
) delete arg6
;
6715 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6716 PyObject
*resultobj
;
6717 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6720 PyObject
* obj0
= 0 ;
6721 PyObject
* obj1
= 0 ;
6723 (char *) "self",(char *) "index", NULL
6726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6729 arg2
= (int) SWIG_AsInt(obj1
);
6730 if (PyErr_Occurred()) SWIG_fail
;
6732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6733 result
= (bool)(arg1
)->IsChecked(arg2
);
6735 wxPyEndAllowThreads(__tstate
);
6736 if (PyErr_Occurred()) SWIG_fail
;
6739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6747 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6748 PyObject
*resultobj
;
6749 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6751 int arg3
= (int) True
;
6752 PyObject
* obj0
= 0 ;
6753 PyObject
* obj1
= 0 ;
6754 PyObject
* obj2
= 0 ;
6756 (char *) "self",(char *) "index",(char *) "check", NULL
6759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6762 arg2
= (int) SWIG_AsInt(obj1
);
6763 if (PyErr_Occurred()) SWIG_fail
;
6765 arg3
= (int) SWIG_AsInt(obj2
);
6766 if (PyErr_Occurred()) SWIG_fail
;
6769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6770 (arg1
)->Check(arg2
,arg3
);
6772 wxPyEndAllowThreads(__tstate
);
6773 if (PyErr_Occurred()) SWIG_fail
;
6775 Py_INCREF(Py_None
); resultobj
= Py_None
;
6782 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6783 PyObject
*resultobj
;
6784 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6786 PyObject
* obj0
= 0 ;
6788 (char *) "self", NULL
6791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
6792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6796 result
= (int)(arg1
)->GetItemHeight();
6798 wxPyEndAllowThreads(__tstate
);
6799 if (PyErr_Occurred()) SWIG_fail
;
6801 resultobj
= SWIG_FromInt((int)result
);
6808 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6809 PyObject
*resultobj
;
6810 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6814 PyObject
* obj0
= 0 ;
6815 PyObject
* obj1
= 0 ;
6817 (char *) "self",(char *) "pt", NULL
6820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
6821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6825 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6829 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
6831 wxPyEndAllowThreads(__tstate
);
6832 if (PyErr_Occurred()) SWIG_fail
;
6834 resultobj
= SWIG_FromInt((int)result
);
6841 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6842 PyObject
*resultobj
;
6843 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6847 PyObject
* obj0
= 0 ;
6848 PyObject
* obj1
= 0 ;
6849 PyObject
* obj2
= 0 ;
6851 (char *) "self",(char *) "x",(char *) "y", NULL
6854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6857 arg2
= (int) SWIG_AsInt(obj1
);
6858 if (PyErr_Occurred()) SWIG_fail
;
6859 arg3
= (int) SWIG_AsInt(obj2
);
6860 if (PyErr_Occurred()) SWIG_fail
;
6862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6863 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
6865 wxPyEndAllowThreads(__tstate
);
6866 if (PyErr_Occurred()) SWIG_fail
;
6868 resultobj
= SWIG_FromInt((int)result
);
6875 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6877 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6878 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
6880 return Py_BuildValue((char *)"");
6882 static int _wrap_TextCtrlNameStr_set(PyObject
*_val
) {
6883 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
6888 static PyObject
*_wrap_TextCtrlNameStr_get() {
6893 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6895 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6902 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*self
, PyObject
*args
) {
6903 PyObject
*resultobj
;
6906 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
6908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6909 result
= (wxTextAttr
*)new wxTextAttr();
6911 wxPyEndAllowThreads(__tstate
);
6912 if (PyErr_Occurred()) SWIG_fail
;
6914 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6921 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*self
, PyObject
*args
) {
6922 PyObject
*resultobj
;
6923 wxColour
*arg1
= 0 ;
6924 wxColour
const &arg2_defvalue
= wxNullColour
;
6925 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6926 wxFont
const &arg3_defvalue
= wxNullFont
;
6927 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
6928 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
6932 PyObject
* obj0
= 0 ;
6933 PyObject
* obj1
= 0 ;
6934 PyObject
* obj2
= 0 ;
6935 PyObject
* obj3
= 0 ;
6937 if(!PyArg_ParseTuple(args
,(char *)"O|OOO:new_TextAttr",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6940 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
6945 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6949 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6950 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6953 PyErr_SetString(PyExc_TypeError
,"null reference");
6958 arg4
= (wxTextAttrAlignment
) SWIG_AsInt(obj3
);
6959 if (PyErr_Occurred()) SWIG_fail
;
6962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6963 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
6965 wxPyEndAllowThreads(__tstate
);
6966 if (PyErr_Occurred()) SWIG_fail
;
6968 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6975 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
6980 argc
= PyObject_Length(args
);
6981 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
6982 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6985 return _wrap_new_TextAttr__SWIG_0(self
,args
);
6987 if ((argc
>= 1) && (argc
<= 4)) {
6990 _v
= wxColour_typecheck(argv
[0]);
6994 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6997 _v
= wxColour_typecheck(argv
[1]);
7001 return _wrap_new_TextAttr__SWIG_1(self
,args
);
7005 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
7014 return _wrap_new_TextAttr__SWIG_1(self
,args
);
7016 _v
= SWIG_CheckInt(argv
[3]);
7018 return _wrap_new_TextAttr__SWIG_1(self
,args
);
7025 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
7030 static PyObject
*_wrap_delete_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7031 PyObject
*resultobj
;
7032 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7033 PyObject
* obj0
= 0 ;
7035 (char *) "self", NULL
7038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
7039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7045 wxPyEndAllowThreads(__tstate
);
7046 if (PyErr_Occurred()) SWIG_fail
;
7048 Py_INCREF(Py_None
); resultobj
= Py_None
;
7055 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7056 PyObject
*resultobj
;
7057 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7058 PyObject
* obj0
= 0 ;
7060 (char *) "self", NULL
7063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
7064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7070 wxPyEndAllowThreads(__tstate
);
7071 if (PyErr_Occurred()) SWIG_fail
;
7073 Py_INCREF(Py_None
); resultobj
= Py_None
;
7080 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7081 PyObject
*resultobj
;
7082 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7083 wxColour
*arg2
= 0 ;
7085 PyObject
* obj0
= 0 ;
7086 PyObject
* obj1
= 0 ;
7088 (char *) "self",(char *) "colText", NULL
7091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7096 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7100 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
7102 wxPyEndAllowThreads(__tstate
);
7103 if (PyErr_Occurred()) SWIG_fail
;
7105 Py_INCREF(Py_None
); resultobj
= Py_None
;
7112 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7113 PyObject
*resultobj
;
7114 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7115 wxColour
*arg2
= 0 ;
7117 PyObject
* obj0
= 0 ;
7118 PyObject
* obj1
= 0 ;
7120 (char *) "self",(char *) "colBack", NULL
7123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7128 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7132 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
7134 wxPyEndAllowThreads(__tstate
);
7135 if (PyErr_Occurred()) SWIG_fail
;
7137 Py_INCREF(Py_None
); resultobj
= Py_None
;
7144 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7145 PyObject
*resultobj
;
7146 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7148 long arg3
= (long) wxTEXT_ATTR_FONT
;
7149 PyObject
* obj0
= 0 ;
7150 PyObject
* obj1
= 0 ;
7151 PyObject
* obj2
= 0 ;
7153 (char *) "self",(char *) "font",(char *) "flags", NULL
7156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7159 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7160 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7163 PyErr_SetString(PyExc_TypeError
,"null reference");
7167 arg3
= (long) SWIG_AsLong(obj2
);
7168 if (PyErr_Occurred()) SWIG_fail
;
7171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7172 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
7174 wxPyEndAllowThreads(__tstate
);
7175 if (PyErr_Occurred()) SWIG_fail
;
7177 Py_INCREF(Py_None
); resultobj
= Py_None
;
7184 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7185 PyObject
*resultobj
;
7186 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7188 PyObject
* obj0
= 0 ;
7189 PyObject
* obj1
= 0 ;
7191 (char *) "self",(char *) "alignment", NULL
7194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7197 arg2
= (wxTextAttrAlignment
) SWIG_AsInt(obj1
);
7198 if (PyErr_Occurred()) SWIG_fail
;
7200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7201 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
7203 wxPyEndAllowThreads(__tstate
);
7204 if (PyErr_Occurred()) SWIG_fail
;
7206 Py_INCREF(Py_None
); resultobj
= Py_None
;
7213 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7214 PyObject
*resultobj
;
7215 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7216 wxArrayInt
*arg2
= 0 ;
7217 bool temp2
= False
;
7218 PyObject
* obj0
= 0 ;
7219 PyObject
* obj1
= 0 ;
7221 (char *) "self",(char *) "tabs", NULL
7224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
7225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7228 if (! PySequence_Check(obj1
)) {
7229 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
7232 arg2
= new wxArrayInt
;
7234 int i
, len
=PySequence_Length(obj1
);
7235 for (i
=0; i
<len
; i
++) {
7236 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7237 PyObject
* number
= PyNumber_Int(item
);
7238 arg2
->Add(PyInt_AS_LONG(number
));
7244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7245 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
7247 wxPyEndAllowThreads(__tstate
);
7248 if (PyErr_Occurred()) SWIG_fail
;
7250 Py_INCREF(Py_None
); resultobj
= Py_None
;
7252 if (temp2
) delete arg2
;
7257 if (temp2
) delete arg2
;
7263 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7264 PyObject
*resultobj
;
7265 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7267 int arg3
= (int) 0 ;
7268 PyObject
* obj0
= 0 ;
7269 PyObject
* obj1
= 0 ;
7270 PyObject
* obj2
= 0 ;
7272 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
7275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7278 arg2
= (int) SWIG_AsInt(obj1
);
7279 if (PyErr_Occurred()) SWIG_fail
;
7281 arg3
= (int) SWIG_AsInt(obj2
);
7282 if (PyErr_Occurred()) SWIG_fail
;
7285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7286 (arg1
)->SetLeftIndent(arg2
,arg3
);
7288 wxPyEndAllowThreads(__tstate
);
7289 if (PyErr_Occurred()) SWIG_fail
;
7291 Py_INCREF(Py_None
); resultobj
= Py_None
;
7298 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7299 PyObject
*resultobj
;
7300 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7302 PyObject
* obj0
= 0 ;
7303 PyObject
* obj1
= 0 ;
7305 (char *) "self",(char *) "indent", NULL
7308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
7309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7311 arg2
= (int) SWIG_AsInt(obj1
);
7312 if (PyErr_Occurred()) SWIG_fail
;
7314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7315 (arg1
)->SetRightIndent(arg2
);
7317 wxPyEndAllowThreads(__tstate
);
7318 if (PyErr_Occurred()) SWIG_fail
;
7320 Py_INCREF(Py_None
); resultobj
= Py_None
;
7327 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7328 PyObject
*resultobj
;
7329 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7331 PyObject
* obj0
= 0 ;
7332 PyObject
* obj1
= 0 ;
7334 (char *) "self",(char *) "flags", NULL
7337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7340 arg2
= (long) SWIG_AsLong(obj1
);
7341 if (PyErr_Occurred()) SWIG_fail
;
7343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7344 (arg1
)->SetFlags(arg2
);
7346 wxPyEndAllowThreads(__tstate
);
7347 if (PyErr_Occurred()) SWIG_fail
;
7349 Py_INCREF(Py_None
); resultobj
= Py_None
;
7356 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7357 PyObject
*resultobj
;
7358 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7360 PyObject
* obj0
= 0 ;
7362 (char *) "self", NULL
7365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
7366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7370 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
7372 wxPyEndAllowThreads(__tstate
);
7373 if (PyErr_Occurred()) SWIG_fail
;
7376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7384 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7385 PyObject
*resultobj
;
7386 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7388 PyObject
* obj0
= 0 ;
7390 (char *) "self", NULL
7393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
7394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7398 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
7400 wxPyEndAllowThreads(__tstate
);
7401 if (PyErr_Occurred()) SWIG_fail
;
7404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7412 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7413 PyObject
*resultobj
;
7414 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7416 PyObject
* obj0
= 0 ;
7418 (char *) "self", NULL
7421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
7422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7426 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
7428 wxPyEndAllowThreads(__tstate
);
7429 if (PyErr_Occurred()) SWIG_fail
;
7432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7440 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7441 PyObject
*resultobj
;
7442 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7444 PyObject
* obj0
= 0 ;
7446 (char *) "self", NULL
7449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
7450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7454 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
7456 wxPyEndAllowThreads(__tstate
);
7457 if (PyErr_Occurred()) SWIG_fail
;
7460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7468 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7469 PyObject
*resultobj
;
7470 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7472 PyObject
* obj0
= 0 ;
7474 (char *) "self", NULL
7477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
7478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7482 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
7484 wxPyEndAllowThreads(__tstate
);
7485 if (PyErr_Occurred()) SWIG_fail
;
7488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7496 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7497 PyObject
*resultobj
;
7498 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7500 PyObject
* obj0
= 0 ;
7502 (char *) "self", NULL
7505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
7506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7510 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
7512 wxPyEndAllowThreads(__tstate
);
7513 if (PyErr_Occurred()) SWIG_fail
;
7516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7524 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7525 PyObject
*resultobj
;
7526 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7528 PyObject
* obj0
= 0 ;
7530 (char *) "self", NULL
7533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
7534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7538 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
7540 wxPyEndAllowThreads(__tstate
);
7541 if (PyErr_Occurred()) SWIG_fail
;
7544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7552 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7553 PyObject
*resultobj
;
7554 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7557 PyObject
* obj0
= 0 ;
7558 PyObject
* obj1
= 0 ;
7560 (char *) "self",(char *) "flag", NULL
7563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
7564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7566 arg2
= (long) SWIG_AsLong(obj1
);
7567 if (PyErr_Occurred()) SWIG_fail
;
7569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7570 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
7572 wxPyEndAllowThreads(__tstate
);
7573 if (PyErr_Occurred()) SWIG_fail
;
7576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7584 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7585 PyObject
*resultobj
;
7586 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7588 PyObject
* obj0
= 0 ;
7590 (char *) "self", NULL
7593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
7594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7599 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
7600 result
= (wxColour
*) &_result_ref
;
7603 wxPyEndAllowThreads(__tstate
);
7604 if (PyErr_Occurred()) SWIG_fail
;
7606 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7613 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7614 PyObject
*resultobj
;
7615 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7617 PyObject
* obj0
= 0 ;
7619 (char *) "self", NULL
7622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
7623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7628 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
7629 result
= (wxColour
*) &_result_ref
;
7632 wxPyEndAllowThreads(__tstate
);
7633 if (PyErr_Occurred()) SWIG_fail
;
7635 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7642 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7643 PyObject
*resultobj
;
7644 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7646 PyObject
* obj0
= 0 ;
7648 (char *) "self", NULL
7651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
7652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7657 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7658 result
= (wxFont
*) &_result_ref
;
7661 wxPyEndAllowThreads(__tstate
);
7662 if (PyErr_Occurred()) SWIG_fail
;
7665 wxFont
* resultptr
= new wxFont(*result
);
7666 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
7674 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7675 PyObject
*resultobj
;
7676 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7678 PyObject
* obj0
= 0 ;
7680 (char *) "self", NULL
7683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7688 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7690 wxPyEndAllowThreads(__tstate
);
7691 if (PyErr_Occurred()) SWIG_fail
;
7693 resultobj
= SWIG_FromInt((int)result
);
7700 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7701 PyObject
*resultobj
;
7702 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7704 PyObject
* obj0
= 0 ;
7706 (char *) "self", NULL
7709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7715 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7716 result
= (wxArrayInt
*) &_result_ref
;
7719 wxPyEndAllowThreads(__tstate
);
7720 if (PyErr_Occurred()) SWIG_fail
;
7723 resultobj
= PyList_New(0);
7725 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7726 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7727 PyList_Append(resultobj
, val
);
7737 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7738 PyObject
*resultobj
;
7739 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7741 PyObject
* obj0
= 0 ;
7743 (char *) "self", NULL
7746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7751 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7753 wxPyEndAllowThreads(__tstate
);
7754 if (PyErr_Occurred()) SWIG_fail
;
7756 resultobj
= SWIG_FromLong((long)result
);
7763 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7764 PyObject
*resultobj
;
7765 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7767 PyObject
* obj0
= 0 ;
7769 (char *) "self", NULL
7772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftSubIndent",kwnames
,&obj0
)) goto fail
;
7773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7777 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
7779 wxPyEndAllowThreads(__tstate
);
7780 if (PyErr_Occurred()) SWIG_fail
;
7782 resultobj
= SWIG_FromLong((long)result
);
7789 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7790 PyObject
*resultobj
;
7791 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7793 PyObject
* obj0
= 0 ;
7795 (char *) "self", NULL
7798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7803 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7805 wxPyEndAllowThreads(__tstate
);
7806 if (PyErr_Occurred()) SWIG_fail
;
7808 resultobj
= SWIG_FromLong((long)result
);
7815 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7816 PyObject
*resultobj
;
7817 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7819 PyObject
* obj0
= 0 ;
7821 (char *) "self", NULL
7824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
7825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7829 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7831 wxPyEndAllowThreads(__tstate
);
7832 if (PyErr_Occurred()) SWIG_fail
;
7834 resultobj
= SWIG_FromLong((long)result
);
7841 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7842 PyObject
*resultobj
;
7843 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7845 PyObject
* obj0
= 0 ;
7847 (char *) "self", NULL
7850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
7851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7855 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
7857 wxPyEndAllowThreads(__tstate
);
7858 if (PyErr_Occurred()) SWIG_fail
;
7861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7869 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7870 PyObject
*resultobj
;
7871 wxTextAttr
*arg1
= 0 ;
7872 wxTextAttr
*arg2
= 0 ;
7873 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
7875 PyObject
* obj0
= 0 ;
7876 PyObject
* obj1
= 0 ;
7877 PyObject
* obj2
= 0 ;
7879 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7884 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7887 PyErr_SetString(PyExc_TypeError
,"null reference");
7890 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
7891 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7894 PyErr_SetString(PyExc_TypeError
,"null reference");
7897 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
,
7898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7901 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
7903 wxPyEndAllowThreads(__tstate
);
7904 if (PyErr_Occurred()) SWIG_fail
;
7907 wxTextAttr
* resultptr
;
7908 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
7909 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
7917 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
7919 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7920 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
7922 return Py_BuildValue((char *)"");
7924 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7925 PyObject
*resultobj
;
7926 wxWindow
*arg1
= (wxWindow
*) 0 ;
7928 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7929 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7930 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7931 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7932 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7933 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7934 long arg6
= (long) 0 ;
7935 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7936 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7937 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
7938 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7940 bool temp3
= False
;
7943 bool temp8
= False
;
7944 PyObject
* obj0
= 0 ;
7945 PyObject
* obj1
= 0 ;
7946 PyObject
* obj2
= 0 ;
7947 PyObject
* obj3
= 0 ;
7948 PyObject
* obj4
= 0 ;
7949 PyObject
* obj5
= 0 ;
7950 PyObject
* obj6
= 0 ;
7951 PyObject
* obj7
= 0 ;
7953 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7959 arg2
= (int) SWIG_AsInt(obj1
);
7960 if (PyErr_Occurred()) SWIG_fail
;
7963 arg3
= wxString_in_helper(obj2
);
7964 if (arg3
== NULL
) SWIG_fail
;
7971 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7977 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7981 arg6
= (long) SWIG_AsLong(obj5
);
7982 if (PyErr_Occurred()) SWIG_fail
;
7985 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
7986 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7989 PyErr_SetString(PyExc_TypeError
,"null reference");
7995 arg8
= wxString_in_helper(obj7
);
7996 if (arg8
== NULL
) SWIG_fail
;
8001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8002 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8004 wxPyEndAllowThreads(__tstate
);
8005 if (PyErr_Occurred()) SWIG_fail
;
8008 resultobj
= wxPyMake_wxObject(result
);
8032 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8033 PyObject
*resultobj
;
8039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
8041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8042 result
= (wxTextCtrl
*)new wxTextCtrl();
8044 wxPyEndAllowThreads(__tstate
);
8045 if (PyErr_Occurred()) SWIG_fail
;
8048 resultobj
= wxPyMake_wxObject(result
);
8056 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8057 PyObject
*resultobj
;
8058 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8059 wxWindow
*arg2
= (wxWindow
*) 0 ;
8061 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8062 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8063 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8064 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8065 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8066 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8067 long arg7
= (long) 0 ;
8068 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8069 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8070 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
8071 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8073 bool temp4
= False
;
8076 bool temp9
= False
;
8077 PyObject
* obj0
= 0 ;
8078 PyObject
* obj1
= 0 ;
8079 PyObject
* obj2
= 0 ;
8080 PyObject
* obj3
= 0 ;
8081 PyObject
* obj4
= 0 ;
8082 PyObject
* obj5
= 0 ;
8083 PyObject
* obj6
= 0 ;
8084 PyObject
* obj7
= 0 ;
8085 PyObject
* obj8
= 0 ;
8087 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8093 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8095 arg3
= (int) SWIG_AsInt(obj2
);
8096 if (PyErr_Occurred()) SWIG_fail
;
8099 arg4
= wxString_in_helper(obj3
);
8100 if (arg4
== NULL
) SWIG_fail
;
8107 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8113 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8117 arg7
= (long) SWIG_AsLong(obj6
);
8118 if (PyErr_Occurred()) SWIG_fail
;
8121 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
8122 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8125 PyErr_SetString(PyExc_TypeError
,"null reference");
8131 arg9
= wxString_in_helper(obj8
);
8132 if (arg9
== NULL
) SWIG_fail
;
8137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8138 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8140 wxPyEndAllowThreads(__tstate
);
8141 if (PyErr_Occurred()) SWIG_fail
;
8144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8168 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8169 PyObject
*resultobj
;
8170 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8172 PyObject
* obj0
= 0 ;
8174 (char *) "self", NULL
8177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
8178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8182 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
8184 wxPyEndAllowThreads(__tstate
);
8185 if (PyErr_Occurred()) SWIG_fail
;
8189 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8191 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8200 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8201 PyObject
*resultobj
;
8202 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8203 wxString
*arg2
= 0 ;
8204 bool temp2
= False
;
8205 PyObject
* obj0
= 0 ;
8206 PyObject
* obj1
= 0 ;
8208 (char *) "self",(char *) "value", NULL
8211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
8212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8215 arg2
= wxString_in_helper(obj1
);
8216 if (arg2
== NULL
) SWIG_fail
;
8220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8221 (arg1
)->SetValue((wxString
const &)*arg2
);
8223 wxPyEndAllowThreads(__tstate
);
8224 if (PyErr_Occurred()) SWIG_fail
;
8226 Py_INCREF(Py_None
); resultobj
= Py_None
;
8241 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8242 PyObject
*resultobj
;
8243 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8247 PyObject
* obj0
= 0 ;
8248 PyObject
* obj1
= 0 ;
8249 PyObject
* obj2
= 0 ;
8251 (char *) "self",(char *) "from",(char *) "to", NULL
8254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8257 arg2
= (long) SWIG_AsLong(obj1
);
8258 if (PyErr_Occurred()) SWIG_fail
;
8259 arg3
= (long) SWIG_AsLong(obj2
);
8260 if (PyErr_Occurred()) SWIG_fail
;
8262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8263 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
8265 wxPyEndAllowThreads(__tstate
);
8266 if (PyErr_Occurred()) SWIG_fail
;
8270 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8272 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8281 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8282 PyObject
*resultobj
;
8283 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8286 PyObject
* obj0
= 0 ;
8287 PyObject
* obj1
= 0 ;
8289 (char *) "self",(char *) "lineNo", NULL
8292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8295 arg2
= (long) SWIG_AsLong(obj1
);
8296 if (PyErr_Occurred()) SWIG_fail
;
8298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8299 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
8301 wxPyEndAllowThreads(__tstate
);
8302 if (PyErr_Occurred()) SWIG_fail
;
8304 resultobj
= SWIG_FromInt((int)result
);
8311 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8312 PyObject
*resultobj
;
8313 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8316 PyObject
* obj0
= 0 ;
8317 PyObject
* obj1
= 0 ;
8319 (char *) "self",(char *) "lineNo", NULL
8322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
8323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8325 arg2
= (long) SWIG_AsLong(obj1
);
8326 if (PyErr_Occurred()) SWIG_fail
;
8328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8329 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
8331 wxPyEndAllowThreads(__tstate
);
8332 if (PyErr_Occurred()) SWIG_fail
;
8336 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8338 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8347 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8348 PyObject
*resultobj
;
8349 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8351 PyObject
* obj0
= 0 ;
8353 (char *) "self", NULL
8356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
8357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8361 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
8363 wxPyEndAllowThreads(__tstate
);
8364 if (PyErr_Occurred()) SWIG_fail
;
8366 resultobj
= SWIG_FromInt((int)result
);
8373 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8374 PyObject
*resultobj
;
8375 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8377 PyObject
* obj0
= 0 ;
8379 (char *) "self", NULL
8382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
8383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8387 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
8389 wxPyEndAllowThreads(__tstate
);
8390 if (PyErr_Occurred()) SWIG_fail
;
8393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8401 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8402 PyObject
*resultobj
;
8403 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8405 PyObject
* obj0
= 0 ;
8407 (char *) "self", NULL
8410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
8411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8415 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
8417 wxPyEndAllowThreads(__tstate
);
8418 if (PyErr_Occurred()) SWIG_fail
;
8421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8429 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8430 PyObject
*resultobj
;
8431 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8433 PyObject
* obj0
= 0 ;
8435 (char *) "self", NULL
8438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
8439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8443 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
8445 wxPyEndAllowThreads(__tstate
);
8446 if (PyErr_Occurred()) SWIG_fail
;
8449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8457 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8458 PyObject
*resultobj
;
8459 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8461 PyObject
* obj0
= 0 ;
8463 (char *) "self", NULL
8466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",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 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
8473 wxPyEndAllowThreads(__tstate
);
8474 if (PyErr_Occurred()) SWIG_fail
;
8477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8485 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8486 PyObject
*resultobj
;
8487 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8488 long *arg2
= (long *) 0 ;
8489 long *arg3
= (long *) 0 ;
8492 PyObject
* obj0
= 0 ;
8494 (char *) "self", NULL
8499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
8500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8504 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
8506 wxPyEndAllowThreads(__tstate
);
8507 if (PyErr_Occurred()) SWIG_fail
;
8509 Py_INCREF(Py_None
); resultobj
= Py_None
;
8511 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8512 resultobj
= t_output_helper(resultobj
,o
);
8515 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8516 resultobj
= t_output_helper(resultobj
,o
);
8524 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8525 PyObject
*resultobj
;
8526 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8528 PyObject
* obj0
= 0 ;
8530 (char *) "self", NULL
8533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
8534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8538 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
8540 wxPyEndAllowThreads(__tstate
);
8541 if (PyErr_Occurred()) SWIG_fail
;
8545 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8547 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8556 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8557 PyObject
*resultobj
;
8558 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8559 PyObject
* obj0
= 0 ;
8561 (char *) "self", NULL
8564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
8565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8571 wxPyEndAllowThreads(__tstate
);
8572 if (PyErr_Occurred()) SWIG_fail
;
8574 Py_INCREF(Py_None
); resultobj
= Py_None
;
8581 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8582 PyObject
*resultobj
;
8583 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8586 wxString
*arg4
= 0 ;
8587 bool temp4
= False
;
8588 PyObject
* obj0
= 0 ;
8589 PyObject
* obj1
= 0 ;
8590 PyObject
* obj2
= 0 ;
8591 PyObject
* obj3
= 0 ;
8593 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8599 arg2
= (long) SWIG_AsLong(obj1
);
8600 if (PyErr_Occurred()) SWIG_fail
;
8601 arg3
= (long) SWIG_AsLong(obj2
);
8602 if (PyErr_Occurred()) SWIG_fail
;
8604 arg4
= wxString_in_helper(obj3
);
8605 if (arg4
== NULL
) SWIG_fail
;
8609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8610 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
8612 wxPyEndAllowThreads(__tstate
);
8613 if (PyErr_Occurred()) SWIG_fail
;
8615 Py_INCREF(Py_None
); resultobj
= Py_None
;
8630 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8631 PyObject
*resultobj
;
8632 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8635 PyObject
* obj0
= 0 ;
8636 PyObject
* obj1
= 0 ;
8637 PyObject
* obj2
= 0 ;
8639 (char *) "self",(char *) "from",(char *) "to", NULL
8642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8645 arg2
= (long) SWIG_AsLong(obj1
);
8646 if (PyErr_Occurred()) SWIG_fail
;
8647 arg3
= (long) SWIG_AsLong(obj2
);
8648 if (PyErr_Occurred()) SWIG_fail
;
8650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8651 (arg1
)->Remove(arg2
,arg3
);
8653 wxPyEndAllowThreads(__tstate
);
8654 if (PyErr_Occurred()) SWIG_fail
;
8656 Py_INCREF(Py_None
); resultobj
= Py_None
;
8663 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8664 PyObject
*resultobj
;
8665 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8666 wxString
*arg2
= 0 ;
8668 bool temp2
= False
;
8669 PyObject
* obj0
= 0 ;
8670 PyObject
* obj1
= 0 ;
8672 (char *) "self",(char *) "file", NULL
8675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8679 arg2
= wxString_in_helper(obj1
);
8680 if (arg2
== NULL
) SWIG_fail
;
8684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8685 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
8687 wxPyEndAllowThreads(__tstate
);
8688 if (PyErr_Occurred()) SWIG_fail
;
8691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8707 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8708 PyObject
*resultobj
;
8709 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8710 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8711 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8713 bool temp2
= False
;
8714 PyObject
* obj0
= 0 ;
8715 PyObject
* obj1
= 0 ;
8717 (char *) "self",(char *) "file", NULL
8720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8725 arg2
= wxString_in_helper(obj1
);
8726 if (arg2
== NULL
) SWIG_fail
;
8731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8732 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8734 wxPyEndAllowThreads(__tstate
);
8735 if (PyErr_Occurred()) SWIG_fail
;
8738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8754 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8755 PyObject
*resultobj
;
8756 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8757 PyObject
* obj0
= 0 ;
8759 (char *) "self", NULL
8762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8767 (arg1
)->MarkDirty();
8769 wxPyEndAllowThreads(__tstate
);
8770 if (PyErr_Occurred()) SWIG_fail
;
8772 Py_INCREF(Py_None
); resultobj
= Py_None
;
8779 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8780 PyObject
*resultobj
;
8781 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8782 PyObject
* obj0
= 0 ;
8784 (char *) "self", NULL
8787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8792 (arg1
)->DiscardEdits();
8794 wxPyEndAllowThreads(__tstate
);
8795 if (PyErr_Occurred()) SWIG_fail
;
8797 Py_INCREF(Py_None
); resultobj
= Py_None
;
8804 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8805 PyObject
*resultobj
;
8806 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8807 unsigned long arg2
;
8808 PyObject
* obj0
= 0 ;
8809 PyObject
* obj1
= 0 ;
8811 (char *) "self",(char *) "len", NULL
8814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8817 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
8818 if (PyErr_Occurred()) SWIG_fail
;
8820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8821 (arg1
)->SetMaxLength(arg2
);
8823 wxPyEndAllowThreads(__tstate
);
8824 if (PyErr_Occurred()) SWIG_fail
;
8826 Py_INCREF(Py_None
); resultobj
= Py_None
;
8833 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8834 PyObject
*resultobj
;
8835 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8836 wxString
*arg2
= 0 ;
8837 bool temp2
= False
;
8838 PyObject
* obj0
= 0 ;
8839 PyObject
* obj1
= 0 ;
8841 (char *) "self",(char *) "text", NULL
8844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8848 arg2
= wxString_in_helper(obj1
);
8849 if (arg2
== NULL
) SWIG_fail
;
8853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8854 (arg1
)->WriteText((wxString
const &)*arg2
);
8856 wxPyEndAllowThreads(__tstate
);
8857 if (PyErr_Occurred()) SWIG_fail
;
8859 Py_INCREF(Py_None
); resultobj
= Py_None
;
8874 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8875 PyObject
*resultobj
;
8876 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8877 wxString
*arg2
= 0 ;
8878 bool temp2
= False
;
8879 PyObject
* obj0
= 0 ;
8880 PyObject
* obj1
= 0 ;
8882 (char *) "self",(char *) "text", NULL
8885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
8886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8889 arg2
= wxString_in_helper(obj1
);
8890 if (arg2
== NULL
) SWIG_fail
;
8894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8895 (arg1
)->AppendText((wxString
const &)*arg2
);
8897 wxPyEndAllowThreads(__tstate
);
8898 if (PyErr_Occurred()) SWIG_fail
;
8900 Py_INCREF(Py_None
); resultobj
= Py_None
;
8915 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8916 PyObject
*resultobj
;
8917 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8918 wxKeyEvent
*arg2
= 0 ;
8920 PyObject
* obj0
= 0 ;
8921 PyObject
* obj1
= 0 ;
8923 (char *) "self",(char *) "event", NULL
8926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
8927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8929 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
8930 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8933 PyErr_SetString(PyExc_TypeError
,"null reference");
8937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8938 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
8940 wxPyEndAllowThreads(__tstate
);
8941 if (PyErr_Occurred()) SWIG_fail
;
8944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8952 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8953 PyObject
*resultobj
;
8954 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8957 wxTextAttr
*arg4
= 0 ;
8959 PyObject
* obj0
= 0 ;
8960 PyObject
* obj1
= 0 ;
8961 PyObject
* obj2
= 0 ;
8962 PyObject
* obj3
= 0 ;
8964 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8970 arg2
= (long) SWIG_AsLong(obj1
);
8971 if (PyErr_Occurred()) SWIG_fail
;
8972 arg3
= (long) SWIG_AsLong(obj2
);
8973 if (PyErr_Occurred()) SWIG_fail
;
8974 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
,
8975 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8978 PyErr_SetString(PyExc_TypeError
,"null reference");
8982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8983 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
8985 wxPyEndAllowThreads(__tstate
);
8986 if (PyErr_Occurred()) SWIG_fail
;
8989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8997 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8998 PyObject
*resultobj
;
8999 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9001 wxTextAttr
*arg3
= 0 ;
9003 PyObject
* obj0
= 0 ;
9004 PyObject
* obj1
= 0 ;
9005 PyObject
* obj2
= 0 ;
9007 (char *) "self",(char *) "position",(char *) "style", NULL
9010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9013 arg2
= (long) SWIG_AsLong(obj1
);
9014 if (PyErr_Occurred()) SWIG_fail
;
9015 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
,
9016 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9019 PyErr_SetString(PyExc_TypeError
,"null reference");
9023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9024 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
9026 wxPyEndAllowThreads(__tstate
);
9027 if (PyErr_Occurred()) SWIG_fail
;
9030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9038 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9039 PyObject
*resultobj
;
9040 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9041 wxTextAttr
*arg2
= 0 ;
9043 PyObject
* obj0
= 0 ;
9044 PyObject
* obj1
= 0 ;
9046 (char *) "self",(char *) "style", NULL
9049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
9050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9052 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
9053 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9056 PyErr_SetString(PyExc_TypeError
,"null reference");
9060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9061 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
9063 wxPyEndAllowThreads(__tstate
);
9064 if (PyErr_Occurred()) SWIG_fail
;
9067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9075 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9076 PyObject
*resultobj
;
9077 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9079 PyObject
* obj0
= 0 ;
9081 (char *) "self", NULL
9084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
9085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9090 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
9091 result
= (wxTextAttr
*) &_result_ref
;
9094 wxPyEndAllowThreads(__tstate
);
9095 if (PyErr_Occurred()) SWIG_fail
;
9097 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
9104 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9105 PyObject
*resultobj
;
9106 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9110 PyObject
* obj0
= 0 ;
9111 PyObject
* obj1
= 0 ;
9112 PyObject
* obj2
= 0 ;
9114 (char *) "self",(char *) "x",(char *) "y", NULL
9117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9120 arg2
= (long) SWIG_AsLong(obj1
);
9121 if (PyErr_Occurred()) SWIG_fail
;
9122 arg3
= (long) SWIG_AsLong(obj2
);
9123 if (PyErr_Occurred()) SWIG_fail
;
9125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9126 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
9128 wxPyEndAllowThreads(__tstate
);
9129 if (PyErr_Occurred()) SWIG_fail
;
9131 resultobj
= SWIG_FromLong((long)result
);
9138 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9139 PyObject
*resultobj
;
9140 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9142 long *arg3
= (long *) 0 ;
9143 long *arg4
= (long *) 0 ;
9146 PyObject
* obj0
= 0 ;
9147 PyObject
* obj1
= 0 ;
9149 (char *) "self",(char *) "pos", NULL
9154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
9155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9157 arg2
= (long) SWIG_AsLong(obj1
);
9158 if (PyErr_Occurred()) SWIG_fail
;
9160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9161 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
9163 wxPyEndAllowThreads(__tstate
);
9164 if (PyErr_Occurred()) SWIG_fail
;
9166 Py_INCREF(Py_None
); resultobj
= Py_None
;
9168 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9169 resultobj
= t_output_helper(resultobj
,o
);
9172 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9173 resultobj
= t_output_helper(resultobj
,o
);
9181 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9182 PyObject
*resultobj
;
9183 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9185 PyObject
* obj0
= 0 ;
9186 PyObject
* obj1
= 0 ;
9188 (char *) "self",(char *) "pos", NULL
9191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9194 arg2
= (long) SWIG_AsLong(obj1
);
9195 if (PyErr_Occurred()) SWIG_fail
;
9197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9198 (arg1
)->ShowPosition(arg2
);
9200 wxPyEndAllowThreads(__tstate
);
9201 if (PyErr_Occurred()) SWIG_fail
;
9203 Py_INCREF(Py_None
); resultobj
= Py_None
;
9210 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9211 PyObject
*resultobj
;
9212 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9214 long *arg3
= (long *) 0 ;
9215 long *arg4
= (long *) 0 ;
9220 PyObject
* obj0
= 0 ;
9221 PyObject
* obj1
= 0 ;
9223 (char *) "self",(char *) "pt", NULL
9228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9233 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9237 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
9239 wxPyEndAllowThreads(__tstate
);
9240 if (PyErr_Occurred()) SWIG_fail
;
9242 resultobj
= SWIG_FromInt((int)result
);
9244 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9245 resultobj
= t_output_helper(resultobj
,o
);
9248 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9249 resultobj
= t_output_helper(resultobj
,o
);
9257 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9258 PyObject
*resultobj
;
9259 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9260 PyObject
* obj0
= 0 ;
9262 (char *) "self", NULL
9265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
9266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9272 wxPyEndAllowThreads(__tstate
);
9273 if (PyErr_Occurred()) SWIG_fail
;
9275 Py_INCREF(Py_None
); resultobj
= Py_None
;
9282 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9283 PyObject
*resultobj
;
9284 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9285 PyObject
* obj0
= 0 ;
9287 (char *) "self", NULL
9290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
9291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9297 wxPyEndAllowThreads(__tstate
);
9298 if (PyErr_Occurred()) SWIG_fail
;
9300 Py_INCREF(Py_None
); resultobj
= Py_None
;
9307 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9308 PyObject
*resultobj
;
9309 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9310 PyObject
* obj0
= 0 ;
9312 (char *) "self", NULL
9315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
9316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9322 wxPyEndAllowThreads(__tstate
);
9323 if (PyErr_Occurred()) SWIG_fail
;
9325 Py_INCREF(Py_None
); resultobj
= Py_None
;
9332 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9333 PyObject
*resultobj
;
9334 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9336 PyObject
* obj0
= 0 ;
9338 (char *) "self", NULL
9341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
9342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9346 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
9348 wxPyEndAllowThreads(__tstate
);
9349 if (PyErr_Occurred()) SWIG_fail
;
9352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9360 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9361 PyObject
*resultobj
;
9362 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9364 PyObject
* obj0
= 0 ;
9366 (char *) "self", NULL
9369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
9370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9374 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
9376 wxPyEndAllowThreads(__tstate
);
9377 if (PyErr_Occurred()) SWIG_fail
;
9380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9388 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9389 PyObject
*resultobj
;
9390 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9392 PyObject
* obj0
= 0 ;
9394 (char *) "self", NULL
9397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
9398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9402 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
9404 wxPyEndAllowThreads(__tstate
);
9405 if (PyErr_Occurred()) SWIG_fail
;
9408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9416 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9417 PyObject
*resultobj
;
9418 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9419 PyObject
* obj0
= 0 ;
9421 (char *) "self", NULL
9424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
9425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9431 wxPyEndAllowThreads(__tstate
);
9432 if (PyErr_Occurred()) SWIG_fail
;
9434 Py_INCREF(Py_None
); resultobj
= Py_None
;
9441 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9442 PyObject
*resultobj
;
9443 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9444 PyObject
* obj0
= 0 ;
9446 (char *) "self", NULL
9449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
9450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9456 wxPyEndAllowThreads(__tstate
);
9457 if (PyErr_Occurred()) SWIG_fail
;
9459 Py_INCREF(Py_None
); resultobj
= Py_None
;
9466 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9467 PyObject
*resultobj
;
9468 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9470 PyObject
* obj0
= 0 ;
9472 (char *) "self", NULL
9475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
9476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9480 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
9482 wxPyEndAllowThreads(__tstate
);
9483 if (PyErr_Occurred()) SWIG_fail
;
9486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9494 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9495 PyObject
*resultobj
;
9496 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9498 PyObject
* obj0
= 0 ;
9500 (char *) "self", NULL
9503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
9504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9508 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
9510 wxPyEndAllowThreads(__tstate
);
9511 if (PyErr_Occurred()) SWIG_fail
;
9514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9522 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9523 PyObject
*resultobj
;
9524 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9526 PyObject
* obj0
= 0 ;
9527 PyObject
* obj1
= 0 ;
9529 (char *) "self",(char *) "pos", NULL
9532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
9533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9535 arg2
= (long) SWIG_AsLong(obj1
);
9536 if (PyErr_Occurred()) SWIG_fail
;
9538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9539 (arg1
)->SetInsertionPoint(arg2
);
9541 wxPyEndAllowThreads(__tstate
);
9542 if (PyErr_Occurred()) SWIG_fail
;
9544 Py_INCREF(Py_None
); resultobj
= Py_None
;
9551 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9552 PyObject
*resultobj
;
9553 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9554 PyObject
* obj0
= 0 ;
9556 (char *) "self", NULL
9559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
9560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9564 (arg1
)->SetInsertionPointEnd();
9566 wxPyEndAllowThreads(__tstate
);
9567 if (PyErr_Occurred()) SWIG_fail
;
9569 Py_INCREF(Py_None
); resultobj
= Py_None
;
9576 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9577 PyObject
*resultobj
;
9578 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9580 PyObject
* obj0
= 0 ;
9582 (char *) "self", NULL
9585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
9586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9590 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
9592 wxPyEndAllowThreads(__tstate
);
9593 if (PyErr_Occurred()) SWIG_fail
;
9595 resultobj
= SWIG_FromLong((long)result
);
9602 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9603 PyObject
*resultobj
;
9604 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9606 PyObject
* obj0
= 0 ;
9608 (char *) "self", NULL
9611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
9612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9616 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
9618 wxPyEndAllowThreads(__tstate
);
9619 if (PyErr_Occurred()) SWIG_fail
;
9621 resultobj
= SWIG_FromLong((long)result
);
9628 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9629 PyObject
*resultobj
;
9630 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9633 PyObject
* obj0
= 0 ;
9634 PyObject
* obj1
= 0 ;
9635 PyObject
* obj2
= 0 ;
9637 (char *) "self",(char *) "from",(char *) "to", NULL
9640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9643 arg2
= (long) SWIG_AsLong(obj1
);
9644 if (PyErr_Occurred()) SWIG_fail
;
9645 arg3
= (long) SWIG_AsLong(obj2
);
9646 if (PyErr_Occurred()) SWIG_fail
;
9648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9649 (arg1
)->SetSelection(arg2
,arg3
);
9651 wxPyEndAllowThreads(__tstate
);
9652 if (PyErr_Occurred()) SWIG_fail
;
9654 Py_INCREF(Py_None
); resultobj
= Py_None
;
9661 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9662 PyObject
*resultobj
;
9663 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9664 PyObject
* obj0
= 0 ;
9666 (char *) "self", NULL
9669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
9670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9674 (arg1
)->SelectAll();
9676 wxPyEndAllowThreads(__tstate
);
9677 if (PyErr_Occurred()) SWIG_fail
;
9679 Py_INCREF(Py_None
); resultobj
= Py_None
;
9686 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9687 PyObject
*resultobj
;
9688 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9690 PyObject
* obj0
= 0 ;
9691 PyObject
* obj1
= 0 ;
9693 (char *) "self",(char *) "editable", NULL
9696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
9697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9699 arg2
= (bool) SWIG_AsBool(obj1
);
9700 if (PyErr_Occurred()) SWIG_fail
;
9702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9703 (arg1
)->SetEditable(arg2
);
9705 wxPyEndAllowThreads(__tstate
);
9706 if (PyErr_Occurred()) SWIG_fail
;
9708 Py_INCREF(Py_None
); resultobj
= Py_None
;
9715 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9716 PyObject
*resultobj
;
9717 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9718 wxString
*arg2
= 0 ;
9719 bool temp2
= False
;
9720 PyObject
* obj0
= 0 ;
9721 PyObject
* obj1
= 0 ;
9723 (char *) "self",(char *) "text", NULL
9726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9730 arg2
= wxString_in_helper(obj1
);
9731 if (arg2
== NULL
) SWIG_fail
;
9735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9736 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
9738 wxPyEndAllowThreads(__tstate
);
9739 if (PyErr_Occurred()) SWIG_fail
;
9741 Py_INCREF(Py_None
); resultobj
= Py_None
;
9756 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9757 PyObject
*resultobj
;
9758 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9762 PyObject
* obj0
= 0 ;
9763 PyObject
* obj1
= 0 ;
9764 PyObject
* obj2
= 0 ;
9766 (char *) "self",(char *) "from",(char *) "to", NULL
9769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9772 arg2
= (long) SWIG_AsLong(obj1
);
9773 if (PyErr_Occurred()) SWIG_fail
;
9774 arg3
= (long) SWIG_AsLong(obj2
);
9775 if (PyErr_Occurred()) SWIG_fail
;
9777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9778 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9780 wxPyEndAllowThreads(__tstate
);
9781 if (PyErr_Occurred()) SWIG_fail
;
9785 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9787 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9796 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9797 PyObject
*resultobj
;
9798 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
9799 wxVisualAttributes result
;
9800 PyObject
* obj0
= 0 ;
9802 (char *) "variant", NULL
9805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
9807 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
9808 if (PyErr_Occurred()) SWIG_fail
;
9811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9812 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
9814 wxPyEndAllowThreads(__tstate
);
9815 if (PyErr_Occurred()) SWIG_fail
;
9818 wxVisualAttributes
* resultptr
;
9819 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
9820 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
9828 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9830 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9831 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
9833 return Py_BuildValue((char *)"");
9835 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9836 PyObject
*resultobj
;
9838 wxMouseEvent
*arg2
= 0 ;
9841 wxTextUrlEvent
*result
;
9842 PyObject
* obj0
= 0 ;
9843 PyObject
* obj1
= 0 ;
9844 PyObject
* obj2
= 0 ;
9845 PyObject
* obj3
= 0 ;
9847 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9851 arg1
= (int) SWIG_AsInt(obj0
);
9852 if (PyErr_Occurred()) SWIG_fail
;
9853 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
9854 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9857 PyErr_SetString(PyExc_TypeError
,"null reference");
9860 arg3
= (long) SWIG_AsLong(obj2
);
9861 if (PyErr_Occurred()) SWIG_fail
;
9862 arg4
= (long) SWIG_AsLong(obj3
);
9863 if (PyErr_Occurred()) SWIG_fail
;
9865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9866 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
9868 wxPyEndAllowThreads(__tstate
);
9869 if (PyErr_Occurred()) SWIG_fail
;
9871 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
9878 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9879 PyObject
*resultobj
;
9880 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9881 wxMouseEvent
*result
;
9882 PyObject
* obj0
= 0 ;
9884 (char *) "self", NULL
9887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
9888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9893 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
9894 result
= (wxMouseEvent
*) &_result_ref
;
9897 wxPyEndAllowThreads(__tstate
);
9898 if (PyErr_Occurred()) SWIG_fail
;
9900 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
9907 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9908 PyObject
*resultobj
;
9909 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9911 PyObject
* obj0
= 0 ;
9913 (char *) "self", NULL
9916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
9917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9921 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
9923 wxPyEndAllowThreads(__tstate
);
9924 if (PyErr_Occurred()) SWIG_fail
;
9926 resultobj
= SWIG_FromLong((long)result
);
9933 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9934 PyObject
*resultobj
;
9935 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9937 PyObject
* obj0
= 0 ;
9939 (char *) "self", NULL
9942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
9943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9947 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
9949 wxPyEndAllowThreads(__tstate
);
9950 if (PyErr_Occurred()) SWIG_fail
;
9952 resultobj
= SWIG_FromLong((long)result
);
9959 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9961 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9962 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
9964 return Py_BuildValue((char *)"");
9966 static int _wrap_ScrollBarNameStr_set(PyObject
*_val
) {
9967 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
9972 static PyObject
*_wrap_ScrollBarNameStr_get() {
9977 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9979 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9986 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9987 PyObject
*resultobj
;
9988 wxWindow
*arg1
= (wxWindow
*) 0 ;
9989 int arg2
= (int) -1 ;
9990 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9991 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9992 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9993 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9994 long arg5
= (long) wxSB_HORIZONTAL
;
9995 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
9996 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
9997 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
9998 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9999 wxScrollBar
*result
;
10002 bool temp7
= False
;
10003 PyObject
* obj0
= 0 ;
10004 PyObject
* obj1
= 0 ;
10005 PyObject
* obj2
= 0 ;
10006 PyObject
* obj3
= 0 ;
10007 PyObject
* obj4
= 0 ;
10008 PyObject
* obj5
= 0 ;
10009 PyObject
* obj6
= 0 ;
10010 char *kwnames
[] = {
10011 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10018 arg2
= (int) SWIG_AsInt(obj1
);
10019 if (PyErr_Occurred()) SWIG_fail
;
10024 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10030 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10034 arg5
= (long) SWIG_AsLong(obj4
);
10035 if (PyErr_Occurred()) SWIG_fail
;
10038 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
10039 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10041 if (arg6
== NULL
) {
10042 PyErr_SetString(PyExc_TypeError
,"null reference");
10048 arg7
= wxString_in_helper(obj6
);
10049 if (arg7
== NULL
) SWIG_fail
;
10054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10055 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
10057 wxPyEndAllowThreads(__tstate
);
10058 if (PyErr_Occurred()) SWIG_fail
;
10060 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10075 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10076 PyObject
*resultobj
;
10077 wxScrollBar
*result
;
10078 char *kwnames
[] = {
10082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
10084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10085 result
= (wxScrollBar
*)new wxScrollBar();
10087 wxPyEndAllowThreads(__tstate
);
10088 if (PyErr_Occurred()) SWIG_fail
;
10090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10097 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10098 PyObject
*resultobj
;
10099 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10100 wxWindow
*arg2
= (wxWindow
*) 0 ;
10101 int arg3
= (int) -1 ;
10102 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10103 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10104 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10105 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10106 long arg6
= (long) wxSB_HORIZONTAL
;
10107 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10108 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10109 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
10110 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10114 bool temp8
= False
;
10115 PyObject
* obj0
= 0 ;
10116 PyObject
* obj1
= 0 ;
10117 PyObject
* obj2
= 0 ;
10118 PyObject
* obj3
= 0 ;
10119 PyObject
* obj4
= 0 ;
10120 PyObject
* obj5
= 0 ;
10121 PyObject
* obj6
= 0 ;
10122 PyObject
* obj7
= 0 ;
10123 char *kwnames
[] = {
10124 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
10128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10130 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10133 arg3
= (int) SWIG_AsInt(obj2
);
10134 if (PyErr_Occurred()) SWIG_fail
;
10139 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10145 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10149 arg6
= (long) SWIG_AsLong(obj5
);
10150 if (PyErr_Occurred()) SWIG_fail
;
10153 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
10154 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10156 if (arg7
== NULL
) {
10157 PyErr_SetString(PyExc_TypeError
,"null reference");
10163 arg8
= wxString_in_helper(obj7
);
10164 if (arg8
== NULL
) SWIG_fail
;
10169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10170 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10172 wxPyEndAllowThreads(__tstate
);
10173 if (PyErr_Occurred()) SWIG_fail
;
10176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10192 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10193 PyObject
*resultobj
;
10194 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10196 PyObject
* obj0
= 0 ;
10197 char *kwnames
[] = {
10198 (char *) "self", NULL
10201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
10202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10206 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
10208 wxPyEndAllowThreads(__tstate
);
10209 if (PyErr_Occurred()) SWIG_fail
;
10211 resultobj
= SWIG_FromInt((int)result
);
10218 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10219 PyObject
*resultobj
;
10220 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10222 PyObject
* obj0
= 0 ;
10223 char *kwnames
[] = {
10224 (char *) "self", NULL
10227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
10228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10232 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
10234 wxPyEndAllowThreads(__tstate
);
10235 if (PyErr_Occurred()) SWIG_fail
;
10237 resultobj
= SWIG_FromInt((int)result
);
10244 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10245 PyObject
*resultobj
;
10246 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10248 PyObject
* obj0
= 0 ;
10249 char *kwnames
[] = {
10250 (char *) "self", NULL
10253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
10254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10258 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
10260 wxPyEndAllowThreads(__tstate
);
10261 if (PyErr_Occurred()) SWIG_fail
;
10263 resultobj
= SWIG_FromInt((int)result
);
10270 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10271 PyObject
*resultobj
;
10272 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10274 PyObject
* obj0
= 0 ;
10275 char *kwnames
[] = {
10276 (char *) "self", NULL
10279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
10280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10284 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
10286 wxPyEndAllowThreads(__tstate
);
10287 if (PyErr_Occurred()) SWIG_fail
;
10289 resultobj
= SWIG_FromInt((int)result
);
10296 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10297 PyObject
*resultobj
;
10298 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10300 PyObject
* obj0
= 0 ;
10301 char *kwnames
[] = {
10302 (char *) "self", NULL
10305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
10306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10310 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
10312 wxPyEndAllowThreads(__tstate
);
10313 if (PyErr_Occurred()) SWIG_fail
;
10316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10324 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10325 PyObject
*resultobj
;
10326 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10328 PyObject
* obj0
= 0 ;
10329 PyObject
* obj1
= 0 ;
10330 char *kwnames
[] = {
10331 (char *) "self",(char *) "viewStart", NULL
10334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10337 arg2
= (int) SWIG_AsInt(obj1
);
10338 if (PyErr_Occurred()) SWIG_fail
;
10340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10341 (arg1
)->SetThumbPosition(arg2
);
10343 wxPyEndAllowThreads(__tstate
);
10344 if (PyErr_Occurred()) SWIG_fail
;
10346 Py_INCREF(Py_None
); resultobj
= Py_None
;
10353 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10354 PyObject
*resultobj
;
10355 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10360 bool arg6
= (bool) True
;
10361 PyObject
* obj0
= 0 ;
10362 PyObject
* obj1
= 0 ;
10363 PyObject
* obj2
= 0 ;
10364 PyObject
* obj3
= 0 ;
10365 PyObject
* obj4
= 0 ;
10366 PyObject
* obj5
= 0 ;
10367 char *kwnames
[] = {
10368 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
10371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10374 arg2
= (int) SWIG_AsInt(obj1
);
10375 if (PyErr_Occurred()) SWIG_fail
;
10376 arg3
= (int) SWIG_AsInt(obj2
);
10377 if (PyErr_Occurred()) SWIG_fail
;
10378 arg4
= (int) SWIG_AsInt(obj3
);
10379 if (PyErr_Occurred()) SWIG_fail
;
10380 arg5
= (int) SWIG_AsInt(obj4
);
10381 if (PyErr_Occurred()) SWIG_fail
;
10383 arg6
= (bool) SWIG_AsBool(obj5
);
10384 if (PyErr_Occurred()) SWIG_fail
;
10387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10388 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
10390 wxPyEndAllowThreads(__tstate
);
10391 if (PyErr_Occurred()) SWIG_fail
;
10393 Py_INCREF(Py_None
); resultobj
= Py_None
;
10400 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10401 PyObject
*resultobj
;
10402 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10403 wxVisualAttributes result
;
10404 PyObject
* obj0
= 0 ;
10405 char *kwnames
[] = {
10406 (char *) "variant", NULL
10409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10411 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
10412 if (PyErr_Occurred()) SWIG_fail
;
10415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10416 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10418 wxPyEndAllowThreads(__tstate
);
10419 if (PyErr_Occurred()) SWIG_fail
;
10422 wxVisualAttributes
* resultptr
;
10423 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10424 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10432 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
10434 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10435 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
10437 return Py_BuildValue((char *)"");
10439 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*_val
) {
10440 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
10445 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
10450 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10452 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10459 static int _wrap_SpinCtrlNameStr_set(PyObject
*_val
) {
10460 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
10465 static PyObject
*_wrap_SpinCtrlNameStr_get() {
10470 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10472 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10479 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10480 PyObject
*resultobj
;
10481 wxWindow
*arg1
= (wxWindow
*) 0 ;
10482 int arg2
= (int) -1 ;
10483 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10484 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10485 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10486 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10487 long arg5
= (long) wxSP_HORIZONTAL
;
10488 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
10489 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10490 wxSpinButton
*result
;
10493 bool temp6
= False
;
10494 PyObject
* obj0
= 0 ;
10495 PyObject
* obj1
= 0 ;
10496 PyObject
* obj2
= 0 ;
10497 PyObject
* obj3
= 0 ;
10498 PyObject
* obj4
= 0 ;
10499 PyObject
* obj5
= 0 ;
10500 char *kwnames
[] = {
10501 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10508 arg2
= (int) SWIG_AsInt(obj1
);
10509 if (PyErr_Occurred()) SWIG_fail
;
10514 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10520 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10524 arg5
= (long) SWIG_AsLong(obj4
);
10525 if (PyErr_Occurred()) SWIG_fail
;
10529 arg6
= wxString_in_helper(obj5
);
10530 if (arg6
== NULL
) SWIG_fail
;
10535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10536 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10538 wxPyEndAllowThreads(__tstate
);
10539 if (PyErr_Occurred()) SWIG_fail
;
10541 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10556 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10557 PyObject
*resultobj
;
10558 wxSpinButton
*result
;
10559 char *kwnames
[] = {
10563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
10565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10566 result
= (wxSpinButton
*)new wxSpinButton();
10568 wxPyEndAllowThreads(__tstate
);
10569 if (PyErr_Occurred()) SWIG_fail
;
10571 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10578 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10579 PyObject
*resultobj
;
10580 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10581 wxWindow
*arg2
= (wxWindow
*) 0 ;
10582 int arg3
= (int) -1 ;
10583 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10584 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10585 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10586 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10587 long arg6
= (long) wxSP_HORIZONTAL
;
10588 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
10589 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10593 bool temp7
= False
;
10594 PyObject
* obj0
= 0 ;
10595 PyObject
* obj1
= 0 ;
10596 PyObject
* obj2
= 0 ;
10597 PyObject
* obj3
= 0 ;
10598 PyObject
* obj4
= 0 ;
10599 PyObject
* obj5
= 0 ;
10600 PyObject
* obj6
= 0 ;
10601 char *kwnames
[] = {
10602 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10608 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10611 arg3
= (int) SWIG_AsInt(obj2
);
10612 if (PyErr_Occurred()) SWIG_fail
;
10617 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10623 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10627 arg6
= (long) SWIG_AsLong(obj5
);
10628 if (PyErr_Occurred()) SWIG_fail
;
10632 arg7
= wxString_in_helper(obj6
);
10633 if (arg7
== NULL
) SWIG_fail
;
10638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10639 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10641 wxPyEndAllowThreads(__tstate
);
10642 if (PyErr_Occurred()) SWIG_fail
;
10645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10661 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10662 PyObject
*resultobj
;
10663 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10665 PyObject
* obj0
= 0 ;
10666 char *kwnames
[] = {
10667 (char *) "self", NULL
10670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
10671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10675 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
10677 wxPyEndAllowThreads(__tstate
);
10678 if (PyErr_Occurred()) SWIG_fail
;
10680 resultobj
= SWIG_FromInt((int)result
);
10687 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10688 PyObject
*resultobj
;
10689 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10691 PyObject
* obj0
= 0 ;
10692 char *kwnames
[] = {
10693 (char *) "self", NULL
10696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
10697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10701 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
10703 wxPyEndAllowThreads(__tstate
);
10704 if (PyErr_Occurred()) SWIG_fail
;
10706 resultobj
= SWIG_FromInt((int)result
);
10713 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10714 PyObject
*resultobj
;
10715 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10717 PyObject
* obj0
= 0 ;
10718 char *kwnames
[] = {
10719 (char *) "self", NULL
10722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
10723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10727 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
10729 wxPyEndAllowThreads(__tstate
);
10730 if (PyErr_Occurred()) SWIG_fail
;
10732 resultobj
= SWIG_FromInt((int)result
);
10739 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10740 PyObject
*resultobj
;
10741 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10743 PyObject
* obj0
= 0 ;
10744 PyObject
* obj1
= 0 ;
10745 char *kwnames
[] = {
10746 (char *) "self",(char *) "val", NULL
10749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10752 arg2
= (int) SWIG_AsInt(obj1
);
10753 if (PyErr_Occurred()) SWIG_fail
;
10755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10756 (arg1
)->SetValue(arg2
);
10758 wxPyEndAllowThreads(__tstate
);
10759 if (PyErr_Occurred()) SWIG_fail
;
10761 Py_INCREF(Py_None
); resultobj
= Py_None
;
10768 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10769 PyObject
*resultobj
;
10770 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10772 PyObject
* obj0
= 0 ;
10773 PyObject
* obj1
= 0 ;
10774 char *kwnames
[] = {
10775 (char *) "self",(char *) "minVal", NULL
10778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
10779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10781 arg2
= (int) SWIG_AsInt(obj1
);
10782 if (PyErr_Occurred()) SWIG_fail
;
10784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10785 (arg1
)->SetMin(arg2
);
10787 wxPyEndAllowThreads(__tstate
);
10788 if (PyErr_Occurred()) SWIG_fail
;
10790 Py_INCREF(Py_None
); resultobj
= Py_None
;
10797 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10798 PyObject
*resultobj
;
10799 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10801 PyObject
* obj0
= 0 ;
10802 PyObject
* obj1
= 0 ;
10803 char *kwnames
[] = {
10804 (char *) "self",(char *) "maxVal", NULL
10807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
10808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10810 arg2
= (int) SWIG_AsInt(obj1
);
10811 if (PyErr_Occurred()) SWIG_fail
;
10813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10814 (arg1
)->SetMax(arg2
);
10816 wxPyEndAllowThreads(__tstate
);
10817 if (PyErr_Occurred()) SWIG_fail
;
10819 Py_INCREF(Py_None
); resultobj
= Py_None
;
10826 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10827 PyObject
*resultobj
;
10828 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10831 PyObject
* obj0
= 0 ;
10832 PyObject
* obj1
= 0 ;
10833 PyObject
* obj2
= 0 ;
10834 char *kwnames
[] = {
10835 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10841 arg2
= (int) SWIG_AsInt(obj1
);
10842 if (PyErr_Occurred()) SWIG_fail
;
10843 arg3
= (int) SWIG_AsInt(obj2
);
10844 if (PyErr_Occurred()) SWIG_fail
;
10846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10847 (arg1
)->SetRange(arg2
,arg3
);
10849 wxPyEndAllowThreads(__tstate
);
10850 if (PyErr_Occurred()) SWIG_fail
;
10852 Py_INCREF(Py_None
); resultobj
= Py_None
;
10859 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10860 PyObject
*resultobj
;
10861 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10863 PyObject
* obj0
= 0 ;
10864 char *kwnames
[] = {
10865 (char *) "self", NULL
10868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
10869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10873 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
10875 wxPyEndAllowThreads(__tstate
);
10876 if (PyErr_Occurred()) SWIG_fail
;
10879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10887 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10888 PyObject
*resultobj
;
10889 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10890 wxVisualAttributes result
;
10891 PyObject
* obj0
= 0 ;
10892 char *kwnames
[] = {
10893 (char *) "variant", NULL
10896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10898 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
10899 if (PyErr_Occurred()) SWIG_fail
;
10902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10903 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10905 wxPyEndAllowThreads(__tstate
);
10906 if (PyErr_Occurred()) SWIG_fail
;
10909 wxVisualAttributes
* resultptr
;
10910 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10911 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10919 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
10921 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10922 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
10924 return Py_BuildValue((char *)"");
10926 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10927 PyObject
*resultobj
;
10928 wxWindow
*arg1
= (wxWindow
*) 0 ;
10929 int arg2
= (int) -1 ;
10930 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10931 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10932 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10933 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10934 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10935 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10936 long arg6
= (long) wxSP_ARROW_KEYS
;
10937 int arg7
= (int) 0 ;
10938 int arg8
= (int) 100 ;
10939 int arg9
= (int) 0 ;
10940 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
10941 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10942 wxSpinCtrl
*result
;
10943 bool temp3
= False
;
10946 bool temp10
= False
;
10947 PyObject
* obj0
= 0 ;
10948 PyObject
* obj1
= 0 ;
10949 PyObject
* obj2
= 0 ;
10950 PyObject
* obj3
= 0 ;
10951 PyObject
* obj4
= 0 ;
10952 PyObject
* obj5
= 0 ;
10953 PyObject
* obj6
= 0 ;
10954 PyObject
* obj7
= 0 ;
10955 PyObject
* obj8
= 0 ;
10956 PyObject
* obj9
= 0 ;
10957 char *kwnames
[] = {
10958 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10965 arg2
= (int) SWIG_AsInt(obj1
);
10966 if (PyErr_Occurred()) SWIG_fail
;
10970 arg3
= wxString_in_helper(obj2
);
10971 if (arg3
== NULL
) SWIG_fail
;
10978 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10984 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10988 arg6
= (long) SWIG_AsLong(obj5
);
10989 if (PyErr_Occurred()) SWIG_fail
;
10992 arg7
= (int) SWIG_AsInt(obj6
);
10993 if (PyErr_Occurred()) SWIG_fail
;
10996 arg8
= (int) SWIG_AsInt(obj7
);
10997 if (PyErr_Occurred()) SWIG_fail
;
11000 arg9
= (int) SWIG_AsInt(obj8
);
11001 if (PyErr_Occurred()) SWIG_fail
;
11005 arg10
= wxString_in_helper(obj9
);
11006 if (arg10
== NULL
) SWIG_fail
;
11011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11012 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
11014 wxPyEndAllowThreads(__tstate
);
11015 if (PyErr_Occurred()) SWIG_fail
;
11017 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11040 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11041 PyObject
*resultobj
;
11042 wxSpinCtrl
*result
;
11043 char *kwnames
[] = {
11047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
11049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11050 result
= (wxSpinCtrl
*)new wxSpinCtrl();
11052 wxPyEndAllowThreads(__tstate
);
11053 if (PyErr_Occurred()) SWIG_fail
;
11055 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11062 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11063 PyObject
*resultobj
;
11064 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11065 wxWindow
*arg2
= (wxWindow
*) 0 ;
11066 int arg3
= (int) -1 ;
11067 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11068 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11069 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11070 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11071 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11072 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11073 long arg7
= (long) wxSP_ARROW_KEYS
;
11074 int arg8
= (int) 0 ;
11075 int arg9
= (int) 100 ;
11076 int arg10
= (int) 0 ;
11077 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
11078 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11080 bool temp4
= False
;
11083 bool temp11
= False
;
11084 PyObject
* obj0
= 0 ;
11085 PyObject
* obj1
= 0 ;
11086 PyObject
* obj2
= 0 ;
11087 PyObject
* obj3
= 0 ;
11088 PyObject
* obj4
= 0 ;
11089 PyObject
* obj5
= 0 ;
11090 PyObject
* obj6
= 0 ;
11091 PyObject
* obj7
= 0 ;
11092 PyObject
* obj8
= 0 ;
11093 PyObject
* obj9
= 0 ;
11094 PyObject
* obj10
= 0 ;
11095 char *kwnames
[] = {
11096 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11102 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11105 arg3
= (int) SWIG_AsInt(obj2
);
11106 if (PyErr_Occurred()) SWIG_fail
;
11110 arg4
= wxString_in_helper(obj3
);
11111 if (arg4
== NULL
) SWIG_fail
;
11118 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11124 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11128 arg7
= (long) SWIG_AsLong(obj6
);
11129 if (PyErr_Occurred()) SWIG_fail
;
11132 arg8
= (int) SWIG_AsInt(obj7
);
11133 if (PyErr_Occurred()) SWIG_fail
;
11136 arg9
= (int) SWIG_AsInt(obj8
);
11137 if (PyErr_Occurred()) SWIG_fail
;
11140 arg10
= (int) SWIG_AsInt(obj9
);
11141 if (PyErr_Occurred()) SWIG_fail
;
11145 arg11
= wxString_in_helper(obj10
);
11146 if (arg11
== NULL
) SWIG_fail
;
11151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11152 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
11154 wxPyEndAllowThreads(__tstate
);
11155 if (PyErr_Occurred()) SWIG_fail
;
11158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11182 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11183 PyObject
*resultobj
;
11184 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11186 PyObject
* obj0
= 0 ;
11187 char *kwnames
[] = {
11188 (char *) "self", NULL
11191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
11192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11196 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
11198 wxPyEndAllowThreads(__tstate
);
11199 if (PyErr_Occurred()) SWIG_fail
;
11201 resultobj
= SWIG_FromInt((int)result
);
11208 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11209 PyObject
*resultobj
;
11210 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11212 PyObject
* obj0
= 0 ;
11213 PyObject
* obj1
= 0 ;
11214 char *kwnames
[] = {
11215 (char *) "self",(char *) "value", NULL
11218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11221 arg2
= (int) SWIG_AsInt(obj1
);
11222 if (PyErr_Occurred()) SWIG_fail
;
11224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11225 (arg1
)->SetValue(arg2
);
11227 wxPyEndAllowThreads(__tstate
);
11228 if (PyErr_Occurred()) SWIG_fail
;
11230 Py_INCREF(Py_None
); resultobj
= Py_None
;
11237 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11238 PyObject
*resultobj
;
11239 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11240 wxString
*arg2
= 0 ;
11241 bool temp2
= False
;
11242 PyObject
* obj0
= 0 ;
11243 PyObject
* obj1
= 0 ;
11244 char *kwnames
[] = {
11245 (char *) "self",(char *) "text", NULL
11248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
11249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11252 arg2
= wxString_in_helper(obj1
);
11253 if (arg2
== NULL
) SWIG_fail
;
11257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11258 (arg1
)->SetValue((wxString
const &)*arg2
);
11260 wxPyEndAllowThreads(__tstate
);
11261 if (PyErr_Occurred()) SWIG_fail
;
11263 Py_INCREF(Py_None
); resultobj
= Py_None
;
11278 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11279 PyObject
*resultobj
;
11280 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11283 PyObject
* obj0
= 0 ;
11284 PyObject
* obj1
= 0 ;
11285 PyObject
* obj2
= 0 ;
11286 char *kwnames
[] = {
11287 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11293 arg2
= (int) SWIG_AsInt(obj1
);
11294 if (PyErr_Occurred()) SWIG_fail
;
11295 arg3
= (int) SWIG_AsInt(obj2
);
11296 if (PyErr_Occurred()) SWIG_fail
;
11298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11299 (arg1
)->SetRange(arg2
,arg3
);
11301 wxPyEndAllowThreads(__tstate
);
11302 if (PyErr_Occurred()) SWIG_fail
;
11304 Py_INCREF(Py_None
); resultobj
= Py_None
;
11311 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11312 PyObject
*resultobj
;
11313 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11315 PyObject
* obj0
= 0 ;
11316 char *kwnames
[] = {
11317 (char *) "self", NULL
11320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
11321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11325 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
11327 wxPyEndAllowThreads(__tstate
);
11328 if (PyErr_Occurred()) SWIG_fail
;
11330 resultobj
= SWIG_FromInt((int)result
);
11337 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11338 PyObject
*resultobj
;
11339 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11341 PyObject
* obj0
= 0 ;
11342 char *kwnames
[] = {
11343 (char *) "self", NULL
11346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
11347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11351 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
11353 wxPyEndAllowThreads(__tstate
);
11354 if (PyErr_Occurred()) SWIG_fail
;
11356 resultobj
= SWIG_FromInt((int)result
);
11363 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11364 PyObject
*resultobj
;
11365 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11368 PyObject
* obj0
= 0 ;
11369 PyObject
* obj1
= 0 ;
11370 PyObject
* obj2
= 0 ;
11371 char *kwnames
[] = {
11372 (char *) "self",(char *) "from",(char *) "to", NULL
11375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11378 arg2
= (long) SWIG_AsLong(obj1
);
11379 if (PyErr_Occurred()) SWIG_fail
;
11380 arg3
= (long) SWIG_AsLong(obj2
);
11381 if (PyErr_Occurred()) SWIG_fail
;
11383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11384 (arg1
)->SetSelection(arg2
,arg3
);
11386 wxPyEndAllowThreads(__tstate
);
11387 if (PyErr_Occurred()) SWIG_fail
;
11389 Py_INCREF(Py_None
); resultobj
= Py_None
;
11396 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11397 PyObject
*resultobj
;
11398 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
11399 wxVisualAttributes result
;
11400 PyObject
* obj0
= 0 ;
11401 char *kwnames
[] = {
11402 (char *) "variant", NULL
11405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11407 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
11408 if (PyErr_Occurred()) SWIG_fail
;
11411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11412 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11414 wxPyEndAllowThreads(__tstate
);
11415 if (PyErr_Occurred()) SWIG_fail
;
11418 wxVisualAttributes
* resultptr
;
11419 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
11420 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11428 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
11430 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11431 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
11433 return Py_BuildValue((char *)"");
11435 static PyObject
*_wrap_new_SpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11436 PyObject
*resultobj
;
11437 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11438 int arg2
= (int) 0 ;
11439 wxSpinEvent
*result
;
11440 PyObject
* obj0
= 0 ;
11441 PyObject
* obj1
= 0 ;
11442 char *kwnames
[] = {
11443 (char *) "commandType",(char *) "winid", NULL
11446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11448 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
11449 if (PyErr_Occurred()) SWIG_fail
;
11452 arg2
= (int) SWIG_AsInt(obj1
);
11453 if (PyErr_Occurred()) SWIG_fail
;
11456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11457 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
11459 wxPyEndAllowThreads(__tstate
);
11460 if (PyErr_Occurred()) SWIG_fail
;
11462 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
11469 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11470 PyObject
*resultobj
;
11471 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11473 PyObject
* obj0
= 0 ;
11474 char *kwnames
[] = {
11475 (char *) "self", NULL
11478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11483 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
11485 wxPyEndAllowThreads(__tstate
);
11486 if (PyErr_Occurred()) SWIG_fail
;
11488 resultobj
= SWIG_FromInt((int)result
);
11495 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11496 PyObject
*resultobj
;
11497 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11499 PyObject
* obj0
= 0 ;
11500 PyObject
* obj1
= 0 ;
11501 char *kwnames
[] = {
11502 (char *) "self",(char *) "pos", NULL
11505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11508 arg2
= (int) SWIG_AsInt(obj1
);
11509 if (PyErr_Occurred()) SWIG_fail
;
11511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11512 (arg1
)->SetPosition(arg2
);
11514 wxPyEndAllowThreads(__tstate
);
11515 if (PyErr_Occurred()) SWIG_fail
;
11517 Py_INCREF(Py_None
); resultobj
= Py_None
;
11524 static PyObject
* SpinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11526 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11527 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
11529 return Py_BuildValue((char *)"");
11531 static int _wrap_RadioBoxNameStr_set(PyObject
*_val
) {
11532 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
11537 static PyObject
*_wrap_RadioBoxNameStr_get() {
11542 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11544 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11551 static int _wrap_RadioButtonNameStr_set(PyObject
*_val
) {
11552 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
11557 static PyObject
*_wrap_RadioButtonNameStr_get() {
11562 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11564 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11571 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11572 PyObject
*resultobj
;
11573 wxWindow
*arg1
= (wxWindow
*) 0 ;
11575 wxString
*arg3
= 0 ;
11576 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11577 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11578 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11579 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11580 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
11581 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
11582 int arg7
= (int) 0 ;
11583 long arg8
= (long) wxRA_HORIZONTAL
;
11584 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11585 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11586 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
11587 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11588 wxRadioBox
*result
;
11589 bool temp3
= False
;
11592 bool temp6
= False
;
11593 bool temp10
= False
;
11594 PyObject
* obj0
= 0 ;
11595 PyObject
* obj1
= 0 ;
11596 PyObject
* obj2
= 0 ;
11597 PyObject
* obj3
= 0 ;
11598 PyObject
* obj4
= 0 ;
11599 PyObject
* obj5
= 0 ;
11600 PyObject
* obj6
= 0 ;
11601 PyObject
* obj7
= 0 ;
11602 PyObject
* obj8
= 0 ;
11603 PyObject
* obj9
= 0 ;
11604 char *kwnames
[] = {
11605 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11611 arg2
= (int) SWIG_AsInt(obj1
);
11612 if (PyErr_Occurred()) SWIG_fail
;
11614 arg3
= wxString_in_helper(obj2
);
11615 if (arg3
== NULL
) SWIG_fail
;
11621 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11627 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11632 if (! PySequence_Check(obj5
)) {
11633 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11636 arg6
= new wxArrayString
;
11638 int i
, len
=PySequence_Length(obj5
);
11639 for (i
=0; i
<len
; i
++) {
11640 PyObject
* item
= PySequence_GetItem(obj5
, i
);
11642 PyObject
* str
= PyObject_Unicode(item
);
11644 PyObject
* str
= PyObject_Str(item
);
11646 if (PyErr_Occurred()) SWIG_fail
;
11647 arg6
->Add(Py2wxString(str
));
11654 arg7
= (int) SWIG_AsInt(obj6
);
11655 if (PyErr_Occurred()) SWIG_fail
;
11658 arg8
= (long) SWIG_AsLong(obj7
);
11659 if (PyErr_Occurred()) SWIG_fail
;
11662 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
11663 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11665 if (arg9
== NULL
) {
11666 PyErr_SetString(PyExc_TypeError
,"null reference");
11672 arg10
= wxString_in_helper(obj9
);
11673 if (arg10
== NULL
) SWIG_fail
;
11678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11679 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
);
11681 wxPyEndAllowThreads(__tstate
);
11682 if (PyErr_Occurred()) SWIG_fail
;
11684 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11690 if (temp6
) delete arg6
;
11703 if (temp6
) delete arg6
;
11713 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11714 PyObject
*resultobj
;
11715 wxRadioBox
*result
;
11716 char *kwnames
[] = {
11720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
11722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11723 result
= (wxRadioBox
*)new wxRadioBox();
11725 wxPyEndAllowThreads(__tstate
);
11726 if (PyErr_Occurred()) SWIG_fail
;
11728 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11735 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11736 PyObject
*resultobj
;
11737 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11738 wxWindow
*arg2
= (wxWindow
*) 0 ;
11740 wxString
*arg4
= 0 ;
11741 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11742 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11743 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11744 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11745 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
11746 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
11747 int arg8
= (int) 0 ;
11748 long arg9
= (long) wxRA_HORIZONTAL
;
11749 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11750 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11751 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
11752 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11754 bool temp4
= False
;
11757 bool temp7
= False
;
11758 bool temp11
= False
;
11759 PyObject
* obj0
= 0 ;
11760 PyObject
* obj1
= 0 ;
11761 PyObject
* obj2
= 0 ;
11762 PyObject
* obj3
= 0 ;
11763 PyObject
* obj4
= 0 ;
11764 PyObject
* obj5
= 0 ;
11765 PyObject
* obj6
= 0 ;
11766 PyObject
* obj7
= 0 ;
11767 PyObject
* obj8
= 0 ;
11768 PyObject
* obj9
= 0 ;
11769 PyObject
* obj10
= 0 ;
11770 char *kwnames
[] = {
11771 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11777 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11779 arg3
= (int) SWIG_AsInt(obj2
);
11780 if (PyErr_Occurred()) SWIG_fail
;
11782 arg4
= wxString_in_helper(obj3
);
11783 if (arg4
== NULL
) SWIG_fail
;
11789 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11795 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11800 if (! PySequence_Check(obj6
)) {
11801 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11804 arg7
= new wxArrayString
;
11806 int i
, len
=PySequence_Length(obj6
);
11807 for (i
=0; i
<len
; i
++) {
11808 PyObject
* item
= PySequence_GetItem(obj6
, i
);
11810 PyObject
* str
= PyObject_Unicode(item
);
11812 PyObject
* str
= PyObject_Str(item
);
11814 if (PyErr_Occurred()) SWIG_fail
;
11815 arg7
->Add(Py2wxString(str
));
11822 arg8
= (int) SWIG_AsInt(obj7
);
11823 if (PyErr_Occurred()) SWIG_fail
;
11826 arg9
= (long) SWIG_AsLong(obj8
);
11827 if (PyErr_Occurred()) SWIG_fail
;
11830 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
11831 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11833 if (arg10
== NULL
) {
11834 PyErr_SetString(PyExc_TypeError
,"null reference");
11840 arg11
= wxString_in_helper(obj10
);
11841 if (arg11
== NULL
) SWIG_fail
;
11846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11847 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
);
11849 wxPyEndAllowThreads(__tstate
);
11850 if (PyErr_Occurred()) SWIG_fail
;
11853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11860 if (temp7
) delete arg7
;
11873 if (temp7
) delete arg7
;
11883 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11884 PyObject
*resultobj
;
11885 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11887 PyObject
* obj0
= 0 ;
11888 PyObject
* obj1
= 0 ;
11889 char *kwnames
[] = {
11890 (char *) "self",(char *) "n", NULL
11893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11896 arg2
= (int) SWIG_AsInt(obj1
);
11897 if (PyErr_Occurred()) SWIG_fail
;
11899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11900 (arg1
)->SetSelection(arg2
);
11902 wxPyEndAllowThreads(__tstate
);
11903 if (PyErr_Occurred()) SWIG_fail
;
11905 Py_INCREF(Py_None
); resultobj
= Py_None
;
11912 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11913 PyObject
*resultobj
;
11914 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11916 PyObject
* obj0
= 0 ;
11917 char *kwnames
[] = {
11918 (char *) "self", NULL
11921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
11922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11926 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
11928 wxPyEndAllowThreads(__tstate
);
11929 if (PyErr_Occurred()) SWIG_fail
;
11931 resultobj
= SWIG_FromInt((int)result
);
11938 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11939 PyObject
*resultobj
;
11940 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11942 PyObject
* obj0
= 0 ;
11943 char *kwnames
[] = {
11944 (char *) "self", NULL
11947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
11948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11952 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
11954 wxPyEndAllowThreads(__tstate
);
11955 if (PyErr_Occurred()) SWIG_fail
;
11959 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11961 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11970 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11971 PyObject
*resultobj
;
11972 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11973 wxString
*arg2
= 0 ;
11975 bool temp2
= False
;
11976 PyObject
* obj0
= 0 ;
11977 PyObject
* obj1
= 0 ;
11978 char *kwnames
[] = {
11979 (char *) "self",(char *) "s", NULL
11982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11986 arg2
= wxString_in_helper(obj1
);
11987 if (arg2
== NULL
) SWIG_fail
;
11991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11992 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
11994 wxPyEndAllowThreads(__tstate
);
11995 if (PyErr_Occurred()) SWIG_fail
;
11998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12014 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12015 PyObject
*resultobj
;
12016 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12018 PyObject
* obj0
= 0 ;
12019 char *kwnames
[] = {
12020 (char *) "self", NULL
12023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
12024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12028 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
12030 wxPyEndAllowThreads(__tstate
);
12031 if (PyErr_Occurred()) SWIG_fail
;
12033 resultobj
= SWIG_FromInt((int)result
);
12040 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12041 PyObject
*resultobj
;
12042 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12043 wxString
*arg2
= 0 ;
12045 bool temp2
= False
;
12046 PyObject
* obj0
= 0 ;
12047 PyObject
* obj1
= 0 ;
12048 char *kwnames
[] = {
12049 (char *) "self",(char *) "s", NULL
12052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
12053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12056 arg2
= wxString_in_helper(obj1
);
12057 if (arg2
== NULL
) SWIG_fail
;
12061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12062 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
12064 wxPyEndAllowThreads(__tstate
);
12065 if (PyErr_Occurred()) SWIG_fail
;
12067 resultobj
= SWIG_FromInt((int)result
);
12082 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12083 PyObject
*resultobj
;
12084 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12087 PyObject
* obj0
= 0 ;
12088 PyObject
* obj1
= 0 ;
12089 char *kwnames
[] = {
12090 (char *) "self",(char *) "n", NULL
12093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12096 arg2
= (int) SWIG_AsInt(obj1
);
12097 if (PyErr_Occurred()) SWIG_fail
;
12099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12100 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
12102 wxPyEndAllowThreads(__tstate
);
12103 if (PyErr_Occurred()) SWIG_fail
;
12107 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12109 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12118 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12119 PyObject
*resultobj
;
12120 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12122 wxString
*arg3
= 0 ;
12123 bool temp3
= False
;
12124 PyObject
* obj0
= 0 ;
12125 PyObject
* obj1
= 0 ;
12126 PyObject
* obj2
= 0 ;
12127 char *kwnames
[] = {
12128 (char *) "self",(char *) "n",(char *) "label", NULL
12131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12134 arg2
= (int) SWIG_AsInt(obj1
);
12135 if (PyErr_Occurred()) SWIG_fail
;
12137 arg3
= wxString_in_helper(obj2
);
12138 if (arg3
== NULL
) SWIG_fail
;
12142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12143 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
12145 wxPyEndAllowThreads(__tstate
);
12146 if (PyErr_Occurred()) SWIG_fail
;
12148 Py_INCREF(Py_None
); resultobj
= Py_None
;
12163 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12164 PyObject
*resultobj
;
12165 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12167 bool arg3
= (bool) True
;
12168 PyObject
* obj0
= 0 ;
12169 PyObject
* obj1
= 0 ;
12170 PyObject
* obj2
= 0 ;
12171 char *kwnames
[] = {
12172 (char *) "self",(char *) "n",(char *) "enable", NULL
12175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12178 arg2
= (int) SWIG_AsInt(obj1
);
12179 if (PyErr_Occurred()) SWIG_fail
;
12181 arg3
= (bool) SWIG_AsBool(obj2
);
12182 if (PyErr_Occurred()) SWIG_fail
;
12185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12186 (arg1
)->Enable(arg2
,arg3
);
12188 wxPyEndAllowThreads(__tstate
);
12189 if (PyErr_Occurred()) SWIG_fail
;
12191 Py_INCREF(Py_None
); resultobj
= Py_None
;
12198 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12199 PyObject
*resultobj
;
12200 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12202 bool arg3
= (bool) True
;
12203 PyObject
* obj0
= 0 ;
12204 PyObject
* obj1
= 0 ;
12205 PyObject
* obj2
= 0 ;
12206 char *kwnames
[] = {
12207 (char *) "self",(char *) "n",(char *) "show", NULL
12210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12213 arg2
= (int) SWIG_AsInt(obj1
);
12214 if (PyErr_Occurred()) SWIG_fail
;
12216 arg3
= (bool) SWIG_AsBool(obj2
);
12217 if (PyErr_Occurred()) SWIG_fail
;
12220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12221 (arg1
)->Show(arg2
,arg3
);
12223 wxPyEndAllowThreads(__tstate
);
12224 if (PyErr_Occurred()) SWIG_fail
;
12226 Py_INCREF(Py_None
); resultobj
= Py_None
;
12233 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12234 PyObject
*resultobj
;
12235 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12237 PyObject
* obj0
= 0 ;
12238 char *kwnames
[] = {
12239 (char *) "self", NULL
12242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
12243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12247 result
= (int)wxRadioBox_GetColumnCount((wxRadioBox
const *)arg1
);
12249 wxPyEndAllowThreads(__tstate
);
12250 if (PyErr_Occurred()) SWIG_fail
;
12252 resultobj
= SWIG_FromInt((int)result
);
12259 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12260 PyObject
*resultobj
;
12261 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12263 PyObject
* obj0
= 0 ;
12264 char *kwnames
[] = {
12265 (char *) "self", NULL
12268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
12269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12273 result
= (int)wxRadioBox_GetRowCount((wxRadioBox
const *)arg1
);
12275 wxPyEndAllowThreads(__tstate
);
12276 if (PyErr_Occurred()) SWIG_fail
;
12278 resultobj
= SWIG_FromInt((int)result
);
12285 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12286 PyObject
*resultobj
;
12287 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12292 PyObject
* obj0
= 0 ;
12293 PyObject
* obj1
= 0 ;
12294 PyObject
* obj2
= 0 ;
12295 PyObject
* obj3
= 0 ;
12296 char *kwnames
[] = {
12297 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
12300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12303 arg2
= (int) SWIG_AsInt(obj1
);
12304 if (PyErr_Occurred()) SWIG_fail
;
12305 arg3
= (wxDirection
) SWIG_AsInt(obj2
);
12306 if (PyErr_Occurred()) SWIG_fail
;
12307 arg4
= (long) SWIG_AsLong(obj3
);
12308 if (PyErr_Occurred()) SWIG_fail
;
12310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12311 result
= (int)wxRadioBox_GetNextItem((wxRadioBox
const *)arg1
,arg2
,(wxDirection
)arg3
,arg4
);
12313 wxPyEndAllowThreads(__tstate
);
12314 if (PyErr_Occurred()) SWIG_fail
;
12316 resultobj
= SWIG_FromInt((int)result
);
12323 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12324 PyObject
*resultobj
;
12325 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12326 wxVisualAttributes result
;
12327 PyObject
* obj0
= 0 ;
12328 char *kwnames
[] = {
12329 (char *) "variant", NULL
12332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12334 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
12335 if (PyErr_Occurred()) SWIG_fail
;
12338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12339 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12341 wxPyEndAllowThreads(__tstate
);
12342 if (PyErr_Occurred()) SWIG_fail
;
12345 wxVisualAttributes
* resultptr
;
12346 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12347 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12355 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
12357 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12358 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
12360 return Py_BuildValue((char *)"");
12362 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12363 PyObject
*resultobj
;
12364 wxWindow
*arg1
= (wxWindow
*) 0 ;
12366 wxString
*arg3
= 0 ;
12367 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12368 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12369 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12370 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12371 long arg6
= (long) 0 ;
12372 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12373 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12374 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
12375 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12376 wxRadioButton
*result
;
12377 bool temp3
= False
;
12380 bool temp8
= False
;
12381 PyObject
* obj0
= 0 ;
12382 PyObject
* obj1
= 0 ;
12383 PyObject
* obj2
= 0 ;
12384 PyObject
* obj3
= 0 ;
12385 PyObject
* obj4
= 0 ;
12386 PyObject
* obj5
= 0 ;
12387 PyObject
* obj6
= 0 ;
12388 PyObject
* obj7
= 0 ;
12389 char *kwnames
[] = {
12390 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12396 arg2
= (int) SWIG_AsInt(obj1
);
12397 if (PyErr_Occurred()) SWIG_fail
;
12399 arg3
= wxString_in_helper(obj2
);
12400 if (arg3
== NULL
) SWIG_fail
;
12406 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12412 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12416 arg6
= (long) SWIG_AsLong(obj5
);
12417 if (PyErr_Occurred()) SWIG_fail
;
12420 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
12421 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12423 if (arg7
== NULL
) {
12424 PyErr_SetString(PyExc_TypeError
,"null reference");
12430 arg8
= wxString_in_helper(obj7
);
12431 if (arg8
== NULL
) SWIG_fail
;
12436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12437 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12439 wxPyEndAllowThreads(__tstate
);
12440 if (PyErr_Occurred()) SWIG_fail
;
12442 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12465 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12466 PyObject
*resultobj
;
12467 wxRadioButton
*result
;
12468 char *kwnames
[] = {
12472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
12474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12475 result
= (wxRadioButton
*)new wxRadioButton();
12477 wxPyEndAllowThreads(__tstate
);
12478 if (PyErr_Occurred()) SWIG_fail
;
12480 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12487 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12488 PyObject
*resultobj
;
12489 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12490 wxWindow
*arg2
= (wxWindow
*) 0 ;
12492 wxString
*arg4
= 0 ;
12493 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12494 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12495 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12496 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12497 long arg7
= (long) 0 ;
12498 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
12499 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
12500 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
12501 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
12503 bool temp4
= False
;
12506 bool temp9
= False
;
12507 PyObject
* obj0
= 0 ;
12508 PyObject
* obj1
= 0 ;
12509 PyObject
* obj2
= 0 ;
12510 PyObject
* obj3
= 0 ;
12511 PyObject
* obj4
= 0 ;
12512 PyObject
* obj5
= 0 ;
12513 PyObject
* obj6
= 0 ;
12514 PyObject
* obj7
= 0 ;
12515 PyObject
* obj8
= 0 ;
12516 char *kwnames
[] = {
12517 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
12521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12523 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12525 arg3
= (int) SWIG_AsInt(obj2
);
12526 if (PyErr_Occurred()) SWIG_fail
;
12528 arg4
= wxString_in_helper(obj3
);
12529 if (arg4
== NULL
) SWIG_fail
;
12535 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12541 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12545 arg7
= (long) SWIG_AsLong(obj6
);
12546 if (PyErr_Occurred()) SWIG_fail
;
12549 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
12550 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12552 if (arg8
== NULL
) {
12553 PyErr_SetString(PyExc_TypeError
,"null reference");
12559 arg9
= wxString_in_helper(obj8
);
12560 if (arg9
== NULL
) SWIG_fail
;
12565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12566 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
12568 wxPyEndAllowThreads(__tstate
);
12569 if (PyErr_Occurred()) SWIG_fail
;
12572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12596 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12597 PyObject
*resultobj
;
12598 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12600 PyObject
* obj0
= 0 ;
12601 char *kwnames
[] = {
12602 (char *) "self", NULL
12605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
12606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12610 result
= (bool)(arg1
)->GetValue();
12612 wxPyEndAllowThreads(__tstate
);
12613 if (PyErr_Occurred()) SWIG_fail
;
12616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12624 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12625 PyObject
*resultobj
;
12626 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12628 PyObject
* obj0
= 0 ;
12629 PyObject
* obj1
= 0 ;
12630 char *kwnames
[] = {
12631 (char *) "self",(char *) "value", NULL
12634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12637 arg2
= (bool) SWIG_AsBool(obj1
);
12638 if (PyErr_Occurred()) SWIG_fail
;
12640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12641 (arg1
)->SetValue(arg2
);
12643 wxPyEndAllowThreads(__tstate
);
12644 if (PyErr_Occurred()) SWIG_fail
;
12646 Py_INCREF(Py_None
); resultobj
= Py_None
;
12653 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12654 PyObject
*resultobj
;
12655 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12656 wxVisualAttributes result
;
12657 PyObject
* obj0
= 0 ;
12658 char *kwnames
[] = {
12659 (char *) "variant", NULL
12662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12664 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
12665 if (PyErr_Occurred()) SWIG_fail
;
12668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12669 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12671 wxPyEndAllowThreads(__tstate
);
12672 if (PyErr_Occurred()) SWIG_fail
;
12675 wxVisualAttributes
* resultptr
;
12676 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12677 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12685 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
12687 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12688 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
12690 return Py_BuildValue((char *)"");
12692 static int _wrap_SliderNameStr_set(PyObject
*_val
) {
12693 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
12698 static PyObject
*_wrap_SliderNameStr_get() {
12703 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12705 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12712 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12713 PyObject
*resultobj
;
12714 wxWindow
*arg1
= (wxWindow
*) 0 ;
12719 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12720 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12721 wxSize
const &arg7_defvalue
= wxDefaultSize
;
12722 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
12723 long arg8
= (long) wxSL_HORIZONTAL
;
12724 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
12725 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
12726 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
12727 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12731 bool temp10
= False
;
12732 PyObject
* obj0
= 0 ;
12733 PyObject
* obj1
= 0 ;
12734 PyObject
* obj2
= 0 ;
12735 PyObject
* obj3
= 0 ;
12736 PyObject
* obj4
= 0 ;
12737 PyObject
* obj5
= 0 ;
12738 PyObject
* obj6
= 0 ;
12739 PyObject
* obj7
= 0 ;
12740 PyObject
* obj8
= 0 ;
12741 PyObject
* obj9
= 0 ;
12742 char *kwnames
[] = {
12743 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12749 arg2
= (int) SWIG_AsInt(obj1
);
12750 if (PyErr_Occurred()) SWIG_fail
;
12751 arg3
= (int) SWIG_AsInt(obj2
);
12752 if (PyErr_Occurred()) SWIG_fail
;
12753 arg4
= (int) SWIG_AsInt(obj3
);
12754 if (PyErr_Occurred()) SWIG_fail
;
12755 arg5
= (int) SWIG_AsInt(obj4
);
12756 if (PyErr_Occurred()) SWIG_fail
;
12760 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12766 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
12770 arg8
= (long) SWIG_AsLong(obj7
);
12771 if (PyErr_Occurred()) SWIG_fail
;
12774 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
12775 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12777 if (arg9
== NULL
) {
12778 PyErr_SetString(PyExc_TypeError
,"null reference");
12784 arg10
= wxString_in_helper(obj9
);
12785 if (arg10
== NULL
) SWIG_fail
;
12790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12791 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
12793 wxPyEndAllowThreads(__tstate
);
12794 if (PyErr_Occurred()) SWIG_fail
;
12796 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12811 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12812 PyObject
*resultobj
;
12814 char *kwnames
[] = {
12818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
12820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12821 result
= (wxSlider
*)new wxSlider();
12823 wxPyEndAllowThreads(__tstate
);
12824 if (PyErr_Occurred()) SWIG_fail
;
12826 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12833 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12834 PyObject
*resultobj
;
12835 wxSlider
*arg1
= (wxSlider
*) 0 ;
12836 wxWindow
*arg2
= (wxWindow
*) 0 ;
12841 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12842 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12843 wxSize
const &arg8_defvalue
= wxDefaultSize
;
12844 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
12845 long arg9
= (long) wxSL_HORIZONTAL
;
12846 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
12847 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
12848 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
12849 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12853 bool temp11
= False
;
12854 PyObject
* obj0
= 0 ;
12855 PyObject
* obj1
= 0 ;
12856 PyObject
* obj2
= 0 ;
12857 PyObject
* obj3
= 0 ;
12858 PyObject
* obj4
= 0 ;
12859 PyObject
* obj5
= 0 ;
12860 PyObject
* obj6
= 0 ;
12861 PyObject
* obj7
= 0 ;
12862 PyObject
* obj8
= 0 ;
12863 PyObject
* obj9
= 0 ;
12864 PyObject
* obj10
= 0 ;
12865 char *kwnames
[] = {
12866 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12872 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12874 arg3
= (int) SWIG_AsInt(obj2
);
12875 if (PyErr_Occurred()) SWIG_fail
;
12876 arg4
= (int) SWIG_AsInt(obj3
);
12877 if (PyErr_Occurred()) SWIG_fail
;
12878 arg5
= (int) SWIG_AsInt(obj4
);
12879 if (PyErr_Occurred()) SWIG_fail
;
12880 arg6
= (int) SWIG_AsInt(obj5
);
12881 if (PyErr_Occurred()) SWIG_fail
;
12885 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12891 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
12895 arg9
= (long) SWIG_AsLong(obj8
);
12896 if (PyErr_Occurred()) SWIG_fail
;
12899 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
12900 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12902 if (arg10
== NULL
) {
12903 PyErr_SetString(PyExc_TypeError
,"null reference");
12909 arg11
= wxString_in_helper(obj10
);
12910 if (arg11
== NULL
) SWIG_fail
;
12915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12916 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
12918 wxPyEndAllowThreads(__tstate
);
12919 if (PyErr_Occurred()) SWIG_fail
;
12922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12938 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12939 PyObject
*resultobj
;
12940 wxSlider
*arg1
= (wxSlider
*) 0 ;
12942 PyObject
* obj0
= 0 ;
12943 char *kwnames
[] = {
12944 (char *) "self", NULL
12947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
12948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12952 result
= (int)((wxSlider
const *)arg1
)->GetValue();
12954 wxPyEndAllowThreads(__tstate
);
12955 if (PyErr_Occurred()) SWIG_fail
;
12957 resultobj
= SWIG_FromInt((int)result
);
12964 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12965 PyObject
*resultobj
;
12966 wxSlider
*arg1
= (wxSlider
*) 0 ;
12968 PyObject
* obj0
= 0 ;
12969 PyObject
* obj1
= 0 ;
12970 char *kwnames
[] = {
12971 (char *) "self",(char *) "value", NULL
12974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12977 arg2
= (int) SWIG_AsInt(obj1
);
12978 if (PyErr_Occurred()) SWIG_fail
;
12980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12981 (arg1
)->SetValue(arg2
);
12983 wxPyEndAllowThreads(__tstate
);
12984 if (PyErr_Occurred()) SWIG_fail
;
12986 Py_INCREF(Py_None
); resultobj
= Py_None
;
12993 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12994 PyObject
*resultobj
;
12995 wxSlider
*arg1
= (wxSlider
*) 0 ;
12998 PyObject
* obj0
= 0 ;
12999 PyObject
* obj1
= 0 ;
13000 PyObject
* obj2
= 0 ;
13001 char *kwnames
[] = {
13002 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
13005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13008 arg2
= (int) SWIG_AsInt(obj1
);
13009 if (PyErr_Occurred()) SWIG_fail
;
13010 arg3
= (int) SWIG_AsInt(obj2
);
13011 if (PyErr_Occurred()) SWIG_fail
;
13013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13014 (arg1
)->SetRange(arg2
,arg3
);
13016 wxPyEndAllowThreads(__tstate
);
13017 if (PyErr_Occurred()) SWIG_fail
;
13019 Py_INCREF(Py_None
); resultobj
= Py_None
;
13026 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13027 PyObject
*resultobj
;
13028 wxSlider
*arg1
= (wxSlider
*) 0 ;
13030 PyObject
* obj0
= 0 ;
13031 char *kwnames
[] = {
13032 (char *) "self", NULL
13035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
13036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13040 result
= (int)((wxSlider
const *)arg1
)->GetMin();
13042 wxPyEndAllowThreads(__tstate
);
13043 if (PyErr_Occurred()) SWIG_fail
;
13045 resultobj
= SWIG_FromInt((int)result
);
13052 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13053 PyObject
*resultobj
;
13054 wxSlider
*arg1
= (wxSlider
*) 0 ;
13056 PyObject
* obj0
= 0 ;
13057 char *kwnames
[] = {
13058 (char *) "self", NULL
13061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
13062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13066 result
= (int)((wxSlider
const *)arg1
)->GetMax();
13068 wxPyEndAllowThreads(__tstate
);
13069 if (PyErr_Occurred()) SWIG_fail
;
13071 resultobj
= SWIG_FromInt((int)result
);
13078 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13079 PyObject
*resultobj
;
13080 wxSlider
*arg1
= (wxSlider
*) 0 ;
13082 PyObject
* obj0
= 0 ;
13083 PyObject
* obj1
= 0 ;
13084 char *kwnames
[] = {
13085 (char *) "self",(char *) "minValue", NULL
13088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
13089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13091 arg2
= (int) SWIG_AsInt(obj1
);
13092 if (PyErr_Occurred()) SWIG_fail
;
13094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13095 (arg1
)->SetMin(arg2
);
13097 wxPyEndAllowThreads(__tstate
);
13098 if (PyErr_Occurred()) SWIG_fail
;
13100 Py_INCREF(Py_None
); resultobj
= Py_None
;
13107 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13108 PyObject
*resultobj
;
13109 wxSlider
*arg1
= (wxSlider
*) 0 ;
13111 PyObject
* obj0
= 0 ;
13112 PyObject
* obj1
= 0 ;
13113 char *kwnames
[] = {
13114 (char *) "self",(char *) "maxValue", NULL
13117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
13118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13120 arg2
= (int) SWIG_AsInt(obj1
);
13121 if (PyErr_Occurred()) SWIG_fail
;
13123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13124 (arg1
)->SetMax(arg2
);
13126 wxPyEndAllowThreads(__tstate
);
13127 if (PyErr_Occurred()) SWIG_fail
;
13129 Py_INCREF(Py_None
); resultobj
= Py_None
;
13136 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13137 PyObject
*resultobj
;
13138 wxSlider
*arg1
= (wxSlider
*) 0 ;
13140 PyObject
* obj0
= 0 ;
13141 PyObject
* obj1
= 0 ;
13142 char *kwnames
[] = {
13143 (char *) "self",(char *) "lineSize", NULL
13146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13149 arg2
= (int) SWIG_AsInt(obj1
);
13150 if (PyErr_Occurred()) SWIG_fail
;
13152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13153 (arg1
)->SetLineSize(arg2
);
13155 wxPyEndAllowThreads(__tstate
);
13156 if (PyErr_Occurred()) SWIG_fail
;
13158 Py_INCREF(Py_None
); resultobj
= Py_None
;
13165 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13166 PyObject
*resultobj
;
13167 wxSlider
*arg1
= (wxSlider
*) 0 ;
13169 PyObject
* obj0
= 0 ;
13170 PyObject
* obj1
= 0 ;
13171 char *kwnames
[] = {
13172 (char *) "self",(char *) "pageSize", NULL
13175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13178 arg2
= (int) SWIG_AsInt(obj1
);
13179 if (PyErr_Occurred()) SWIG_fail
;
13181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13182 (arg1
)->SetPageSize(arg2
);
13184 wxPyEndAllowThreads(__tstate
);
13185 if (PyErr_Occurred()) SWIG_fail
;
13187 Py_INCREF(Py_None
); resultobj
= Py_None
;
13194 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13195 PyObject
*resultobj
;
13196 wxSlider
*arg1
= (wxSlider
*) 0 ;
13198 PyObject
* obj0
= 0 ;
13199 char *kwnames
[] = {
13200 (char *) "self", NULL
13203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
13204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13208 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
13210 wxPyEndAllowThreads(__tstate
);
13211 if (PyErr_Occurred()) SWIG_fail
;
13213 resultobj
= SWIG_FromInt((int)result
);
13220 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13221 PyObject
*resultobj
;
13222 wxSlider
*arg1
= (wxSlider
*) 0 ;
13224 PyObject
* obj0
= 0 ;
13225 char *kwnames
[] = {
13226 (char *) "self", NULL
13229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
13230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13234 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
13236 wxPyEndAllowThreads(__tstate
);
13237 if (PyErr_Occurred()) SWIG_fail
;
13239 resultobj
= SWIG_FromInt((int)result
);
13246 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13247 PyObject
*resultobj
;
13248 wxSlider
*arg1
= (wxSlider
*) 0 ;
13250 PyObject
* obj0
= 0 ;
13251 PyObject
* obj1
= 0 ;
13252 char *kwnames
[] = {
13253 (char *) "self",(char *) "lenPixels", NULL
13256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
13257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13259 arg2
= (int) SWIG_AsInt(obj1
);
13260 if (PyErr_Occurred()) SWIG_fail
;
13262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13263 (arg1
)->SetThumbLength(arg2
);
13265 wxPyEndAllowThreads(__tstate
);
13266 if (PyErr_Occurred()) SWIG_fail
;
13268 Py_INCREF(Py_None
); resultobj
= Py_None
;
13275 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13276 PyObject
*resultobj
;
13277 wxSlider
*arg1
= (wxSlider
*) 0 ;
13279 PyObject
* obj0
= 0 ;
13280 char *kwnames
[] = {
13281 (char *) "self", NULL
13284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
13285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13289 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
13291 wxPyEndAllowThreads(__tstate
);
13292 if (PyErr_Occurred()) SWIG_fail
;
13294 resultobj
= SWIG_FromInt((int)result
);
13301 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13302 PyObject
*resultobj
;
13303 wxSlider
*arg1
= (wxSlider
*) 0 ;
13305 int arg3
= (int) 1 ;
13306 PyObject
* obj0
= 0 ;
13307 PyObject
* obj1
= 0 ;
13308 PyObject
* obj2
= 0 ;
13309 char *kwnames
[] = {
13310 (char *) "self",(char *) "n",(char *) "pos", NULL
13313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13316 arg2
= (int) SWIG_AsInt(obj1
);
13317 if (PyErr_Occurred()) SWIG_fail
;
13319 arg3
= (int) SWIG_AsInt(obj2
);
13320 if (PyErr_Occurred()) SWIG_fail
;
13323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13324 (arg1
)->SetTickFreq(arg2
,arg3
);
13326 wxPyEndAllowThreads(__tstate
);
13327 if (PyErr_Occurred()) SWIG_fail
;
13329 Py_INCREF(Py_None
); resultobj
= Py_None
;
13336 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13337 PyObject
*resultobj
;
13338 wxSlider
*arg1
= (wxSlider
*) 0 ;
13340 PyObject
* obj0
= 0 ;
13341 char *kwnames
[] = {
13342 (char *) "self", NULL
13345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
13346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13350 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
13352 wxPyEndAllowThreads(__tstate
);
13353 if (PyErr_Occurred()) SWIG_fail
;
13355 resultobj
= SWIG_FromInt((int)result
);
13362 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13363 PyObject
*resultobj
;
13364 wxSlider
*arg1
= (wxSlider
*) 0 ;
13365 PyObject
* obj0
= 0 ;
13366 char *kwnames
[] = {
13367 (char *) "self", NULL
13370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
13371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13375 (arg1
)->ClearTicks();
13377 wxPyEndAllowThreads(__tstate
);
13378 if (PyErr_Occurred()) SWIG_fail
;
13380 Py_INCREF(Py_None
); resultobj
= Py_None
;
13387 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13388 PyObject
*resultobj
;
13389 wxSlider
*arg1
= (wxSlider
*) 0 ;
13391 PyObject
* obj0
= 0 ;
13392 PyObject
* obj1
= 0 ;
13393 char *kwnames
[] = {
13394 (char *) "self",(char *) "tickPos", NULL
13397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
13398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13400 arg2
= (int) SWIG_AsInt(obj1
);
13401 if (PyErr_Occurred()) SWIG_fail
;
13403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13404 (arg1
)->SetTick(arg2
);
13406 wxPyEndAllowThreads(__tstate
);
13407 if (PyErr_Occurred()) SWIG_fail
;
13409 Py_INCREF(Py_None
); resultobj
= Py_None
;
13416 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13417 PyObject
*resultobj
;
13418 wxSlider
*arg1
= (wxSlider
*) 0 ;
13419 PyObject
* obj0
= 0 ;
13420 char *kwnames
[] = {
13421 (char *) "self", NULL
13424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
13425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13429 (arg1
)->ClearSel();
13431 wxPyEndAllowThreads(__tstate
);
13432 if (PyErr_Occurred()) SWIG_fail
;
13434 Py_INCREF(Py_None
); resultobj
= Py_None
;
13441 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13442 PyObject
*resultobj
;
13443 wxSlider
*arg1
= (wxSlider
*) 0 ;
13445 PyObject
* obj0
= 0 ;
13446 char *kwnames
[] = {
13447 (char *) "self", NULL
13450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
13451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13455 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
13457 wxPyEndAllowThreads(__tstate
);
13458 if (PyErr_Occurred()) SWIG_fail
;
13460 resultobj
= SWIG_FromInt((int)result
);
13467 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13468 PyObject
*resultobj
;
13469 wxSlider
*arg1
= (wxSlider
*) 0 ;
13471 PyObject
* obj0
= 0 ;
13472 char *kwnames
[] = {
13473 (char *) "self", NULL
13476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
13477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13481 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
13483 wxPyEndAllowThreads(__tstate
);
13484 if (PyErr_Occurred()) SWIG_fail
;
13486 resultobj
= SWIG_FromInt((int)result
);
13493 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13494 PyObject
*resultobj
;
13495 wxSlider
*arg1
= (wxSlider
*) 0 ;
13498 PyObject
* obj0
= 0 ;
13499 PyObject
* obj1
= 0 ;
13500 PyObject
* obj2
= 0 ;
13501 char *kwnames
[] = {
13502 (char *) "self",(char *) "min",(char *) "max", NULL
13505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13508 arg2
= (int) SWIG_AsInt(obj1
);
13509 if (PyErr_Occurred()) SWIG_fail
;
13510 arg3
= (int) SWIG_AsInt(obj2
);
13511 if (PyErr_Occurred()) SWIG_fail
;
13513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13514 (arg1
)->SetSelection(arg2
,arg3
);
13516 wxPyEndAllowThreads(__tstate
);
13517 if (PyErr_Occurred()) SWIG_fail
;
13519 Py_INCREF(Py_None
); resultobj
= Py_None
;
13526 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13527 PyObject
*resultobj
;
13528 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
13529 wxVisualAttributes result
;
13530 PyObject
* obj0
= 0 ;
13531 char *kwnames
[] = {
13532 (char *) "variant", NULL
13535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13537 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
13538 if (PyErr_Occurred()) SWIG_fail
;
13541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13542 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13544 wxPyEndAllowThreads(__tstate
);
13545 if (PyErr_Occurred()) SWIG_fail
;
13548 wxVisualAttributes
* resultptr
;
13549 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
13550 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13558 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
13560 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13561 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
13563 return Py_BuildValue((char *)"");
13565 static int _wrap_ToggleButtonNameStr_set(PyObject
*_val
) {
13566 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
13571 static PyObject
*_wrap_ToggleButtonNameStr_get() {
13576 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13578 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13585 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13586 PyObject
*resultobj
;
13587 wxWindow
*arg1
= (wxWindow
*) 0 ;
13589 wxString
*arg3
= 0 ;
13590 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13591 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13592 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13593 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13594 long arg6
= (long) 0 ;
13595 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
13596 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
13597 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
13598 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13599 wxToggleButton
*result
;
13600 bool temp3
= False
;
13603 bool temp8
= False
;
13604 PyObject
* obj0
= 0 ;
13605 PyObject
* obj1
= 0 ;
13606 PyObject
* obj2
= 0 ;
13607 PyObject
* obj3
= 0 ;
13608 PyObject
* obj4
= 0 ;
13609 PyObject
* obj5
= 0 ;
13610 PyObject
* obj6
= 0 ;
13611 PyObject
* obj7
= 0 ;
13612 char *kwnames
[] = {
13613 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
13617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13619 arg2
= (int) SWIG_AsInt(obj1
);
13620 if (PyErr_Occurred()) SWIG_fail
;
13622 arg3
= wxString_in_helper(obj2
);
13623 if (arg3
== NULL
) SWIG_fail
;
13629 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13635 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13639 arg6
= (long) SWIG_AsLong(obj5
);
13640 if (PyErr_Occurred()) SWIG_fail
;
13643 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
13644 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13646 if (arg7
== NULL
) {
13647 PyErr_SetString(PyExc_TypeError
,"null reference");
13653 arg8
= wxString_in_helper(obj7
);
13654 if (arg8
== NULL
) SWIG_fail
;
13659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13660 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
13662 wxPyEndAllowThreads(__tstate
);
13663 if (PyErr_Occurred()) SWIG_fail
;
13665 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13688 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13689 PyObject
*resultobj
;
13690 wxToggleButton
*result
;
13691 char *kwnames
[] = {
13695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
13697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13698 result
= (wxToggleButton
*)new wxToggleButton();
13700 wxPyEndAllowThreads(__tstate
);
13701 if (PyErr_Occurred()) SWIG_fail
;
13703 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13710 static PyObject
*_wrap_ToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13711 PyObject
*resultobj
;
13712 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13713 wxWindow
*arg2
= (wxWindow
*) 0 ;
13715 wxString
*arg4
= 0 ;
13716 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13717 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13718 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13719 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13720 long arg7
= (long) 0 ;
13721 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
13722 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
13723 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
13724 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
13726 bool temp4
= False
;
13729 bool temp9
= False
;
13730 PyObject
* obj0
= 0 ;
13731 PyObject
* obj1
= 0 ;
13732 PyObject
* obj2
= 0 ;
13733 PyObject
* obj3
= 0 ;
13734 PyObject
* obj4
= 0 ;
13735 PyObject
* obj5
= 0 ;
13736 PyObject
* obj6
= 0 ;
13737 PyObject
* obj7
= 0 ;
13738 PyObject
* obj8
= 0 ;
13739 char *kwnames
[] = {
13740 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
13744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13746 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13748 arg3
= (int) SWIG_AsInt(obj2
);
13749 if (PyErr_Occurred()) SWIG_fail
;
13751 arg4
= wxString_in_helper(obj3
);
13752 if (arg4
== NULL
) SWIG_fail
;
13758 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13764 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13768 arg7
= (long) SWIG_AsLong(obj6
);
13769 if (PyErr_Occurred()) SWIG_fail
;
13772 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
13773 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13775 if (arg8
== NULL
) {
13776 PyErr_SetString(PyExc_TypeError
,"null reference");
13782 arg9
= wxString_in_helper(obj8
);
13783 if (arg9
== NULL
) SWIG_fail
;
13788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13789 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
13791 wxPyEndAllowThreads(__tstate
);
13792 if (PyErr_Occurred()) SWIG_fail
;
13795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13819 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13820 PyObject
*resultobj
;
13821 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13823 PyObject
* obj0
= 0 ;
13824 PyObject
* obj1
= 0 ;
13825 char *kwnames
[] = {
13826 (char *) "self",(char *) "value", NULL
13829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13832 arg2
= (bool) SWIG_AsBool(obj1
);
13833 if (PyErr_Occurred()) SWIG_fail
;
13835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13836 (arg1
)->SetValue(arg2
);
13838 wxPyEndAllowThreads(__tstate
);
13839 if (PyErr_Occurred()) SWIG_fail
;
13841 Py_INCREF(Py_None
); resultobj
= Py_None
;
13848 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13849 PyObject
*resultobj
;
13850 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13852 PyObject
* obj0
= 0 ;
13853 char *kwnames
[] = {
13854 (char *) "self", NULL
13857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
13858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13862 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
13864 wxPyEndAllowThreads(__tstate
);
13865 if (PyErr_Occurred()) SWIG_fail
;
13868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13876 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13877 PyObject
*resultobj
;
13878 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13879 wxString
*arg2
= 0 ;
13880 bool temp2
= False
;
13881 PyObject
* obj0
= 0 ;
13882 PyObject
* obj1
= 0 ;
13883 char *kwnames
[] = {
13884 (char *) "self",(char *) "label", NULL
13887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
13888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13891 arg2
= wxString_in_helper(obj1
);
13892 if (arg2
== NULL
) SWIG_fail
;
13896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13897 (arg1
)->SetLabel((wxString
const &)*arg2
);
13899 wxPyEndAllowThreads(__tstate
);
13900 if (PyErr_Occurred()) SWIG_fail
;
13902 Py_INCREF(Py_None
); resultobj
= Py_None
;
13917 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13918 PyObject
*resultobj
;
13919 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
13920 wxVisualAttributes result
;
13921 PyObject
* obj0
= 0 ;
13922 char *kwnames
[] = {
13923 (char *) "variant", NULL
13926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13928 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
13929 if (PyErr_Occurred()) SWIG_fail
;
13932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13933 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13935 wxPyEndAllowThreads(__tstate
);
13936 if (PyErr_Occurred()) SWIG_fail
;
13939 wxVisualAttributes
* resultptr
;
13940 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
13941 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13949 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
13951 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13952 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
13954 return Py_BuildValue((char *)"");
13956 static int _wrap_NOTEBOOK_NAME_set(PyObject
*_val
) {
13957 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
13962 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
13967 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13969 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13976 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13977 PyObject
*resultobj
;
13978 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13980 PyObject
* obj0
= 0 ;
13981 char *kwnames
[] = {
13982 (char *) "self", NULL
13985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
13986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13990 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
13992 wxPyEndAllowThreads(__tstate
);
13993 if (PyErr_Occurred()) SWIG_fail
;
13995 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14002 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14003 PyObject
*resultobj
;
14004 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14007 PyObject
* obj0
= 0 ;
14008 PyObject
* obj1
= 0 ;
14009 char *kwnames
[] = {
14010 (char *) "self",(char *) "n", NULL
14013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14016 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14017 if (PyErr_Occurred()) SWIG_fail
;
14019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14020 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
14022 wxPyEndAllowThreads(__tstate
);
14023 if (PyErr_Occurred()) SWIG_fail
;
14026 resultobj
= wxPyMake_wxObject(result
);
14034 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14035 PyObject
*resultobj
;
14036 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14038 PyObject
* obj0
= 0 ;
14039 char *kwnames
[] = {
14040 (char *) "self", NULL
14043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
14044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14048 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
14050 wxPyEndAllowThreads(__tstate
);
14051 if (PyErr_Occurred()) SWIG_fail
;
14053 resultobj
= SWIG_FromInt((int)result
);
14060 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14061 PyObject
*resultobj
;
14062 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14064 wxString
*arg3
= 0 ;
14066 bool temp3
= False
;
14067 PyObject
* obj0
= 0 ;
14068 PyObject
* obj1
= 0 ;
14069 PyObject
* obj2
= 0 ;
14070 char *kwnames
[] = {
14071 (char *) "self",(char *) "n",(char *) "strText", NULL
14074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14077 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14078 if (PyErr_Occurred()) SWIG_fail
;
14080 arg3
= wxString_in_helper(obj2
);
14081 if (arg3
== NULL
) SWIG_fail
;
14085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14086 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
14088 wxPyEndAllowThreads(__tstate
);
14089 if (PyErr_Occurred()) SWIG_fail
;
14092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14108 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14109 PyObject
*resultobj
;
14110 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14113 PyObject
* obj0
= 0 ;
14114 PyObject
* obj1
= 0 ;
14115 char *kwnames
[] = {
14116 (char *) "self",(char *) "n", NULL
14119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
14120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14122 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14123 if (PyErr_Occurred()) SWIG_fail
;
14125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14126 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
14128 wxPyEndAllowThreads(__tstate
);
14129 if (PyErr_Occurred()) SWIG_fail
;
14133 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14135 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14144 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14145 PyObject
*resultobj
;
14146 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14147 wxImageList
*arg2
= (wxImageList
*) 0 ;
14148 PyObject
* obj0
= 0 ;
14149 PyObject
* obj1
= 0 ;
14150 char *kwnames
[] = {
14151 (char *) "self",(char *) "imageList", NULL
14154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14157 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14161 (arg1
)->SetImageList(arg2
);
14163 wxPyEndAllowThreads(__tstate
);
14164 if (PyErr_Occurred()) SWIG_fail
;
14166 Py_INCREF(Py_None
); resultobj
= Py_None
;
14173 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14174 PyObject
*resultobj
;
14175 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14176 wxImageList
*arg2
= (wxImageList
*) 0 ;
14177 PyObject
* obj0
= 0 ;
14178 PyObject
* obj1
= 0 ;
14179 char *kwnames
[] = {
14180 (char *) "self",(char *) "imageList", NULL
14183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14186 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14187 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
14189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14190 (arg1
)->AssignImageList(arg2
);
14192 wxPyEndAllowThreads(__tstate
);
14193 if (PyErr_Occurred()) SWIG_fail
;
14195 Py_INCREF(Py_None
); resultobj
= Py_None
;
14202 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14203 PyObject
*resultobj
;
14204 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14205 wxImageList
*result
;
14206 PyObject
* obj0
= 0 ;
14207 char *kwnames
[] = {
14208 (char *) "self", NULL
14211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
14212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14216 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
14218 wxPyEndAllowThreads(__tstate
);
14219 if (PyErr_Occurred()) SWIG_fail
;
14222 resultobj
= wxPyMake_wxObject(result
);
14230 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14231 PyObject
*resultobj
;
14232 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14235 PyObject
* obj0
= 0 ;
14236 PyObject
* obj1
= 0 ;
14237 char *kwnames
[] = {
14238 (char *) "self",(char *) "n", NULL
14241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
14242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14244 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14245 if (PyErr_Occurred()) SWIG_fail
;
14247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14248 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
14250 wxPyEndAllowThreads(__tstate
);
14251 if (PyErr_Occurred()) SWIG_fail
;
14253 resultobj
= SWIG_FromInt((int)result
);
14260 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14261 PyObject
*resultobj
;
14262 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14266 PyObject
* obj0
= 0 ;
14267 PyObject
* obj1
= 0 ;
14268 PyObject
* obj2
= 0 ;
14269 char *kwnames
[] = {
14270 (char *) "self",(char *) "n",(char *) "imageId", NULL
14273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14276 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14277 if (PyErr_Occurred()) SWIG_fail
;
14278 arg3
= (int) SWIG_AsInt(obj2
);
14279 if (PyErr_Occurred()) SWIG_fail
;
14281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14282 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
14284 wxPyEndAllowThreads(__tstate
);
14285 if (PyErr_Occurred()) SWIG_fail
;
14288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14296 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14297 PyObject
*resultobj
;
14298 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14301 PyObject
* obj0
= 0 ;
14302 PyObject
* obj1
= 0 ;
14303 char *kwnames
[] = {
14304 (char *) "self",(char *) "size", NULL
14307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",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 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
14318 wxPyEndAllowThreads(__tstate
);
14319 if (PyErr_Occurred()) SWIG_fail
;
14321 Py_INCREF(Py_None
); resultobj
= Py_None
;
14328 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14329 PyObject
*resultobj
;
14330 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14334 PyObject
* obj0
= 0 ;
14335 PyObject
* obj1
= 0 ;
14336 char *kwnames
[] = {
14337 (char *) "self",(char *) "sizePage", NULL
14340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14345 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14349 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14351 wxPyEndAllowThreads(__tstate
);
14352 if (PyErr_Occurred()) SWIG_fail
;
14355 wxSize
* resultptr
;
14356 resultptr
= new wxSize((wxSize
&) result
);
14357 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14365 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14366 PyObject
*resultobj
;
14367 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14370 PyObject
* obj0
= 0 ;
14371 PyObject
* obj1
= 0 ;
14372 char *kwnames
[] = {
14373 (char *) "self",(char *) "n", NULL
14376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14379 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14380 if (PyErr_Occurred()) SWIG_fail
;
14382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14383 result
= (bool)(arg1
)->DeletePage(arg2
);
14385 wxPyEndAllowThreads(__tstate
);
14386 if (PyErr_Occurred()) SWIG_fail
;
14389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14397 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14398 PyObject
*resultobj
;
14399 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14402 PyObject
* obj0
= 0 ;
14403 PyObject
* obj1
= 0 ;
14404 char *kwnames
[] = {
14405 (char *) "self",(char *) "n", NULL
14408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14411 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14412 if (PyErr_Occurred()) SWIG_fail
;
14414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14415 result
= (bool)(arg1
)->RemovePage(arg2
);
14417 wxPyEndAllowThreads(__tstate
);
14418 if (PyErr_Occurred()) SWIG_fail
;
14421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14429 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14430 PyObject
*resultobj
;
14431 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14433 PyObject
* obj0
= 0 ;
14434 char *kwnames
[] = {
14435 (char *) "self", NULL
14438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
14439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14443 result
= (bool)(arg1
)->DeleteAllPages();
14445 wxPyEndAllowThreads(__tstate
);
14446 if (PyErr_Occurred()) SWIG_fail
;
14449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14457 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14458 PyObject
*resultobj
;
14459 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14460 wxWindow
*arg2
= (wxWindow
*) 0 ;
14461 wxString
*arg3
= 0 ;
14462 bool arg4
= (bool) False
;
14463 int arg5
= (int) -1 ;
14465 bool temp3
= False
;
14466 PyObject
* obj0
= 0 ;
14467 PyObject
* obj1
= 0 ;
14468 PyObject
* obj2
= 0 ;
14469 PyObject
* obj3
= 0 ;
14470 PyObject
* obj4
= 0 ;
14471 char *kwnames
[] = {
14472 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14478 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14481 arg3
= wxString_in_helper(obj2
);
14482 if (arg3
== NULL
) SWIG_fail
;
14486 arg4
= (bool) SWIG_AsBool(obj3
);
14487 if (PyErr_Occurred()) SWIG_fail
;
14490 arg5
= (int) SWIG_AsInt(obj4
);
14491 if (PyErr_Occurred()) SWIG_fail
;
14494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14495 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
14497 wxPyEndAllowThreads(__tstate
);
14498 if (PyErr_Occurred()) SWIG_fail
;
14501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14517 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14518 PyObject
*resultobj
;
14519 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14521 wxWindow
*arg3
= (wxWindow
*) 0 ;
14522 wxString
*arg4
= 0 ;
14523 bool arg5
= (bool) False
;
14524 int arg6
= (int) -1 ;
14526 bool temp4
= False
;
14527 PyObject
* obj0
= 0 ;
14528 PyObject
* obj1
= 0 ;
14529 PyObject
* obj2
= 0 ;
14530 PyObject
* obj3
= 0 ;
14531 PyObject
* obj4
= 0 ;
14532 PyObject
* obj5
= 0 ;
14533 char *kwnames
[] = {
14534 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14540 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14541 if (PyErr_Occurred()) SWIG_fail
;
14542 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
14543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14545 arg4
= wxString_in_helper(obj3
);
14546 if (arg4
== NULL
) SWIG_fail
;
14550 arg5
= (bool) SWIG_AsBool(obj4
);
14551 if (PyErr_Occurred()) SWIG_fail
;
14554 arg6
= (int) SWIG_AsInt(obj5
);
14555 if (PyErr_Occurred()) SWIG_fail
;
14558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14559 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
14561 wxPyEndAllowThreads(__tstate
);
14562 if (PyErr_Occurred()) SWIG_fail
;
14565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14581 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14582 PyObject
*resultobj
;
14583 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14586 PyObject
* obj0
= 0 ;
14587 PyObject
* obj1
= 0 ;
14588 char *kwnames
[] = {
14589 (char *) "self",(char *) "n", NULL
14592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14595 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14596 if (PyErr_Occurred()) SWIG_fail
;
14598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14599 result
= (int)(arg1
)->SetSelection(arg2
);
14601 wxPyEndAllowThreads(__tstate
);
14602 if (PyErr_Occurred()) SWIG_fail
;
14604 resultobj
= SWIG_FromInt((int)result
);
14611 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14612 PyObject
*resultobj
;
14613 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14614 bool arg2
= (bool) True
;
14615 PyObject
* obj0
= 0 ;
14616 PyObject
* obj1
= 0 ;
14617 char *kwnames
[] = {
14618 (char *) "self",(char *) "forward", NULL
14621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14625 arg2
= (bool) SWIG_AsBool(obj1
);
14626 if (PyErr_Occurred()) SWIG_fail
;
14629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14630 (arg1
)->AdvanceSelection(arg2
);
14632 wxPyEndAllowThreads(__tstate
);
14633 if (PyErr_Occurred()) SWIG_fail
;
14635 Py_INCREF(Py_None
); resultobj
= Py_None
;
14642 static PyObject
*_wrap_BookCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14643 PyObject
*resultobj
;
14644 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14645 wxVisualAttributes result
;
14646 PyObject
* obj0
= 0 ;
14647 char *kwnames
[] = {
14648 (char *) "variant", NULL
14651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14653 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
14654 if (PyErr_Occurred()) SWIG_fail
;
14657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14658 result
= wxBookCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14660 wxPyEndAllowThreads(__tstate
);
14661 if (PyErr_Occurred()) SWIG_fail
;
14664 wxVisualAttributes
* resultptr
;
14665 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14666 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14674 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
14676 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14677 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
14679 return Py_BuildValue((char *)"");
14681 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14682 PyObject
*resultobj
;
14683 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14684 int arg2
= (int) 0 ;
14685 int arg3
= (int) -1 ;
14686 int arg4
= (int) -1 ;
14687 wxBookCtrlEvent
*result
;
14688 PyObject
* obj0
= 0 ;
14689 PyObject
* obj1
= 0 ;
14690 PyObject
* obj2
= 0 ;
14691 PyObject
* obj3
= 0 ;
14692 char *kwnames
[] = {
14693 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14698 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14699 if (PyErr_Occurred()) SWIG_fail
;
14702 arg2
= (int) SWIG_AsInt(obj1
);
14703 if (PyErr_Occurred()) SWIG_fail
;
14706 arg3
= (int) SWIG_AsInt(obj2
);
14707 if (PyErr_Occurred()) SWIG_fail
;
14710 arg4
= (int) SWIG_AsInt(obj3
);
14711 if (PyErr_Occurred()) SWIG_fail
;
14714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14715 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
14717 wxPyEndAllowThreads(__tstate
);
14718 if (PyErr_Occurred()) SWIG_fail
;
14720 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlEvent
, 1);
14727 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14728 PyObject
*resultobj
;
14729 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14731 PyObject
* obj0
= 0 ;
14732 char *kwnames
[] = {
14733 (char *) "self", NULL
14736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
14737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14741 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
14743 wxPyEndAllowThreads(__tstate
);
14744 if (PyErr_Occurred()) SWIG_fail
;
14746 resultobj
= SWIG_FromInt((int)result
);
14753 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14754 PyObject
*resultobj
;
14755 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14757 PyObject
* obj0
= 0 ;
14758 PyObject
* obj1
= 0 ;
14759 char *kwnames
[] = {
14760 (char *) "self",(char *) "nSel", NULL
14763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14766 arg2
= (int) SWIG_AsInt(obj1
);
14767 if (PyErr_Occurred()) SWIG_fail
;
14769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14770 (arg1
)->SetSelection(arg2
);
14772 wxPyEndAllowThreads(__tstate
);
14773 if (PyErr_Occurred()) SWIG_fail
;
14775 Py_INCREF(Py_None
); resultobj
= Py_None
;
14782 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14783 PyObject
*resultobj
;
14784 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14786 PyObject
* obj0
= 0 ;
14787 char *kwnames
[] = {
14788 (char *) "self", NULL
14791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
14792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14796 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
14798 wxPyEndAllowThreads(__tstate
);
14799 if (PyErr_Occurred()) SWIG_fail
;
14801 resultobj
= SWIG_FromInt((int)result
);
14808 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14809 PyObject
*resultobj
;
14810 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14812 PyObject
* obj0
= 0 ;
14813 PyObject
* obj1
= 0 ;
14814 char *kwnames
[] = {
14815 (char *) "self",(char *) "nOldSel", NULL
14818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14821 arg2
= (int) SWIG_AsInt(obj1
);
14822 if (PyErr_Occurred()) SWIG_fail
;
14824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14825 (arg1
)->SetOldSelection(arg2
);
14827 wxPyEndAllowThreads(__tstate
);
14828 if (PyErr_Occurred()) SWIG_fail
;
14830 Py_INCREF(Py_None
); resultobj
= Py_None
;
14837 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14839 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14840 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
14842 return Py_BuildValue((char *)"");
14844 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14845 PyObject
*resultobj
;
14846 wxWindow
*arg1
= (wxWindow
*) 0 ;
14847 int arg2
= (int) -1 ;
14848 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14849 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14850 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14851 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14852 long arg5
= (long) 0 ;
14853 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
14854 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14855 wxNotebook
*result
;
14858 bool temp6
= False
;
14859 PyObject
* obj0
= 0 ;
14860 PyObject
* obj1
= 0 ;
14861 PyObject
* obj2
= 0 ;
14862 PyObject
* obj3
= 0 ;
14863 PyObject
* obj4
= 0 ;
14864 PyObject
* obj5
= 0 ;
14865 char *kwnames
[] = {
14866 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14873 arg2
= (int) SWIG_AsInt(obj1
);
14874 if (PyErr_Occurred()) SWIG_fail
;
14879 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14885 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14889 arg5
= (long) SWIG_AsLong(obj4
);
14890 if (PyErr_Occurred()) SWIG_fail
;
14894 arg6
= wxString_in_helper(obj5
);
14895 if (arg6
== NULL
) SWIG_fail
;
14900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14901 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14903 wxPyEndAllowThreads(__tstate
);
14904 if (PyErr_Occurred()) SWIG_fail
;
14907 resultobj
= wxPyMake_wxObject(result
);
14923 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14924 PyObject
*resultobj
;
14925 wxNotebook
*result
;
14926 char *kwnames
[] = {
14930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
14932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14933 result
= (wxNotebook
*)new wxNotebook();
14935 wxPyEndAllowThreads(__tstate
);
14936 if (PyErr_Occurred()) SWIG_fail
;
14939 resultobj
= wxPyMake_wxObject(result
);
14947 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14948 PyObject
*resultobj
;
14949 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14950 wxWindow
*arg2
= (wxWindow
*) 0 ;
14952 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14953 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14954 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14955 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14956 long arg6
= (long) 0 ;
14957 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
14958 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14962 bool temp7
= False
;
14963 PyObject
* obj0
= 0 ;
14964 PyObject
* obj1
= 0 ;
14965 PyObject
* obj2
= 0 ;
14966 PyObject
* obj3
= 0 ;
14967 PyObject
* obj4
= 0 ;
14968 PyObject
* obj5
= 0 ;
14969 PyObject
* obj6
= 0 ;
14970 char *kwnames
[] = {
14971 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14977 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14979 arg3
= (int) SWIG_AsInt(obj2
);
14980 if (PyErr_Occurred()) SWIG_fail
;
14984 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14990 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14994 arg6
= (long) SWIG_AsLong(obj5
);
14995 if (PyErr_Occurred()) SWIG_fail
;
14999 arg7
= wxString_in_helper(obj6
);
15000 if (arg7
== NULL
) SWIG_fail
;
15005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15006 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15008 wxPyEndAllowThreads(__tstate
);
15009 if (PyErr_Occurred()) SWIG_fail
;
15012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15028 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15029 PyObject
*resultobj
;
15030 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15032 PyObject
* obj0
= 0 ;
15033 char *kwnames
[] = {
15034 (char *) "self", NULL
15037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
15038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15042 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
15044 wxPyEndAllowThreads(__tstate
);
15045 if (PyErr_Occurred()) SWIG_fail
;
15047 resultobj
= SWIG_FromInt((int)result
);
15054 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15055 PyObject
*resultobj
;
15056 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15059 PyObject
* obj0
= 0 ;
15060 PyObject
* obj1
= 0 ;
15061 char *kwnames
[] = {
15062 (char *) "self",(char *) "padding", NULL
15065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
15066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15070 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15074 (arg1
)->SetPadding((wxSize
const &)*arg2
);
15076 wxPyEndAllowThreads(__tstate
);
15077 if (PyErr_Occurred()) SWIG_fail
;
15079 Py_INCREF(Py_None
); resultobj
= Py_None
;
15086 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15087 PyObject
*resultobj
;
15088 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15091 PyObject
* obj0
= 0 ;
15092 PyObject
* obj1
= 0 ;
15093 char *kwnames
[] = {
15094 (char *) "self",(char *) "sz", NULL
15097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15102 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15106 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
15108 wxPyEndAllowThreads(__tstate
);
15109 if (PyErr_Occurred()) SWIG_fail
;
15111 Py_INCREF(Py_None
); resultobj
= Py_None
;
15118 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15119 PyObject
*resultobj
;
15120 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15121 wxPoint
*arg2
= 0 ;
15122 long *arg3
= (long *) 0 ;
15126 PyObject
* obj0
= 0 ;
15127 PyObject
* obj1
= 0 ;
15128 char *kwnames
[] = {
15129 (char *) "self",(char *) "pt", NULL
15133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
15134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15138 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15142 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
15144 wxPyEndAllowThreads(__tstate
);
15145 if (PyErr_Occurred()) SWIG_fail
;
15147 resultobj
= SWIG_FromInt((int)result
);
15149 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15150 resultobj
= t_output_helper(resultobj
,o
);
15158 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15159 PyObject
*resultobj
;
15160 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15164 PyObject
* obj0
= 0 ;
15165 PyObject
* obj1
= 0 ;
15166 char *kwnames
[] = {
15167 (char *) "self",(char *) "sizePage", NULL
15170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
15171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15175 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15179 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
15181 wxPyEndAllowThreads(__tstate
);
15182 if (PyErr_Occurred()) SWIG_fail
;
15185 wxSize
* resultptr
;
15186 resultptr
= new wxSize((wxSize
&) result
);
15187 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15195 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15196 PyObject
*resultobj
;
15197 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
15198 wxVisualAttributes result
;
15199 PyObject
* obj0
= 0 ;
15200 char *kwnames
[] = {
15201 (char *) "variant", NULL
15204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15206 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
15207 if (PyErr_Occurred()) SWIG_fail
;
15210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15211 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15213 wxPyEndAllowThreads(__tstate
);
15214 if (PyErr_Occurred()) SWIG_fail
;
15217 wxVisualAttributes
* resultptr
;
15218 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
15219 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15227 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
15229 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15230 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
15232 return Py_BuildValue((char *)"");
15234 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15235 PyObject
*resultobj
;
15236 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15237 int arg2
= (int) 0 ;
15238 int arg3
= (int) -1 ;
15239 int arg4
= (int) -1 ;
15240 wxNotebookEvent
*result
;
15241 PyObject
* obj0
= 0 ;
15242 PyObject
* obj1
= 0 ;
15243 PyObject
* obj2
= 0 ;
15244 PyObject
* obj3
= 0 ;
15245 char *kwnames
[] = {
15246 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15251 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15252 if (PyErr_Occurred()) SWIG_fail
;
15255 arg2
= (int) SWIG_AsInt(obj1
);
15256 if (PyErr_Occurred()) SWIG_fail
;
15259 arg3
= (int) SWIG_AsInt(obj2
);
15260 if (PyErr_Occurred()) SWIG_fail
;
15263 arg4
= (int) SWIG_AsInt(obj3
);
15264 if (PyErr_Occurred()) SWIG_fail
;
15267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15268 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
15270 wxPyEndAllowThreads(__tstate
);
15271 if (PyErr_Occurred()) SWIG_fail
;
15273 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
15280 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15282 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15283 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
15285 return Py_BuildValue((char *)"");
15287 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15288 PyObject
*resultobj
;
15289 wxWindow
*arg1
= (wxWindow
*) 0 ;
15290 int arg2
= (int) -1 ;
15291 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15292 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15293 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15294 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15295 long arg5
= (long) 0 ;
15296 wxString
const &arg6_defvalue
= wxPyEmptyString
;
15297 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15298 wxListbook
*result
;
15301 bool temp6
= False
;
15302 PyObject
* obj0
= 0 ;
15303 PyObject
* obj1
= 0 ;
15304 PyObject
* obj2
= 0 ;
15305 PyObject
* obj3
= 0 ;
15306 PyObject
* obj4
= 0 ;
15307 PyObject
* obj5
= 0 ;
15308 char *kwnames
[] = {
15309 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15316 arg2
= (int) SWIG_AsInt(obj1
);
15317 if (PyErr_Occurred()) SWIG_fail
;
15322 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15328 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15332 arg5
= (long) SWIG_AsLong(obj4
);
15333 if (PyErr_Occurred()) SWIG_fail
;
15337 arg6
= wxString_in_helper(obj5
);
15338 if (arg6
== NULL
) SWIG_fail
;
15343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15344 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15346 wxPyEndAllowThreads(__tstate
);
15347 if (PyErr_Occurred()) SWIG_fail
;
15349 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15364 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15365 PyObject
*resultobj
;
15366 wxListbook
*result
;
15367 char *kwnames
[] = {
15371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
15373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15374 result
= (wxListbook
*)new wxListbook();
15376 wxPyEndAllowThreads(__tstate
);
15377 if (PyErr_Occurred()) SWIG_fail
;
15379 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15386 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15387 PyObject
*resultobj
;
15388 wxListbook
*arg1
= (wxListbook
*) 0 ;
15389 wxWindow
*arg2
= (wxWindow
*) 0 ;
15391 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15392 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15393 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15394 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15395 long arg6
= (long) 0 ;
15396 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15397 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15401 bool temp7
= False
;
15402 PyObject
* obj0
= 0 ;
15403 PyObject
* obj1
= 0 ;
15404 PyObject
* obj2
= 0 ;
15405 PyObject
* obj3
= 0 ;
15406 PyObject
* obj4
= 0 ;
15407 PyObject
* obj5
= 0 ;
15408 PyObject
* obj6
= 0 ;
15409 char *kwnames
[] = {
15410 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15416 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15418 arg3
= (int) SWIG_AsInt(obj2
);
15419 if (PyErr_Occurred()) SWIG_fail
;
15423 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15429 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15433 arg6
= (long) SWIG_AsLong(obj5
);
15434 if (PyErr_Occurred()) SWIG_fail
;
15438 arg7
= wxString_in_helper(obj6
);
15439 if (arg7
== NULL
) SWIG_fail
;
15444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15445 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15447 wxPyEndAllowThreads(__tstate
);
15448 if (PyErr_Occurred()) SWIG_fail
;
15451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15467 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15468 PyObject
*resultobj
;
15469 wxListbook
*arg1
= (wxListbook
*) 0 ;
15471 PyObject
* obj0
= 0 ;
15472 char *kwnames
[] = {
15473 (char *) "self", NULL
15476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
15477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15481 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
15483 wxPyEndAllowThreads(__tstate
);
15484 if (PyErr_Occurred()) SWIG_fail
;
15487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15495 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
15497 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15498 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
15500 return Py_BuildValue((char *)"");
15502 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15503 PyObject
*resultobj
;
15504 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15505 int arg2
= (int) 0 ;
15506 int arg3
= (int) -1 ;
15507 int arg4
= (int) -1 ;
15508 wxListbookEvent
*result
;
15509 PyObject
* obj0
= 0 ;
15510 PyObject
* obj1
= 0 ;
15511 PyObject
* obj2
= 0 ;
15512 PyObject
* obj3
= 0 ;
15513 char *kwnames
[] = {
15514 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15519 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15520 if (PyErr_Occurred()) SWIG_fail
;
15523 arg2
= (int) SWIG_AsInt(obj1
);
15524 if (PyErr_Occurred()) SWIG_fail
;
15527 arg3
= (int) SWIG_AsInt(obj2
);
15528 if (PyErr_Occurred()) SWIG_fail
;
15531 arg4
= (int) SWIG_AsInt(obj3
);
15532 if (PyErr_Occurred()) SWIG_fail
;
15535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15536 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
15538 wxPyEndAllowThreads(__tstate
);
15539 if (PyErr_Occurred()) SWIG_fail
;
15541 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
15548 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15550 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15551 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
15553 return Py_BuildValue((char *)"");
15555 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15556 PyObject
*resultobj
;
15557 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
15558 wxBookCtrlSizer
*result
;
15559 PyObject
* obj0
= 0 ;
15560 char *kwnames
[] = {
15561 (char *) "nb", NULL
15564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
15565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
15566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15569 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
15571 wxPyEndAllowThreads(__tstate
);
15572 if (PyErr_Occurred()) SWIG_fail
;
15574 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
15581 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15582 PyObject
*resultobj
;
15583 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15584 PyObject
* obj0
= 0 ;
15585 char *kwnames
[] = {
15586 (char *) "self", NULL
15589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15594 (arg1
)->RecalcSizes();
15596 wxPyEndAllowThreads(__tstate
);
15597 if (PyErr_Occurred()) SWIG_fail
;
15599 Py_INCREF(Py_None
); resultobj
= Py_None
;
15606 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15607 PyObject
*resultobj
;
15608 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15610 PyObject
* obj0
= 0 ;
15611 char *kwnames
[] = {
15612 (char *) "self", NULL
15615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
15616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15620 result
= (arg1
)->CalcMin();
15622 wxPyEndAllowThreads(__tstate
);
15623 if (PyErr_Occurred()) SWIG_fail
;
15626 wxSize
* resultptr
;
15627 resultptr
= new wxSize((wxSize
&) result
);
15628 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15636 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15637 PyObject
*resultobj
;
15638 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15639 wxBookCtrl
*result
;
15640 PyObject
* obj0
= 0 ;
15641 char *kwnames
[] = {
15642 (char *) "self", NULL
15645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
15646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15650 result
= (wxBookCtrl
*)(arg1
)->GetControl();
15652 wxPyEndAllowThreads(__tstate
);
15653 if (PyErr_Occurred()) SWIG_fail
;
15655 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrl
, 0);
15662 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
15664 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15665 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
15667 return Py_BuildValue((char *)"");
15669 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15670 PyObject
*resultobj
;
15671 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15672 wxNotebookSizer
*result
;
15673 PyObject
* obj0
= 0 ;
15674 char *kwnames
[] = {
15675 (char *) "nb", NULL
15678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
15679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15683 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
15685 wxPyEndAllowThreads(__tstate
);
15686 if (PyErr_Occurred()) SWIG_fail
;
15688 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
15695 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15696 PyObject
*resultobj
;
15697 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15698 PyObject
* obj0
= 0 ;
15699 char *kwnames
[] = {
15700 (char *) "self", NULL
15703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15708 (arg1
)->RecalcSizes();
15710 wxPyEndAllowThreads(__tstate
);
15711 if (PyErr_Occurred()) SWIG_fail
;
15713 Py_INCREF(Py_None
); resultobj
= Py_None
;
15720 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15721 PyObject
*resultobj
;
15722 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15724 PyObject
* obj0
= 0 ;
15725 char *kwnames
[] = {
15726 (char *) "self", NULL
15729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
15730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15734 result
= (arg1
)->CalcMin();
15736 wxPyEndAllowThreads(__tstate
);
15737 if (PyErr_Occurred()) SWIG_fail
;
15740 wxSize
* resultptr
;
15741 resultptr
= new wxSize((wxSize
&) result
);
15742 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15750 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15751 PyObject
*resultobj
;
15752 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15753 wxNotebook
*result
;
15754 PyObject
* obj0
= 0 ;
15755 char *kwnames
[] = {
15756 (char *) "self", NULL
15759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
15760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15764 result
= (wxNotebook
*)(arg1
)->GetNotebook();
15766 wxPyEndAllowThreads(__tstate
);
15767 if (PyErr_Occurred()) SWIG_fail
;
15770 resultobj
= wxPyMake_wxObject(result
);
15778 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
15780 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15781 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
15783 return Py_BuildValue((char *)"");
15785 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15786 PyObject
*resultobj
;
15787 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15789 PyObject
* obj0
= 0 ;
15790 char *kwnames
[] = {
15791 (char *) "self", NULL
15794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
15795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15799 result
= (int)(arg1
)->GetId();
15801 wxPyEndAllowThreads(__tstate
);
15802 if (PyErr_Occurred()) SWIG_fail
;
15804 resultobj
= SWIG_FromInt((int)result
);
15811 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15812 PyObject
*resultobj
;
15813 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15815 PyObject
* obj0
= 0 ;
15816 char *kwnames
[] = {
15817 (char *) "self", NULL
15820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
15821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15825 result
= (wxControl
*)(arg1
)->GetControl();
15827 wxPyEndAllowThreads(__tstate
);
15828 if (PyErr_Occurred()) SWIG_fail
;
15831 resultobj
= wxPyMake_wxObject(result
);
15839 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15840 PyObject
*resultobj
;
15841 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15842 wxToolBarBase
*result
;
15843 PyObject
* obj0
= 0 ;
15844 char *kwnames
[] = {
15845 (char *) "self", NULL
15848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
15849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15853 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
15855 wxPyEndAllowThreads(__tstate
);
15856 if (PyErr_Occurred()) SWIG_fail
;
15859 resultobj
= wxPyMake_wxObject(result
);
15867 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15868 PyObject
*resultobj
;
15869 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15871 PyObject
* obj0
= 0 ;
15872 char *kwnames
[] = {
15873 (char *) "self", NULL
15876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
15877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15881 result
= (int)(arg1
)->IsButton();
15883 wxPyEndAllowThreads(__tstate
);
15884 if (PyErr_Occurred()) SWIG_fail
;
15886 resultobj
= SWIG_FromInt((int)result
);
15893 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15894 PyObject
*resultobj
;
15895 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15897 PyObject
* obj0
= 0 ;
15898 char *kwnames
[] = {
15899 (char *) "self", NULL
15902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
15903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15907 result
= (int)(arg1
)->IsControl();
15909 wxPyEndAllowThreads(__tstate
);
15910 if (PyErr_Occurred()) SWIG_fail
;
15912 resultobj
= SWIG_FromInt((int)result
);
15919 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15920 PyObject
*resultobj
;
15921 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15923 PyObject
* obj0
= 0 ;
15924 char *kwnames
[] = {
15925 (char *) "self", NULL
15928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
15929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15933 result
= (int)(arg1
)->IsSeparator();
15935 wxPyEndAllowThreads(__tstate
);
15936 if (PyErr_Occurred()) SWIG_fail
;
15938 resultobj
= SWIG_FromInt((int)result
);
15945 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15946 PyObject
*resultobj
;
15947 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15949 PyObject
* obj0
= 0 ;
15950 char *kwnames
[] = {
15951 (char *) "self", NULL
15954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
15955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15959 result
= (int)(arg1
)->GetStyle();
15961 wxPyEndAllowThreads(__tstate
);
15962 if (PyErr_Occurred()) SWIG_fail
;
15964 resultobj
= SWIG_FromInt((int)result
);
15971 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15972 PyObject
*resultobj
;
15973 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15975 PyObject
* obj0
= 0 ;
15976 char *kwnames
[] = {
15977 (char *) "self", NULL
15980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
15981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15985 result
= (int)(arg1
)->GetKind();
15987 wxPyEndAllowThreads(__tstate
);
15988 if (PyErr_Occurred()) SWIG_fail
;
15990 resultobj
= SWIG_FromInt((int)result
);
15997 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15998 PyObject
*resultobj
;
15999 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16001 PyObject
* obj0
= 0 ;
16002 char *kwnames
[] = {
16003 (char *) "self", NULL
16006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
16007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16011 result
= (bool)(arg1
)->IsEnabled();
16013 wxPyEndAllowThreads(__tstate
);
16014 if (PyErr_Occurred()) SWIG_fail
;
16017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16025 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16026 PyObject
*resultobj
;
16027 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16029 PyObject
* obj0
= 0 ;
16030 char *kwnames
[] = {
16031 (char *) "self", NULL
16034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
16035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16039 result
= (bool)(arg1
)->IsToggled();
16041 wxPyEndAllowThreads(__tstate
);
16042 if (PyErr_Occurred()) SWIG_fail
;
16045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16053 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16054 PyObject
*resultobj
;
16055 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16057 PyObject
* obj0
= 0 ;
16058 char *kwnames
[] = {
16059 (char *) "self", NULL
16062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
16063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16067 result
= (bool)(arg1
)->CanBeToggled();
16069 wxPyEndAllowThreads(__tstate
);
16070 if (PyErr_Occurred()) SWIG_fail
;
16073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16081 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16082 PyObject
*resultobj
;
16083 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16085 PyObject
* obj0
= 0 ;
16086 char *kwnames
[] = {
16087 (char *) "self", NULL
16090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
16091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16096 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
16097 result
= (wxBitmap
*) &_result_ref
;
16100 wxPyEndAllowThreads(__tstate
);
16101 if (PyErr_Occurred()) SWIG_fail
;
16104 wxBitmap
* resultptr
= new wxBitmap(*result
);
16105 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16113 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16114 PyObject
*resultobj
;
16115 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16117 PyObject
* obj0
= 0 ;
16118 char *kwnames
[] = {
16119 (char *) "self", NULL
16122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
16123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16128 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
16129 result
= (wxBitmap
*) &_result_ref
;
16132 wxPyEndAllowThreads(__tstate
);
16133 if (PyErr_Occurred()) SWIG_fail
;
16136 wxBitmap
* resultptr
= new wxBitmap(*result
);
16137 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16145 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16146 PyObject
*resultobj
;
16147 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16149 PyObject
* obj0
= 0 ;
16150 char *kwnames
[] = {
16151 (char *) "self", NULL
16154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
16155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16159 result
= (arg1
)->GetBitmap();
16161 wxPyEndAllowThreads(__tstate
);
16162 if (PyErr_Occurred()) SWIG_fail
;
16165 wxBitmap
* resultptr
;
16166 resultptr
= new wxBitmap((wxBitmap
&) result
);
16167 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16175 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16176 PyObject
*resultobj
;
16177 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16179 PyObject
* obj0
= 0 ;
16180 char *kwnames
[] = {
16181 (char *) "self", NULL
16184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
16185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16189 result
= (arg1
)->GetLabel();
16191 wxPyEndAllowThreads(__tstate
);
16192 if (PyErr_Occurred()) SWIG_fail
;
16196 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16198 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16207 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16208 PyObject
*resultobj
;
16209 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16211 PyObject
* obj0
= 0 ;
16212 char *kwnames
[] = {
16213 (char *) "self", NULL
16216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
16217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16221 result
= (arg1
)->GetShortHelp();
16223 wxPyEndAllowThreads(__tstate
);
16224 if (PyErr_Occurred()) SWIG_fail
;
16228 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16230 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16239 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16240 PyObject
*resultobj
;
16241 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16243 PyObject
* obj0
= 0 ;
16244 char *kwnames
[] = {
16245 (char *) "self", NULL
16248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
16249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16253 result
= (arg1
)->GetLongHelp();
16255 wxPyEndAllowThreads(__tstate
);
16256 if (PyErr_Occurred()) SWIG_fail
;
16260 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16262 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16271 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16272 PyObject
*resultobj
;
16273 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16276 PyObject
* obj0
= 0 ;
16277 PyObject
* obj1
= 0 ;
16278 char *kwnames
[] = {
16279 (char *) "self",(char *) "enable", NULL
16282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
16283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16285 arg2
= (bool) SWIG_AsBool(obj1
);
16286 if (PyErr_Occurred()) SWIG_fail
;
16288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16289 result
= (bool)(arg1
)->Enable(arg2
);
16291 wxPyEndAllowThreads(__tstate
);
16292 if (PyErr_Occurred()) SWIG_fail
;
16295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16303 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16304 PyObject
*resultobj
;
16305 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16306 PyObject
* obj0
= 0 ;
16307 char *kwnames
[] = {
16308 (char *) "self", NULL
16311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
16312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16318 wxPyEndAllowThreads(__tstate
);
16319 if (PyErr_Occurred()) SWIG_fail
;
16321 Py_INCREF(Py_None
); resultobj
= Py_None
;
16328 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16329 PyObject
*resultobj
;
16330 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16333 PyObject
* obj0
= 0 ;
16334 PyObject
* obj1
= 0 ;
16335 char *kwnames
[] = {
16336 (char *) "self",(char *) "toggle", NULL
16339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
16340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16342 arg2
= (bool) SWIG_AsBool(obj1
);
16343 if (PyErr_Occurred()) SWIG_fail
;
16345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16346 result
= (bool)(arg1
)->SetToggle(arg2
);
16348 wxPyEndAllowThreads(__tstate
);
16349 if (PyErr_Occurred()) SWIG_fail
;
16352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16360 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16361 PyObject
*resultobj
;
16362 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16363 wxString
*arg2
= 0 ;
16365 bool temp2
= False
;
16366 PyObject
* obj0
= 0 ;
16367 PyObject
* obj1
= 0 ;
16368 char *kwnames
[] = {
16369 (char *) "self",(char *) "help", NULL
16372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16376 arg2
= wxString_in_helper(obj1
);
16377 if (arg2
== NULL
) SWIG_fail
;
16381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16382 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
16384 wxPyEndAllowThreads(__tstate
);
16385 if (PyErr_Occurred()) SWIG_fail
;
16388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16404 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16405 PyObject
*resultobj
;
16406 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16407 wxString
*arg2
= 0 ;
16409 bool temp2
= False
;
16410 PyObject
* obj0
= 0 ;
16411 PyObject
* obj1
= 0 ;
16412 char *kwnames
[] = {
16413 (char *) "self",(char *) "help", NULL
16416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16420 arg2
= wxString_in_helper(obj1
);
16421 if (arg2
== NULL
) SWIG_fail
;
16425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16426 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
16428 wxPyEndAllowThreads(__tstate
);
16429 if (PyErr_Occurred()) SWIG_fail
;
16432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16448 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16449 PyObject
*resultobj
;
16450 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16451 wxBitmap
*arg2
= 0 ;
16452 PyObject
* obj0
= 0 ;
16453 PyObject
* obj1
= 0 ;
16454 char *kwnames
[] = {
16455 (char *) "self",(char *) "bmp", NULL
16458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
16459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16461 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16462 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16464 if (arg2
== NULL
) {
16465 PyErr_SetString(PyExc_TypeError
,"null reference");
16469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16470 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
16472 wxPyEndAllowThreads(__tstate
);
16473 if (PyErr_Occurred()) SWIG_fail
;
16475 Py_INCREF(Py_None
); resultobj
= Py_None
;
16482 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16483 PyObject
*resultobj
;
16484 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16485 wxBitmap
*arg2
= 0 ;
16486 PyObject
* obj0
= 0 ;
16487 PyObject
* obj1
= 0 ;
16488 char *kwnames
[] = {
16489 (char *) "self",(char *) "bmp", NULL
16492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
16493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16495 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16496 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16498 if (arg2
== NULL
) {
16499 PyErr_SetString(PyExc_TypeError
,"null reference");
16503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16504 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
16506 wxPyEndAllowThreads(__tstate
);
16507 if (PyErr_Occurred()) SWIG_fail
;
16509 Py_INCREF(Py_None
); resultobj
= Py_None
;
16516 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16517 PyObject
*resultobj
;
16518 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16519 wxString
*arg2
= 0 ;
16520 bool temp2
= False
;
16521 PyObject
* obj0
= 0 ;
16522 PyObject
* obj1
= 0 ;
16523 char *kwnames
[] = {
16524 (char *) "self",(char *) "label", NULL
16527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
16528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16531 arg2
= wxString_in_helper(obj1
);
16532 if (arg2
== NULL
) SWIG_fail
;
16536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16537 (arg1
)->SetLabel((wxString
const &)*arg2
);
16539 wxPyEndAllowThreads(__tstate
);
16540 if (PyErr_Occurred()) SWIG_fail
;
16542 Py_INCREF(Py_None
); resultobj
= Py_None
;
16557 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16558 PyObject
*resultobj
;
16559 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16560 PyObject
* obj0
= 0 ;
16561 char *kwnames
[] = {
16562 (char *) "self", NULL
16565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
16566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16572 wxPyEndAllowThreads(__tstate
);
16573 if (PyErr_Occurred()) SWIG_fail
;
16575 Py_INCREF(Py_None
); resultobj
= Py_None
;
16582 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16583 PyObject
*resultobj
;
16584 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16585 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
16586 PyObject
* obj0
= 0 ;
16587 PyObject
* obj1
= 0 ;
16588 char *kwnames
[] = {
16589 (char *) "self",(char *) "tbar", NULL
16592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
16593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16595 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
16596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16599 (arg1
)->Attach(arg2
);
16601 wxPyEndAllowThreads(__tstate
);
16602 if (PyErr_Occurred()) SWIG_fail
;
16604 Py_INCREF(Py_None
); resultobj
= Py_None
;
16611 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16612 PyObject
*resultobj
;
16613 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16615 PyObject
* obj0
= 0 ;
16616 char *kwnames
[] = {
16617 (char *) "self", NULL
16620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
16621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16625 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
16627 wxPyEndAllowThreads(__tstate
);
16628 if (PyErr_Occurred()) SWIG_fail
;
16630 resultobj
= result
;
16637 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16638 PyObject
*resultobj
;
16639 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16640 PyObject
*arg2
= (PyObject
*) 0 ;
16641 PyObject
* obj0
= 0 ;
16642 PyObject
* obj1
= 0 ;
16643 char *kwnames
[] = {
16644 (char *) "self",(char *) "clientData", NULL
16647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16653 wxToolBarToolBase_SetClientData(arg1
,arg2
);
16655 wxPyEndAllowThreads(__tstate
);
16656 if (PyErr_Occurred()) SWIG_fail
;
16658 Py_INCREF(Py_None
); resultobj
= Py_None
;
16665 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
16667 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16668 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
16670 return Py_BuildValue((char *)"");
16672 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16673 PyObject
*resultobj
;
16674 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16676 wxString
*arg3
= 0 ;
16677 wxBitmap
*arg4
= 0 ;
16678 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
16679 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
16680 int arg6
= (int) wxITEM_NORMAL
;
16681 wxString
const &arg7_defvalue
= wxPyEmptyString
;
16682 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16683 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16684 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16685 PyObject
*arg9
= (PyObject
*) NULL
;
16686 wxToolBarToolBase
*result
;
16687 bool temp3
= False
;
16688 bool temp7
= False
;
16689 bool temp8
= False
;
16690 PyObject
* obj0
= 0 ;
16691 PyObject
* obj1
= 0 ;
16692 PyObject
* obj2
= 0 ;
16693 PyObject
* obj3
= 0 ;
16694 PyObject
* obj4
= 0 ;
16695 PyObject
* obj5
= 0 ;
16696 PyObject
* obj6
= 0 ;
16697 PyObject
* obj7
= 0 ;
16698 PyObject
* obj8
= 0 ;
16699 char *kwnames
[] = {
16700 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
16704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16706 arg2
= (int) SWIG_AsInt(obj1
);
16707 if (PyErr_Occurred()) SWIG_fail
;
16709 arg3
= wxString_in_helper(obj2
);
16710 if (arg3
== NULL
) SWIG_fail
;
16713 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
16714 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16716 if (arg4
== NULL
) {
16717 PyErr_SetString(PyExc_TypeError
,"null reference");
16721 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16722 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16724 if (arg5
== NULL
) {
16725 PyErr_SetString(PyExc_TypeError
,"null reference");
16730 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
16731 if (PyErr_Occurred()) SWIG_fail
;
16735 arg7
= wxString_in_helper(obj6
);
16736 if (arg7
== NULL
) SWIG_fail
;
16742 arg8
= wxString_in_helper(obj7
);
16743 if (arg8
== NULL
) SWIG_fail
;
16751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16752 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
16754 wxPyEndAllowThreads(__tstate
);
16755 if (PyErr_Occurred()) SWIG_fail
;
16758 resultobj
= wxPyMake_wxObject(result
);
16790 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16791 PyObject
*resultobj
;
16792 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16795 wxString
*arg4
= 0 ;
16796 wxBitmap
*arg5
= 0 ;
16797 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
16798 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
16799 int arg7
= (int) wxITEM_NORMAL
;
16800 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16801 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16802 wxString
const &arg9_defvalue
= wxPyEmptyString
;
16803 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
16804 PyObject
*arg10
= (PyObject
*) NULL
;
16805 wxToolBarToolBase
*result
;
16806 bool temp4
= False
;
16807 bool temp8
= False
;
16808 bool temp9
= False
;
16809 PyObject
* obj0
= 0 ;
16810 PyObject
* obj1
= 0 ;
16811 PyObject
* obj2
= 0 ;
16812 PyObject
* obj3
= 0 ;
16813 PyObject
* obj4
= 0 ;
16814 PyObject
* obj5
= 0 ;
16815 PyObject
* obj6
= 0 ;
16816 PyObject
* obj7
= 0 ;
16817 PyObject
* obj8
= 0 ;
16818 PyObject
* obj9
= 0 ;
16819 char *kwnames
[] = {
16820 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
16824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16826 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16827 if (PyErr_Occurred()) SWIG_fail
;
16828 arg3
= (int) SWIG_AsInt(obj2
);
16829 if (PyErr_Occurred()) SWIG_fail
;
16831 arg4
= wxString_in_helper(obj3
);
16832 if (arg4
== NULL
) SWIG_fail
;
16835 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16836 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16838 if (arg5
== NULL
) {
16839 PyErr_SetString(PyExc_TypeError
,"null reference");
16843 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
16844 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16846 if (arg6
== NULL
) {
16847 PyErr_SetString(PyExc_TypeError
,"null reference");
16852 arg7
= (wxItemKind
) SWIG_AsInt(obj6
);
16853 if (PyErr_Occurred()) SWIG_fail
;
16857 arg8
= wxString_in_helper(obj7
);
16858 if (arg8
== NULL
) SWIG_fail
;
16864 arg9
= wxString_in_helper(obj8
);
16865 if (arg9
== NULL
) SWIG_fail
;
16873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16874 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
);
16876 wxPyEndAllowThreads(__tstate
);
16877 if (PyErr_Occurred()) SWIG_fail
;
16880 resultobj
= wxPyMake_wxObject(result
);
16912 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16913 PyObject
*resultobj
;
16914 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16915 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
16916 wxToolBarToolBase
*result
;
16917 PyObject
* obj0
= 0 ;
16918 PyObject
* obj1
= 0 ;
16919 char *kwnames
[] = {
16920 (char *) "self",(char *) "tool", NULL
16923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
16924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16926 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
16927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16930 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
16932 wxPyEndAllowThreads(__tstate
);
16933 if (PyErr_Occurred()) SWIG_fail
;
16936 resultobj
= wxPyMake_wxObject(result
);
16944 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16945 PyObject
*resultobj
;
16946 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16948 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
16949 wxToolBarToolBase
*result
;
16950 PyObject
* obj0
= 0 ;
16951 PyObject
* obj1
= 0 ;
16952 PyObject
* obj2
= 0 ;
16953 char *kwnames
[] = {
16954 (char *) "self",(char *) "pos",(char *) "tool", NULL
16957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16960 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16961 if (PyErr_Occurred()) SWIG_fail
;
16962 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
16963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16966 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
16968 wxPyEndAllowThreads(__tstate
);
16969 if (PyErr_Occurred()) SWIG_fail
;
16972 resultobj
= wxPyMake_wxObject(result
);
16980 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16981 PyObject
*resultobj
;
16982 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16983 wxControl
*arg2
= (wxControl
*) 0 ;
16984 wxToolBarToolBase
*result
;
16985 PyObject
* obj0
= 0 ;
16986 PyObject
* obj1
= 0 ;
16987 char *kwnames
[] = {
16988 (char *) "self",(char *) "control", NULL
16991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
16992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16994 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
16995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16998 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
17000 wxPyEndAllowThreads(__tstate
);
17001 if (PyErr_Occurred()) SWIG_fail
;
17004 resultobj
= wxPyMake_wxObject(result
);
17012 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17013 PyObject
*resultobj
;
17014 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17016 wxControl
*arg3
= (wxControl
*) 0 ;
17017 wxToolBarToolBase
*result
;
17018 PyObject
* obj0
= 0 ;
17019 PyObject
* obj1
= 0 ;
17020 PyObject
* obj2
= 0 ;
17021 char *kwnames
[] = {
17022 (char *) "self",(char *) "pos",(char *) "control", NULL
17025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17028 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17029 if (PyErr_Occurred()) SWIG_fail
;
17030 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
17031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17034 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
17036 wxPyEndAllowThreads(__tstate
);
17037 if (PyErr_Occurred()) SWIG_fail
;
17040 resultobj
= wxPyMake_wxObject(result
);
17048 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17049 PyObject
*resultobj
;
17050 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17053 PyObject
* obj0
= 0 ;
17054 PyObject
* obj1
= 0 ;
17055 char *kwnames
[] = {
17056 (char *) "self",(char *) "id", NULL
17059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17062 arg2
= (int) SWIG_AsInt(obj1
);
17063 if (PyErr_Occurred()) SWIG_fail
;
17065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17066 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
17068 wxPyEndAllowThreads(__tstate
);
17069 if (PyErr_Occurred()) SWIG_fail
;
17072 resultobj
= wxPyMake_wxObject(result
);
17080 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17081 PyObject
*resultobj
;
17082 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17083 wxToolBarToolBase
*result
;
17084 PyObject
* obj0
= 0 ;
17085 char *kwnames
[] = {
17086 (char *) "self", NULL
17089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
17090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17094 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
17096 wxPyEndAllowThreads(__tstate
);
17097 if (PyErr_Occurred()) SWIG_fail
;
17100 resultobj
= wxPyMake_wxObject(result
);
17108 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17109 PyObject
*resultobj
;
17110 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17112 wxToolBarToolBase
*result
;
17113 PyObject
* obj0
= 0 ;
17114 PyObject
* obj1
= 0 ;
17115 char *kwnames
[] = {
17116 (char *) "self",(char *) "pos", NULL
17119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
17120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17122 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17123 if (PyErr_Occurred()) SWIG_fail
;
17125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17126 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
17128 wxPyEndAllowThreads(__tstate
);
17129 if (PyErr_Occurred()) SWIG_fail
;
17132 resultobj
= wxPyMake_wxObject(result
);
17140 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17141 PyObject
*resultobj
;
17142 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17144 wxToolBarToolBase
*result
;
17145 PyObject
* obj0
= 0 ;
17146 PyObject
* obj1
= 0 ;
17147 char *kwnames
[] = {
17148 (char *) "self",(char *) "id", NULL
17151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17154 arg2
= (int) SWIG_AsInt(obj1
);
17155 if (PyErr_Occurred()) SWIG_fail
;
17157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17158 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
17160 wxPyEndAllowThreads(__tstate
);
17161 if (PyErr_Occurred()) SWIG_fail
;
17164 resultobj
= wxPyMake_wxObject(result
);
17172 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17173 PyObject
*resultobj
;
17174 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17177 PyObject
* obj0
= 0 ;
17178 PyObject
* obj1
= 0 ;
17179 char *kwnames
[] = {
17180 (char *) "self",(char *) "pos", NULL
17183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17186 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17187 if (PyErr_Occurred()) SWIG_fail
;
17189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17190 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
17192 wxPyEndAllowThreads(__tstate
);
17193 if (PyErr_Occurred()) SWIG_fail
;
17196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17204 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17205 PyObject
*resultobj
;
17206 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17209 PyObject
* obj0
= 0 ;
17210 PyObject
* obj1
= 0 ;
17211 char *kwnames
[] = {
17212 (char *) "self",(char *) "id", NULL
17215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17218 arg2
= (int) SWIG_AsInt(obj1
);
17219 if (PyErr_Occurred()) SWIG_fail
;
17221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17222 result
= (bool)(arg1
)->DeleteTool(arg2
);
17224 wxPyEndAllowThreads(__tstate
);
17225 if (PyErr_Occurred()) SWIG_fail
;
17228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17236 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17237 PyObject
*resultobj
;
17238 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17239 PyObject
* obj0
= 0 ;
17240 char *kwnames
[] = {
17241 (char *) "self", NULL
17244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
17245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17249 (arg1
)->ClearTools();
17251 wxPyEndAllowThreads(__tstate
);
17252 if (PyErr_Occurred()) SWIG_fail
;
17254 Py_INCREF(Py_None
); resultobj
= Py_None
;
17261 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17262 PyObject
*resultobj
;
17263 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17265 PyObject
* obj0
= 0 ;
17266 char *kwnames
[] = {
17267 (char *) "self", NULL
17270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
17271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17275 result
= (bool)(arg1
)->Realize();
17277 wxPyEndAllowThreads(__tstate
);
17278 if (PyErr_Occurred()) SWIG_fail
;
17281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17289 static PyObject
*_wrap_ToolBarBase_EnableTool(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 *) "enable", NULL
17301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",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
)->EnableTool(arg2
,arg3
);
17312 wxPyEndAllowThreads(__tstate
);
17313 if (PyErr_Occurred()) SWIG_fail
;
17315 Py_INCREF(Py_None
); resultobj
= Py_None
;
17322 static PyObject
*_wrap_ToolBarBase_ToggleTool(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_ToggleTool",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
)->ToggleTool(arg2
,arg3
);
17345 wxPyEndAllowThreads(__tstate
);
17346 if (PyErr_Occurred()) SWIG_fail
;
17348 Py_INCREF(Py_None
); resultobj
= Py_None
;
17355 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17356 PyObject
*resultobj
;
17357 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17360 PyObject
* obj0
= 0 ;
17361 PyObject
* obj1
= 0 ;
17362 PyObject
* obj2
= 0 ;
17363 char *kwnames
[] = {
17364 (char *) "self",(char *) "id",(char *) "toggle", NULL
17367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17370 arg2
= (int) SWIG_AsInt(obj1
);
17371 if (PyErr_Occurred()) SWIG_fail
;
17372 arg3
= (bool) SWIG_AsBool(obj2
);
17373 if (PyErr_Occurred()) SWIG_fail
;
17375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17376 (arg1
)->SetToggle(arg2
,arg3
);
17378 wxPyEndAllowThreads(__tstate
);
17379 if (PyErr_Occurred()) SWIG_fail
;
17381 Py_INCREF(Py_None
); resultobj
= Py_None
;
17388 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17389 PyObject
*resultobj
;
17390 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17393 PyObject
* obj0
= 0 ;
17394 PyObject
* obj1
= 0 ;
17395 char *kwnames
[] = {
17396 (char *) "self",(char *) "id", NULL
17399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
17400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17402 arg2
= (int) SWIG_AsInt(obj1
);
17403 if (PyErr_Occurred()) SWIG_fail
;
17405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17406 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
17408 wxPyEndAllowThreads(__tstate
);
17409 if (PyErr_Occurred()) SWIG_fail
;
17411 resultobj
= result
;
17418 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17419 PyObject
*resultobj
;
17420 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17422 PyObject
*arg3
= (PyObject
*) 0 ;
17423 PyObject
* obj0
= 0 ;
17424 PyObject
* obj1
= 0 ;
17425 PyObject
* obj2
= 0 ;
17426 char *kwnames
[] = {
17427 (char *) "self",(char *) "id",(char *) "clientData", NULL
17430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17433 arg2
= (int) SWIG_AsInt(obj1
);
17434 if (PyErr_Occurred()) SWIG_fail
;
17437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17438 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
17440 wxPyEndAllowThreads(__tstate
);
17441 if (PyErr_Occurred()) SWIG_fail
;
17443 Py_INCREF(Py_None
); resultobj
= Py_None
;
17450 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17451 PyObject
*resultobj
;
17452 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17455 PyObject
* obj0
= 0 ;
17456 PyObject
* obj1
= 0 ;
17457 char *kwnames
[] = {
17458 (char *) "self",(char *) "id", NULL
17461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17464 arg2
= (int) SWIG_AsInt(obj1
);
17465 if (PyErr_Occurred()) SWIG_fail
;
17467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17468 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
17470 wxPyEndAllowThreads(__tstate
);
17471 if (PyErr_Occurred()) SWIG_fail
;
17473 resultobj
= SWIG_FromInt((int)result
);
17480 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17481 PyObject
*resultobj
;
17482 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17485 PyObject
* obj0
= 0 ;
17486 PyObject
* obj1
= 0 ;
17487 char *kwnames
[] = {
17488 (char *) "self",(char *) "id", NULL
17491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
17492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17494 arg2
= (int) SWIG_AsInt(obj1
);
17495 if (PyErr_Occurred()) SWIG_fail
;
17497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17498 result
= (bool)(arg1
)->GetToolState(arg2
);
17500 wxPyEndAllowThreads(__tstate
);
17501 if (PyErr_Occurred()) SWIG_fail
;
17504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17512 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17513 PyObject
*resultobj
;
17514 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17517 PyObject
* obj0
= 0 ;
17518 PyObject
* obj1
= 0 ;
17519 char *kwnames
[] = {
17520 (char *) "self",(char *) "id", NULL
17523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
17524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17526 arg2
= (int) SWIG_AsInt(obj1
);
17527 if (PyErr_Occurred()) SWIG_fail
;
17529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17530 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
17532 wxPyEndAllowThreads(__tstate
);
17533 if (PyErr_Occurred()) SWIG_fail
;
17536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17544 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17545 PyObject
*resultobj
;
17546 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17548 wxString
*arg3
= 0 ;
17549 bool temp3
= False
;
17550 PyObject
* obj0
= 0 ;
17551 PyObject
* obj1
= 0 ;
17552 PyObject
* obj2
= 0 ;
17553 char *kwnames
[] = {
17554 (char *) "self",(char *) "id",(char *) "helpString", NULL
17557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17560 arg2
= (int) SWIG_AsInt(obj1
);
17561 if (PyErr_Occurred()) SWIG_fail
;
17563 arg3
= wxString_in_helper(obj2
);
17564 if (arg3
== NULL
) SWIG_fail
;
17568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17569 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
17571 wxPyEndAllowThreads(__tstate
);
17572 if (PyErr_Occurred()) SWIG_fail
;
17574 Py_INCREF(Py_None
); resultobj
= Py_None
;
17589 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17590 PyObject
*resultobj
;
17591 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17594 PyObject
* obj0
= 0 ;
17595 PyObject
* obj1
= 0 ;
17596 char *kwnames
[] = {
17597 (char *) "self",(char *) "id", NULL
17600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17603 arg2
= (int) SWIG_AsInt(obj1
);
17604 if (PyErr_Occurred()) SWIG_fail
;
17606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17607 result
= (arg1
)->GetToolShortHelp(arg2
);
17609 wxPyEndAllowThreads(__tstate
);
17610 if (PyErr_Occurred()) SWIG_fail
;
17614 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17616 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17625 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17626 PyObject
*resultobj
;
17627 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17629 wxString
*arg3
= 0 ;
17630 bool temp3
= False
;
17631 PyObject
* obj0
= 0 ;
17632 PyObject
* obj1
= 0 ;
17633 PyObject
* obj2
= 0 ;
17634 char *kwnames
[] = {
17635 (char *) "self",(char *) "id",(char *) "helpString", NULL
17638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17641 arg2
= (int) SWIG_AsInt(obj1
);
17642 if (PyErr_Occurred()) SWIG_fail
;
17644 arg3
= wxString_in_helper(obj2
);
17645 if (arg3
== NULL
) SWIG_fail
;
17649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17650 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
17652 wxPyEndAllowThreads(__tstate
);
17653 if (PyErr_Occurred()) SWIG_fail
;
17655 Py_INCREF(Py_None
); resultobj
= Py_None
;
17670 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17671 PyObject
*resultobj
;
17672 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17675 PyObject
* obj0
= 0 ;
17676 PyObject
* obj1
= 0 ;
17677 char *kwnames
[] = {
17678 (char *) "self",(char *) "id", NULL
17681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17684 arg2
= (int) SWIG_AsInt(obj1
);
17685 if (PyErr_Occurred()) SWIG_fail
;
17687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17688 result
= (arg1
)->GetToolLongHelp(arg2
);
17690 wxPyEndAllowThreads(__tstate
);
17691 if (PyErr_Occurred()) SWIG_fail
;
17695 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17697 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17706 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17707 PyObject
*resultobj
;
17708 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17711 PyObject
* obj0
= 0 ;
17712 PyObject
* obj1
= 0 ;
17713 PyObject
* obj2
= 0 ;
17714 char *kwnames
[] = {
17715 (char *) "self",(char *) "x",(char *) "y", NULL
17718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17721 arg2
= (int) SWIG_AsInt(obj1
);
17722 if (PyErr_Occurred()) SWIG_fail
;
17723 arg3
= (int) SWIG_AsInt(obj2
);
17724 if (PyErr_Occurred()) SWIG_fail
;
17726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17727 (arg1
)->SetMargins(arg2
,arg3
);
17729 wxPyEndAllowThreads(__tstate
);
17730 if (PyErr_Occurred()) SWIG_fail
;
17732 Py_INCREF(Py_None
); resultobj
= Py_None
;
17739 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17740 PyObject
*resultobj
;
17741 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17744 PyObject
* obj0
= 0 ;
17745 PyObject
* obj1
= 0 ;
17746 char *kwnames
[] = {
17747 (char *) "self",(char *) "size", NULL
17750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
17751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17755 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17759 (arg1
)->SetMargins((wxSize
const &)*arg2
);
17761 wxPyEndAllowThreads(__tstate
);
17762 if (PyErr_Occurred()) SWIG_fail
;
17764 Py_INCREF(Py_None
); resultobj
= Py_None
;
17771 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17772 PyObject
*resultobj
;
17773 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17775 PyObject
* obj0
= 0 ;
17776 PyObject
* obj1
= 0 ;
17777 char *kwnames
[] = {
17778 (char *) "self",(char *) "packing", NULL
17781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
17782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17784 arg2
= (int) SWIG_AsInt(obj1
);
17785 if (PyErr_Occurred()) SWIG_fail
;
17787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17788 (arg1
)->SetToolPacking(arg2
);
17790 wxPyEndAllowThreads(__tstate
);
17791 if (PyErr_Occurred()) SWIG_fail
;
17793 Py_INCREF(Py_None
); resultobj
= Py_None
;
17800 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17801 PyObject
*resultobj
;
17802 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17804 PyObject
* obj0
= 0 ;
17805 PyObject
* obj1
= 0 ;
17806 char *kwnames
[] = {
17807 (char *) "self",(char *) "separation", NULL
17810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
17811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17813 arg2
= (int) SWIG_AsInt(obj1
);
17814 if (PyErr_Occurred()) SWIG_fail
;
17816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17817 (arg1
)->SetToolSeparation(arg2
);
17819 wxPyEndAllowThreads(__tstate
);
17820 if (PyErr_Occurred()) SWIG_fail
;
17822 Py_INCREF(Py_None
); resultobj
= Py_None
;
17829 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17830 PyObject
*resultobj
;
17831 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17833 PyObject
* obj0
= 0 ;
17834 char *kwnames
[] = {
17835 (char *) "self", NULL
17838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
17839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17843 result
= (arg1
)->GetToolMargins();
17845 wxPyEndAllowThreads(__tstate
);
17846 if (PyErr_Occurred()) SWIG_fail
;
17849 wxSize
* resultptr
;
17850 resultptr
= new wxSize((wxSize
&) result
);
17851 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17859 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17860 PyObject
*resultobj
;
17861 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17863 PyObject
* obj0
= 0 ;
17864 char *kwnames
[] = {
17865 (char *) "self", NULL
17868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
17869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17873 result
= (arg1
)->GetMargins();
17875 wxPyEndAllowThreads(__tstate
);
17876 if (PyErr_Occurred()) SWIG_fail
;
17879 wxSize
* resultptr
;
17880 resultptr
= new wxSize((wxSize
&) result
);
17881 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17889 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17890 PyObject
*resultobj
;
17891 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17893 PyObject
* obj0
= 0 ;
17894 char *kwnames
[] = {
17895 (char *) "self", NULL
17898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
17899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17903 result
= (int)(arg1
)->GetToolPacking();
17905 wxPyEndAllowThreads(__tstate
);
17906 if (PyErr_Occurred()) SWIG_fail
;
17908 resultobj
= SWIG_FromInt((int)result
);
17915 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17916 PyObject
*resultobj
;
17917 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17919 PyObject
* obj0
= 0 ;
17920 char *kwnames
[] = {
17921 (char *) "self", NULL
17924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
17925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17929 result
= (int)(arg1
)->GetToolSeparation();
17931 wxPyEndAllowThreads(__tstate
);
17932 if (PyErr_Occurred()) SWIG_fail
;
17934 resultobj
= SWIG_FromInt((int)result
);
17941 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17942 PyObject
*resultobj
;
17943 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17945 PyObject
* obj0
= 0 ;
17946 PyObject
* obj1
= 0 ;
17947 char *kwnames
[] = {
17948 (char *) "self",(char *) "nRows", NULL
17951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
17952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17954 arg2
= (int) SWIG_AsInt(obj1
);
17955 if (PyErr_Occurred()) SWIG_fail
;
17957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17958 (arg1
)->SetRows(arg2
);
17960 wxPyEndAllowThreads(__tstate
);
17961 if (PyErr_Occurred()) SWIG_fail
;
17963 Py_INCREF(Py_None
); resultobj
= Py_None
;
17970 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17971 PyObject
*resultobj
;
17972 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17975 PyObject
* obj0
= 0 ;
17976 PyObject
* obj1
= 0 ;
17977 PyObject
* obj2
= 0 ;
17978 char *kwnames
[] = {
17979 (char *) "self",(char *) "rows",(char *) "cols", NULL
17982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17985 arg2
= (int) SWIG_AsInt(obj1
);
17986 if (PyErr_Occurred()) SWIG_fail
;
17987 arg3
= (int) SWIG_AsInt(obj2
);
17988 if (PyErr_Occurred()) SWIG_fail
;
17990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17991 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
17993 wxPyEndAllowThreads(__tstate
);
17994 if (PyErr_Occurred()) SWIG_fail
;
17996 Py_INCREF(Py_None
); resultobj
= Py_None
;
18003 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18004 PyObject
*resultobj
;
18005 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18007 PyObject
* obj0
= 0 ;
18008 char *kwnames
[] = {
18009 (char *) "self", NULL
18012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
18013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18017 result
= (int)(arg1
)->GetMaxRows();
18019 wxPyEndAllowThreads(__tstate
);
18020 if (PyErr_Occurred()) SWIG_fail
;
18022 resultobj
= SWIG_FromInt((int)result
);
18029 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18030 PyObject
*resultobj
;
18031 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18033 PyObject
* obj0
= 0 ;
18034 char *kwnames
[] = {
18035 (char *) "self", NULL
18038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
18039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18043 result
= (int)(arg1
)->GetMaxCols();
18045 wxPyEndAllowThreads(__tstate
);
18046 if (PyErr_Occurred()) SWIG_fail
;
18048 resultobj
= SWIG_FromInt((int)result
);
18055 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18056 PyObject
*resultobj
;
18057 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18060 PyObject
* obj0
= 0 ;
18061 PyObject
* obj1
= 0 ;
18062 char *kwnames
[] = {
18063 (char *) "self",(char *) "size", NULL
18066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18071 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18075 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
18077 wxPyEndAllowThreads(__tstate
);
18078 if (PyErr_Occurred()) SWIG_fail
;
18080 Py_INCREF(Py_None
); resultobj
= Py_None
;
18087 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18088 PyObject
*resultobj
;
18089 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18091 PyObject
* obj0
= 0 ;
18092 char *kwnames
[] = {
18093 (char *) "self", NULL
18096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
18097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18101 result
= (arg1
)->GetToolBitmapSize();
18103 wxPyEndAllowThreads(__tstate
);
18104 if (PyErr_Occurred()) SWIG_fail
;
18107 wxSize
* resultptr
;
18108 resultptr
= new wxSize((wxSize
&) result
);
18109 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18117 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18118 PyObject
*resultobj
;
18119 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18121 PyObject
* obj0
= 0 ;
18122 char *kwnames
[] = {
18123 (char *) "self", NULL
18126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
18127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18131 result
= (arg1
)->GetToolSize();
18133 wxPyEndAllowThreads(__tstate
);
18134 if (PyErr_Occurred()) SWIG_fail
;
18137 wxSize
* resultptr
;
18138 resultptr
= new wxSize((wxSize
&) result
);
18139 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18147 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18148 PyObject
*resultobj
;
18149 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18152 wxToolBarToolBase
*result
;
18153 PyObject
* obj0
= 0 ;
18154 PyObject
* obj1
= 0 ;
18155 PyObject
* obj2
= 0 ;
18156 char *kwnames
[] = {
18157 (char *) "self",(char *) "x",(char *) "y", NULL
18160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18163 arg2
= (int) SWIG_AsInt(obj1
);
18164 if (PyErr_Occurred()) SWIG_fail
;
18165 arg3
= (int) SWIG_AsInt(obj2
);
18166 if (PyErr_Occurred()) SWIG_fail
;
18168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18169 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18171 wxPyEndAllowThreads(__tstate
);
18172 if (PyErr_Occurred()) SWIG_fail
;
18175 resultobj
= wxPyMake_wxObject(result
);
18183 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18184 PyObject
*resultobj
;
18185 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18187 wxToolBarToolBase
*result
;
18188 PyObject
* obj0
= 0 ;
18189 PyObject
* obj1
= 0 ;
18190 char *kwnames
[] = {
18191 (char *) "self",(char *) "toolid", NULL
18194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
18195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18197 arg2
= (int) SWIG_AsInt(obj1
);
18198 if (PyErr_Occurred()) SWIG_fail
;
18200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18201 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
18203 wxPyEndAllowThreads(__tstate
);
18204 if (PyErr_Occurred()) SWIG_fail
;
18207 resultobj
= wxPyMake_wxObject(result
);
18215 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18216 PyObject
*resultobj
;
18217 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18219 PyObject
* obj0
= 0 ;
18220 char *kwnames
[] = {
18221 (char *) "self", NULL
18224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
18225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18229 result
= (bool)(arg1
)->IsVertical();
18231 wxPyEndAllowThreads(__tstate
);
18232 if (PyErr_Occurred()) SWIG_fail
;
18235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18243 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
18245 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18246 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
18248 return Py_BuildValue((char *)"");
18250 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18251 PyObject
*resultobj
;
18252 wxWindow
*arg1
= (wxWindow
*) 0 ;
18254 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18255 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18256 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18257 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18258 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18259 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
18260 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18264 bool temp6
= False
;
18265 PyObject
* obj0
= 0 ;
18266 PyObject
* obj1
= 0 ;
18267 PyObject
* obj2
= 0 ;
18268 PyObject
* obj3
= 0 ;
18269 PyObject
* obj4
= 0 ;
18270 PyObject
* obj5
= 0 ;
18271 char *kwnames
[] = {
18272 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18278 arg2
= (int) SWIG_AsInt(obj1
);
18279 if (PyErr_Occurred()) SWIG_fail
;
18283 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18289 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18293 arg5
= (long) SWIG_AsLong(obj4
);
18294 if (PyErr_Occurred()) SWIG_fail
;
18298 arg6
= wxString_in_helper(obj5
);
18299 if (arg6
== NULL
) SWIG_fail
;
18304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18305 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18307 wxPyEndAllowThreads(__tstate
);
18308 if (PyErr_Occurred()) SWIG_fail
;
18311 resultobj
= wxPyMake_wxObject(result
);
18327 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18328 PyObject
*resultobj
;
18330 char *kwnames
[] = {
18334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
18336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18337 result
= (wxToolBar
*)new wxToolBar();
18339 wxPyEndAllowThreads(__tstate
);
18340 if (PyErr_Occurred()) SWIG_fail
;
18343 resultobj
= wxPyMake_wxObject(result
);
18351 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18352 PyObject
*resultobj
;
18353 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18354 wxWindow
*arg2
= (wxWindow
*) 0 ;
18356 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18357 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18358 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18359 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18360 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18361 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
18362 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18366 bool temp7
= False
;
18367 PyObject
* obj0
= 0 ;
18368 PyObject
* obj1
= 0 ;
18369 PyObject
* obj2
= 0 ;
18370 PyObject
* obj3
= 0 ;
18371 PyObject
* obj4
= 0 ;
18372 PyObject
* obj5
= 0 ;
18373 PyObject
* obj6
= 0 ;
18374 char *kwnames
[] = {
18375 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18381 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18383 arg3
= (int) SWIG_AsInt(obj2
);
18384 if (PyErr_Occurred()) SWIG_fail
;
18388 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18394 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18398 arg6
= (long) SWIG_AsLong(obj5
);
18399 if (PyErr_Occurred()) SWIG_fail
;
18403 arg7
= wxString_in_helper(obj6
);
18404 if (arg7
== NULL
) SWIG_fail
;
18409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18410 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18412 wxPyEndAllowThreads(__tstate
);
18413 if (PyErr_Occurred()) SWIG_fail
;
18416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18432 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18433 PyObject
*resultobj
;
18434 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18437 wxToolBarToolBase
*result
;
18438 PyObject
* obj0
= 0 ;
18439 PyObject
* obj1
= 0 ;
18440 PyObject
* obj2
= 0 ;
18441 char *kwnames
[] = {
18442 (char *) "self",(char *) "x",(char *) "y", NULL
18445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18448 arg2
= (int) SWIG_AsInt(obj1
);
18449 if (PyErr_Occurred()) SWIG_fail
;
18450 arg3
= (int) SWIG_AsInt(obj2
);
18451 if (PyErr_Occurred()) SWIG_fail
;
18453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18454 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18456 wxPyEndAllowThreads(__tstate
);
18457 if (PyErr_Occurred()) SWIG_fail
;
18460 resultobj
= wxPyMake_wxObject(result
);
18468 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18469 PyObject
*resultobj
;
18470 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
18471 wxVisualAttributes result
;
18472 PyObject
* obj0
= 0 ;
18473 char *kwnames
[] = {
18474 (char *) "variant", NULL
18477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18479 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
18480 if (PyErr_Occurred()) SWIG_fail
;
18483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18484 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
18486 wxPyEndAllowThreads(__tstate
);
18487 if (PyErr_Occurred()) SWIG_fail
;
18490 wxVisualAttributes
* resultptr
;
18491 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
18492 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18500 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
18502 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18503 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
18505 return Py_BuildValue((char *)"");
18507 static int _wrap_ListCtrlNameStr_set(PyObject
*_val
) {
18508 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
18513 static PyObject
*_wrap_ListCtrlNameStr_get() {
18518 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
18520 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
18527 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18528 PyObject
*resultobj
;
18529 wxColour
const &arg1_defvalue
= wxNullColour
;
18530 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
18531 wxColour
const &arg2_defvalue
= wxNullColour
;
18532 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
18533 wxFont
const &arg3_defvalue
= wxNullFont
;
18534 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
18535 wxListItemAttr
*result
;
18538 PyObject
* obj0
= 0 ;
18539 PyObject
* obj1
= 0 ;
18540 PyObject
* obj2
= 0 ;
18541 char *kwnames
[] = {
18542 (char *) "colText",(char *) "colBack",(char *) "font", NULL
18545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18549 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
18555 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18559 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
18560 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18562 if (arg3
== NULL
) {
18563 PyErr_SetString(PyExc_TypeError
,"null reference");
18568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18569 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
18571 wxPyEndAllowThreads(__tstate
);
18572 if (PyErr_Occurred()) SWIG_fail
;
18574 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
18581 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18582 PyObject
*resultobj
;
18583 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18584 wxColour
*arg2
= 0 ;
18586 PyObject
* obj0
= 0 ;
18587 PyObject
* obj1
= 0 ;
18588 char *kwnames
[] = {
18589 (char *) "self",(char *) "colText", NULL
18592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18597 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18601 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18603 wxPyEndAllowThreads(__tstate
);
18604 if (PyErr_Occurred()) SWIG_fail
;
18606 Py_INCREF(Py_None
); resultobj
= Py_None
;
18613 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18614 PyObject
*resultobj
;
18615 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18616 wxColour
*arg2
= 0 ;
18618 PyObject
* obj0
= 0 ;
18619 PyObject
* obj1
= 0 ;
18620 char *kwnames
[] = {
18621 (char *) "self",(char *) "colBack", NULL
18624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18629 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18633 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18635 wxPyEndAllowThreads(__tstate
);
18636 if (PyErr_Occurred()) SWIG_fail
;
18638 Py_INCREF(Py_None
); resultobj
= Py_None
;
18645 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18646 PyObject
*resultobj
;
18647 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18649 PyObject
* obj0
= 0 ;
18650 PyObject
* obj1
= 0 ;
18651 char *kwnames
[] = {
18652 (char *) "self",(char *) "font", NULL
18655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18658 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18659 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18661 if (arg2
== NULL
) {
18662 PyErr_SetString(PyExc_TypeError
,"null reference");
18666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18667 (arg1
)->SetFont((wxFont
const &)*arg2
);
18669 wxPyEndAllowThreads(__tstate
);
18670 if (PyErr_Occurred()) SWIG_fail
;
18672 Py_INCREF(Py_None
); resultobj
= Py_None
;
18679 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18680 PyObject
*resultobj
;
18681 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18683 PyObject
* obj0
= 0 ;
18684 char *kwnames
[] = {
18685 (char *) "self", NULL
18688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
18689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18693 result
= (bool)(arg1
)->HasTextColour();
18695 wxPyEndAllowThreads(__tstate
);
18696 if (PyErr_Occurred()) SWIG_fail
;
18699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18707 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18708 PyObject
*resultobj
;
18709 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18711 PyObject
* obj0
= 0 ;
18712 char *kwnames
[] = {
18713 (char *) "self", NULL
18716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
18717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18721 result
= (bool)(arg1
)->HasBackgroundColour();
18723 wxPyEndAllowThreads(__tstate
);
18724 if (PyErr_Occurred()) SWIG_fail
;
18727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18735 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18736 PyObject
*resultobj
;
18737 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18739 PyObject
* obj0
= 0 ;
18740 char *kwnames
[] = {
18741 (char *) "self", NULL
18744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
18745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18749 result
= (bool)(arg1
)->HasFont();
18751 wxPyEndAllowThreads(__tstate
);
18752 if (PyErr_Occurred()) SWIG_fail
;
18755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18763 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18764 PyObject
*resultobj
;
18765 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18767 PyObject
* obj0
= 0 ;
18768 char *kwnames
[] = {
18769 (char *) "self", NULL
18772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
18773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18777 result
= (arg1
)->GetTextColour();
18779 wxPyEndAllowThreads(__tstate
);
18780 if (PyErr_Occurred()) SWIG_fail
;
18783 wxColour
* resultptr
;
18784 resultptr
= new wxColour((wxColour
&) result
);
18785 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18793 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18794 PyObject
*resultobj
;
18795 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18797 PyObject
* obj0
= 0 ;
18798 char *kwnames
[] = {
18799 (char *) "self", NULL
18802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
18803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18807 result
= (arg1
)->GetBackgroundColour();
18809 wxPyEndAllowThreads(__tstate
);
18810 if (PyErr_Occurred()) SWIG_fail
;
18813 wxColour
* resultptr
;
18814 resultptr
= new wxColour((wxColour
&) result
);
18815 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18823 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18824 PyObject
*resultobj
;
18825 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18827 PyObject
* obj0
= 0 ;
18828 char *kwnames
[] = {
18829 (char *) "self", NULL
18832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
18833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18837 result
= (arg1
)->GetFont();
18839 wxPyEndAllowThreads(__tstate
);
18840 if (PyErr_Occurred()) SWIG_fail
;
18843 wxFont
* resultptr
;
18844 resultptr
= new wxFont((wxFont
&) result
);
18845 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
18853 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18854 PyObject
*resultobj
;
18855 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18856 PyObject
* obj0
= 0 ;
18857 char *kwnames
[] = {
18858 (char *) "self", NULL
18861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
18862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18866 wxListItemAttr_Destroy(arg1
);
18868 wxPyEndAllowThreads(__tstate
);
18869 if (PyErr_Occurred()) SWIG_fail
;
18871 Py_INCREF(Py_None
); resultobj
= Py_None
;
18878 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
18880 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18881 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
18883 return Py_BuildValue((char *)"");
18885 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18886 PyObject
*resultobj
;
18887 wxListItem
*result
;
18888 char *kwnames
[] = {
18892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
18894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18895 result
= (wxListItem
*)new wxListItem();
18897 wxPyEndAllowThreads(__tstate
);
18898 if (PyErr_Occurred()) SWIG_fail
;
18901 resultobj
= wxPyMake_wxObject(result
);
18909 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18910 PyObject
*resultobj
;
18911 wxListItem
*arg1
= (wxListItem
*) 0 ;
18912 PyObject
* obj0
= 0 ;
18913 char *kwnames
[] = {
18914 (char *) "self", NULL
18917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
18918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18924 wxPyEndAllowThreads(__tstate
);
18925 if (PyErr_Occurred()) SWIG_fail
;
18927 Py_INCREF(Py_None
); resultobj
= Py_None
;
18934 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18935 PyObject
*resultobj
;
18936 wxListItem
*arg1
= (wxListItem
*) 0 ;
18937 PyObject
* obj0
= 0 ;
18938 char *kwnames
[] = {
18939 (char *) "self", NULL
18942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
18943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18949 wxPyEndAllowThreads(__tstate
);
18950 if (PyErr_Occurred()) SWIG_fail
;
18952 Py_INCREF(Py_None
); resultobj
= Py_None
;
18959 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18960 PyObject
*resultobj
;
18961 wxListItem
*arg1
= (wxListItem
*) 0 ;
18962 PyObject
* obj0
= 0 ;
18963 char *kwnames
[] = {
18964 (char *) "self", NULL
18967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
18968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18972 (arg1
)->ClearAttributes();
18974 wxPyEndAllowThreads(__tstate
);
18975 if (PyErr_Occurred()) SWIG_fail
;
18977 Py_INCREF(Py_None
); resultobj
= Py_None
;
18984 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18985 PyObject
*resultobj
;
18986 wxListItem
*arg1
= (wxListItem
*) 0 ;
18988 PyObject
* obj0
= 0 ;
18989 PyObject
* obj1
= 0 ;
18990 char *kwnames
[] = {
18991 (char *) "self",(char *) "mask", NULL
18994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
18995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18997 arg2
= (long) SWIG_AsLong(obj1
);
18998 if (PyErr_Occurred()) SWIG_fail
;
19000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19001 (arg1
)->SetMask(arg2
);
19003 wxPyEndAllowThreads(__tstate
);
19004 if (PyErr_Occurred()) SWIG_fail
;
19006 Py_INCREF(Py_None
); resultobj
= Py_None
;
19013 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19014 PyObject
*resultobj
;
19015 wxListItem
*arg1
= (wxListItem
*) 0 ;
19017 PyObject
* obj0
= 0 ;
19018 PyObject
* obj1
= 0 ;
19019 char *kwnames
[] = {
19020 (char *) "self",(char *) "id", NULL
19023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
19024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19026 arg2
= (long) SWIG_AsLong(obj1
);
19027 if (PyErr_Occurred()) SWIG_fail
;
19029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19030 (arg1
)->SetId(arg2
);
19032 wxPyEndAllowThreads(__tstate
);
19033 if (PyErr_Occurred()) SWIG_fail
;
19035 Py_INCREF(Py_None
); resultobj
= Py_None
;
19042 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19043 PyObject
*resultobj
;
19044 wxListItem
*arg1
= (wxListItem
*) 0 ;
19046 PyObject
* obj0
= 0 ;
19047 PyObject
* obj1
= 0 ;
19048 char *kwnames
[] = {
19049 (char *) "self",(char *) "col", NULL
19052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
19053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19055 arg2
= (int) SWIG_AsInt(obj1
);
19056 if (PyErr_Occurred()) SWIG_fail
;
19058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19059 (arg1
)->SetColumn(arg2
);
19061 wxPyEndAllowThreads(__tstate
);
19062 if (PyErr_Occurred()) SWIG_fail
;
19064 Py_INCREF(Py_None
); resultobj
= Py_None
;
19071 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19072 PyObject
*resultobj
;
19073 wxListItem
*arg1
= (wxListItem
*) 0 ;
19075 PyObject
* obj0
= 0 ;
19076 PyObject
* obj1
= 0 ;
19077 char *kwnames
[] = {
19078 (char *) "self",(char *) "state", NULL
19081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
19082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19084 arg2
= (long) SWIG_AsLong(obj1
);
19085 if (PyErr_Occurred()) SWIG_fail
;
19087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19088 (arg1
)->SetState(arg2
);
19090 wxPyEndAllowThreads(__tstate
);
19091 if (PyErr_Occurred()) SWIG_fail
;
19093 Py_INCREF(Py_None
); resultobj
= Py_None
;
19100 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19101 PyObject
*resultobj
;
19102 wxListItem
*arg1
= (wxListItem
*) 0 ;
19104 PyObject
* obj0
= 0 ;
19105 PyObject
* obj1
= 0 ;
19106 char *kwnames
[] = {
19107 (char *) "self",(char *) "stateMask", NULL
19110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19113 arg2
= (long) SWIG_AsLong(obj1
);
19114 if (PyErr_Occurred()) SWIG_fail
;
19116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19117 (arg1
)->SetStateMask(arg2
);
19119 wxPyEndAllowThreads(__tstate
);
19120 if (PyErr_Occurred()) SWIG_fail
;
19122 Py_INCREF(Py_None
); resultobj
= Py_None
;
19129 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19130 PyObject
*resultobj
;
19131 wxListItem
*arg1
= (wxListItem
*) 0 ;
19132 wxString
*arg2
= 0 ;
19133 bool temp2
= False
;
19134 PyObject
* obj0
= 0 ;
19135 PyObject
* obj1
= 0 ;
19136 char *kwnames
[] = {
19137 (char *) "self",(char *) "text", NULL
19140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
19141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19144 arg2
= wxString_in_helper(obj1
);
19145 if (arg2
== NULL
) SWIG_fail
;
19149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19150 (arg1
)->SetText((wxString
const &)*arg2
);
19152 wxPyEndAllowThreads(__tstate
);
19153 if (PyErr_Occurred()) SWIG_fail
;
19155 Py_INCREF(Py_None
); resultobj
= Py_None
;
19170 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19171 PyObject
*resultobj
;
19172 wxListItem
*arg1
= (wxListItem
*) 0 ;
19174 PyObject
* obj0
= 0 ;
19175 PyObject
* obj1
= 0 ;
19176 char *kwnames
[] = {
19177 (char *) "self",(char *) "image", NULL
19180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
19181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19183 arg2
= (int) SWIG_AsInt(obj1
);
19184 if (PyErr_Occurred()) SWIG_fail
;
19186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19187 (arg1
)->SetImage(arg2
);
19189 wxPyEndAllowThreads(__tstate
);
19190 if (PyErr_Occurred()) SWIG_fail
;
19192 Py_INCREF(Py_None
); resultobj
= Py_None
;
19199 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19200 PyObject
*resultobj
;
19201 wxListItem
*arg1
= (wxListItem
*) 0 ;
19203 PyObject
* obj0
= 0 ;
19204 PyObject
* obj1
= 0 ;
19205 char *kwnames
[] = {
19206 (char *) "self",(char *) "data", NULL
19209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
19210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19212 arg2
= (long) SWIG_AsLong(obj1
);
19213 if (PyErr_Occurred()) SWIG_fail
;
19215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19216 (arg1
)->SetData(arg2
);
19218 wxPyEndAllowThreads(__tstate
);
19219 if (PyErr_Occurred()) SWIG_fail
;
19221 Py_INCREF(Py_None
); resultobj
= Py_None
;
19228 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19229 PyObject
*resultobj
;
19230 wxListItem
*arg1
= (wxListItem
*) 0 ;
19232 PyObject
* obj0
= 0 ;
19233 PyObject
* obj1
= 0 ;
19234 char *kwnames
[] = {
19235 (char *) "self",(char *) "width", NULL
19238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
19239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19241 arg2
= (int) SWIG_AsInt(obj1
);
19242 if (PyErr_Occurred()) SWIG_fail
;
19244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19245 (arg1
)->SetWidth(arg2
);
19247 wxPyEndAllowThreads(__tstate
);
19248 if (PyErr_Occurred()) SWIG_fail
;
19250 Py_INCREF(Py_None
); resultobj
= Py_None
;
19257 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19258 PyObject
*resultobj
;
19259 wxListItem
*arg1
= (wxListItem
*) 0 ;
19261 PyObject
* obj0
= 0 ;
19262 PyObject
* obj1
= 0 ;
19263 char *kwnames
[] = {
19264 (char *) "self",(char *) "align", NULL
19267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
19268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19270 arg2
= (wxListColumnFormat
) SWIG_AsInt(obj1
);
19271 if (PyErr_Occurred()) SWIG_fail
;
19273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19274 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
19276 wxPyEndAllowThreads(__tstate
);
19277 if (PyErr_Occurred()) SWIG_fail
;
19279 Py_INCREF(Py_None
); resultobj
= Py_None
;
19286 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19287 PyObject
*resultobj
;
19288 wxListItem
*arg1
= (wxListItem
*) 0 ;
19289 wxColour
*arg2
= 0 ;
19291 PyObject
* obj0
= 0 ;
19292 PyObject
* obj1
= 0 ;
19293 char *kwnames
[] = {
19294 (char *) "self",(char *) "colText", NULL
19297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19302 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19306 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
19308 wxPyEndAllowThreads(__tstate
);
19309 if (PyErr_Occurred()) SWIG_fail
;
19311 Py_INCREF(Py_None
); resultobj
= Py_None
;
19318 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19319 PyObject
*resultobj
;
19320 wxListItem
*arg1
= (wxListItem
*) 0 ;
19321 wxColour
*arg2
= 0 ;
19323 PyObject
* obj0
= 0 ;
19324 PyObject
* obj1
= 0 ;
19325 char *kwnames
[] = {
19326 (char *) "self",(char *) "colBack", NULL
19329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19334 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19338 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
19340 wxPyEndAllowThreads(__tstate
);
19341 if (PyErr_Occurred()) SWIG_fail
;
19343 Py_INCREF(Py_None
); resultobj
= Py_None
;
19350 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19351 PyObject
*resultobj
;
19352 wxListItem
*arg1
= (wxListItem
*) 0 ;
19354 PyObject
* obj0
= 0 ;
19355 PyObject
* obj1
= 0 ;
19356 char *kwnames
[] = {
19357 (char *) "self",(char *) "font", NULL
19360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
19361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19363 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
19364 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19366 if (arg2
== NULL
) {
19367 PyErr_SetString(PyExc_TypeError
,"null reference");
19371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19372 (arg1
)->SetFont((wxFont
const &)*arg2
);
19374 wxPyEndAllowThreads(__tstate
);
19375 if (PyErr_Occurred()) SWIG_fail
;
19377 Py_INCREF(Py_None
); resultobj
= Py_None
;
19384 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19385 PyObject
*resultobj
;
19386 wxListItem
*arg1
= (wxListItem
*) 0 ;
19388 PyObject
* obj0
= 0 ;
19389 char *kwnames
[] = {
19390 (char *) "self", NULL
19393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
19394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19398 result
= (long)(arg1
)->GetMask();
19400 wxPyEndAllowThreads(__tstate
);
19401 if (PyErr_Occurred()) SWIG_fail
;
19403 resultobj
= SWIG_FromLong((long)result
);
19410 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19411 PyObject
*resultobj
;
19412 wxListItem
*arg1
= (wxListItem
*) 0 ;
19414 PyObject
* obj0
= 0 ;
19415 char *kwnames
[] = {
19416 (char *) "self", NULL
19419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
19420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19424 result
= (long)(arg1
)->GetId();
19426 wxPyEndAllowThreads(__tstate
);
19427 if (PyErr_Occurred()) SWIG_fail
;
19429 resultobj
= SWIG_FromLong((long)result
);
19436 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19437 PyObject
*resultobj
;
19438 wxListItem
*arg1
= (wxListItem
*) 0 ;
19440 PyObject
* obj0
= 0 ;
19441 char *kwnames
[] = {
19442 (char *) "self", NULL
19445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
19446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19450 result
= (int)(arg1
)->GetColumn();
19452 wxPyEndAllowThreads(__tstate
);
19453 if (PyErr_Occurred()) SWIG_fail
;
19455 resultobj
= SWIG_FromInt((int)result
);
19462 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19463 PyObject
*resultobj
;
19464 wxListItem
*arg1
= (wxListItem
*) 0 ;
19466 PyObject
* obj0
= 0 ;
19467 char *kwnames
[] = {
19468 (char *) "self", NULL
19471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
19472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19476 result
= (long)(arg1
)->GetState();
19478 wxPyEndAllowThreads(__tstate
);
19479 if (PyErr_Occurred()) SWIG_fail
;
19481 resultobj
= SWIG_FromLong((long)result
);
19488 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19489 PyObject
*resultobj
;
19490 wxListItem
*arg1
= (wxListItem
*) 0 ;
19492 PyObject
* obj0
= 0 ;
19493 char *kwnames
[] = {
19494 (char *) "self", NULL
19497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
19498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19503 wxString
const &_result_ref
= (arg1
)->GetText();
19504 result
= (wxString
*) &_result_ref
;
19507 wxPyEndAllowThreads(__tstate
);
19508 if (PyErr_Occurred()) SWIG_fail
;
19512 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19514 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19523 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19524 PyObject
*resultobj
;
19525 wxListItem
*arg1
= (wxListItem
*) 0 ;
19527 PyObject
* obj0
= 0 ;
19528 char *kwnames
[] = {
19529 (char *) "self", NULL
19532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
19533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19537 result
= (int)(arg1
)->GetImage();
19539 wxPyEndAllowThreads(__tstate
);
19540 if (PyErr_Occurred()) SWIG_fail
;
19542 resultobj
= SWIG_FromInt((int)result
);
19549 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19550 PyObject
*resultobj
;
19551 wxListItem
*arg1
= (wxListItem
*) 0 ;
19553 PyObject
* obj0
= 0 ;
19554 char *kwnames
[] = {
19555 (char *) "self", NULL
19558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
19559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19563 result
= (long)(arg1
)->GetData();
19565 wxPyEndAllowThreads(__tstate
);
19566 if (PyErr_Occurred()) SWIG_fail
;
19568 resultobj
= SWIG_FromLong((long)result
);
19575 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19576 PyObject
*resultobj
;
19577 wxListItem
*arg1
= (wxListItem
*) 0 ;
19579 PyObject
* obj0
= 0 ;
19580 char *kwnames
[] = {
19581 (char *) "self", NULL
19584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
19585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19589 result
= (int)(arg1
)->GetWidth();
19591 wxPyEndAllowThreads(__tstate
);
19592 if (PyErr_Occurred()) SWIG_fail
;
19594 resultobj
= SWIG_FromInt((int)result
);
19601 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19602 PyObject
*resultobj
;
19603 wxListItem
*arg1
= (wxListItem
*) 0 ;
19605 PyObject
* obj0
= 0 ;
19606 char *kwnames
[] = {
19607 (char *) "self", NULL
19610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
19611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19615 result
= (int)(arg1
)->GetAlign();
19617 wxPyEndAllowThreads(__tstate
);
19618 if (PyErr_Occurred()) SWIG_fail
;
19620 resultobj
= SWIG_FromInt((int)result
);
19627 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19628 PyObject
*resultobj
;
19629 wxListItem
*arg1
= (wxListItem
*) 0 ;
19630 wxListItemAttr
*result
;
19631 PyObject
* obj0
= 0 ;
19632 char *kwnames
[] = {
19633 (char *) "self", NULL
19636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
19637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19641 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
19643 wxPyEndAllowThreads(__tstate
);
19644 if (PyErr_Occurred()) SWIG_fail
;
19646 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
19653 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19654 PyObject
*resultobj
;
19655 wxListItem
*arg1
= (wxListItem
*) 0 ;
19657 PyObject
* obj0
= 0 ;
19658 char *kwnames
[] = {
19659 (char *) "self", NULL
19662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
19663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19667 result
= (bool)(arg1
)->HasAttributes();
19669 wxPyEndAllowThreads(__tstate
);
19670 if (PyErr_Occurred()) SWIG_fail
;
19673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19681 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19682 PyObject
*resultobj
;
19683 wxListItem
*arg1
= (wxListItem
*) 0 ;
19685 PyObject
* obj0
= 0 ;
19686 char *kwnames
[] = {
19687 (char *) "self", NULL
19690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
19691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19695 result
= ((wxListItem
const *)arg1
)->GetTextColour();
19697 wxPyEndAllowThreads(__tstate
);
19698 if (PyErr_Occurred()) SWIG_fail
;
19701 wxColour
* resultptr
;
19702 resultptr
= new wxColour((wxColour
&) result
);
19703 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19711 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19712 PyObject
*resultobj
;
19713 wxListItem
*arg1
= (wxListItem
*) 0 ;
19715 PyObject
* obj0
= 0 ;
19716 char *kwnames
[] = {
19717 (char *) "self", NULL
19720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
19721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19725 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
19727 wxPyEndAllowThreads(__tstate
);
19728 if (PyErr_Occurred()) SWIG_fail
;
19731 wxColour
* resultptr
;
19732 resultptr
= new wxColour((wxColour
&) result
);
19733 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19741 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19742 PyObject
*resultobj
;
19743 wxListItem
*arg1
= (wxListItem
*) 0 ;
19745 PyObject
* obj0
= 0 ;
19746 char *kwnames
[] = {
19747 (char *) "self", NULL
19750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
19751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19755 result
= ((wxListItem
const *)arg1
)->GetFont();
19757 wxPyEndAllowThreads(__tstate
);
19758 if (PyErr_Occurred()) SWIG_fail
;
19761 wxFont
* resultptr
;
19762 resultptr
= new wxFont((wxFont
&) result
);
19763 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
19771 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19772 PyObject
*resultobj
;
19773 wxListItem
*arg1
= (wxListItem
*) 0 ;
19775 PyObject
* obj0
= 0 ;
19776 PyObject
* obj1
= 0 ;
19777 char *kwnames
[] = {
19778 (char *) "self",(char *) "m_mask", NULL
19781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19784 arg2
= (long) SWIG_AsLong(obj1
);
19785 if (PyErr_Occurred()) SWIG_fail
;
19786 if (arg1
) (arg1
)->m_mask
= arg2
;
19788 Py_INCREF(Py_None
); resultobj
= Py_None
;
19795 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19796 PyObject
*resultobj
;
19797 wxListItem
*arg1
= (wxListItem
*) 0 ;
19799 PyObject
* obj0
= 0 ;
19800 char *kwnames
[] = {
19801 (char *) "self", NULL
19804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
19805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19807 result
= (long) ((arg1
)->m_mask
);
19809 resultobj
= SWIG_FromLong((long)result
);
19816 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19817 PyObject
*resultobj
;
19818 wxListItem
*arg1
= (wxListItem
*) 0 ;
19820 PyObject
* obj0
= 0 ;
19821 PyObject
* obj1
= 0 ;
19822 char *kwnames
[] = {
19823 (char *) "self",(char *) "m_itemId", NULL
19826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19829 arg2
= (long) SWIG_AsLong(obj1
);
19830 if (PyErr_Occurred()) SWIG_fail
;
19831 if (arg1
) (arg1
)->m_itemId
= arg2
;
19833 Py_INCREF(Py_None
); resultobj
= Py_None
;
19840 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19841 PyObject
*resultobj
;
19842 wxListItem
*arg1
= (wxListItem
*) 0 ;
19844 PyObject
* obj0
= 0 ;
19845 char *kwnames
[] = {
19846 (char *) "self", NULL
19849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
19850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19852 result
= (long) ((arg1
)->m_itemId
);
19854 resultobj
= SWIG_FromLong((long)result
);
19861 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19862 PyObject
*resultobj
;
19863 wxListItem
*arg1
= (wxListItem
*) 0 ;
19865 PyObject
* obj0
= 0 ;
19866 PyObject
* obj1
= 0 ;
19867 char *kwnames
[] = {
19868 (char *) "self",(char *) "m_col", NULL
19871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19874 arg2
= (int) SWIG_AsInt(obj1
);
19875 if (PyErr_Occurred()) SWIG_fail
;
19876 if (arg1
) (arg1
)->m_col
= arg2
;
19878 Py_INCREF(Py_None
); resultobj
= Py_None
;
19885 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19886 PyObject
*resultobj
;
19887 wxListItem
*arg1
= (wxListItem
*) 0 ;
19889 PyObject
* obj0
= 0 ;
19890 char *kwnames
[] = {
19891 (char *) "self", NULL
19894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
19895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19897 result
= (int) ((arg1
)->m_col
);
19899 resultobj
= SWIG_FromInt((int)result
);
19906 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19907 PyObject
*resultobj
;
19908 wxListItem
*arg1
= (wxListItem
*) 0 ;
19910 PyObject
* obj0
= 0 ;
19911 PyObject
* obj1
= 0 ;
19912 char *kwnames
[] = {
19913 (char *) "self",(char *) "m_state", NULL
19916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19919 arg2
= (long) SWIG_AsLong(obj1
);
19920 if (PyErr_Occurred()) SWIG_fail
;
19921 if (arg1
) (arg1
)->m_state
= arg2
;
19923 Py_INCREF(Py_None
); resultobj
= Py_None
;
19930 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19931 PyObject
*resultobj
;
19932 wxListItem
*arg1
= (wxListItem
*) 0 ;
19934 PyObject
* obj0
= 0 ;
19935 char *kwnames
[] = {
19936 (char *) "self", NULL
19939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
19940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19942 result
= (long) ((arg1
)->m_state
);
19944 resultobj
= SWIG_FromLong((long)result
);
19951 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19952 PyObject
*resultobj
;
19953 wxListItem
*arg1
= (wxListItem
*) 0 ;
19955 PyObject
* obj0
= 0 ;
19956 PyObject
* obj1
= 0 ;
19957 char *kwnames
[] = {
19958 (char *) "self",(char *) "m_stateMask", NULL
19961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19964 arg2
= (long) SWIG_AsLong(obj1
);
19965 if (PyErr_Occurred()) SWIG_fail
;
19966 if (arg1
) (arg1
)->m_stateMask
= arg2
;
19968 Py_INCREF(Py_None
); resultobj
= Py_None
;
19975 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19976 PyObject
*resultobj
;
19977 wxListItem
*arg1
= (wxListItem
*) 0 ;
19979 PyObject
* obj0
= 0 ;
19980 char *kwnames
[] = {
19981 (char *) "self", NULL
19984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
19985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19987 result
= (long) ((arg1
)->m_stateMask
);
19989 resultobj
= SWIG_FromLong((long)result
);
19996 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19997 PyObject
*resultobj
;
19998 wxListItem
*arg1
= (wxListItem
*) 0 ;
19999 wxString
*arg2
= (wxString
*) 0 ;
20000 bool temp2
= False
;
20001 PyObject
* obj0
= 0 ;
20002 PyObject
* obj1
= 0 ;
20003 char *kwnames
[] = {
20004 (char *) "self",(char *) "m_text", NULL
20007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20011 arg2
= wxString_in_helper(obj1
);
20012 if (arg2
== NULL
) SWIG_fail
;
20015 if (arg1
) (arg1
)->m_text
= *arg2
;
20017 Py_INCREF(Py_None
); resultobj
= Py_None
;
20032 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20033 PyObject
*resultobj
;
20034 wxListItem
*arg1
= (wxListItem
*) 0 ;
20036 PyObject
* obj0
= 0 ;
20037 char *kwnames
[] = {
20038 (char *) "self", NULL
20041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
20042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20044 result
= (wxString
*)& ((arg1
)->m_text
);
20048 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20050 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20059 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20060 PyObject
*resultobj
;
20061 wxListItem
*arg1
= (wxListItem
*) 0 ;
20063 PyObject
* obj0
= 0 ;
20064 PyObject
* obj1
= 0 ;
20065 char *kwnames
[] = {
20066 (char *) "self",(char *) "m_image", NULL
20069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20072 arg2
= (int) SWIG_AsInt(obj1
);
20073 if (PyErr_Occurred()) SWIG_fail
;
20074 if (arg1
) (arg1
)->m_image
= arg2
;
20076 Py_INCREF(Py_None
); resultobj
= Py_None
;
20083 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20084 PyObject
*resultobj
;
20085 wxListItem
*arg1
= (wxListItem
*) 0 ;
20087 PyObject
* obj0
= 0 ;
20088 char *kwnames
[] = {
20089 (char *) "self", NULL
20092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
20093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20095 result
= (int) ((arg1
)->m_image
);
20097 resultobj
= SWIG_FromInt((int)result
);
20104 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20105 PyObject
*resultobj
;
20106 wxListItem
*arg1
= (wxListItem
*) 0 ;
20108 PyObject
* obj0
= 0 ;
20109 PyObject
* obj1
= 0 ;
20110 char *kwnames
[] = {
20111 (char *) "self",(char *) "m_data", NULL
20114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20117 arg2
= (long) SWIG_AsLong(obj1
);
20118 if (PyErr_Occurred()) SWIG_fail
;
20119 if (arg1
) (arg1
)->m_data
= arg2
;
20121 Py_INCREF(Py_None
); resultobj
= Py_None
;
20128 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20129 PyObject
*resultobj
;
20130 wxListItem
*arg1
= (wxListItem
*) 0 ;
20132 PyObject
* obj0
= 0 ;
20133 char *kwnames
[] = {
20134 (char *) "self", NULL
20137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
20138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20140 result
= (long) ((arg1
)->m_data
);
20142 resultobj
= SWIG_FromLong((long)result
);
20149 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20150 PyObject
*resultobj
;
20151 wxListItem
*arg1
= (wxListItem
*) 0 ;
20153 PyObject
* obj0
= 0 ;
20154 PyObject
* obj1
= 0 ;
20155 char *kwnames
[] = {
20156 (char *) "self",(char *) "m_format", NULL
20159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20162 arg2
= (int) SWIG_AsInt(obj1
);
20163 if (PyErr_Occurred()) SWIG_fail
;
20164 if (arg1
) (arg1
)->m_format
= arg2
;
20166 Py_INCREF(Py_None
); resultobj
= Py_None
;
20173 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20174 PyObject
*resultobj
;
20175 wxListItem
*arg1
= (wxListItem
*) 0 ;
20177 PyObject
* obj0
= 0 ;
20178 char *kwnames
[] = {
20179 (char *) "self", NULL
20182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
20183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20185 result
= (int) ((arg1
)->m_format
);
20187 resultobj
= SWIG_FromInt((int)result
);
20194 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20195 PyObject
*resultobj
;
20196 wxListItem
*arg1
= (wxListItem
*) 0 ;
20198 PyObject
* obj0
= 0 ;
20199 PyObject
* obj1
= 0 ;
20200 char *kwnames
[] = {
20201 (char *) "self",(char *) "m_width", NULL
20204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20207 arg2
= (int) SWIG_AsInt(obj1
);
20208 if (PyErr_Occurred()) SWIG_fail
;
20209 if (arg1
) (arg1
)->m_width
= arg2
;
20211 Py_INCREF(Py_None
); resultobj
= Py_None
;
20218 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20219 PyObject
*resultobj
;
20220 wxListItem
*arg1
= (wxListItem
*) 0 ;
20222 PyObject
* obj0
= 0 ;
20223 char *kwnames
[] = {
20224 (char *) "self", NULL
20227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
20228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20230 result
= (int) ((arg1
)->m_width
);
20232 resultobj
= SWIG_FromInt((int)result
);
20239 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
20241 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20242 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
20244 return Py_BuildValue((char *)"");
20246 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20247 PyObject
*resultobj
;
20248 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20249 int arg2
= (int) 0 ;
20250 wxListEvent
*result
;
20251 PyObject
* obj0
= 0 ;
20252 PyObject
* obj1
= 0 ;
20253 char *kwnames
[] = {
20254 (char *) "commandType",(char *) "id", NULL
20257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20259 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
20260 if (PyErr_Occurred()) SWIG_fail
;
20263 arg2
= (int) SWIG_AsInt(obj1
);
20264 if (PyErr_Occurred()) SWIG_fail
;
20267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20268 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
20270 wxPyEndAllowThreads(__tstate
);
20271 if (PyErr_Occurred()) SWIG_fail
;
20273 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
20280 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20281 PyObject
*resultobj
;
20282 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20284 PyObject
* obj0
= 0 ;
20285 PyObject
* obj1
= 0 ;
20286 char *kwnames
[] = {
20287 (char *) "self",(char *) "m_code", NULL
20290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20293 arg2
= (int) SWIG_AsInt(obj1
);
20294 if (PyErr_Occurred()) SWIG_fail
;
20295 if (arg1
) (arg1
)->m_code
= arg2
;
20297 Py_INCREF(Py_None
); resultobj
= Py_None
;
20304 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20305 PyObject
*resultobj
;
20306 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20308 PyObject
* obj0
= 0 ;
20309 char *kwnames
[] = {
20310 (char *) "self", NULL
20313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
20314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20316 result
= (int) ((arg1
)->m_code
);
20318 resultobj
= SWIG_FromInt((int)result
);
20325 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20326 PyObject
*resultobj
;
20327 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20329 PyObject
* obj0
= 0 ;
20330 PyObject
* obj1
= 0 ;
20331 char *kwnames
[] = {
20332 (char *) "self",(char *) "m_oldItemIndex", NULL
20335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20338 arg2
= (long) SWIG_AsLong(obj1
);
20339 if (PyErr_Occurred()) SWIG_fail
;
20340 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
20342 Py_INCREF(Py_None
); resultobj
= Py_None
;
20349 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20350 PyObject
*resultobj
;
20351 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20353 PyObject
* obj0
= 0 ;
20354 char *kwnames
[] = {
20355 (char *) "self", NULL
20358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
20359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20361 result
= (long) ((arg1
)->m_oldItemIndex
);
20363 resultobj
= SWIG_FromLong((long)result
);
20370 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20371 PyObject
*resultobj
;
20372 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20374 PyObject
* obj0
= 0 ;
20375 PyObject
* obj1
= 0 ;
20376 char *kwnames
[] = {
20377 (char *) "self",(char *) "m_itemIndex", NULL
20380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20383 arg2
= (long) SWIG_AsLong(obj1
);
20384 if (PyErr_Occurred()) SWIG_fail
;
20385 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
20387 Py_INCREF(Py_None
); resultobj
= Py_None
;
20394 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20395 PyObject
*resultobj
;
20396 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20398 PyObject
* obj0
= 0 ;
20399 char *kwnames
[] = {
20400 (char *) "self", NULL
20403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
20404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20406 result
= (long) ((arg1
)->m_itemIndex
);
20408 resultobj
= SWIG_FromLong((long)result
);
20415 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20416 PyObject
*resultobj
;
20417 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20419 PyObject
* obj0
= 0 ;
20420 PyObject
* obj1
= 0 ;
20421 char *kwnames
[] = {
20422 (char *) "self",(char *) "m_col", NULL
20425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20428 arg2
= (int) SWIG_AsInt(obj1
);
20429 if (PyErr_Occurred()) SWIG_fail
;
20430 if (arg1
) (arg1
)->m_col
= arg2
;
20432 Py_INCREF(Py_None
); resultobj
= Py_None
;
20439 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20440 PyObject
*resultobj
;
20441 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20443 PyObject
* obj0
= 0 ;
20444 char *kwnames
[] = {
20445 (char *) "self", NULL
20448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
20449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20451 result
= (int) ((arg1
)->m_col
);
20453 resultobj
= SWIG_FromInt((int)result
);
20460 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20461 PyObject
*resultobj
;
20462 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20463 wxPoint
*arg2
= (wxPoint
*) 0 ;
20464 PyObject
* obj0
= 0 ;
20465 PyObject
* obj1
= 0 ;
20466 char *kwnames
[] = {
20467 (char *) "self",(char *) "m_pointDrag", NULL
20470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20473 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
20474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20475 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
20477 Py_INCREF(Py_None
); resultobj
= Py_None
;
20484 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20485 PyObject
*resultobj
;
20486 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20488 PyObject
* obj0
= 0 ;
20489 char *kwnames
[] = {
20490 (char *) "self", NULL
20493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
20494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20496 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
20498 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
20505 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20506 PyObject
*resultobj
;
20507 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20508 wxListItem
*result
;
20509 PyObject
* obj0
= 0 ;
20510 char *kwnames
[] = {
20511 (char *) "self", NULL
20514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
20515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20517 result
= (wxListItem
*)& ((arg1
)->m_item
);
20520 resultobj
= wxPyMake_wxObject(result
);
20528 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20529 PyObject
*resultobj
;
20530 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20532 PyObject
* obj0
= 0 ;
20533 char *kwnames
[] = {
20534 (char *) "self", NULL
20537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20542 result
= (int)(arg1
)->GetKeyCode();
20544 wxPyEndAllowThreads(__tstate
);
20545 if (PyErr_Occurred()) SWIG_fail
;
20547 resultobj
= SWIG_FromInt((int)result
);
20554 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20555 PyObject
*resultobj
;
20556 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20558 PyObject
* obj0
= 0 ;
20559 char *kwnames
[] = {
20560 (char *) "self", NULL
20563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
20564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20568 result
= (long)(arg1
)->GetIndex();
20570 wxPyEndAllowThreads(__tstate
);
20571 if (PyErr_Occurred()) SWIG_fail
;
20573 resultobj
= SWIG_FromLong((long)result
);
20580 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20581 PyObject
*resultobj
;
20582 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20584 PyObject
* obj0
= 0 ;
20585 char *kwnames
[] = {
20586 (char *) "self", NULL
20589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
20590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20594 result
= (int)(arg1
)->GetColumn();
20596 wxPyEndAllowThreads(__tstate
);
20597 if (PyErr_Occurred()) SWIG_fail
;
20599 resultobj
= SWIG_FromInt((int)result
);
20606 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20607 PyObject
*resultobj
;
20608 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20610 PyObject
* obj0
= 0 ;
20611 char *kwnames
[] = {
20612 (char *) "self", NULL
20615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
20616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20620 result
= (arg1
)->GetPoint();
20622 wxPyEndAllowThreads(__tstate
);
20623 if (PyErr_Occurred()) SWIG_fail
;
20626 wxPoint
* resultptr
;
20627 resultptr
= new wxPoint((wxPoint
&) result
);
20628 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20636 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20637 PyObject
*resultobj
;
20638 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20640 PyObject
* obj0
= 0 ;
20641 char *kwnames
[] = {
20642 (char *) "self", NULL
20645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
20646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20651 wxString
const &_result_ref
= (arg1
)->GetLabel();
20652 result
= (wxString
*) &_result_ref
;
20655 wxPyEndAllowThreads(__tstate
);
20656 if (PyErr_Occurred()) SWIG_fail
;
20660 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20662 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20671 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20672 PyObject
*resultobj
;
20673 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20675 PyObject
* obj0
= 0 ;
20676 char *kwnames
[] = {
20677 (char *) "self", NULL
20680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
20681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20686 wxString
const &_result_ref
= (arg1
)->GetText();
20687 result
= (wxString
*) &_result_ref
;
20690 wxPyEndAllowThreads(__tstate
);
20691 if (PyErr_Occurred()) SWIG_fail
;
20695 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20697 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20706 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20707 PyObject
*resultobj
;
20708 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20710 PyObject
* obj0
= 0 ;
20711 char *kwnames
[] = {
20712 (char *) "self", NULL
20715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
20716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20720 result
= (int)(arg1
)->GetImage();
20722 wxPyEndAllowThreads(__tstate
);
20723 if (PyErr_Occurred()) SWIG_fail
;
20725 resultobj
= SWIG_FromInt((int)result
);
20732 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20733 PyObject
*resultobj
;
20734 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20736 PyObject
* obj0
= 0 ;
20737 char *kwnames
[] = {
20738 (char *) "self", NULL
20741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
20742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20746 result
= (long)(arg1
)->GetData();
20748 wxPyEndAllowThreads(__tstate
);
20749 if (PyErr_Occurred()) SWIG_fail
;
20751 resultobj
= SWIG_FromLong((long)result
);
20758 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20759 PyObject
*resultobj
;
20760 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20762 PyObject
* obj0
= 0 ;
20763 char *kwnames
[] = {
20764 (char *) "self", NULL
20767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
20768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20772 result
= (long)(arg1
)->GetMask();
20774 wxPyEndAllowThreads(__tstate
);
20775 if (PyErr_Occurred()) SWIG_fail
;
20777 resultobj
= SWIG_FromLong((long)result
);
20784 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20785 PyObject
*resultobj
;
20786 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20787 wxListItem
*result
;
20788 PyObject
* obj0
= 0 ;
20789 char *kwnames
[] = {
20790 (char *) "self", NULL
20793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
20794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20799 wxListItem
const &_result_ref
= (arg1
)->GetItem();
20800 result
= (wxListItem
*) &_result_ref
;
20803 wxPyEndAllowThreads(__tstate
);
20804 if (PyErr_Occurred()) SWIG_fail
;
20806 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
20813 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20814 PyObject
*resultobj
;
20815 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20817 PyObject
* obj0
= 0 ;
20818 char *kwnames
[] = {
20819 (char *) "self", NULL
20822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
20823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20827 result
= (long)(arg1
)->GetCacheFrom();
20829 wxPyEndAllowThreads(__tstate
);
20830 if (PyErr_Occurred()) SWIG_fail
;
20832 resultobj
= SWIG_FromLong((long)result
);
20839 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20840 PyObject
*resultobj
;
20841 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20843 PyObject
* obj0
= 0 ;
20844 char *kwnames
[] = {
20845 (char *) "self", NULL
20848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
20849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20853 result
= (long)(arg1
)->GetCacheTo();
20855 wxPyEndAllowThreads(__tstate
);
20856 if (PyErr_Occurred()) SWIG_fail
;
20858 resultobj
= SWIG_FromLong((long)result
);
20865 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20866 PyObject
*resultobj
;
20867 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20869 PyObject
* obj0
= 0 ;
20870 char *kwnames
[] = {
20871 (char *) "self", NULL
20874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
20875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20879 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
20881 wxPyEndAllowThreads(__tstate
);
20882 if (PyErr_Occurred()) SWIG_fail
;
20885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20893 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20894 PyObject
*resultobj
;
20895 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20897 PyObject
* obj0
= 0 ;
20898 PyObject
* obj1
= 0 ;
20899 char *kwnames
[] = {
20900 (char *) "self",(char *) "editCancelled", NULL
20903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
20904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20906 arg2
= (bool) SWIG_AsBool(obj1
);
20907 if (PyErr_Occurred()) SWIG_fail
;
20909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20910 (arg1
)->SetEditCanceled(arg2
);
20912 wxPyEndAllowThreads(__tstate
);
20913 if (PyErr_Occurred()) SWIG_fail
;
20915 Py_INCREF(Py_None
); resultobj
= Py_None
;
20922 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
20924 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20925 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
20927 return Py_BuildValue((char *)"");
20929 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20930 PyObject
*resultobj
;
20931 wxWindow
*arg1
= (wxWindow
*) 0 ;
20932 int arg2
= (int) -1 ;
20933 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20934 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20935 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20936 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20937 long arg5
= (long) wxLC_ICON
;
20938 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
20939 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
20940 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
20941 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20942 wxPyListCtrl
*result
;
20945 bool temp7
= False
;
20946 PyObject
* obj0
= 0 ;
20947 PyObject
* obj1
= 0 ;
20948 PyObject
* obj2
= 0 ;
20949 PyObject
* obj3
= 0 ;
20950 PyObject
* obj4
= 0 ;
20951 PyObject
* obj5
= 0 ;
20952 PyObject
* obj6
= 0 ;
20953 char *kwnames
[] = {
20954 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20961 arg2
= (int) SWIG_AsInt(obj1
);
20962 if (PyErr_Occurred()) SWIG_fail
;
20967 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20973 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20977 arg5
= (long) SWIG_AsLong(obj4
);
20978 if (PyErr_Occurred()) SWIG_fail
;
20981 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
20982 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20984 if (arg6
== NULL
) {
20985 PyErr_SetString(PyExc_TypeError
,"null reference");
20991 arg7
= wxString_in_helper(obj6
);
20992 if (arg7
== NULL
) SWIG_fail
;
20997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20998 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
21000 wxPyEndAllowThreads(__tstate
);
21001 if (PyErr_Occurred()) SWIG_fail
;
21003 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21018 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21019 PyObject
*resultobj
;
21020 wxPyListCtrl
*result
;
21021 char *kwnames
[] = {
21025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
21027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21028 result
= (wxPyListCtrl
*)new wxPyListCtrl();
21030 wxPyEndAllowThreads(__tstate
);
21031 if (PyErr_Occurred()) SWIG_fail
;
21033 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21040 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21041 PyObject
*resultobj
;
21042 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21043 wxWindow
*arg2
= (wxWindow
*) 0 ;
21044 int arg3
= (int) -1 ;
21045 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21046 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21047 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21048 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21049 long arg6
= (long) wxLC_ICON
;
21050 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
21051 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
21052 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
21053 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21057 bool temp8
= False
;
21058 PyObject
* obj0
= 0 ;
21059 PyObject
* obj1
= 0 ;
21060 PyObject
* obj2
= 0 ;
21061 PyObject
* obj3
= 0 ;
21062 PyObject
* obj4
= 0 ;
21063 PyObject
* obj5
= 0 ;
21064 PyObject
* obj6
= 0 ;
21065 PyObject
* obj7
= 0 ;
21066 char *kwnames
[] = {
21067 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
21071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21073 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21076 arg3
= (int) SWIG_AsInt(obj2
);
21077 if (PyErr_Occurred()) SWIG_fail
;
21082 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21088 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21092 arg6
= (long) SWIG_AsLong(obj5
);
21093 if (PyErr_Occurred()) SWIG_fail
;
21096 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
21097 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21099 if (arg7
== NULL
) {
21100 PyErr_SetString(PyExc_TypeError
,"null reference");
21106 arg8
= wxString_in_helper(obj7
);
21107 if (arg8
== NULL
) SWIG_fail
;
21112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21113 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
21115 wxPyEndAllowThreads(__tstate
);
21116 if (PyErr_Occurred()) SWIG_fail
;
21119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21135 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21136 PyObject
*resultobj
;
21137 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21138 PyObject
*arg2
= (PyObject
*) 0 ;
21139 PyObject
*arg3
= (PyObject
*) 0 ;
21140 PyObject
* obj0
= 0 ;
21141 PyObject
* obj1
= 0 ;
21142 PyObject
* obj2
= 0 ;
21143 char *kwnames
[] = {
21144 (char *) "self",(char *) "self",(char *) "_class", NULL
21147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21154 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21156 wxPyEndAllowThreads(__tstate
);
21157 if (PyErr_Occurred()) SWIG_fail
;
21159 Py_INCREF(Py_None
); resultobj
= Py_None
;
21166 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21167 PyObject
*resultobj
;
21168 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21169 wxColour
*arg2
= 0 ;
21172 PyObject
* obj0
= 0 ;
21173 PyObject
* obj1
= 0 ;
21174 char *kwnames
[] = {
21175 (char *) "self",(char *) "col", NULL
21178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21183 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21187 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
21189 wxPyEndAllowThreads(__tstate
);
21190 if (PyErr_Occurred()) SWIG_fail
;
21193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21201 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21202 PyObject
*resultobj
;
21203 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21204 wxColour
*arg2
= 0 ;
21207 PyObject
* obj0
= 0 ;
21208 PyObject
* obj1
= 0 ;
21209 char *kwnames
[] = {
21210 (char *) "self",(char *) "col", NULL
21213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21218 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21222 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21224 wxPyEndAllowThreads(__tstate
);
21225 if (PyErr_Occurred()) SWIG_fail
;
21228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21236 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21237 PyObject
*resultobj
;
21238 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21240 wxListItem
*result
;
21241 PyObject
* obj0
= 0 ;
21242 PyObject
* obj1
= 0 ;
21243 char *kwnames
[] = {
21244 (char *) "self",(char *) "col", NULL
21247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21250 arg2
= (int) SWIG_AsInt(obj1
);
21251 if (PyErr_Occurred()) SWIG_fail
;
21253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21254 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
21256 wxPyEndAllowThreads(__tstate
);
21257 if (PyErr_Occurred()) SWIG_fail
;
21260 resultobj
= wxPyMake_wxObject(result
);
21268 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21269 PyObject
*resultobj
;
21270 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21272 wxListItem
*arg3
= 0 ;
21274 PyObject
* obj0
= 0 ;
21275 PyObject
* obj1
= 0 ;
21276 PyObject
* obj2
= 0 ;
21277 char *kwnames
[] = {
21278 (char *) "self",(char *) "col",(char *) "item", NULL
21281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21284 arg2
= (int) SWIG_AsInt(obj1
);
21285 if (PyErr_Occurred()) SWIG_fail
;
21286 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
21287 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21289 if (arg3
== NULL
) {
21290 PyErr_SetString(PyExc_TypeError
,"null reference");
21294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21295 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
21297 wxPyEndAllowThreads(__tstate
);
21298 if (PyErr_Occurred()) SWIG_fail
;
21301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21309 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21310 PyObject
*resultobj
;
21311 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21314 PyObject
* obj0
= 0 ;
21315 PyObject
* obj1
= 0 ;
21316 char *kwnames
[] = {
21317 (char *) "self",(char *) "col", NULL
21320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
21321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21323 arg2
= (int) SWIG_AsInt(obj1
);
21324 if (PyErr_Occurred()) SWIG_fail
;
21326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21327 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
21329 wxPyEndAllowThreads(__tstate
);
21330 if (PyErr_Occurred()) SWIG_fail
;
21332 resultobj
= SWIG_FromInt((int)result
);
21339 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21340 PyObject
*resultobj
;
21341 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21345 PyObject
* obj0
= 0 ;
21346 PyObject
* obj1
= 0 ;
21347 PyObject
* obj2
= 0 ;
21348 char *kwnames
[] = {
21349 (char *) "self",(char *) "col",(char *) "width", NULL
21352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21355 arg2
= (int) SWIG_AsInt(obj1
);
21356 if (PyErr_Occurred()) SWIG_fail
;
21357 arg3
= (int) SWIG_AsInt(obj2
);
21358 if (PyErr_Occurred()) SWIG_fail
;
21360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21361 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
21363 wxPyEndAllowThreads(__tstate
);
21364 if (PyErr_Occurred()) SWIG_fail
;
21367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21375 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21376 PyObject
*resultobj
;
21377 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21379 PyObject
* obj0
= 0 ;
21380 char *kwnames
[] = {
21381 (char *) "self", NULL
21384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
21385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21389 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
21391 wxPyEndAllowThreads(__tstate
);
21392 if (PyErr_Occurred()) SWIG_fail
;
21394 resultobj
= SWIG_FromInt((int)result
);
21401 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21402 PyObject
*resultobj
;
21403 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21405 PyObject
* obj0
= 0 ;
21406 char *kwnames
[] = {
21407 (char *) "self", NULL
21410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
21411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21415 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
21417 wxPyEndAllowThreads(__tstate
);
21418 if (PyErr_Occurred()) SWIG_fail
;
21421 wxRect
* resultptr
;
21422 resultptr
= new wxRect((wxRect
&) result
);
21423 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
21431 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21432 PyObject
*resultobj
;
21433 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21435 int arg3
= (int) 0 ;
21436 wxListItem
*result
;
21437 PyObject
* obj0
= 0 ;
21438 PyObject
* obj1
= 0 ;
21439 PyObject
* obj2
= 0 ;
21440 char *kwnames
[] = {
21441 (char *) "self",(char *) "itemId",(char *) "col", NULL
21444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21447 arg2
= (long) SWIG_AsLong(obj1
);
21448 if (PyErr_Occurred()) SWIG_fail
;
21450 arg3
= (int) SWIG_AsInt(obj2
);
21451 if (PyErr_Occurred()) SWIG_fail
;
21454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21455 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
21457 wxPyEndAllowThreads(__tstate
);
21458 if (PyErr_Occurred()) SWIG_fail
;
21461 resultobj
= wxPyMake_wxObject(result
);
21469 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21470 PyObject
*resultobj
;
21471 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21472 wxListItem
*arg2
= 0 ;
21474 PyObject
* obj0
= 0 ;
21475 PyObject
* obj1
= 0 ;
21476 char *kwnames
[] = {
21477 (char *) "self",(char *) "info", NULL
21480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21483 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
21484 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21486 if (arg2
== NULL
) {
21487 PyErr_SetString(PyExc_TypeError
,"null reference");
21491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21492 result
= (bool)(arg1
)->SetItem(*arg2
);
21494 wxPyEndAllowThreads(__tstate
);
21495 if (PyErr_Occurred()) SWIG_fail
;
21498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21506 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21507 PyObject
*resultobj
;
21508 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21511 wxString
*arg4
= 0 ;
21512 int arg5
= (int) -1 ;
21514 bool temp4
= False
;
21515 PyObject
* obj0
= 0 ;
21516 PyObject
* obj1
= 0 ;
21517 PyObject
* obj2
= 0 ;
21518 PyObject
* obj3
= 0 ;
21519 PyObject
* obj4
= 0 ;
21520 char *kwnames
[] = {
21521 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
21524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21527 arg2
= (long) SWIG_AsLong(obj1
);
21528 if (PyErr_Occurred()) SWIG_fail
;
21529 arg3
= (int) SWIG_AsInt(obj2
);
21530 if (PyErr_Occurred()) SWIG_fail
;
21532 arg4
= wxString_in_helper(obj3
);
21533 if (arg4
== NULL
) SWIG_fail
;
21537 arg5
= (int) SWIG_AsInt(obj4
);
21538 if (PyErr_Occurred()) SWIG_fail
;
21541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21542 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
21544 wxPyEndAllowThreads(__tstate
);
21545 if (PyErr_Occurred()) SWIG_fail
;
21547 resultobj
= SWIG_FromLong((long)result
);
21562 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21563 PyObject
*resultobj
;
21564 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21568 PyObject
* obj0
= 0 ;
21569 PyObject
* obj1
= 0 ;
21570 PyObject
* obj2
= 0 ;
21571 char *kwnames
[] = {
21572 (char *) "self",(char *) "item",(char *) "stateMask", NULL
21575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21578 arg2
= (long) SWIG_AsLong(obj1
);
21579 if (PyErr_Occurred()) SWIG_fail
;
21580 arg3
= (long) SWIG_AsLong(obj2
);
21581 if (PyErr_Occurred()) SWIG_fail
;
21583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21584 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
21586 wxPyEndAllowThreads(__tstate
);
21587 if (PyErr_Occurred()) SWIG_fail
;
21589 resultobj
= SWIG_FromInt((int)result
);
21596 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21597 PyObject
*resultobj
;
21598 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21603 PyObject
* obj0
= 0 ;
21604 PyObject
* obj1
= 0 ;
21605 PyObject
* obj2
= 0 ;
21606 PyObject
* obj3
= 0 ;
21607 char *kwnames
[] = {
21608 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
21611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21614 arg2
= (long) SWIG_AsLong(obj1
);
21615 if (PyErr_Occurred()) SWIG_fail
;
21616 arg3
= (long) SWIG_AsLong(obj2
);
21617 if (PyErr_Occurred()) SWIG_fail
;
21618 arg4
= (long) SWIG_AsLong(obj3
);
21619 if (PyErr_Occurred()) SWIG_fail
;
21621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21622 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
21624 wxPyEndAllowThreads(__tstate
);
21625 if (PyErr_Occurred()) SWIG_fail
;
21628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21636 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21637 PyObject
*resultobj
;
21638 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21643 PyObject
* obj0
= 0 ;
21644 PyObject
* obj1
= 0 ;
21645 PyObject
* obj2
= 0 ;
21646 PyObject
* obj3
= 0 ;
21647 char *kwnames
[] = {
21648 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
21651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21654 arg2
= (long) SWIG_AsLong(obj1
);
21655 if (PyErr_Occurred()) SWIG_fail
;
21656 arg3
= (int) SWIG_AsInt(obj2
);
21657 if (PyErr_Occurred()) SWIG_fail
;
21658 arg4
= (int) SWIG_AsInt(obj3
);
21659 if (PyErr_Occurred()) SWIG_fail
;
21661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21662 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
21664 wxPyEndAllowThreads(__tstate
);
21665 if (PyErr_Occurred()) SWIG_fail
;
21668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21676 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21677 PyObject
*resultobj
;
21678 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21681 PyObject
* obj0
= 0 ;
21682 PyObject
* obj1
= 0 ;
21683 char *kwnames
[] = {
21684 (char *) "self",(char *) "item", NULL
21687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
21688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21690 arg2
= (long) SWIG_AsLong(obj1
);
21691 if (PyErr_Occurred()) SWIG_fail
;
21693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21694 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
21696 wxPyEndAllowThreads(__tstate
);
21697 if (PyErr_Occurred()) SWIG_fail
;
21701 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21703 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21712 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21713 PyObject
*resultobj
;
21714 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21716 wxString
*arg3
= 0 ;
21717 bool temp3
= False
;
21718 PyObject
* obj0
= 0 ;
21719 PyObject
* obj1
= 0 ;
21720 PyObject
* obj2
= 0 ;
21721 char *kwnames
[] = {
21722 (char *) "self",(char *) "item",(char *) "str", NULL
21725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21728 arg2
= (long) SWIG_AsLong(obj1
);
21729 if (PyErr_Occurred()) SWIG_fail
;
21731 arg3
= wxString_in_helper(obj2
);
21732 if (arg3
== NULL
) SWIG_fail
;
21736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21737 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
21739 wxPyEndAllowThreads(__tstate
);
21740 if (PyErr_Occurred()) SWIG_fail
;
21742 Py_INCREF(Py_None
); resultobj
= Py_None
;
21757 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21758 PyObject
*resultobj
;
21759 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21762 PyObject
* obj0
= 0 ;
21763 PyObject
* obj1
= 0 ;
21764 char *kwnames
[] = {
21765 (char *) "self",(char *) "item", NULL
21768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
21769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21771 arg2
= (long) SWIG_AsLong(obj1
);
21772 if (PyErr_Occurred()) SWIG_fail
;
21774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21775 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
21777 wxPyEndAllowThreads(__tstate
);
21778 if (PyErr_Occurred()) SWIG_fail
;
21780 resultobj
= SWIG_FromLong((long)result
);
21787 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21788 PyObject
*resultobj
;
21789 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21793 PyObject
* obj0
= 0 ;
21794 PyObject
* obj1
= 0 ;
21795 PyObject
* obj2
= 0 ;
21796 char *kwnames
[] = {
21797 (char *) "self",(char *) "item",(char *) "data", NULL
21800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21803 arg2
= (long) SWIG_AsLong(obj1
);
21804 if (PyErr_Occurred()) SWIG_fail
;
21805 arg3
= (long) SWIG_AsLong(obj2
);
21806 if (PyErr_Occurred()) SWIG_fail
;
21808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21809 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
21811 wxPyEndAllowThreads(__tstate
);
21812 if (PyErr_Occurred()) SWIG_fail
;
21815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21823 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21824 PyObject
*resultobj
;
21825 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21828 PyObject
* obj0
= 0 ;
21829 PyObject
* obj1
= 0 ;
21830 char *kwnames
[] = {
21831 (char *) "self",(char *) "item", NULL
21834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
21835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21837 arg2
= (long) SWIG_AsLong(obj1
);
21838 if (PyErr_Occurred()) SWIG_fail
;
21840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21841 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
21843 wxPyEndAllowThreads(__tstate
);
21844 if (PyErr_Occurred()) SWIG_fail
;
21847 wxPoint
* resultptr
;
21848 resultptr
= new wxPoint((wxPoint
&) result
);
21849 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
21857 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21858 PyObject
*resultobj
;
21859 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21861 int arg3
= (int) wxLIST_RECT_BOUNDS
;
21863 PyObject
* obj0
= 0 ;
21864 PyObject
* obj1
= 0 ;
21865 PyObject
* obj2
= 0 ;
21866 char *kwnames
[] = {
21867 (char *) "self",(char *) "item",(char *) "code", NULL
21870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21873 arg2
= (long) SWIG_AsLong(obj1
);
21874 if (PyErr_Occurred()) SWIG_fail
;
21876 arg3
= (int) SWIG_AsInt(obj2
);
21877 if (PyErr_Occurred()) SWIG_fail
;
21880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21881 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
21883 wxPyEndAllowThreads(__tstate
);
21884 if (PyErr_Occurred()) SWIG_fail
;
21887 wxRect
* resultptr
;
21888 resultptr
= new wxRect((wxRect
&) result
);
21889 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
21897 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21898 PyObject
*resultobj
;
21899 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21901 wxPoint
*arg3
= 0 ;
21904 PyObject
* obj0
= 0 ;
21905 PyObject
* obj1
= 0 ;
21906 PyObject
* obj2
= 0 ;
21907 char *kwnames
[] = {
21908 (char *) "self",(char *) "item",(char *) "pos", NULL
21911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21914 arg2
= (long) SWIG_AsLong(obj1
);
21915 if (PyErr_Occurred()) SWIG_fail
;
21918 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21922 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
21924 wxPyEndAllowThreads(__tstate
);
21925 if (PyErr_Occurred()) SWIG_fail
;
21928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21936 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21937 PyObject
*resultobj
;
21938 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21940 PyObject
* obj0
= 0 ;
21941 char *kwnames
[] = {
21942 (char *) "self", NULL
21945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
21946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21950 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
21952 wxPyEndAllowThreads(__tstate
);
21953 if (PyErr_Occurred()) SWIG_fail
;
21955 resultobj
= SWIG_FromInt((int)result
);
21962 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21963 PyObject
*resultobj
;
21964 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21966 PyObject
* obj0
= 0 ;
21967 char *kwnames
[] = {
21968 (char *) "self", NULL
21971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
21972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21976 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
21978 wxPyEndAllowThreads(__tstate
);
21979 if (PyErr_Occurred()) SWIG_fail
;
21981 resultobj
= SWIG_FromInt((int)result
);
21988 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21989 PyObject
*resultobj
;
21990 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21992 PyObject
* obj0
= 0 ;
21993 char *kwnames
[] = {
21994 (char *) "self", NULL
21997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
21998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22002 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
22004 wxPyEndAllowThreads(__tstate
);
22005 if (PyErr_Occurred()) SWIG_fail
;
22008 wxSize
* resultptr
;
22009 resultptr
= new wxSize((wxSize
&) result
);
22010 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22018 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22019 PyObject
*resultobj
;
22020 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22022 bool arg3
= (bool) False
;
22023 PyObject
* obj0
= 0 ;
22024 PyObject
* obj1
= 0 ;
22025 PyObject
* obj2
= 0 ;
22026 char *kwnames
[] = {
22027 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
22030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22033 arg2
= (int) SWIG_AsInt(obj1
);
22034 if (PyErr_Occurred()) SWIG_fail
;
22036 arg3
= (bool) SWIG_AsBool(obj2
);
22037 if (PyErr_Occurred()) SWIG_fail
;
22040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22041 (arg1
)->SetItemSpacing(arg2
,arg3
);
22043 wxPyEndAllowThreads(__tstate
);
22044 if (PyErr_Occurred()) SWIG_fail
;
22046 Py_INCREF(Py_None
); resultobj
= Py_None
;
22053 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22054 PyObject
*resultobj
;
22055 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22057 PyObject
* obj0
= 0 ;
22058 char *kwnames
[] = {
22059 (char *) "self", NULL
22062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
22063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22067 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
22069 wxPyEndAllowThreads(__tstate
);
22070 if (PyErr_Occurred()) SWIG_fail
;
22072 resultobj
= SWIG_FromInt((int)result
);
22079 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22080 PyObject
*resultobj
;
22081 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22083 PyObject
* obj0
= 0 ;
22084 char *kwnames
[] = {
22085 (char *) "self", NULL
22088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
22089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22093 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
22095 wxPyEndAllowThreads(__tstate
);
22096 if (PyErr_Occurred()) SWIG_fail
;
22099 wxColour
* resultptr
;
22100 resultptr
= new wxColour((wxColour
&) result
);
22101 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22109 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22110 PyObject
*resultobj
;
22111 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22112 wxColour
*arg2
= 0 ;
22114 PyObject
* obj0
= 0 ;
22115 PyObject
* obj1
= 0 ;
22116 char *kwnames
[] = {
22117 (char *) "self",(char *) "col", NULL
22120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22125 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22129 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22131 wxPyEndAllowThreads(__tstate
);
22132 if (PyErr_Occurred()) SWIG_fail
;
22134 Py_INCREF(Py_None
); resultobj
= Py_None
;
22141 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22142 PyObject
*resultobj
;
22143 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22145 PyObject
* obj0
= 0 ;
22146 char *kwnames
[] = {
22147 (char *) "self", NULL
22150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
22151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22155 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
22157 wxPyEndAllowThreads(__tstate
);
22158 if (PyErr_Occurred()) SWIG_fail
;
22160 resultobj
= SWIG_FromLong((long)result
);
22167 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22168 PyObject
*resultobj
;
22169 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22171 bool arg3
= (bool) True
;
22172 PyObject
* obj0
= 0 ;
22173 PyObject
* obj1
= 0 ;
22174 PyObject
* obj2
= 0 ;
22175 char *kwnames
[] = {
22176 (char *) "self",(char *) "style",(char *) "add", NULL
22179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg3
= (bool) SWIG_AsBool(obj2
);
22186 if (PyErr_Occurred()) SWIG_fail
;
22189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22190 (arg1
)->SetSingleStyle(arg2
,arg3
);
22192 wxPyEndAllowThreads(__tstate
);
22193 if (PyErr_Occurred()) SWIG_fail
;
22195 Py_INCREF(Py_None
); resultobj
= Py_None
;
22202 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22203 PyObject
*resultobj
;
22204 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22206 PyObject
* obj0
= 0 ;
22207 PyObject
* obj1
= 0 ;
22208 char *kwnames
[] = {
22209 (char *) "self",(char *) "style", NULL
22212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
22213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22215 arg2
= (long) SWIG_AsLong(obj1
);
22216 if (PyErr_Occurred()) SWIG_fail
;
22218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22219 (arg1
)->SetWindowStyleFlag(arg2
);
22221 wxPyEndAllowThreads(__tstate
);
22222 if (PyErr_Occurred()) SWIG_fail
;
22224 Py_INCREF(Py_None
); resultobj
= Py_None
;
22231 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22232 PyObject
*resultobj
;
22233 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22235 int arg3
= (int) wxLIST_NEXT_ALL
;
22236 int arg4
= (int) wxLIST_STATE_DONTCARE
;
22238 PyObject
* obj0
= 0 ;
22239 PyObject
* obj1
= 0 ;
22240 PyObject
* obj2
= 0 ;
22241 PyObject
* obj3
= 0 ;
22242 char *kwnames
[] = {
22243 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
22246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22249 arg2
= (long) SWIG_AsLong(obj1
);
22250 if (PyErr_Occurred()) SWIG_fail
;
22252 arg3
= (int) SWIG_AsInt(obj2
);
22253 if (PyErr_Occurred()) SWIG_fail
;
22256 arg4
= (int) SWIG_AsInt(obj3
);
22257 if (PyErr_Occurred()) SWIG_fail
;
22260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22261 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
22263 wxPyEndAllowThreads(__tstate
);
22264 if (PyErr_Occurred()) SWIG_fail
;
22266 resultobj
= SWIG_FromLong((long)result
);
22273 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22274 PyObject
*resultobj
;
22275 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22277 wxImageList
*result
;
22278 PyObject
* obj0
= 0 ;
22279 PyObject
* obj1
= 0 ;
22280 char *kwnames
[] = {
22281 (char *) "self",(char *) "which", NULL
22284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
22285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22287 arg2
= (int) SWIG_AsInt(obj1
);
22288 if (PyErr_Occurred()) SWIG_fail
;
22290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22291 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
22293 wxPyEndAllowThreads(__tstate
);
22294 if (PyErr_Occurred()) SWIG_fail
;
22297 resultobj
= wxPyMake_wxObject(result
);
22305 static PyObject
*_wrap_ListCtrl_SetImageList(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_SetImageList",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
| 0)) == -1) SWIG_fail
;
22322 arg3
= (int) SWIG_AsInt(obj2
);
22323 if (PyErr_Occurred()) SWIG_fail
;
22325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22326 (arg1
)->SetImageList(arg2
,arg3
);
22328 wxPyEndAllowThreads(__tstate
);
22329 if (PyErr_Occurred()) SWIG_fail
;
22331 Py_INCREF(Py_None
); resultobj
= Py_None
;
22338 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22339 PyObject
*resultobj
;
22340 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22341 wxImageList
*arg2
= (wxImageList
*) 0 ;
22343 PyObject
* obj0
= 0 ;
22344 PyObject
* obj1
= 0 ;
22345 PyObject
* obj2
= 0 ;
22346 char *kwnames
[] = {
22347 (char *) "self",(char *) "imageList",(char *) "which", NULL
22350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22353 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22354 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22355 arg3
= (int) SWIG_AsInt(obj2
);
22356 if (PyErr_Occurred()) SWIG_fail
;
22358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22359 (arg1
)->AssignImageList(arg2
,arg3
);
22361 wxPyEndAllowThreads(__tstate
);
22362 if (PyErr_Occurred()) SWIG_fail
;
22364 Py_INCREF(Py_None
); resultobj
= Py_None
;
22371 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22372 PyObject
*resultobj
;
22373 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22375 PyObject
* obj0
= 0 ;
22376 char *kwnames
[] = {
22377 (char *) "self", NULL
22380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
22381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22385 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
22387 wxPyEndAllowThreads(__tstate
);
22388 if (PyErr_Occurred()) SWIG_fail
;
22391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22399 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22400 PyObject
*resultobj
;
22401 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22403 PyObject
* obj0
= 0 ;
22404 char *kwnames
[] = {
22405 (char *) "self", NULL
22408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
22409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22413 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
22415 wxPyEndAllowThreads(__tstate
);
22416 if (PyErr_Occurred()) SWIG_fail
;
22419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22427 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22428 PyObject
*resultobj
;
22429 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22431 PyObject
* obj0
= 0 ;
22432 PyObject
* obj1
= 0 ;
22433 char *kwnames
[] = {
22434 (char *) "self",(char *) "item", NULL
22437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22440 arg2
= (long) SWIG_AsLong(obj1
);
22441 if (PyErr_Occurred()) SWIG_fail
;
22443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22444 (arg1
)->RefreshItem(arg2
);
22446 wxPyEndAllowThreads(__tstate
);
22447 if (PyErr_Occurred()) SWIG_fail
;
22449 Py_INCREF(Py_None
); resultobj
= Py_None
;
22456 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22457 PyObject
*resultobj
;
22458 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22461 PyObject
* obj0
= 0 ;
22462 PyObject
* obj1
= 0 ;
22463 PyObject
* obj2
= 0 ;
22464 char *kwnames
[] = {
22465 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
22468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22471 arg2
= (long) SWIG_AsLong(obj1
);
22472 if (PyErr_Occurred()) SWIG_fail
;
22473 arg3
= (long) SWIG_AsLong(obj2
);
22474 if (PyErr_Occurred()) SWIG_fail
;
22476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22477 (arg1
)->RefreshItems(arg2
,arg3
);
22479 wxPyEndAllowThreads(__tstate
);
22480 if (PyErr_Occurred()) SWIG_fail
;
22482 Py_INCREF(Py_None
); resultobj
= Py_None
;
22489 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22490 PyObject
*resultobj
;
22491 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22492 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
22494 PyObject
* obj0
= 0 ;
22495 PyObject
* obj1
= 0 ;
22496 char *kwnames
[] = {
22497 (char *) "self",(char *) "flag", NULL
22500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
22501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22504 arg2
= (int) SWIG_AsInt(obj1
);
22505 if (PyErr_Occurred()) SWIG_fail
;
22508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22509 result
= (bool)(arg1
)->Arrange(arg2
);
22511 wxPyEndAllowThreads(__tstate
);
22512 if (PyErr_Occurred()) SWIG_fail
;
22515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22523 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22524 PyObject
*resultobj
;
22525 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22528 PyObject
* obj0
= 0 ;
22529 PyObject
* obj1
= 0 ;
22530 char *kwnames
[] = {
22531 (char *) "self",(char *) "item", NULL
22534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22537 arg2
= (long) SWIG_AsLong(obj1
);
22538 if (PyErr_Occurred()) SWIG_fail
;
22540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22541 result
= (bool)(arg1
)->DeleteItem(arg2
);
22543 wxPyEndAllowThreads(__tstate
);
22544 if (PyErr_Occurred()) SWIG_fail
;
22547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22555 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22556 PyObject
*resultobj
;
22557 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22559 PyObject
* obj0
= 0 ;
22560 char *kwnames
[] = {
22561 (char *) "self", NULL
22564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
22565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22569 result
= (bool)(arg1
)->DeleteAllItems();
22571 wxPyEndAllowThreads(__tstate
);
22572 if (PyErr_Occurred()) SWIG_fail
;
22575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22583 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22584 PyObject
*resultobj
;
22585 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22588 PyObject
* obj0
= 0 ;
22589 PyObject
* obj1
= 0 ;
22590 char *kwnames
[] = {
22591 (char *) "self",(char *) "col", NULL
22594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
22595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22597 arg2
= (int) SWIG_AsInt(obj1
);
22598 if (PyErr_Occurred()) SWIG_fail
;
22600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22601 result
= (bool)(arg1
)->DeleteColumn(arg2
);
22603 wxPyEndAllowThreads(__tstate
);
22604 if (PyErr_Occurred()) SWIG_fail
;
22607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22615 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22616 PyObject
*resultobj
;
22617 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22619 PyObject
* obj0
= 0 ;
22620 char *kwnames
[] = {
22621 (char *) "self", NULL
22624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
22625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22629 result
= (bool)(arg1
)->DeleteAllColumns();
22631 wxPyEndAllowThreads(__tstate
);
22632 if (PyErr_Occurred()) SWIG_fail
;
22635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22643 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22644 PyObject
*resultobj
;
22645 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22646 PyObject
* obj0
= 0 ;
22647 char *kwnames
[] = {
22648 (char *) "self", NULL
22651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
22652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22656 (arg1
)->ClearAll();
22658 wxPyEndAllowThreads(__tstate
);
22659 if (PyErr_Occurred()) SWIG_fail
;
22661 Py_INCREF(Py_None
); resultobj
= Py_None
;
22668 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22669 PyObject
*resultobj
;
22670 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22672 PyObject
* obj0
= 0 ;
22673 PyObject
* obj1
= 0 ;
22674 char *kwnames
[] = {
22675 (char *) "self",(char *) "item", NULL
22678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22681 arg2
= (long) SWIG_AsLong(obj1
);
22682 if (PyErr_Occurred()) SWIG_fail
;
22684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22685 (arg1
)->EditLabel(arg2
);
22687 wxPyEndAllowThreads(__tstate
);
22688 if (PyErr_Occurred()) SWIG_fail
;
22690 Py_INCREF(Py_None
); resultobj
= Py_None
;
22697 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22698 PyObject
*resultobj
;
22699 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22702 PyObject
* obj0
= 0 ;
22703 PyObject
* obj1
= 0 ;
22704 char *kwnames
[] = {
22705 (char *) "self",(char *) "item", NULL
22708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22711 arg2
= (long) SWIG_AsLong(obj1
);
22712 if (PyErr_Occurred()) SWIG_fail
;
22714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22715 result
= (bool)(arg1
)->EnsureVisible(arg2
);
22717 wxPyEndAllowThreads(__tstate
);
22718 if (PyErr_Occurred()) SWIG_fail
;
22721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22729 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22730 PyObject
*resultobj
;
22731 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22733 wxString
*arg3
= 0 ;
22734 bool arg4
= (bool) False
;
22736 bool temp3
= False
;
22737 PyObject
* obj0
= 0 ;
22738 PyObject
* obj1
= 0 ;
22739 PyObject
* obj2
= 0 ;
22740 PyObject
* obj3
= 0 ;
22741 char *kwnames
[] = {
22742 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
22745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22748 arg2
= (long) SWIG_AsLong(obj1
);
22749 if (PyErr_Occurred()) SWIG_fail
;
22751 arg3
= wxString_in_helper(obj2
);
22752 if (arg3
== NULL
) SWIG_fail
;
22756 arg4
= (bool) SWIG_AsBool(obj3
);
22757 if (PyErr_Occurred()) SWIG_fail
;
22760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22761 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
22763 wxPyEndAllowThreads(__tstate
);
22764 if (PyErr_Occurred()) SWIG_fail
;
22766 resultobj
= SWIG_FromLong((long)result
);
22781 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22782 PyObject
*resultobj
;
22783 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22787 PyObject
* obj0
= 0 ;
22788 PyObject
* obj1
= 0 ;
22789 PyObject
* obj2
= 0 ;
22790 char *kwnames
[] = {
22791 (char *) "self",(char *) "start",(char *) "data", NULL
22794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22797 arg2
= (long) SWIG_AsLong(obj1
);
22798 if (PyErr_Occurred()) SWIG_fail
;
22799 arg3
= (long) SWIG_AsLong(obj2
);
22800 if (PyErr_Occurred()) SWIG_fail
;
22802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22803 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
22805 wxPyEndAllowThreads(__tstate
);
22806 if (PyErr_Occurred()) SWIG_fail
;
22808 resultobj
= SWIG_FromLong((long)result
);
22815 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22816 PyObject
*resultobj
;
22817 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22819 wxPoint
*arg3
= 0 ;
22823 PyObject
* obj0
= 0 ;
22824 PyObject
* obj1
= 0 ;
22825 PyObject
* obj2
= 0 ;
22826 PyObject
* obj3
= 0 ;
22827 char *kwnames
[] = {
22828 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
22831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22834 arg2
= (long) SWIG_AsLong(obj1
);
22835 if (PyErr_Occurred()) SWIG_fail
;
22838 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22840 arg4
= (int) SWIG_AsInt(obj3
);
22841 if (PyErr_Occurred()) SWIG_fail
;
22843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22844 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
22846 wxPyEndAllowThreads(__tstate
);
22847 if (PyErr_Occurred()) SWIG_fail
;
22849 resultobj
= SWIG_FromLong((long)result
);
22856 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22857 PyObject
*resultobj
;
22858 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22859 wxPoint
*arg2
= 0 ;
22864 PyObject
* obj0
= 0 ;
22865 PyObject
* obj1
= 0 ;
22866 char *kwnames
[] = {
22867 (char *) "self",(char *) "point", NULL
22871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
22872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22876 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22880 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
22882 wxPyEndAllowThreads(__tstate
);
22883 if (PyErr_Occurred()) SWIG_fail
;
22885 resultobj
= SWIG_FromLong((long)result
);
22887 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22888 resultobj
= t_output_helper(resultobj
,o
);
22896 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22897 PyObject
*resultobj
;
22898 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22899 wxListItem
*arg2
= 0 ;
22901 PyObject
* obj0
= 0 ;
22902 PyObject
* obj1
= 0 ;
22903 char *kwnames
[] = {
22904 (char *) "self",(char *) "info", NULL
22907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22910 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
22911 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22913 if (arg2
== NULL
) {
22914 PyErr_SetString(PyExc_TypeError
,"null reference");
22918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22919 result
= (long)(arg1
)->InsertItem(*arg2
);
22921 wxPyEndAllowThreads(__tstate
);
22922 if (PyErr_Occurred()) SWIG_fail
;
22924 resultobj
= SWIG_FromLong((long)result
);
22931 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22932 PyObject
*resultobj
;
22933 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22935 wxString
*arg3
= 0 ;
22937 bool temp3
= False
;
22938 PyObject
* obj0
= 0 ;
22939 PyObject
* obj1
= 0 ;
22940 PyObject
* obj2
= 0 ;
22941 char *kwnames
[] = {
22942 (char *) "self",(char *) "index",(char *) "label", NULL
22945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22948 arg2
= (long) SWIG_AsLong(obj1
);
22949 if (PyErr_Occurred()) SWIG_fail
;
22951 arg3
= wxString_in_helper(obj2
);
22952 if (arg3
== NULL
) SWIG_fail
;
22956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22957 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
22959 wxPyEndAllowThreads(__tstate
);
22960 if (PyErr_Occurred()) SWIG_fail
;
22962 resultobj
= SWIG_FromLong((long)result
);
22977 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22978 PyObject
*resultobj
;
22979 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22983 PyObject
* obj0
= 0 ;
22984 PyObject
* obj1
= 0 ;
22985 PyObject
* obj2
= 0 ;
22986 char *kwnames
[] = {
22987 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
22990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22993 arg2
= (long) SWIG_AsLong(obj1
);
22994 if (PyErr_Occurred()) SWIG_fail
;
22995 arg3
= (int) SWIG_AsInt(obj2
);
22996 if (PyErr_Occurred()) SWIG_fail
;
22998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22999 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
23001 wxPyEndAllowThreads(__tstate
);
23002 if (PyErr_Occurred()) SWIG_fail
;
23004 resultobj
= SWIG_FromLong((long)result
);
23011 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23012 PyObject
*resultobj
;
23013 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23015 wxString
*arg3
= 0 ;
23018 bool temp3
= False
;
23019 PyObject
* obj0
= 0 ;
23020 PyObject
* obj1
= 0 ;
23021 PyObject
* obj2
= 0 ;
23022 PyObject
* obj3
= 0 ;
23023 char *kwnames
[] = {
23024 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
23027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23030 arg2
= (long) SWIG_AsLong(obj1
);
23031 if (PyErr_Occurred()) SWIG_fail
;
23033 arg3
= wxString_in_helper(obj2
);
23034 if (arg3
== NULL
) SWIG_fail
;
23037 arg4
= (int) SWIG_AsInt(obj3
);
23038 if (PyErr_Occurred()) SWIG_fail
;
23040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23041 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
23043 wxPyEndAllowThreads(__tstate
);
23044 if (PyErr_Occurred()) SWIG_fail
;
23046 resultobj
= SWIG_FromLong((long)result
);
23061 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23062 PyObject
*resultobj
;
23063 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23065 wxListItem
*arg3
= 0 ;
23067 PyObject
* obj0
= 0 ;
23068 PyObject
* obj1
= 0 ;
23069 PyObject
* obj2
= 0 ;
23070 char *kwnames
[] = {
23071 (char *) "self",(char *) "col",(char *) "info", NULL
23074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23077 arg2
= (long) SWIG_AsLong(obj1
);
23078 if (PyErr_Occurred()) SWIG_fail
;
23079 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
23080 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23082 if (arg3
== NULL
) {
23083 PyErr_SetString(PyExc_TypeError
,"null reference");
23087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23088 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
23090 wxPyEndAllowThreads(__tstate
);
23091 if (PyErr_Occurred()) SWIG_fail
;
23093 resultobj
= SWIG_FromLong((long)result
);
23100 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23101 PyObject
*resultobj
;
23102 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23104 wxString
*arg3
= 0 ;
23105 int arg4
= (int) wxLIST_FORMAT_LEFT
;
23106 int arg5
= (int) -1 ;
23108 bool temp3
= False
;
23109 PyObject
* obj0
= 0 ;
23110 PyObject
* obj1
= 0 ;
23111 PyObject
* obj2
= 0 ;
23112 PyObject
* obj3
= 0 ;
23113 PyObject
* obj4
= 0 ;
23114 char *kwnames
[] = {
23115 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
23118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23121 arg2
= (long) SWIG_AsLong(obj1
);
23122 if (PyErr_Occurred()) SWIG_fail
;
23124 arg3
= wxString_in_helper(obj2
);
23125 if (arg3
== NULL
) SWIG_fail
;
23129 arg4
= (int) SWIG_AsInt(obj3
);
23130 if (PyErr_Occurred()) SWIG_fail
;
23133 arg5
= (int) SWIG_AsInt(obj4
);
23134 if (PyErr_Occurred()) SWIG_fail
;
23137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23138 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
23140 wxPyEndAllowThreads(__tstate
);
23141 if (PyErr_Occurred()) SWIG_fail
;
23143 resultobj
= SWIG_FromLong((long)result
);
23158 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23159 PyObject
*resultobj
;
23160 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23162 PyObject
* obj0
= 0 ;
23163 PyObject
* obj1
= 0 ;
23164 char *kwnames
[] = {
23165 (char *) "self",(char *) "count", NULL
23168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
23169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23171 arg2
= (long) SWIG_AsLong(obj1
);
23172 if (PyErr_Occurred()) SWIG_fail
;
23174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23175 (arg1
)->SetItemCount(arg2
);
23177 wxPyEndAllowThreads(__tstate
);
23178 if (PyErr_Occurred()) SWIG_fail
;
23180 Py_INCREF(Py_None
); resultobj
= Py_None
;
23187 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23188 PyObject
*resultobj
;
23189 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23193 PyObject
* obj0
= 0 ;
23194 PyObject
* obj1
= 0 ;
23195 PyObject
* obj2
= 0 ;
23196 char *kwnames
[] = {
23197 (char *) "self",(char *) "dx",(char *) "dy", NULL
23200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23203 arg2
= (int) SWIG_AsInt(obj1
);
23204 if (PyErr_Occurred()) SWIG_fail
;
23205 arg3
= (int) SWIG_AsInt(obj2
);
23206 if (PyErr_Occurred()) SWIG_fail
;
23208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23209 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
23211 wxPyEndAllowThreads(__tstate
);
23212 if (PyErr_Occurred()) SWIG_fail
;
23215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23223 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23224 PyObject
*resultobj
;
23225 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23227 wxColour
*arg3
= 0 ;
23229 PyObject
* obj0
= 0 ;
23230 PyObject
* obj1
= 0 ;
23231 PyObject
* obj2
= 0 ;
23232 char *kwnames
[] = {
23233 (char *) "self",(char *) "item",(char *) "col", NULL
23236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23239 arg2
= (long) SWIG_AsLong(obj1
);
23240 if (PyErr_Occurred()) SWIG_fail
;
23243 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23247 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
23249 wxPyEndAllowThreads(__tstate
);
23250 if (PyErr_Occurred()) SWIG_fail
;
23252 Py_INCREF(Py_None
); resultobj
= Py_None
;
23259 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23260 PyObject
*resultobj
;
23261 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23264 PyObject
* obj0
= 0 ;
23265 PyObject
* obj1
= 0 ;
23266 char *kwnames
[] = {
23267 (char *) "self",(char *) "item", NULL
23270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23273 arg2
= (long) SWIG_AsLong(obj1
);
23274 if (PyErr_Occurred()) SWIG_fail
;
23276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23277 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
23279 wxPyEndAllowThreads(__tstate
);
23280 if (PyErr_Occurred()) SWIG_fail
;
23283 wxColour
* resultptr
;
23284 resultptr
= new wxColour((wxColour
&) result
);
23285 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23293 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23294 PyObject
*resultobj
;
23295 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23297 wxColour
*arg3
= 0 ;
23299 PyObject
* obj0
= 0 ;
23300 PyObject
* obj1
= 0 ;
23301 PyObject
* obj2
= 0 ;
23302 char *kwnames
[] = {
23303 (char *) "self",(char *) "item",(char *) "col", NULL
23306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23309 arg2
= (long) SWIG_AsLong(obj1
);
23310 if (PyErr_Occurred()) SWIG_fail
;
23313 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23317 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
23319 wxPyEndAllowThreads(__tstate
);
23320 if (PyErr_Occurred()) SWIG_fail
;
23322 Py_INCREF(Py_None
); resultobj
= Py_None
;
23329 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23330 PyObject
*resultobj
;
23331 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23334 PyObject
* obj0
= 0 ;
23335 PyObject
* obj1
= 0 ;
23336 char *kwnames
[] = {
23337 (char *) "self",(char *) "item", NULL
23340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23343 arg2
= (long) SWIG_AsLong(obj1
);
23344 if (PyErr_Occurred()) SWIG_fail
;
23346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23347 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
23349 wxPyEndAllowThreads(__tstate
);
23350 if (PyErr_Occurred()) SWIG_fail
;
23353 wxColour
* resultptr
;
23354 resultptr
= new wxColour((wxColour
&) result
);
23355 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23363 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23364 PyObject
*resultobj
;
23365 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23366 PyObject
*arg2
= (PyObject
*) 0 ;
23368 PyObject
* obj0
= 0 ;
23369 PyObject
* obj1
= 0 ;
23370 char *kwnames
[] = {
23371 (char *) "self",(char *) "func", NULL
23374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
23375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23380 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
23382 wxPyEndAllowThreads(__tstate
);
23383 if (PyErr_Occurred()) SWIG_fail
;
23386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23394 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23395 PyObject
*resultobj
;
23396 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23398 PyObject
* obj0
= 0 ;
23399 char *kwnames
[] = {
23400 (char *) "self", NULL
23403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
23404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23408 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
23410 wxPyEndAllowThreads(__tstate
);
23411 if (PyErr_Occurred()) SWIG_fail
;
23414 resultobj
= wxPyMake_wxObject(result
);
23422 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23423 PyObject
*resultobj
;
23424 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
23425 wxVisualAttributes result
;
23426 PyObject
* obj0
= 0 ;
23427 char *kwnames
[] = {
23428 (char *) "variant", NULL
23431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
23433 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
23434 if (PyErr_Occurred()) SWIG_fail
;
23437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23438 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
23440 wxPyEndAllowThreads(__tstate
);
23441 if (PyErr_Occurred()) SWIG_fail
;
23444 wxVisualAttributes
* resultptr
;
23445 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
23446 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
23454 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
23456 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23457 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
23459 return Py_BuildValue((char *)"");
23461 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23462 PyObject
*resultobj
;
23463 wxWindow
*arg1
= (wxWindow
*) 0 ;
23464 int arg2
= (int) -1 ;
23465 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23466 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23467 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23468 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23469 long arg5
= (long) wxLC_REPORT
;
23470 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23471 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23472 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
23473 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23474 wxListView
*result
;
23477 bool temp7
= False
;
23478 PyObject
* obj0
= 0 ;
23479 PyObject
* obj1
= 0 ;
23480 PyObject
* obj2
= 0 ;
23481 PyObject
* obj3
= 0 ;
23482 PyObject
* obj4
= 0 ;
23483 PyObject
* obj5
= 0 ;
23484 PyObject
* obj6
= 0 ;
23485 char *kwnames
[] = {
23486 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23493 arg2
= (int) SWIG_AsInt(obj1
);
23494 if (PyErr_Occurred()) SWIG_fail
;
23499 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23505 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23509 arg5
= (long) SWIG_AsLong(obj4
);
23510 if (PyErr_Occurred()) SWIG_fail
;
23513 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
23514 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23516 if (arg6
== NULL
) {
23517 PyErr_SetString(PyExc_TypeError
,"null reference");
23523 arg7
= wxString_in_helper(obj6
);
23524 if (arg7
== NULL
) SWIG_fail
;
23529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23530 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23532 wxPyEndAllowThreads(__tstate
);
23533 if (PyErr_Occurred()) SWIG_fail
;
23535 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
23550 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23551 PyObject
*resultobj
;
23552 wxListView
*result
;
23553 char *kwnames
[] = {
23557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
23559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23560 result
= (wxListView
*)new wxListView();
23562 wxPyEndAllowThreads(__tstate
);
23563 if (PyErr_Occurred()) SWIG_fail
;
23565 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
23572 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23573 PyObject
*resultobj
;
23574 wxListView
*arg1
= (wxListView
*) 0 ;
23575 wxWindow
*arg2
= (wxWindow
*) 0 ;
23576 int arg3
= (int) -1 ;
23577 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23578 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23579 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23580 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23581 long arg6
= (long) wxLC_REPORT
;
23582 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23583 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23584 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
23585 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23589 bool temp8
= False
;
23590 PyObject
* obj0
= 0 ;
23591 PyObject
* obj1
= 0 ;
23592 PyObject
* obj2
= 0 ;
23593 PyObject
* obj3
= 0 ;
23594 PyObject
* obj4
= 0 ;
23595 PyObject
* obj5
= 0 ;
23596 PyObject
* obj6
= 0 ;
23597 PyObject
* obj7
= 0 ;
23598 char *kwnames
[] = {
23599 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23605 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23608 arg3
= (int) SWIG_AsInt(obj2
);
23609 if (PyErr_Occurred()) SWIG_fail
;
23614 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23620 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23624 arg6
= (long) SWIG_AsLong(obj5
);
23625 if (PyErr_Occurred()) SWIG_fail
;
23628 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
23629 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23631 if (arg7
== NULL
) {
23632 PyErr_SetString(PyExc_TypeError
,"null reference");
23638 arg8
= wxString_in_helper(obj7
);
23639 if (arg8
== NULL
) SWIG_fail
;
23644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23645 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23647 wxPyEndAllowThreads(__tstate
);
23648 if (PyErr_Occurred()) SWIG_fail
;
23651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23667 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23668 PyObject
*resultobj
;
23669 wxListView
*arg1
= (wxListView
*) 0 ;
23671 bool arg3
= (bool) True
;
23672 PyObject
* obj0
= 0 ;
23673 PyObject
* obj1
= 0 ;
23674 PyObject
* obj2
= 0 ;
23675 char *kwnames
[] = {
23676 (char *) "self",(char *) "n",(char *) "on", NULL
23679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg3
= (bool) SWIG_AsBool(obj2
);
23686 if (PyErr_Occurred()) SWIG_fail
;
23689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23690 (arg1
)->Select(arg2
,arg3
);
23692 wxPyEndAllowThreads(__tstate
);
23693 if (PyErr_Occurred()) SWIG_fail
;
23695 Py_INCREF(Py_None
); resultobj
= Py_None
;
23702 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23703 PyObject
*resultobj
;
23704 wxListView
*arg1
= (wxListView
*) 0 ;
23706 PyObject
* obj0
= 0 ;
23707 PyObject
* obj1
= 0 ;
23708 char *kwnames
[] = {
23709 (char *) "self",(char *) "index", NULL
23712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
23713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23715 arg2
= (long) SWIG_AsLong(obj1
);
23716 if (PyErr_Occurred()) SWIG_fail
;
23718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23719 (arg1
)->Focus(arg2
);
23721 wxPyEndAllowThreads(__tstate
);
23722 if (PyErr_Occurred()) SWIG_fail
;
23724 Py_INCREF(Py_None
); resultobj
= Py_None
;
23731 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23732 PyObject
*resultobj
;
23733 wxListView
*arg1
= (wxListView
*) 0 ;
23735 PyObject
* obj0
= 0 ;
23736 char *kwnames
[] = {
23737 (char *) "self", NULL
23740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
23741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23745 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
23747 wxPyEndAllowThreads(__tstate
);
23748 if (PyErr_Occurred()) SWIG_fail
;
23750 resultobj
= SWIG_FromLong((long)result
);
23757 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23758 PyObject
*resultobj
;
23759 wxListView
*arg1
= (wxListView
*) 0 ;
23762 PyObject
* obj0
= 0 ;
23763 PyObject
* obj1
= 0 ;
23764 char *kwnames
[] = {
23765 (char *) "self",(char *) "item", NULL
23768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
23769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23771 arg2
= (long) SWIG_AsLong(obj1
);
23772 if (PyErr_Occurred()) SWIG_fail
;
23774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23775 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
23777 wxPyEndAllowThreads(__tstate
);
23778 if (PyErr_Occurred()) SWIG_fail
;
23780 resultobj
= SWIG_FromLong((long)result
);
23787 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23788 PyObject
*resultobj
;
23789 wxListView
*arg1
= (wxListView
*) 0 ;
23791 PyObject
* obj0
= 0 ;
23792 char *kwnames
[] = {
23793 (char *) "self", NULL
23796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
23797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23801 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
23803 wxPyEndAllowThreads(__tstate
);
23804 if (PyErr_Occurred()) SWIG_fail
;
23806 resultobj
= SWIG_FromLong((long)result
);
23813 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23814 PyObject
*resultobj
;
23815 wxListView
*arg1
= (wxListView
*) 0 ;
23818 PyObject
* obj0
= 0 ;
23819 PyObject
* obj1
= 0 ;
23820 char *kwnames
[] = {
23821 (char *) "self",(char *) "index", NULL
23824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
23825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23827 arg2
= (long) SWIG_AsLong(obj1
);
23828 if (PyErr_Occurred()) SWIG_fail
;
23830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23831 result
= (bool)(arg1
)->IsSelected(arg2
);
23833 wxPyEndAllowThreads(__tstate
);
23834 if (PyErr_Occurred()) SWIG_fail
;
23837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23845 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23846 PyObject
*resultobj
;
23847 wxListView
*arg1
= (wxListView
*) 0 ;
23850 PyObject
* obj0
= 0 ;
23851 PyObject
* obj1
= 0 ;
23852 PyObject
* obj2
= 0 ;
23853 char *kwnames
[] = {
23854 (char *) "self",(char *) "col",(char *) "image", NULL
23857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23860 arg2
= (int) SWIG_AsInt(obj1
);
23861 if (PyErr_Occurred()) SWIG_fail
;
23862 arg3
= (int) SWIG_AsInt(obj2
);
23863 if (PyErr_Occurred()) SWIG_fail
;
23865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23866 (arg1
)->SetColumnImage(arg2
,arg3
);
23868 wxPyEndAllowThreads(__tstate
);
23869 if (PyErr_Occurred()) SWIG_fail
;
23871 Py_INCREF(Py_None
); resultobj
= Py_None
;
23878 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23879 PyObject
*resultobj
;
23880 wxListView
*arg1
= (wxListView
*) 0 ;
23882 PyObject
* obj0
= 0 ;
23883 PyObject
* obj1
= 0 ;
23884 char *kwnames
[] = {
23885 (char *) "self",(char *) "col", NULL
23888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
23889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23891 arg2
= (int) SWIG_AsInt(obj1
);
23892 if (PyErr_Occurred()) SWIG_fail
;
23894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23895 (arg1
)->ClearColumnImage(arg2
);
23897 wxPyEndAllowThreads(__tstate
);
23898 if (PyErr_Occurred()) SWIG_fail
;
23900 Py_INCREF(Py_None
); resultobj
= Py_None
;
23907 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
23909 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23910 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
23912 return Py_BuildValue((char *)"");
23914 static int _wrap_TreeCtrlNameStr_set(PyObject
*_val
) {
23915 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
23920 static PyObject
*_wrap_TreeCtrlNameStr_get() {
23925 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
23927 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
23934 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23935 PyObject
*resultobj
;
23936 wxTreeItemId
*result
;
23937 char *kwnames
[] = {
23941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
23943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23944 result
= (wxTreeItemId
*)new wxTreeItemId();
23946 wxPyEndAllowThreads(__tstate
);
23947 if (PyErr_Occurred()) SWIG_fail
;
23949 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
23956 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23957 PyObject
*resultobj
;
23958 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23959 PyObject
* obj0
= 0 ;
23960 char *kwnames
[] = {
23961 (char *) "self", NULL
23964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
23965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23971 wxPyEndAllowThreads(__tstate
);
23972 if (PyErr_Occurred()) SWIG_fail
;
23974 Py_INCREF(Py_None
); resultobj
= Py_None
;
23981 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23982 PyObject
*resultobj
;
23983 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23985 PyObject
* obj0
= 0 ;
23986 char *kwnames
[] = {
23987 (char *) "self", NULL
23990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
23991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23995 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
23997 wxPyEndAllowThreads(__tstate
);
23998 if (PyErr_Occurred()) SWIG_fail
;
24001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24009 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24010 PyObject
*resultobj
;
24011 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24012 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24014 PyObject
* obj0
= 0 ;
24015 PyObject
* obj1
= 0 ;
24016 char *kwnames
[] = {
24017 (char *) "self",(char *) "other", NULL
24020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24023 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24027 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
24029 wxPyEndAllowThreads(__tstate
);
24030 if (PyErr_Occurred()) SWIG_fail
;
24033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24041 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24042 PyObject
*resultobj
;
24043 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24044 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24046 PyObject
* obj0
= 0 ;
24047 PyObject
* obj1
= 0 ;
24048 char *kwnames
[] = {
24049 (char *) "self",(char *) "other", NULL
24052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24055 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24059 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
24061 wxPyEndAllowThreads(__tstate
);
24062 if (PyErr_Occurred()) SWIG_fail
;
24065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24073 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24074 PyObject
*resultobj
;
24075 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24076 void *arg2
= (void *) 0 ;
24077 PyObject
* obj0
= 0 ;
24078 PyObject
* obj1
= 0 ;
24079 char *kwnames
[] = {
24080 (char *) "self",(char *) "m_pItem", NULL
24083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24086 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24087 if (arg1
) (arg1
)->m_pItem
= arg2
;
24089 Py_INCREF(Py_None
); resultobj
= Py_None
;
24096 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24097 PyObject
*resultobj
;
24098 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24100 PyObject
* obj0
= 0 ;
24101 char *kwnames
[] = {
24102 (char *) "self", NULL
24105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
24106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24108 result
= (void *) ((arg1
)->m_pItem
);
24110 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
24117 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
24119 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24120 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
24122 return Py_BuildValue((char *)"");
24124 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24125 PyObject
*resultobj
;
24126 PyObject
*arg1
= (PyObject
*) NULL
;
24127 wxPyTreeItemData
*result
;
24128 PyObject
* obj0
= 0 ;
24129 char *kwnames
[] = {
24130 (char *) "obj", NULL
24133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
24138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24139 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
24141 wxPyEndAllowThreads(__tstate
);
24142 if (PyErr_Occurred()) SWIG_fail
;
24144 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
24151 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24152 PyObject
*resultobj
;
24153 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24155 PyObject
* obj0
= 0 ;
24156 char *kwnames
[] = {
24157 (char *) "self", NULL
24160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
24161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24165 result
= (PyObject
*)(arg1
)->GetData();
24167 wxPyEndAllowThreads(__tstate
);
24168 if (PyErr_Occurred()) SWIG_fail
;
24170 resultobj
= result
;
24177 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24178 PyObject
*resultobj
;
24179 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24180 PyObject
*arg2
= (PyObject
*) 0 ;
24181 PyObject
* obj0
= 0 ;
24182 PyObject
* obj1
= 0 ;
24183 char *kwnames
[] = {
24184 (char *) "self",(char *) "obj", NULL
24187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24193 (arg1
)->SetData(arg2
);
24195 wxPyEndAllowThreads(__tstate
);
24196 if (PyErr_Occurred()) SWIG_fail
;
24198 Py_INCREF(Py_None
); resultobj
= Py_None
;
24205 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24206 PyObject
*resultobj
;
24207 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24208 wxTreeItemId
*result
;
24209 PyObject
* obj0
= 0 ;
24210 char *kwnames
[] = {
24211 (char *) "self", NULL
24214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
24215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24220 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
24221 result
= (wxTreeItemId
*) &_result_ref
;
24224 wxPyEndAllowThreads(__tstate
);
24225 if (PyErr_Occurred()) SWIG_fail
;
24227 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
24234 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24235 PyObject
*resultobj
;
24236 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24237 wxTreeItemId
*arg2
= 0 ;
24238 PyObject
* obj0
= 0 ;
24239 PyObject
* obj1
= 0 ;
24240 char *kwnames
[] = {
24241 (char *) "self",(char *) "id", NULL
24244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24247 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24248 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24250 if (arg2
== NULL
) {
24251 PyErr_SetString(PyExc_TypeError
,"null reference");
24255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24256 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
24258 wxPyEndAllowThreads(__tstate
);
24259 if (PyErr_Occurred()) SWIG_fail
;
24261 Py_INCREF(Py_None
); resultobj
= Py_None
;
24268 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24269 PyObject
*resultobj
;
24270 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24271 PyObject
* obj0
= 0 ;
24272 char *kwnames
[] = {
24273 (char *) "self", NULL
24276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
24277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24281 wxPyTreeItemData_Destroy(arg1
);
24283 wxPyEndAllowThreads(__tstate
);
24284 if (PyErr_Occurred()) SWIG_fail
;
24286 Py_INCREF(Py_None
); resultobj
= Py_None
;
24293 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
24295 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24296 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
24298 return Py_BuildValue((char *)"");
24300 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24301 PyObject
*resultobj
;
24302 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
24303 int arg2
= (int) 0 ;
24304 wxTreeEvent
*result
;
24305 PyObject
* obj0
= 0 ;
24306 PyObject
* obj1
= 0 ;
24307 char *kwnames
[] = {
24308 (char *) "commandType",(char *) "id", NULL
24311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24313 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
24314 if (PyErr_Occurred()) SWIG_fail
;
24317 arg2
= (int) SWIG_AsInt(obj1
);
24318 if (PyErr_Occurred()) SWIG_fail
;
24321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24322 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
24324 wxPyEndAllowThreads(__tstate
);
24325 if (PyErr_Occurred()) SWIG_fail
;
24327 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
24334 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24335 PyObject
*resultobj
;
24336 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24337 wxTreeItemId result
;
24338 PyObject
* obj0
= 0 ;
24339 char *kwnames
[] = {
24340 (char *) "self", NULL
24343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
24344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24348 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
24350 wxPyEndAllowThreads(__tstate
);
24351 if (PyErr_Occurred()) SWIG_fail
;
24354 wxTreeItemId
* resultptr
;
24355 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24356 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24364 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24365 PyObject
*resultobj
;
24366 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24367 wxTreeItemId
*arg2
= 0 ;
24368 PyObject
* obj0
= 0 ;
24369 PyObject
* obj1
= 0 ;
24370 char *kwnames
[] = {
24371 (char *) "self",(char *) "item", NULL
24374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24377 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24378 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24380 if (arg2
== NULL
) {
24381 PyErr_SetString(PyExc_TypeError
,"null reference");
24385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24386 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
24388 wxPyEndAllowThreads(__tstate
);
24389 if (PyErr_Occurred()) SWIG_fail
;
24391 Py_INCREF(Py_None
); resultobj
= Py_None
;
24398 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24399 PyObject
*resultobj
;
24400 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24401 wxTreeItemId result
;
24402 PyObject
* obj0
= 0 ;
24403 char *kwnames
[] = {
24404 (char *) "self", NULL
24407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
24408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24412 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
24414 wxPyEndAllowThreads(__tstate
);
24415 if (PyErr_Occurred()) SWIG_fail
;
24418 wxTreeItemId
* resultptr
;
24419 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24420 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24428 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24429 PyObject
*resultobj
;
24430 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24431 wxTreeItemId
*arg2
= 0 ;
24432 PyObject
* obj0
= 0 ;
24433 PyObject
* obj1
= 0 ;
24434 char *kwnames
[] = {
24435 (char *) "self",(char *) "item", NULL
24438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24441 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24442 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24444 if (arg2
== NULL
) {
24445 PyErr_SetString(PyExc_TypeError
,"null reference");
24449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24450 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
24452 wxPyEndAllowThreads(__tstate
);
24453 if (PyErr_Occurred()) SWIG_fail
;
24455 Py_INCREF(Py_None
); resultobj
= Py_None
;
24462 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24463 PyObject
*resultobj
;
24464 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24466 PyObject
* obj0
= 0 ;
24467 char *kwnames
[] = {
24468 (char *) "self", NULL
24471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
24472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24476 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
24478 wxPyEndAllowThreads(__tstate
);
24479 if (PyErr_Occurred()) SWIG_fail
;
24482 wxPoint
* resultptr
;
24483 resultptr
= new wxPoint((wxPoint
&) result
);
24484 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24492 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24493 PyObject
*resultobj
;
24494 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24495 wxPoint
*arg2
= 0 ;
24497 PyObject
* obj0
= 0 ;
24498 PyObject
* obj1
= 0 ;
24499 char *kwnames
[] = {
24500 (char *) "self",(char *) "pt", NULL
24503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
24504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24508 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24512 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
24514 wxPyEndAllowThreads(__tstate
);
24515 if (PyErr_Occurred()) SWIG_fail
;
24517 Py_INCREF(Py_None
); resultobj
= Py_None
;
24524 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24525 PyObject
*resultobj
;
24526 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24527 wxKeyEvent
*result
;
24528 PyObject
* obj0
= 0 ;
24529 char *kwnames
[] = {
24530 (char *) "self", NULL
24533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
24534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24539 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
24540 result
= (wxKeyEvent
*) &_result_ref
;
24543 wxPyEndAllowThreads(__tstate
);
24544 if (PyErr_Occurred()) SWIG_fail
;
24546 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
24553 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24554 PyObject
*resultobj
;
24555 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24557 PyObject
* obj0
= 0 ;
24558 char *kwnames
[] = {
24559 (char *) "self", NULL
24562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24567 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
24569 wxPyEndAllowThreads(__tstate
);
24570 if (PyErr_Occurred()) SWIG_fail
;
24572 resultobj
= SWIG_FromInt((int)result
);
24579 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24580 PyObject
*resultobj
;
24581 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24582 wxKeyEvent
*arg2
= 0 ;
24583 PyObject
* obj0
= 0 ;
24584 PyObject
* obj1
= 0 ;
24585 char *kwnames
[] = {
24586 (char *) "self",(char *) "evt", NULL
24589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24592 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
24593 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24595 if (arg2
== NULL
) {
24596 PyErr_SetString(PyExc_TypeError
,"null reference");
24600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24601 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
24603 wxPyEndAllowThreads(__tstate
);
24604 if (PyErr_Occurred()) SWIG_fail
;
24606 Py_INCREF(Py_None
); resultobj
= Py_None
;
24613 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24614 PyObject
*resultobj
;
24615 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24617 PyObject
* obj0
= 0 ;
24618 char *kwnames
[] = {
24619 (char *) "self", NULL
24622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
24623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24628 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
24629 result
= (wxString
*) &_result_ref
;
24632 wxPyEndAllowThreads(__tstate
);
24633 if (PyErr_Occurred()) SWIG_fail
;
24637 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24639 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24648 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24649 PyObject
*resultobj
;
24650 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24651 wxString
*arg2
= 0 ;
24652 bool temp2
= False
;
24653 PyObject
* obj0
= 0 ;
24654 PyObject
* obj1
= 0 ;
24655 char *kwnames
[] = {
24656 (char *) "self",(char *) "label", NULL
24659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
24660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24663 arg2
= wxString_in_helper(obj1
);
24664 if (arg2
== NULL
) SWIG_fail
;
24668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24669 (arg1
)->SetLabel((wxString
const &)*arg2
);
24671 wxPyEndAllowThreads(__tstate
);
24672 if (PyErr_Occurred()) SWIG_fail
;
24674 Py_INCREF(Py_None
); resultobj
= Py_None
;
24689 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24690 PyObject
*resultobj
;
24691 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24693 PyObject
* obj0
= 0 ;
24694 char *kwnames
[] = {
24695 (char *) "self", NULL
24698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
24699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24703 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
24705 wxPyEndAllowThreads(__tstate
);
24706 if (PyErr_Occurred()) SWIG_fail
;
24709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24717 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24718 PyObject
*resultobj
;
24719 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24721 PyObject
* obj0
= 0 ;
24722 PyObject
* obj1
= 0 ;
24723 char *kwnames
[] = {
24724 (char *) "self",(char *) "editCancelled", NULL
24727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
24728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24730 arg2
= (bool) SWIG_AsBool(obj1
);
24731 if (PyErr_Occurred()) SWIG_fail
;
24733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24734 (arg1
)->SetEditCanceled(arg2
);
24736 wxPyEndAllowThreads(__tstate
);
24737 if (PyErr_Occurred()) SWIG_fail
;
24739 Py_INCREF(Py_None
); resultobj
= Py_None
;
24746 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24747 PyObject
*resultobj
;
24748 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24749 wxString
*arg2
= 0 ;
24750 bool temp2
= False
;
24751 PyObject
* obj0
= 0 ;
24752 PyObject
* obj1
= 0 ;
24753 char *kwnames
[] = {
24754 (char *) "self",(char *) "toolTip", NULL
24757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
24758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24761 arg2
= wxString_in_helper(obj1
);
24762 if (arg2
== NULL
) SWIG_fail
;
24766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24767 (arg1
)->SetToolTip((wxString
const &)*arg2
);
24769 wxPyEndAllowThreads(__tstate
);
24770 if (PyErr_Occurred()) SWIG_fail
;
24772 Py_INCREF(Py_None
); resultobj
= Py_None
;
24787 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
24789 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24790 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
24792 return Py_BuildValue((char *)"");
24794 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24795 PyObject
*resultobj
;
24796 wxWindow
*arg1
= (wxWindow
*) 0 ;
24797 int arg2
= (int) -1 ;
24798 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24799 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24800 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24801 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24802 long arg5
= (long) wxTR_DEFAULT_STYLE
;
24803 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
24804 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
24805 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
24806 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24807 wxPyTreeCtrl
*result
;
24810 bool temp7
= False
;
24811 PyObject
* obj0
= 0 ;
24812 PyObject
* obj1
= 0 ;
24813 PyObject
* obj2
= 0 ;
24814 PyObject
* obj3
= 0 ;
24815 PyObject
* obj4
= 0 ;
24816 PyObject
* obj5
= 0 ;
24817 PyObject
* obj6
= 0 ;
24818 char *kwnames
[] = {
24819 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24826 arg2
= (int) SWIG_AsInt(obj1
);
24827 if (PyErr_Occurred()) SWIG_fail
;
24832 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24838 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24842 arg5
= (long) SWIG_AsLong(obj4
);
24843 if (PyErr_Occurred()) SWIG_fail
;
24846 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
24847 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24849 if (arg6
== NULL
) {
24850 PyErr_SetString(PyExc_TypeError
,"null reference");
24856 arg7
= wxString_in_helper(obj6
);
24857 if (arg7
== NULL
) SWIG_fail
;
24862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24863 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
24865 wxPyEndAllowThreads(__tstate
);
24866 if (PyErr_Occurred()) SWIG_fail
;
24869 resultobj
= wxPyMake_wxObject(result
);
24885 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24886 PyObject
*resultobj
;
24887 wxPyTreeCtrl
*result
;
24888 char *kwnames
[] = {
24892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
24894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24895 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
24897 wxPyEndAllowThreads(__tstate
);
24898 if (PyErr_Occurred()) SWIG_fail
;
24901 resultobj
= wxPyMake_wxObject(result
);
24909 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24910 PyObject
*resultobj
;
24911 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24912 wxWindow
*arg2
= (wxWindow
*) 0 ;
24913 int arg3
= (int) -1 ;
24914 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24915 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24916 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24917 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24918 long arg6
= (long) wxTR_DEFAULT_STYLE
;
24919 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
24920 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
24921 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
24922 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
24926 bool temp8
= False
;
24927 PyObject
* obj0
= 0 ;
24928 PyObject
* obj1
= 0 ;
24929 PyObject
* obj2
= 0 ;
24930 PyObject
* obj3
= 0 ;
24931 PyObject
* obj4
= 0 ;
24932 PyObject
* obj5
= 0 ;
24933 PyObject
* obj6
= 0 ;
24934 PyObject
* obj7
= 0 ;
24935 char *kwnames
[] = {
24936 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
24940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24942 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24945 arg3
= (int) SWIG_AsInt(obj2
);
24946 if (PyErr_Occurred()) SWIG_fail
;
24951 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24957 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24961 arg6
= (long) SWIG_AsLong(obj5
);
24962 if (PyErr_Occurred()) SWIG_fail
;
24965 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
24966 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24968 if (arg7
== NULL
) {
24969 PyErr_SetString(PyExc_TypeError
,"null reference");
24975 arg8
= wxString_in_helper(obj7
);
24976 if (arg8
== NULL
) SWIG_fail
;
24981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24982 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
24984 wxPyEndAllowThreads(__tstate
);
24985 if (PyErr_Occurred()) SWIG_fail
;
24988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25004 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25005 PyObject
*resultobj
;
25006 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25007 PyObject
*arg2
= (PyObject
*) 0 ;
25008 PyObject
*arg3
= (PyObject
*) 0 ;
25009 PyObject
* obj0
= 0 ;
25010 PyObject
* obj1
= 0 ;
25011 PyObject
* obj2
= 0 ;
25012 char *kwnames
[] = {
25013 (char *) "self",(char *) "self",(char *) "_class", NULL
25016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25023 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25025 wxPyEndAllowThreads(__tstate
);
25026 if (PyErr_Occurred()) SWIG_fail
;
25028 Py_INCREF(Py_None
); resultobj
= Py_None
;
25035 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25036 PyObject
*resultobj
;
25037 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25039 PyObject
* obj0
= 0 ;
25040 char *kwnames
[] = {
25041 (char *) "self", NULL
25044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
25045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25049 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
25051 wxPyEndAllowThreads(__tstate
);
25052 if (PyErr_Occurred()) SWIG_fail
;
25054 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25061 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25062 PyObject
*resultobj
;
25063 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25064 unsigned int result
;
25065 PyObject
* obj0
= 0 ;
25066 char *kwnames
[] = {
25067 (char *) "self", NULL
25070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
25071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25075 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
25077 wxPyEndAllowThreads(__tstate
);
25078 if (PyErr_Occurred()) SWIG_fail
;
25080 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
25087 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25088 PyObject
*resultobj
;
25089 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25090 unsigned int arg2
;
25091 PyObject
* obj0
= 0 ;
25092 PyObject
* obj1
= 0 ;
25093 char *kwnames
[] = {
25094 (char *) "self",(char *) "indent", NULL
25097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
25098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25100 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
25101 if (PyErr_Occurred()) SWIG_fail
;
25103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25104 (arg1
)->SetIndent(arg2
);
25106 wxPyEndAllowThreads(__tstate
);
25107 if (PyErr_Occurred()) SWIG_fail
;
25109 Py_INCREF(Py_None
); resultobj
= Py_None
;
25116 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25117 PyObject
*resultobj
;
25118 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25119 unsigned int result
;
25120 PyObject
* obj0
= 0 ;
25121 char *kwnames
[] = {
25122 (char *) "self", NULL
25125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
25126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25130 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
25132 wxPyEndAllowThreads(__tstate
);
25133 if (PyErr_Occurred()) SWIG_fail
;
25135 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
25142 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25143 PyObject
*resultobj
;
25144 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25145 unsigned int arg2
;
25146 PyObject
* obj0
= 0 ;
25147 PyObject
* obj1
= 0 ;
25148 char *kwnames
[] = {
25149 (char *) "self",(char *) "spacing", NULL
25152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
25153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25155 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
25156 if (PyErr_Occurred()) SWIG_fail
;
25158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25159 (arg1
)->SetSpacing(arg2
);
25161 wxPyEndAllowThreads(__tstate
);
25162 if (PyErr_Occurred()) SWIG_fail
;
25164 Py_INCREF(Py_None
); resultobj
= Py_None
;
25171 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25172 PyObject
*resultobj
;
25173 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25174 wxImageList
*result
;
25175 PyObject
* obj0
= 0 ;
25176 char *kwnames
[] = {
25177 (char *) "self", NULL
25180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
25181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25185 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
25187 wxPyEndAllowThreads(__tstate
);
25188 if (PyErr_Occurred()) SWIG_fail
;
25191 resultobj
= wxPyMake_wxObject(result
);
25199 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25200 PyObject
*resultobj
;
25201 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25202 wxImageList
*result
;
25203 PyObject
* obj0
= 0 ;
25204 char *kwnames
[] = {
25205 (char *) "self", NULL
25208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
25209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25213 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
25215 wxPyEndAllowThreads(__tstate
);
25216 if (PyErr_Occurred()) SWIG_fail
;
25219 resultobj
= wxPyMake_wxObject(result
);
25227 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25228 PyObject
*resultobj
;
25229 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25230 wxImageList
*arg2
= (wxImageList
*) 0 ;
25231 PyObject
* obj0
= 0 ;
25232 PyObject
* obj1
= 0 ;
25233 char *kwnames
[] = {
25234 (char *) "self",(char *) "imageList", NULL
25237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25240 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25244 (arg1
)->SetImageList(arg2
);
25246 wxPyEndAllowThreads(__tstate
);
25247 if (PyErr_Occurred()) SWIG_fail
;
25249 Py_INCREF(Py_None
); resultobj
= Py_None
;
25256 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25257 PyObject
*resultobj
;
25258 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25259 wxImageList
*arg2
= (wxImageList
*) 0 ;
25260 PyObject
* obj0
= 0 ;
25261 PyObject
* obj1
= 0 ;
25262 char *kwnames
[] = {
25263 (char *) "self",(char *) "imageList", NULL
25266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25269 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25273 (arg1
)->SetStateImageList(arg2
);
25275 wxPyEndAllowThreads(__tstate
);
25276 if (PyErr_Occurred()) SWIG_fail
;
25278 Py_INCREF(Py_None
); resultobj
= Py_None
;
25285 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25286 PyObject
*resultobj
;
25287 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25288 wxImageList
*arg2
= (wxImageList
*) 0 ;
25289 PyObject
* obj0
= 0 ;
25290 PyObject
* obj1
= 0 ;
25291 char *kwnames
[] = {
25292 (char *) "self",(char *) "imageList", NULL
25295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25298 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25299 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25302 (arg1
)->AssignImageList(arg2
);
25304 wxPyEndAllowThreads(__tstate
);
25305 if (PyErr_Occurred()) SWIG_fail
;
25307 Py_INCREF(Py_None
); resultobj
= Py_None
;
25314 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25315 PyObject
*resultobj
;
25316 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25317 wxImageList
*arg2
= (wxImageList
*) 0 ;
25318 PyObject
* obj0
= 0 ;
25319 PyObject
* obj1
= 0 ;
25320 char *kwnames
[] = {
25321 (char *) "self",(char *) "imageList", NULL
25324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25327 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25328 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25331 (arg1
)->AssignStateImageList(arg2
);
25333 wxPyEndAllowThreads(__tstate
);
25334 if (PyErr_Occurred()) SWIG_fail
;
25336 Py_INCREF(Py_None
); resultobj
= Py_None
;
25343 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25344 PyObject
*resultobj
;
25345 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25346 wxTreeItemId
*arg2
= 0 ;
25348 PyObject
* obj0
= 0 ;
25349 PyObject
* obj1
= 0 ;
25350 char *kwnames
[] = {
25351 (char *) "self",(char *) "item", NULL
25354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
25355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25357 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25358 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25360 if (arg2
== NULL
) {
25361 PyErr_SetString(PyExc_TypeError
,"null reference");
25365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25366 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
25368 wxPyEndAllowThreads(__tstate
);
25369 if (PyErr_Occurred()) SWIG_fail
;
25373 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25375 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25384 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25385 PyObject
*resultobj
;
25386 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25387 wxTreeItemId
*arg2
= 0 ;
25388 int arg3
= (int) wxTreeItemIcon_Normal
;
25390 PyObject
* obj0
= 0 ;
25391 PyObject
* obj1
= 0 ;
25392 PyObject
* obj2
= 0 ;
25393 char *kwnames
[] = {
25394 (char *) "self",(char *) "item",(char *) "which", NULL
25397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25400 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25401 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25403 if (arg2
== NULL
) {
25404 PyErr_SetString(PyExc_TypeError
,"null reference");
25408 arg3
= (wxTreeItemIcon
) SWIG_AsInt(obj2
);
25409 if (PyErr_Occurred()) SWIG_fail
;
25412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25413 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
25415 wxPyEndAllowThreads(__tstate
);
25416 if (PyErr_Occurred()) SWIG_fail
;
25418 resultobj
= SWIG_FromInt((int)result
);
25425 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25426 PyObject
*resultobj
;
25427 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25428 wxTreeItemId
*arg2
= 0 ;
25429 wxPyTreeItemData
*result
;
25430 PyObject
* obj0
= 0 ;
25431 PyObject
* obj1
= 0 ;
25432 char *kwnames
[] = {
25433 (char *) "self",(char *) "item", NULL
25436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
25437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25439 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25440 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25442 if (arg2
== NULL
) {
25443 PyErr_SetString(PyExc_TypeError
,"null reference");
25447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25448 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
25450 wxPyEndAllowThreads(__tstate
);
25451 if (PyErr_Occurred()) SWIG_fail
;
25453 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
25460 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25461 PyObject
*resultobj
;
25462 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25463 wxTreeItemId
*arg2
= 0 ;
25465 PyObject
* obj0
= 0 ;
25466 PyObject
* obj1
= 0 ;
25467 char *kwnames
[] = {
25468 (char *) "self",(char *) "item", NULL
25471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
25472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25474 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25475 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25477 if (arg2
== NULL
) {
25478 PyErr_SetString(PyExc_TypeError
,"null reference");
25482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25483 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
25485 wxPyEndAllowThreads(__tstate
);
25486 if (PyErr_Occurred()) SWIG_fail
;
25488 resultobj
= result
;
25495 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25496 PyObject
*resultobj
;
25497 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25498 wxTreeItemId
*arg2
= 0 ;
25500 PyObject
* obj0
= 0 ;
25501 PyObject
* obj1
= 0 ;
25502 char *kwnames
[] = {
25503 (char *) "self",(char *) "item", NULL
25506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25509 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25510 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25512 if (arg2
== NULL
) {
25513 PyErr_SetString(PyExc_TypeError
,"null reference");
25517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25518 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
25520 wxPyEndAllowThreads(__tstate
);
25521 if (PyErr_Occurred()) SWIG_fail
;
25524 wxColour
* resultptr
;
25525 resultptr
= new wxColour((wxColour
&) result
);
25526 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25534 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25535 PyObject
*resultobj
;
25536 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25537 wxTreeItemId
*arg2
= 0 ;
25539 PyObject
* obj0
= 0 ;
25540 PyObject
* obj1
= 0 ;
25541 char *kwnames
[] = {
25542 (char *) "self",(char *) "item", NULL
25545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25548 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25549 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25551 if (arg2
== NULL
) {
25552 PyErr_SetString(PyExc_TypeError
,"null reference");
25556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25557 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
25559 wxPyEndAllowThreads(__tstate
);
25560 if (PyErr_Occurred()) SWIG_fail
;
25563 wxColour
* resultptr
;
25564 resultptr
= new wxColour((wxColour
&) result
);
25565 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25573 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25574 PyObject
*resultobj
;
25575 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25576 wxTreeItemId
*arg2
= 0 ;
25578 PyObject
* obj0
= 0 ;
25579 PyObject
* obj1
= 0 ;
25580 char *kwnames
[] = {
25581 (char *) "self",(char *) "item", NULL
25584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
25585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25587 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25588 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25590 if (arg2
== NULL
) {
25591 PyErr_SetString(PyExc_TypeError
,"null reference");
25595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25596 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
25598 wxPyEndAllowThreads(__tstate
);
25599 if (PyErr_Occurred()) SWIG_fail
;
25602 wxFont
* resultptr
;
25603 resultptr
= new wxFont((wxFont
&) result
);
25604 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
25612 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25613 PyObject
*resultobj
;
25614 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25615 wxTreeItemId
*arg2
= 0 ;
25616 wxString
*arg3
= 0 ;
25617 bool temp3
= False
;
25618 PyObject
* obj0
= 0 ;
25619 PyObject
* obj1
= 0 ;
25620 PyObject
* obj2
= 0 ;
25621 char *kwnames
[] = {
25622 (char *) "self",(char *) "item",(char *) "text", NULL
25625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25628 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25629 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25631 if (arg2
== NULL
) {
25632 PyErr_SetString(PyExc_TypeError
,"null reference");
25636 arg3
= wxString_in_helper(obj2
);
25637 if (arg3
== NULL
) SWIG_fail
;
25641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25642 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
25644 wxPyEndAllowThreads(__tstate
);
25645 if (PyErr_Occurred()) SWIG_fail
;
25647 Py_INCREF(Py_None
); resultobj
= Py_None
;
25662 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25663 PyObject
*resultobj
;
25664 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25665 wxTreeItemId
*arg2
= 0 ;
25667 int arg4
= (int) wxTreeItemIcon_Normal
;
25668 PyObject
* obj0
= 0 ;
25669 PyObject
* obj1
= 0 ;
25670 PyObject
* obj2
= 0 ;
25671 PyObject
* obj3
= 0 ;
25672 char *kwnames
[] = {
25673 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
25676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25679 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25680 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25682 if (arg2
== NULL
) {
25683 PyErr_SetString(PyExc_TypeError
,"null reference");
25686 arg3
= (int) SWIG_AsInt(obj2
);
25687 if (PyErr_Occurred()) SWIG_fail
;
25689 arg4
= (wxTreeItemIcon
) SWIG_AsInt(obj3
);
25690 if (PyErr_Occurred()) SWIG_fail
;
25693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25694 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
25696 wxPyEndAllowThreads(__tstate
);
25697 if (PyErr_Occurred()) SWIG_fail
;
25699 Py_INCREF(Py_None
); resultobj
= Py_None
;
25706 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25707 PyObject
*resultobj
;
25708 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25709 wxTreeItemId
*arg2
= 0 ;
25710 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
25711 PyObject
* obj0
= 0 ;
25712 PyObject
* obj1
= 0 ;
25713 PyObject
* obj2
= 0 ;
25714 char *kwnames
[] = {
25715 (char *) "self",(char *) "item",(char *) "data", NULL
25718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25721 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25722 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25724 if (arg2
== NULL
) {
25725 PyErr_SetString(PyExc_TypeError
,"null reference");
25728 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
25729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25732 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25734 wxPyEndAllowThreads(__tstate
);
25735 if (PyErr_Occurred()) SWIG_fail
;
25737 Py_INCREF(Py_None
); resultobj
= Py_None
;
25744 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25745 PyObject
*resultobj
;
25746 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25747 wxTreeItemId
*arg2
= 0 ;
25748 PyObject
*arg3
= (PyObject
*) 0 ;
25749 PyObject
* obj0
= 0 ;
25750 PyObject
* obj1
= 0 ;
25751 PyObject
* obj2
= 0 ;
25752 char *kwnames
[] = {
25753 (char *) "self",(char *) "item",(char *) "obj", NULL
25756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25759 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25760 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25762 if (arg2
== NULL
) {
25763 PyErr_SetString(PyExc_TypeError
,"null reference");
25768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25769 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25771 wxPyEndAllowThreads(__tstate
);
25772 if (PyErr_Occurred()) SWIG_fail
;
25774 Py_INCREF(Py_None
); resultobj
= Py_None
;
25781 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25782 PyObject
*resultobj
;
25783 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25784 wxTreeItemId
*arg2
= 0 ;
25785 bool arg3
= (bool) True
;
25786 PyObject
* obj0
= 0 ;
25787 PyObject
* obj1
= 0 ;
25788 PyObject
* obj2
= 0 ;
25789 char *kwnames
[] = {
25790 (char *) "self",(char *) "item",(char *) "has", NULL
25793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25796 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25797 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25799 if (arg2
== NULL
) {
25800 PyErr_SetString(PyExc_TypeError
,"null reference");
25804 arg3
= (bool) SWIG_AsBool(obj2
);
25805 if (PyErr_Occurred()) SWIG_fail
;
25808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25809 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
25811 wxPyEndAllowThreads(__tstate
);
25812 if (PyErr_Occurred()) SWIG_fail
;
25814 Py_INCREF(Py_None
); resultobj
= Py_None
;
25821 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25822 PyObject
*resultobj
;
25823 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25824 wxTreeItemId
*arg2
= 0 ;
25825 bool arg3
= (bool) True
;
25826 PyObject
* obj0
= 0 ;
25827 PyObject
* obj1
= 0 ;
25828 PyObject
* obj2
= 0 ;
25829 char *kwnames
[] = {
25830 (char *) "self",(char *) "item",(char *) "bold", NULL
25833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25836 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25837 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25839 if (arg2
== NULL
) {
25840 PyErr_SetString(PyExc_TypeError
,"null reference");
25844 arg3
= (bool) SWIG_AsBool(obj2
);
25845 if (PyErr_Occurred()) SWIG_fail
;
25848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25849 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
25851 wxPyEndAllowThreads(__tstate
);
25852 if (PyErr_Occurred()) SWIG_fail
;
25854 Py_INCREF(Py_None
); resultobj
= Py_None
;
25861 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25862 PyObject
*resultobj
;
25863 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25864 wxTreeItemId
*arg2
= 0 ;
25865 wxColour
*arg3
= 0 ;
25867 PyObject
* obj0
= 0 ;
25868 PyObject
* obj1
= 0 ;
25869 PyObject
* obj2
= 0 ;
25870 char *kwnames
[] = {
25871 (char *) "self",(char *) "item",(char *) "col", NULL
25874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25877 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25878 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25880 if (arg2
== NULL
) {
25881 PyErr_SetString(PyExc_TypeError
,"null reference");
25886 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
25889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25890 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
25892 wxPyEndAllowThreads(__tstate
);
25893 if (PyErr_Occurred()) SWIG_fail
;
25895 Py_INCREF(Py_None
); resultobj
= Py_None
;
25902 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25903 PyObject
*resultobj
;
25904 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25905 wxTreeItemId
*arg2
= 0 ;
25906 wxColour
*arg3
= 0 ;
25908 PyObject
* obj0
= 0 ;
25909 PyObject
* obj1
= 0 ;
25910 PyObject
* obj2
= 0 ;
25911 char *kwnames
[] = {
25912 (char *) "self",(char *) "item",(char *) "col", NULL
25915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25918 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25919 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25921 if (arg2
== NULL
) {
25922 PyErr_SetString(PyExc_TypeError
,"null reference");
25927 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
25930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25931 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
25933 wxPyEndAllowThreads(__tstate
);
25934 if (PyErr_Occurred()) SWIG_fail
;
25936 Py_INCREF(Py_None
); resultobj
= Py_None
;
25943 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25944 PyObject
*resultobj
;
25945 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25946 wxTreeItemId
*arg2
= 0 ;
25948 PyObject
* obj0
= 0 ;
25949 PyObject
* obj1
= 0 ;
25950 PyObject
* obj2
= 0 ;
25951 char *kwnames
[] = {
25952 (char *) "self",(char *) "item",(char *) "font", NULL
25955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25958 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25959 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25961 if (arg2
== NULL
) {
25962 PyErr_SetString(PyExc_TypeError
,"null reference");
25965 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
25966 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25968 if (arg3
== NULL
) {
25969 PyErr_SetString(PyExc_TypeError
,"null reference");
25973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25974 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
25976 wxPyEndAllowThreads(__tstate
);
25977 if (PyErr_Occurred()) SWIG_fail
;
25979 Py_INCREF(Py_None
); resultobj
= Py_None
;
25986 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25987 PyObject
*resultobj
;
25988 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25989 wxTreeItemId
*arg2
= 0 ;
25991 PyObject
* obj0
= 0 ;
25992 PyObject
* obj1
= 0 ;
25993 char *kwnames
[] = {
25994 (char *) "self",(char *) "item", NULL
25997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26000 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26001 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26003 if (arg2
== NULL
) {
26004 PyErr_SetString(PyExc_TypeError
,"null reference");
26008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26009 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
26011 wxPyEndAllowThreads(__tstate
);
26012 if (PyErr_Occurred()) SWIG_fail
;
26015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26023 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26024 PyObject
*resultobj
;
26025 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26026 wxTreeItemId
*arg2
= 0 ;
26028 PyObject
* obj0
= 0 ;
26029 PyObject
* obj1
= 0 ;
26030 char *kwnames
[] = {
26031 (char *) "self",(char *) "item", NULL
26034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26037 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26038 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26040 if (arg2
== NULL
) {
26041 PyErr_SetString(PyExc_TypeError
,"null reference");
26045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26046 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
26048 wxPyEndAllowThreads(__tstate
);
26049 if (PyErr_Occurred()) SWIG_fail
;
26052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26060 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26061 PyObject
*resultobj
;
26062 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26063 wxTreeItemId
*arg2
= 0 ;
26065 PyObject
* obj0
= 0 ;
26066 PyObject
* obj1
= 0 ;
26067 char *kwnames
[] = {
26068 (char *) "self",(char *) "item", NULL
26071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
26072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26074 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26075 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26077 if (arg2
== NULL
) {
26078 PyErr_SetString(PyExc_TypeError
,"null reference");
26082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26083 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
26085 wxPyEndAllowThreads(__tstate
);
26086 if (PyErr_Occurred()) SWIG_fail
;
26089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26097 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26098 PyObject
*resultobj
;
26099 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26100 wxTreeItemId
*arg2
= 0 ;
26102 PyObject
* obj0
= 0 ;
26103 PyObject
* obj1
= 0 ;
26104 char *kwnames
[] = {
26105 (char *) "self",(char *) "item", NULL
26108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26111 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26112 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26114 if (arg2
== NULL
) {
26115 PyErr_SetString(PyExc_TypeError
,"null reference");
26119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26120 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
26122 wxPyEndAllowThreads(__tstate
);
26123 if (PyErr_Occurred()) SWIG_fail
;
26126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26134 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26135 PyObject
*resultobj
;
26136 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26137 wxTreeItemId
*arg2
= 0 ;
26139 PyObject
* obj0
= 0 ;
26140 PyObject
* obj1
= 0 ;
26141 char *kwnames
[] = {
26142 (char *) "self",(char *) "item", NULL
26145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
26146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26148 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26149 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26151 if (arg2
== NULL
) {
26152 PyErr_SetString(PyExc_TypeError
,"null reference");
26156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26157 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
26159 wxPyEndAllowThreads(__tstate
);
26160 if (PyErr_Occurred()) SWIG_fail
;
26163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26171 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26172 PyObject
*resultobj
;
26173 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26174 wxTreeItemId
*arg2
= 0 ;
26175 bool arg3
= (bool) True
;
26177 PyObject
* obj0
= 0 ;
26178 PyObject
* obj1
= 0 ;
26179 PyObject
* obj2
= 0 ;
26180 char *kwnames
[] = {
26181 (char *) "self",(char *) "item",(char *) "recursively", NULL
26184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26187 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26188 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26190 if (arg2
== NULL
) {
26191 PyErr_SetString(PyExc_TypeError
,"null reference");
26195 arg3
= (bool) SWIG_AsBool(obj2
);
26196 if (PyErr_Occurred()) SWIG_fail
;
26199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26200 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
26202 wxPyEndAllowThreads(__tstate
);
26203 if (PyErr_Occurred()) SWIG_fail
;
26205 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
26212 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26213 PyObject
*resultobj
;
26214 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26215 wxTreeItemId result
;
26216 PyObject
* obj0
= 0 ;
26217 char *kwnames
[] = {
26218 (char *) "self", NULL
26221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
26222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26226 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
26228 wxPyEndAllowThreads(__tstate
);
26229 if (PyErr_Occurred()) SWIG_fail
;
26232 wxTreeItemId
* resultptr
;
26233 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26234 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26242 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26243 PyObject
*resultobj
;
26244 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26245 wxTreeItemId result
;
26246 PyObject
* obj0
= 0 ;
26247 char *kwnames
[] = {
26248 (char *) "self", NULL
26251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
26252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26256 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
26258 wxPyEndAllowThreads(__tstate
);
26259 if (PyErr_Occurred()) SWIG_fail
;
26262 wxTreeItemId
* resultptr
;
26263 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26264 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26272 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26273 PyObject
*resultobj
;
26274 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26276 PyObject
* obj0
= 0 ;
26277 char *kwnames
[] = {
26278 (char *) "self", NULL
26281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
26282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26286 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
26288 wxPyEndAllowThreads(__tstate
);
26289 if (PyErr_Occurred()) SWIG_fail
;
26291 resultobj
= result
;
26298 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26299 PyObject
*resultobj
;
26300 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26301 wxTreeItemId
*arg2
= 0 ;
26302 wxTreeItemId result
;
26303 PyObject
* obj0
= 0 ;
26304 PyObject
* obj1
= 0 ;
26305 char *kwnames
[] = {
26306 (char *) "self",(char *) "item", NULL
26309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26312 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26313 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26315 if (arg2
== NULL
) {
26316 PyErr_SetString(PyExc_TypeError
,"null reference");
26320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26321 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
26323 wxPyEndAllowThreads(__tstate
);
26324 if (PyErr_Occurred()) SWIG_fail
;
26327 wxTreeItemId
* resultptr
;
26328 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26329 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26337 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26338 PyObject
*resultobj
;
26339 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26340 wxTreeItemId
*arg2
= 0 ;
26342 PyObject
* obj0
= 0 ;
26343 PyObject
* obj1
= 0 ;
26344 char *kwnames
[] = {
26345 (char *) "self",(char *) "item", NULL
26348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26351 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26352 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26354 if (arg2
== NULL
) {
26355 PyErr_SetString(PyExc_TypeError
,"null reference");
26359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26360 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
26362 wxPyEndAllowThreads(__tstate
);
26363 if (PyErr_Occurred()) SWIG_fail
;
26365 resultobj
= result
;
26372 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26373 PyObject
*resultobj
;
26374 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26375 wxTreeItemId
*arg2
= 0 ;
26376 void *arg3
= (void *) 0 ;
26378 PyObject
* obj0
= 0 ;
26379 PyObject
* obj1
= 0 ;
26380 PyObject
* obj2
= 0 ;
26381 char *kwnames
[] = {
26382 (char *) "self",(char *) "item",(char *) "cookie", NULL
26385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26388 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26389 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26391 if (arg2
== NULL
) {
26392 PyErr_SetString(PyExc_TypeError
,"null reference");
26395 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26398 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26400 wxPyEndAllowThreads(__tstate
);
26401 if (PyErr_Occurred()) SWIG_fail
;
26403 resultobj
= result
;
26410 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26411 PyObject
*resultobj
;
26412 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26413 wxTreeItemId
*arg2
= 0 ;
26414 wxTreeItemId result
;
26415 PyObject
* obj0
= 0 ;
26416 PyObject
* obj1
= 0 ;
26417 char *kwnames
[] = {
26418 (char *) "self",(char *) "item", NULL
26421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26424 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26425 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26427 if (arg2
== NULL
) {
26428 PyErr_SetString(PyExc_TypeError
,"null reference");
26432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26433 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
26435 wxPyEndAllowThreads(__tstate
);
26436 if (PyErr_Occurred()) SWIG_fail
;
26439 wxTreeItemId
* resultptr
;
26440 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26441 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26449 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26450 PyObject
*resultobj
;
26451 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26452 wxTreeItemId
*arg2
= 0 ;
26453 wxTreeItemId result
;
26454 PyObject
* obj0
= 0 ;
26455 PyObject
* obj1
= 0 ;
26456 char *kwnames
[] = {
26457 (char *) "self",(char *) "item", NULL
26460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
26461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26463 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26464 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26466 if (arg2
== NULL
) {
26467 PyErr_SetString(PyExc_TypeError
,"null reference");
26471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26472 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
26474 wxPyEndAllowThreads(__tstate
);
26475 if (PyErr_Occurred()) SWIG_fail
;
26478 wxTreeItemId
* resultptr
;
26479 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26480 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26488 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26489 PyObject
*resultobj
;
26490 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26491 wxTreeItemId
*arg2
= 0 ;
26492 wxTreeItemId result
;
26493 PyObject
* obj0
= 0 ;
26494 PyObject
* obj1
= 0 ;
26495 char *kwnames
[] = {
26496 (char *) "self",(char *) "item", NULL
26499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
26500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26502 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26503 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26505 if (arg2
== NULL
) {
26506 PyErr_SetString(PyExc_TypeError
,"null reference");
26510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26511 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
26513 wxPyEndAllowThreads(__tstate
);
26514 if (PyErr_Occurred()) SWIG_fail
;
26517 wxTreeItemId
* resultptr
;
26518 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26519 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26527 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26528 PyObject
*resultobj
;
26529 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26530 wxTreeItemId result
;
26531 PyObject
* obj0
= 0 ;
26532 char *kwnames
[] = {
26533 (char *) "self", NULL
26536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
26537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26541 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
26543 wxPyEndAllowThreads(__tstate
);
26544 if (PyErr_Occurred()) SWIG_fail
;
26547 wxTreeItemId
* resultptr
;
26548 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26549 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26557 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26558 PyObject
*resultobj
;
26559 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26560 wxTreeItemId
*arg2
= 0 ;
26561 wxTreeItemId result
;
26562 PyObject
* obj0
= 0 ;
26563 PyObject
* obj1
= 0 ;
26564 char *kwnames
[] = {
26565 (char *) "self",(char *) "item", NULL
26568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26571 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26572 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26574 if (arg2
== NULL
) {
26575 PyErr_SetString(PyExc_TypeError
,"null reference");
26579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26580 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
26582 wxPyEndAllowThreads(__tstate
);
26583 if (PyErr_Occurred()) SWIG_fail
;
26586 wxTreeItemId
* resultptr
;
26587 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26588 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26596 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26597 PyObject
*resultobj
;
26598 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26599 wxTreeItemId
*arg2
= 0 ;
26600 wxTreeItemId result
;
26601 PyObject
* obj0
= 0 ;
26602 PyObject
* obj1
= 0 ;
26603 char *kwnames
[] = {
26604 (char *) "self",(char *) "item", NULL
26607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26610 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26611 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26613 if (arg2
== NULL
) {
26614 PyErr_SetString(PyExc_TypeError
,"null reference");
26618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26619 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
26621 wxPyEndAllowThreads(__tstate
);
26622 if (PyErr_Occurred()) SWIG_fail
;
26625 wxTreeItemId
* resultptr
;
26626 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26627 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26635 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26636 PyObject
*resultobj
;
26637 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26638 wxString
*arg2
= 0 ;
26639 int arg3
= (int) -1 ;
26640 int arg4
= (int) -1 ;
26641 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
26642 wxTreeItemId result
;
26643 bool temp2
= False
;
26644 PyObject
* obj0
= 0 ;
26645 PyObject
* obj1
= 0 ;
26646 PyObject
* obj2
= 0 ;
26647 PyObject
* obj3
= 0 ;
26648 PyObject
* obj4
= 0 ;
26649 char *kwnames
[] = {
26650 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26657 arg2
= wxString_in_helper(obj1
);
26658 if (arg2
== NULL
) SWIG_fail
;
26662 arg3
= (int) SWIG_AsInt(obj2
);
26663 if (PyErr_Occurred()) SWIG_fail
;
26666 arg4
= (int) SWIG_AsInt(obj3
);
26667 if (PyErr_Occurred()) SWIG_fail
;
26670 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
26671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26675 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
26677 wxPyEndAllowThreads(__tstate
);
26678 if (PyErr_Occurred()) SWIG_fail
;
26681 wxTreeItemId
* resultptr
;
26682 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26683 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26699 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26700 PyObject
*resultobj
;
26701 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26702 wxTreeItemId
*arg2
= 0 ;
26703 wxString
*arg3
= 0 ;
26704 int arg4
= (int) -1 ;
26705 int arg5
= (int) -1 ;
26706 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
26707 wxTreeItemId result
;
26708 bool temp3
= False
;
26709 PyObject
* obj0
= 0 ;
26710 PyObject
* obj1
= 0 ;
26711 PyObject
* obj2
= 0 ;
26712 PyObject
* obj3
= 0 ;
26713 PyObject
* obj4
= 0 ;
26714 PyObject
* obj5
= 0 ;
26715 char *kwnames
[] = {
26716 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26722 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26723 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26725 if (arg2
== NULL
) {
26726 PyErr_SetString(PyExc_TypeError
,"null reference");
26730 arg3
= wxString_in_helper(obj2
);
26731 if (arg3
== NULL
) SWIG_fail
;
26735 arg4
= (int) SWIG_AsInt(obj3
);
26736 if (PyErr_Occurred()) SWIG_fail
;
26739 arg5
= (int) SWIG_AsInt(obj4
);
26740 if (PyErr_Occurred()) SWIG_fail
;
26743 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
26744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26748 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
26750 wxPyEndAllowThreads(__tstate
);
26751 if (PyErr_Occurred()) SWIG_fail
;
26754 wxTreeItemId
* resultptr
;
26755 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26756 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26772 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26773 PyObject
*resultobj
;
26774 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26775 wxTreeItemId
*arg2
= 0 ;
26776 wxTreeItemId
*arg3
= 0 ;
26777 wxString
*arg4
= 0 ;
26778 int arg5
= (int) -1 ;
26779 int arg6
= (int) -1 ;
26780 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
26781 wxTreeItemId result
;
26782 bool temp4
= False
;
26783 PyObject
* obj0
= 0 ;
26784 PyObject
* obj1
= 0 ;
26785 PyObject
* obj2
= 0 ;
26786 PyObject
* obj3
= 0 ;
26787 PyObject
* obj4
= 0 ;
26788 PyObject
* obj5
= 0 ;
26789 PyObject
* obj6
= 0 ;
26790 char *kwnames
[] = {
26791 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26797 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26798 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26800 if (arg2
== NULL
) {
26801 PyErr_SetString(PyExc_TypeError
,"null reference");
26804 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
26805 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26807 if (arg3
== NULL
) {
26808 PyErr_SetString(PyExc_TypeError
,"null reference");
26812 arg4
= wxString_in_helper(obj3
);
26813 if (arg4
== NULL
) SWIG_fail
;
26817 arg5
= (int) SWIG_AsInt(obj4
);
26818 if (PyErr_Occurred()) SWIG_fail
;
26821 arg6
= (int) SWIG_AsInt(obj5
);
26822 if (PyErr_Occurred()) SWIG_fail
;
26825 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
26826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26830 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
26832 wxPyEndAllowThreads(__tstate
);
26833 if (PyErr_Occurred()) SWIG_fail
;
26836 wxTreeItemId
* resultptr
;
26837 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26838 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26854 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26855 PyObject
*resultobj
;
26856 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26857 wxTreeItemId
*arg2
= 0 ;
26859 wxString
*arg4
= 0 ;
26860 int arg5
= (int) -1 ;
26861 int arg6
= (int) -1 ;
26862 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
26863 wxTreeItemId result
;
26864 bool temp4
= False
;
26865 PyObject
* obj0
= 0 ;
26866 PyObject
* obj1
= 0 ;
26867 PyObject
* obj2
= 0 ;
26868 PyObject
* obj3
= 0 ;
26869 PyObject
* obj4
= 0 ;
26870 PyObject
* obj5
= 0 ;
26871 PyObject
* obj6
= 0 ;
26872 char *kwnames
[] = {
26873 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26879 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26880 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26882 if (arg2
== NULL
) {
26883 PyErr_SetString(PyExc_TypeError
,"null reference");
26886 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
26887 if (PyErr_Occurred()) SWIG_fail
;
26889 arg4
= wxString_in_helper(obj3
);
26890 if (arg4
== NULL
) SWIG_fail
;
26894 arg5
= (int) SWIG_AsInt(obj4
);
26895 if (PyErr_Occurred()) SWIG_fail
;
26898 arg6
= (int) SWIG_AsInt(obj5
);
26899 if (PyErr_Occurred()) SWIG_fail
;
26902 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
26903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26907 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
26909 wxPyEndAllowThreads(__tstate
);
26910 if (PyErr_Occurred()) SWIG_fail
;
26913 wxTreeItemId
* resultptr
;
26914 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26915 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26931 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26932 PyObject
*resultobj
;
26933 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26934 wxTreeItemId
*arg2
= 0 ;
26935 wxString
*arg3
= 0 ;
26936 int arg4
= (int) -1 ;
26937 int arg5
= (int) -1 ;
26938 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
26939 wxTreeItemId result
;
26940 bool temp3
= False
;
26941 PyObject
* obj0
= 0 ;
26942 PyObject
* obj1
= 0 ;
26943 PyObject
* obj2
= 0 ;
26944 PyObject
* obj3
= 0 ;
26945 PyObject
* obj4
= 0 ;
26946 PyObject
* obj5
= 0 ;
26947 char *kwnames
[] = {
26948 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26954 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26955 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26957 if (arg2
== NULL
) {
26958 PyErr_SetString(PyExc_TypeError
,"null reference");
26962 arg3
= wxString_in_helper(obj2
);
26963 if (arg3
== NULL
) SWIG_fail
;
26967 arg4
= (int) SWIG_AsInt(obj3
);
26968 if (PyErr_Occurred()) SWIG_fail
;
26971 arg5
= (int) SWIG_AsInt(obj4
);
26972 if (PyErr_Occurred()) SWIG_fail
;
26975 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
26976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26980 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
26982 wxPyEndAllowThreads(__tstate
);
26983 if (PyErr_Occurred()) SWIG_fail
;
26986 wxTreeItemId
* resultptr
;
26987 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26988 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27004 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27005 PyObject
*resultobj
;
27006 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27007 wxTreeItemId
*arg2
= 0 ;
27008 PyObject
* obj0
= 0 ;
27009 PyObject
* obj1
= 0 ;
27010 char *kwnames
[] = {
27011 (char *) "self",(char *) "item", NULL
27014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
27015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27017 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27018 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27020 if (arg2
== NULL
) {
27021 PyErr_SetString(PyExc_TypeError
,"null reference");
27025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27026 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
27028 wxPyEndAllowThreads(__tstate
);
27029 if (PyErr_Occurred()) SWIG_fail
;
27031 Py_INCREF(Py_None
); resultobj
= Py_None
;
27038 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27039 PyObject
*resultobj
;
27040 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27041 wxTreeItemId
*arg2
= 0 ;
27042 PyObject
* obj0
= 0 ;
27043 PyObject
* obj1
= 0 ;
27044 char *kwnames
[] = {
27045 (char *) "self",(char *) "item", NULL
27048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27051 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27052 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27054 if (arg2
== NULL
) {
27055 PyErr_SetString(PyExc_TypeError
,"null reference");
27059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27060 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
27062 wxPyEndAllowThreads(__tstate
);
27063 if (PyErr_Occurred()) SWIG_fail
;
27065 Py_INCREF(Py_None
); resultobj
= Py_None
;
27072 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27073 PyObject
*resultobj
;
27074 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27075 PyObject
* obj0
= 0 ;
27076 char *kwnames
[] = {
27077 (char *) "self", NULL
27080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
27081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27085 (arg1
)->DeleteAllItems();
27087 wxPyEndAllowThreads(__tstate
);
27088 if (PyErr_Occurred()) SWIG_fail
;
27090 Py_INCREF(Py_None
); resultobj
= Py_None
;
27097 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27098 PyObject
*resultobj
;
27099 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27100 wxTreeItemId
*arg2
= 0 ;
27101 PyObject
* obj0
= 0 ;
27102 PyObject
* obj1
= 0 ;
27103 char *kwnames
[] = {
27104 (char *) "self",(char *) "item", NULL
27107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
27108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27110 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27111 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27113 if (arg2
== NULL
) {
27114 PyErr_SetString(PyExc_TypeError
,"null reference");
27118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27119 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
27121 wxPyEndAllowThreads(__tstate
);
27122 if (PyErr_Occurred()) SWIG_fail
;
27124 Py_INCREF(Py_None
); resultobj
= Py_None
;
27131 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27132 PyObject
*resultobj
;
27133 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27134 wxTreeItemId
*arg2
= 0 ;
27135 PyObject
* obj0
= 0 ;
27136 PyObject
* obj1
= 0 ;
27137 char *kwnames
[] = {
27138 (char *) "self",(char *) "item", NULL
27141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
27142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27144 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27145 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27147 if (arg2
== NULL
) {
27148 PyErr_SetString(PyExc_TypeError
,"null reference");
27152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27153 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
27155 wxPyEndAllowThreads(__tstate
);
27156 if (PyErr_Occurred()) SWIG_fail
;
27158 Py_INCREF(Py_None
); resultobj
= Py_None
;
27165 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27166 PyObject
*resultobj
;
27167 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27168 wxTreeItemId
*arg2
= 0 ;
27169 PyObject
* obj0
= 0 ;
27170 PyObject
* obj1
= 0 ;
27171 char *kwnames
[] = {
27172 (char *) "self",(char *) "item", NULL
27175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
27176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27178 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27179 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27181 if (arg2
== NULL
) {
27182 PyErr_SetString(PyExc_TypeError
,"null reference");
27186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27187 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
27189 wxPyEndAllowThreads(__tstate
);
27190 if (PyErr_Occurred()) SWIG_fail
;
27192 Py_INCREF(Py_None
); resultobj
= Py_None
;
27199 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27200 PyObject
*resultobj
;
27201 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27202 wxTreeItemId
*arg2
= 0 ;
27203 PyObject
* obj0
= 0 ;
27204 PyObject
* obj1
= 0 ;
27205 char *kwnames
[] = {
27206 (char *) "self",(char *) "item", NULL
27209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
27210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27212 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27213 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27215 if (arg2
== NULL
) {
27216 PyErr_SetString(PyExc_TypeError
,"null reference");
27220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27221 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
27223 wxPyEndAllowThreads(__tstate
);
27224 if (PyErr_Occurred()) SWIG_fail
;
27226 Py_INCREF(Py_None
); resultobj
= Py_None
;
27233 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27234 PyObject
*resultobj
;
27235 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27236 PyObject
* obj0
= 0 ;
27237 char *kwnames
[] = {
27238 (char *) "self", NULL
27241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
27242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27246 (arg1
)->Unselect();
27248 wxPyEndAllowThreads(__tstate
);
27249 if (PyErr_Occurred()) SWIG_fail
;
27251 Py_INCREF(Py_None
); resultobj
= Py_None
;
27258 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27259 PyObject
*resultobj
;
27260 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27261 wxTreeItemId
*arg2
= 0 ;
27262 PyObject
* obj0
= 0 ;
27263 PyObject
* obj1
= 0 ;
27264 char *kwnames
[] = {
27265 (char *) "self",(char *) "item", NULL
27268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27271 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27272 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27274 if (arg2
== NULL
) {
27275 PyErr_SetString(PyExc_TypeError
,"null reference");
27279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27280 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
27282 wxPyEndAllowThreads(__tstate
);
27283 if (PyErr_Occurred()) SWIG_fail
;
27285 Py_INCREF(Py_None
); resultobj
= Py_None
;
27292 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27293 PyObject
*resultobj
;
27294 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27295 PyObject
* obj0
= 0 ;
27296 char *kwnames
[] = {
27297 (char *) "self", NULL
27300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
27301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27305 (arg1
)->UnselectAll();
27307 wxPyEndAllowThreads(__tstate
);
27308 if (PyErr_Occurred()) SWIG_fail
;
27310 Py_INCREF(Py_None
); resultobj
= Py_None
;
27317 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27318 PyObject
*resultobj
;
27319 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27320 wxTreeItemId
*arg2
= 0 ;
27321 bool arg3
= (bool) True
;
27322 PyObject
* obj0
= 0 ;
27323 PyObject
* obj1
= 0 ;
27324 PyObject
* obj2
= 0 ;
27325 char *kwnames
[] = {
27326 (char *) "self",(char *) "item",(char *) "select", NULL
27329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27332 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27333 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27335 if (arg2
== NULL
) {
27336 PyErr_SetString(PyExc_TypeError
,"null reference");
27340 arg3
= (bool) SWIG_AsBool(obj2
);
27341 if (PyErr_Occurred()) SWIG_fail
;
27344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27345 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
27347 wxPyEndAllowThreads(__tstate
);
27348 if (PyErr_Occurred()) SWIG_fail
;
27350 Py_INCREF(Py_None
); resultobj
= Py_None
;
27357 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27358 PyObject
*resultobj
;
27359 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27360 wxTreeItemId
*arg2
= 0 ;
27361 PyObject
* obj0
= 0 ;
27362 PyObject
* obj1
= 0 ;
27363 char *kwnames
[] = {
27364 (char *) "self",(char *) "item", NULL
27367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27370 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27371 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27373 if (arg2
== NULL
) {
27374 PyErr_SetString(PyExc_TypeError
,"null reference");
27378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27379 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
27381 wxPyEndAllowThreads(__tstate
);
27382 if (PyErr_Occurred()) SWIG_fail
;
27384 Py_INCREF(Py_None
); resultobj
= Py_None
;
27391 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27392 PyObject
*resultobj
;
27393 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27394 wxTreeItemId
*arg2
= 0 ;
27395 PyObject
* obj0
= 0 ;
27396 PyObject
* obj1
= 0 ;
27397 char *kwnames
[] = {
27398 (char *) "self",(char *) "item", NULL
27401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
27402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27404 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27405 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27407 if (arg2
== NULL
) {
27408 PyErr_SetString(PyExc_TypeError
,"null reference");
27412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27413 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
27415 wxPyEndAllowThreads(__tstate
);
27416 if (PyErr_Occurred()) SWIG_fail
;
27418 Py_INCREF(Py_None
); resultobj
= Py_None
;
27425 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27426 PyObject
*resultobj
;
27427 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27428 wxTreeItemId
*arg2
= 0 ;
27429 PyObject
* obj0
= 0 ;
27430 PyObject
* obj1
= 0 ;
27431 char *kwnames
[] = {
27432 (char *) "self",(char *) "item", NULL
27435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
27436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27438 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27439 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27441 if (arg2
== NULL
) {
27442 PyErr_SetString(PyExc_TypeError
,"null reference");
27446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27447 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
27449 wxPyEndAllowThreads(__tstate
);
27450 if (PyErr_Occurred()) SWIG_fail
;
27452 Py_INCREF(Py_None
); resultobj
= Py_None
;
27459 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27460 PyObject
*resultobj
;
27461 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27462 wxTreeItemId
*arg2
= 0 ;
27463 PyObject
* obj0
= 0 ;
27464 PyObject
* obj1
= 0 ;
27465 char *kwnames
[] = {
27466 (char *) "self",(char *) "item", NULL
27469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27472 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27473 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27475 if (arg2
== NULL
) {
27476 PyErr_SetString(PyExc_TypeError
,"null reference");
27480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27481 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
27483 wxPyEndAllowThreads(__tstate
);
27484 if (PyErr_Occurred()) SWIG_fail
;
27486 Py_INCREF(Py_None
); resultobj
= Py_None
;
27493 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27494 PyObject
*resultobj
;
27495 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27496 wxTextCtrl
*result
;
27497 PyObject
* obj0
= 0 ;
27498 char *kwnames
[] = {
27499 (char *) "self", NULL
27502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
27503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27507 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
27509 wxPyEndAllowThreads(__tstate
);
27510 if (PyErr_Occurred()) SWIG_fail
;
27513 resultobj
= wxPyMake_wxObject(result
);
27521 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27522 PyObject
*resultobj
;
27523 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27524 wxTreeItemId
*arg2
= 0 ;
27525 PyObject
* obj0
= 0 ;
27526 PyObject
* obj1
= 0 ;
27527 char *kwnames
[] = {
27528 (char *) "self",(char *) "item", NULL
27531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27534 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27535 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27537 if (arg2
== NULL
) {
27538 PyErr_SetString(PyExc_TypeError
,"null reference");
27542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27543 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
27545 wxPyEndAllowThreads(__tstate
);
27546 if (PyErr_Occurred()) SWIG_fail
;
27548 Py_INCREF(Py_None
); resultobj
= Py_None
;
27555 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27556 PyObject
*resultobj
;
27557 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27558 wxPoint
*arg2
= 0 ;
27560 wxTreeItemId result
;
27563 PyObject
* obj0
= 0 ;
27564 PyObject
* obj1
= 0 ;
27565 char *kwnames
[] = {
27566 (char *) "self",(char *) "point", NULL
27570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
27571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27575 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27579 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
27581 wxPyEndAllowThreads(__tstate
);
27582 if (PyErr_Occurred()) SWIG_fail
;
27585 wxTreeItemId
* resultptr
;
27586 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27587 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27590 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27591 resultobj
= t_output_helper(resultobj
,o
);
27599 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27600 PyObject
*resultobj
;
27601 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27602 wxTreeItemId
*arg2
= 0 ;
27603 bool arg3
= (bool) False
;
27605 PyObject
* obj0
= 0 ;
27606 PyObject
* obj1
= 0 ;
27607 PyObject
* obj2
= 0 ;
27608 char *kwnames
[] = {
27609 (char *) "self",(char *) "item",(char *) "textOnly", NULL
27612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27615 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27616 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27618 if (arg2
== NULL
) {
27619 PyErr_SetString(PyExc_TypeError
,"null reference");
27623 arg3
= (bool) SWIG_AsBool(obj2
);
27624 if (PyErr_Occurred()) SWIG_fail
;
27627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27628 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
27630 wxPyEndAllowThreads(__tstate
);
27631 if (PyErr_Occurred()) SWIG_fail
;
27633 resultobj
= result
;
27640 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27641 PyObject
*resultobj
;
27642 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
27643 wxVisualAttributes result
;
27644 PyObject
* obj0
= 0 ;
27645 char *kwnames
[] = {
27646 (char *) "variant", NULL
27649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
27651 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
27652 if (PyErr_Occurred()) SWIG_fail
;
27655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27656 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
27658 wxPyEndAllowThreads(__tstate
);
27659 if (PyErr_Occurred()) SWIG_fail
;
27662 wxVisualAttributes
* resultptr
;
27663 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
27664 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
27672 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27674 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27675 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
27677 return Py_BuildValue((char *)"");
27679 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*_val
) {
27680 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
27685 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
27690 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
27692 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
27699 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27700 PyObject
*resultobj
;
27701 wxWindow
*arg1
= (wxWindow
*) 0 ;
27702 int arg2
= (int) (int)-1 ;
27703 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
27704 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
27705 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27706 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27707 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27708 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27709 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
27710 wxString
const &arg7_defvalue
= wxPyEmptyString
;
27711 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27712 int arg8
= (int) 0 ;
27713 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
27714 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
27715 wxGenericDirCtrl
*result
;
27716 bool temp3
= False
;
27719 bool temp7
= False
;
27720 bool temp9
= False
;
27721 PyObject
* obj0
= 0 ;
27722 PyObject
* obj1
= 0 ;
27723 PyObject
* obj2
= 0 ;
27724 PyObject
* obj3
= 0 ;
27725 PyObject
* obj4
= 0 ;
27726 PyObject
* obj5
= 0 ;
27727 PyObject
* obj6
= 0 ;
27728 PyObject
* obj7
= 0 ;
27729 PyObject
* obj8
= 0 ;
27730 char *kwnames
[] = {
27731 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
27735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27738 arg2
= (int const) SWIG_AsInt(obj1
);
27739 if (PyErr_Occurred()) SWIG_fail
;
27743 arg3
= wxString_in_helper(obj2
);
27744 if (arg3
== NULL
) SWIG_fail
;
27751 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27757 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27761 arg6
= (long) SWIG_AsLong(obj5
);
27762 if (PyErr_Occurred()) SWIG_fail
;
27766 arg7
= wxString_in_helper(obj6
);
27767 if (arg7
== NULL
) SWIG_fail
;
27772 arg8
= (int) SWIG_AsInt(obj7
);
27773 if (PyErr_Occurred()) SWIG_fail
;
27777 arg9
= wxString_in_helper(obj8
);
27778 if (arg9
== NULL
) SWIG_fail
;
27783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27784 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
27786 wxPyEndAllowThreads(__tstate
);
27787 if (PyErr_Occurred()) SWIG_fail
;
27789 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
27820 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27821 PyObject
*resultobj
;
27822 wxGenericDirCtrl
*result
;
27823 char *kwnames
[] = {
27827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
27829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27830 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
27832 wxPyEndAllowThreads(__tstate
);
27833 if (PyErr_Occurred()) SWIG_fail
;
27835 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
27842 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27843 PyObject
*resultobj
;
27844 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27845 wxWindow
*arg2
= (wxWindow
*) 0 ;
27846 int arg3
= (int) (int)-1 ;
27847 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
27848 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27849 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
27850 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
27851 wxSize
const &arg6_defvalue
= wxDefaultSize
;
27852 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
27853 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
27854 wxString
const &arg8_defvalue
= wxPyEmptyString
;
27855 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
27856 int arg9
= (int) 0 ;
27857 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
27858 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
27860 bool temp4
= False
;
27863 bool temp8
= False
;
27864 bool temp10
= False
;
27865 PyObject
* obj0
= 0 ;
27866 PyObject
* obj1
= 0 ;
27867 PyObject
* obj2
= 0 ;
27868 PyObject
* obj3
= 0 ;
27869 PyObject
* obj4
= 0 ;
27870 PyObject
* obj5
= 0 ;
27871 PyObject
* obj6
= 0 ;
27872 PyObject
* obj7
= 0 ;
27873 PyObject
* obj8
= 0 ;
27874 PyObject
* obj9
= 0 ;
27875 char *kwnames
[] = {
27876 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
27880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27882 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
27883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27885 arg3
= (int const) SWIG_AsInt(obj2
);
27886 if (PyErr_Occurred()) SWIG_fail
;
27890 arg4
= wxString_in_helper(obj3
);
27891 if (arg4
== NULL
) SWIG_fail
;
27898 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
27904 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
27908 arg7
= (long) SWIG_AsLong(obj6
);
27909 if (PyErr_Occurred()) SWIG_fail
;
27913 arg8
= wxString_in_helper(obj7
);
27914 if (arg8
== NULL
) SWIG_fail
;
27919 arg9
= (int) SWIG_AsInt(obj8
);
27920 if (PyErr_Occurred()) SWIG_fail
;
27924 arg10
= wxString_in_helper(obj9
);
27925 if (arg10
== NULL
) SWIG_fail
;
27930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27931 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
27933 wxPyEndAllowThreads(__tstate
);
27934 if (PyErr_Occurred()) SWIG_fail
;
27937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27969 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27970 PyObject
*resultobj
;
27971 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27972 wxString
*arg2
= 0 ;
27974 bool temp2
= False
;
27975 PyObject
* obj0
= 0 ;
27976 PyObject
* obj1
= 0 ;
27977 char *kwnames
[] = {
27978 (char *) "self",(char *) "path", NULL
27981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
27982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27985 arg2
= wxString_in_helper(obj1
);
27986 if (arg2
== NULL
) SWIG_fail
;
27990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27991 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
27993 wxPyEndAllowThreads(__tstate
);
27994 if (PyErr_Occurred()) SWIG_fail
;
27997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28013 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28014 PyObject
*resultobj
;
28015 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28017 PyObject
* obj0
= 0 ;
28018 char *kwnames
[] = {
28019 (char *) "self", NULL
28022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
28023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28027 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
28029 wxPyEndAllowThreads(__tstate
);
28030 if (PyErr_Occurred()) SWIG_fail
;
28034 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28036 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28045 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28046 PyObject
*resultobj
;
28047 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28048 wxString
*arg2
= 0 ;
28049 bool temp2
= False
;
28050 PyObject
* obj0
= 0 ;
28051 PyObject
* obj1
= 0 ;
28052 char *kwnames
[] = {
28053 (char *) "self",(char *) "path", NULL
28056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28060 arg2
= wxString_in_helper(obj1
);
28061 if (arg2
== NULL
) SWIG_fail
;
28065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28066 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
28068 wxPyEndAllowThreads(__tstate
);
28069 if (PyErr_Occurred()) SWIG_fail
;
28071 Py_INCREF(Py_None
); resultobj
= Py_None
;
28086 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28087 PyObject
*resultobj
;
28088 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28090 PyObject
* obj0
= 0 ;
28091 char *kwnames
[] = {
28092 (char *) "self", NULL
28095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
28096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28100 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
28102 wxPyEndAllowThreads(__tstate
);
28103 if (PyErr_Occurred()) SWIG_fail
;
28107 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28109 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28118 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28119 PyObject
*resultobj
;
28120 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28122 PyObject
* obj0
= 0 ;
28123 char *kwnames
[] = {
28124 (char *) "self", NULL
28127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
28128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28132 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
28134 wxPyEndAllowThreads(__tstate
);
28135 if (PyErr_Occurred()) SWIG_fail
;
28139 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28141 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28150 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28151 PyObject
*resultobj
;
28152 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28153 wxString
*arg2
= 0 ;
28154 bool temp2
= False
;
28155 PyObject
* obj0
= 0 ;
28156 PyObject
* obj1
= 0 ;
28157 char *kwnames
[] = {
28158 (char *) "self",(char *) "path", NULL
28161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28165 arg2
= wxString_in_helper(obj1
);
28166 if (arg2
== NULL
) SWIG_fail
;
28170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28171 (arg1
)->SetPath((wxString
const &)*arg2
);
28173 wxPyEndAllowThreads(__tstate
);
28174 if (PyErr_Occurred()) SWIG_fail
;
28176 Py_INCREF(Py_None
); resultobj
= Py_None
;
28191 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28192 PyObject
*resultobj
;
28193 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28195 PyObject
* obj0
= 0 ;
28196 PyObject
* obj1
= 0 ;
28197 char *kwnames
[] = {
28198 (char *) "self",(char *) "show", NULL
28201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
28202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28204 arg2
= (bool) SWIG_AsBool(obj1
);
28205 if (PyErr_Occurred()) SWIG_fail
;
28207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28208 (arg1
)->ShowHidden(arg2
);
28210 wxPyEndAllowThreads(__tstate
);
28211 if (PyErr_Occurred()) SWIG_fail
;
28213 Py_INCREF(Py_None
); resultobj
= Py_None
;
28220 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28221 PyObject
*resultobj
;
28222 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28224 PyObject
* obj0
= 0 ;
28225 char *kwnames
[] = {
28226 (char *) "self", NULL
28229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
28230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28234 result
= (bool)(arg1
)->GetShowHidden();
28236 wxPyEndAllowThreads(__tstate
);
28237 if (PyErr_Occurred()) SWIG_fail
;
28240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28248 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28249 PyObject
*resultobj
;
28250 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28252 PyObject
* obj0
= 0 ;
28253 char *kwnames
[] = {
28254 (char *) "self", NULL
28257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
28258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28262 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
28264 wxPyEndAllowThreads(__tstate
);
28265 if (PyErr_Occurred()) SWIG_fail
;
28269 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28271 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28280 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28281 PyObject
*resultobj
;
28282 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28283 wxString
*arg2
= 0 ;
28284 bool temp2
= False
;
28285 PyObject
* obj0
= 0 ;
28286 PyObject
* obj1
= 0 ;
28287 char *kwnames
[] = {
28288 (char *) "self",(char *) "filter", NULL
28291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
28292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28295 arg2
= wxString_in_helper(obj1
);
28296 if (arg2
== NULL
) SWIG_fail
;
28300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28301 (arg1
)->SetFilter((wxString
const &)*arg2
);
28303 wxPyEndAllowThreads(__tstate
);
28304 if (PyErr_Occurred()) SWIG_fail
;
28306 Py_INCREF(Py_None
); resultobj
= Py_None
;
28321 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28322 PyObject
*resultobj
;
28323 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28325 PyObject
* obj0
= 0 ;
28326 char *kwnames
[] = {
28327 (char *) "self", NULL
28330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
28331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28335 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
28337 wxPyEndAllowThreads(__tstate
);
28338 if (PyErr_Occurred()) SWIG_fail
;
28340 resultobj
= SWIG_FromInt((int)result
);
28347 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28348 PyObject
*resultobj
;
28349 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28351 PyObject
* obj0
= 0 ;
28352 PyObject
* obj1
= 0 ;
28353 char *kwnames
[] = {
28354 (char *) "self",(char *) "n", NULL
28357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
28358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28360 arg2
= (int) SWIG_AsInt(obj1
);
28361 if (PyErr_Occurred()) SWIG_fail
;
28363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28364 (arg1
)->SetFilterIndex(arg2
);
28366 wxPyEndAllowThreads(__tstate
);
28367 if (PyErr_Occurred()) SWIG_fail
;
28369 Py_INCREF(Py_None
); resultobj
= Py_None
;
28376 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28377 PyObject
*resultobj
;
28378 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28379 wxTreeItemId result
;
28380 PyObject
* obj0
= 0 ;
28381 char *kwnames
[] = {
28382 (char *) "self", NULL
28385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
28386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28390 result
= (arg1
)->GetRootId();
28392 wxPyEndAllowThreads(__tstate
);
28393 if (PyErr_Occurred()) SWIG_fail
;
28396 wxTreeItemId
* resultptr
;
28397 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28398 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28406 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28407 PyObject
*resultobj
;
28408 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28409 wxPyTreeCtrl
*result
;
28410 PyObject
* obj0
= 0 ;
28411 char *kwnames
[] = {
28412 (char *) "self", NULL
28415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
28416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28420 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
28422 wxPyEndAllowThreads(__tstate
);
28423 if (PyErr_Occurred()) SWIG_fail
;
28426 resultobj
= wxPyMake_wxObject(result
);
28434 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28435 PyObject
*resultobj
;
28436 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28437 wxDirFilterListCtrl
*result
;
28438 PyObject
* obj0
= 0 ;
28439 char *kwnames
[] = {
28440 (char *) "self", NULL
28443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
28444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28448 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
28450 wxPyEndAllowThreads(__tstate
);
28451 if (PyErr_Occurred()) SWIG_fail
;
28453 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
28460 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28461 PyObject
*resultobj
;
28462 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28463 wxTreeItemId arg2
;
28464 wxString
*arg3
= 0 ;
28466 wxTreeItemId result
;
28467 wxTreeItemId
*argp2
;
28468 bool temp3
= False
;
28470 PyObject
* obj0
= 0 ;
28471 PyObject
* obj1
= 0 ;
28472 PyObject
* obj2
= 0 ;
28473 char *kwnames
[] = {
28474 (char *) "self",(char *) "parentId",(char *) "path", NULL
28478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28481 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
28482 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
28485 arg3
= wxString_in_helper(obj2
);
28486 if (arg3
== NULL
) SWIG_fail
;
28490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28491 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
28493 wxPyEndAllowThreads(__tstate
);
28494 if (PyErr_Occurred()) SWIG_fail
;
28497 wxTreeItemId
* resultptr
;
28498 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28499 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28502 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
28503 resultobj
= t_output_helper(resultobj
,o
);
28519 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28520 PyObject
*resultobj
;
28521 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28522 PyObject
* obj0
= 0 ;
28523 char *kwnames
[] = {
28524 (char *) "self", NULL
28527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
28528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28532 (arg1
)->DoResize();
28534 wxPyEndAllowThreads(__tstate
);
28535 if (PyErr_Occurred()) SWIG_fail
;
28537 Py_INCREF(Py_None
); resultobj
= Py_None
;
28544 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28545 PyObject
*resultobj
;
28546 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28547 PyObject
* obj0
= 0 ;
28548 char *kwnames
[] = {
28549 (char *) "self", NULL
28552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
28553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28557 (arg1
)->ReCreateTree();
28559 wxPyEndAllowThreads(__tstate
);
28560 if (PyErr_Occurred()) SWIG_fail
;
28562 Py_INCREF(Py_None
); resultobj
= Py_None
;
28569 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
28571 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28572 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
28574 return Py_BuildValue((char *)"");
28576 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28577 PyObject
*resultobj
;
28578 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28579 int arg2
= (int) (int)-1 ;
28580 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28581 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28582 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28583 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28584 long arg5
= (long) 0 ;
28585 wxDirFilterListCtrl
*result
;
28588 PyObject
* obj0
= 0 ;
28589 PyObject
* obj1
= 0 ;
28590 PyObject
* obj2
= 0 ;
28591 PyObject
* obj3
= 0 ;
28592 PyObject
* obj4
= 0 ;
28593 char *kwnames
[] = {
28594 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28601 arg2
= (int const) SWIG_AsInt(obj1
);
28602 if (PyErr_Occurred()) SWIG_fail
;
28607 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28613 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28617 arg5
= (long) SWIG_AsLong(obj4
);
28618 if (PyErr_Occurred()) SWIG_fail
;
28621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28622 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
28624 wxPyEndAllowThreads(__tstate
);
28625 if (PyErr_Occurred()) SWIG_fail
;
28627 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
28634 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28635 PyObject
*resultobj
;
28636 wxDirFilterListCtrl
*result
;
28637 char *kwnames
[] = {
28641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
28643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28644 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
28646 wxPyEndAllowThreads(__tstate
);
28647 if (PyErr_Occurred()) SWIG_fail
;
28649 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
28656 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28657 PyObject
*resultobj
;
28658 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
28659 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
28660 int arg3
= (int) (int)-1 ;
28661 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28662 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28663 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28664 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28665 long arg6
= (long) 0 ;
28669 PyObject
* obj0
= 0 ;
28670 PyObject
* obj1
= 0 ;
28671 PyObject
* obj2
= 0 ;
28672 PyObject
* obj3
= 0 ;
28673 PyObject
* obj4
= 0 ;
28674 PyObject
* obj5
= 0 ;
28675 char *kwnames
[] = {
28676 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
28681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28682 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
28683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28685 arg3
= (int const) SWIG_AsInt(obj2
);
28686 if (PyErr_Occurred()) SWIG_fail
;
28691 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28697 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28701 arg6
= (long) SWIG_AsLong(obj5
);
28702 if (PyErr_Occurred()) SWIG_fail
;
28705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28706 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
28708 wxPyEndAllowThreads(__tstate
);
28709 if (PyErr_Occurred()) SWIG_fail
;
28712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28720 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28721 PyObject
*resultobj
;
28722 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
28723 wxString
*arg2
= 0 ;
28725 bool temp2
= False
;
28726 PyObject
* obj0
= 0 ;
28727 PyObject
* obj1
= 0 ;
28728 PyObject
* obj2
= 0 ;
28729 char *kwnames
[] = {
28730 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
28733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
28735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28737 arg2
= wxString_in_helper(obj1
);
28738 if (arg2
== NULL
) SWIG_fail
;
28741 arg3
= (int) SWIG_AsInt(obj2
);
28742 if (PyErr_Occurred()) SWIG_fail
;
28744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28745 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
28747 wxPyEndAllowThreads(__tstate
);
28748 if (PyErr_Occurred()) SWIG_fail
;
28750 Py_INCREF(Py_None
); resultobj
= Py_None
;
28765 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
28767 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28768 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
28770 return Py_BuildValue((char *)"");
28772 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28773 PyObject
*resultobj
;
28774 wxWindow
*arg1
= (wxWindow
*) 0 ;
28776 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28777 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28778 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28779 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28780 long arg5
= (long) 0 ;
28781 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28782 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28783 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
28784 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28785 wxPyControl
*result
;
28788 bool temp7
= False
;
28789 PyObject
* obj0
= 0 ;
28790 PyObject
* obj1
= 0 ;
28791 PyObject
* obj2
= 0 ;
28792 PyObject
* obj3
= 0 ;
28793 PyObject
* obj4
= 0 ;
28794 PyObject
* obj5
= 0 ;
28795 PyObject
* obj6
= 0 ;
28796 char *kwnames
[] = {
28797 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
28801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28803 arg2
= (int const) SWIG_AsInt(obj1
);
28804 if (PyErr_Occurred()) SWIG_fail
;
28808 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28814 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28818 arg5
= (long) SWIG_AsLong(obj4
);
28819 if (PyErr_Occurred()) SWIG_fail
;
28822 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
28823 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28825 if (arg6
== NULL
) {
28826 PyErr_SetString(PyExc_TypeError
,"null reference");
28832 arg7
= wxString_in_helper(obj6
);
28833 if (arg7
== NULL
) SWIG_fail
;
28838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28839 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28841 wxPyEndAllowThreads(__tstate
);
28842 if (PyErr_Occurred()) SWIG_fail
;
28844 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
28859 static PyObject
*_wrap_new_PrePyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28860 PyObject
*resultobj
;
28861 wxPyControl
*result
;
28862 char *kwnames
[] = {
28866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
28868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28869 result
= (wxPyControl
*)new wxPyControl();
28871 wxPyEndAllowThreads(__tstate
);
28872 if (PyErr_Occurred()) SWIG_fail
;
28874 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
28881 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28882 PyObject
*resultobj
;
28883 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28884 PyObject
*arg2
= (PyObject
*) 0 ;
28885 PyObject
*arg3
= (PyObject
*) 0 ;
28886 PyObject
* obj0
= 0 ;
28887 PyObject
* obj1
= 0 ;
28888 PyObject
* obj2
= 0 ;
28889 char *kwnames
[] = {
28890 (char *) "self",(char *) "self",(char *) "_class", NULL
28893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28900 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28902 wxPyEndAllowThreads(__tstate
);
28903 if (PyErr_Occurred()) SWIG_fail
;
28905 Py_INCREF(Py_None
); resultobj
= Py_None
;
28912 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28913 PyObject
*resultobj
;
28914 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28917 PyObject
* obj0
= 0 ;
28918 PyObject
* obj1
= 0 ;
28919 char *kwnames
[] = {
28920 (char *) "self",(char *) "size", NULL
28923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
28924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28928 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28932 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
28934 wxPyEndAllowThreads(__tstate
);
28935 if (PyErr_Occurred()) SWIG_fail
;
28937 Py_INCREF(Py_None
); resultobj
= Py_None
;
28944 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28945 PyObject
*resultobj
;
28946 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28951 PyObject
* obj0
= 0 ;
28952 PyObject
* obj1
= 0 ;
28953 PyObject
* obj2
= 0 ;
28954 PyObject
* obj3
= 0 ;
28955 PyObject
* obj4
= 0 ;
28956 char *kwnames
[] = {
28957 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
28960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28963 arg2
= (int) SWIG_AsInt(obj1
);
28964 if (PyErr_Occurred()) SWIG_fail
;
28965 arg3
= (int) SWIG_AsInt(obj2
);
28966 if (PyErr_Occurred()) SWIG_fail
;
28967 arg4
= (int) SWIG_AsInt(obj3
);
28968 if (PyErr_Occurred()) SWIG_fail
;
28969 arg5
= (int) SWIG_AsInt(obj4
);
28970 if (PyErr_Occurred()) SWIG_fail
;
28972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28973 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
28975 wxPyEndAllowThreads(__tstate
);
28976 if (PyErr_Occurred()) SWIG_fail
;
28978 Py_INCREF(Py_None
); resultobj
= Py_None
;
28985 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28986 PyObject
*resultobj
;
28987 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28992 int arg6
= (int) wxSIZE_AUTO
;
28993 PyObject
* obj0
= 0 ;
28994 PyObject
* obj1
= 0 ;
28995 PyObject
* obj2
= 0 ;
28996 PyObject
* obj3
= 0 ;
28997 PyObject
* obj4
= 0 ;
28998 PyObject
* obj5
= 0 ;
28999 char *kwnames
[] = {
29000 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
29003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29006 arg2
= (int) SWIG_AsInt(obj1
);
29007 if (PyErr_Occurred()) SWIG_fail
;
29008 arg3
= (int) SWIG_AsInt(obj2
);
29009 if (PyErr_Occurred()) SWIG_fail
;
29010 arg4
= (int) SWIG_AsInt(obj3
);
29011 if (PyErr_Occurred()) SWIG_fail
;
29012 arg5
= (int) SWIG_AsInt(obj4
);
29013 if (PyErr_Occurred()) SWIG_fail
;
29015 arg6
= (int) SWIG_AsInt(obj5
);
29016 if (PyErr_Occurred()) SWIG_fail
;
29019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29020 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
29022 wxPyEndAllowThreads(__tstate
);
29023 if (PyErr_Occurred()) SWIG_fail
;
29025 Py_INCREF(Py_None
); resultobj
= Py_None
;
29032 static PyObject
*_wrap_PyControl_base_DoSetClientSize(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 *) "width",(char *) "height", NULL
29044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",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_DoSetClientSize(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_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29066 PyObject
*resultobj
;
29067 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29070 PyObject
* obj0
= 0 ;
29071 PyObject
* obj1
= 0 ;
29072 PyObject
* obj2
= 0 ;
29073 char *kwnames
[] = {
29074 (char *) "self",(char *) "x",(char *) "y", NULL
29077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29080 arg2
= (int) SWIG_AsInt(obj1
);
29081 if (PyErr_Occurred()) SWIG_fail
;
29082 arg3
= (int) SWIG_AsInt(obj2
);
29083 if (PyErr_Occurred()) SWIG_fail
;
29085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29086 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
29088 wxPyEndAllowThreads(__tstate
);
29089 if (PyErr_Occurred()) SWIG_fail
;
29091 Py_INCREF(Py_None
); resultobj
= Py_None
;
29098 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29099 PyObject
*resultobj
;
29100 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29101 int *arg2
= (int *) 0 ;
29102 int *arg3
= (int *) 0 ;
29105 PyObject
* obj0
= 0 ;
29106 char *kwnames
[] = {
29107 (char *) "self", NULL
29112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
29113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29117 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
29119 wxPyEndAllowThreads(__tstate
);
29120 if (PyErr_Occurred()) SWIG_fail
;
29122 Py_INCREF(Py_None
); resultobj
= Py_None
;
29124 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29125 resultobj
= t_output_helper(resultobj
,o
);
29128 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29129 resultobj
= t_output_helper(resultobj
,o
);
29137 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29138 PyObject
*resultobj
;
29139 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29140 int *arg2
= (int *) 0 ;
29141 int *arg3
= (int *) 0 ;
29144 PyObject
* obj0
= 0 ;
29145 char *kwnames
[] = {
29146 (char *) "self", NULL
29151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
29152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29156 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
29158 wxPyEndAllowThreads(__tstate
);
29159 if (PyErr_Occurred()) SWIG_fail
;
29161 Py_INCREF(Py_None
); resultobj
= Py_None
;
29163 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29164 resultobj
= t_output_helper(resultobj
,o
);
29167 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29168 resultobj
= t_output_helper(resultobj
,o
);
29176 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29177 PyObject
*resultobj
;
29178 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29179 int *arg2
= (int *) 0 ;
29180 int *arg3
= (int *) 0 ;
29183 PyObject
* obj0
= 0 ;
29184 char *kwnames
[] = {
29185 (char *) "self", NULL
29190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
29191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29195 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
29197 wxPyEndAllowThreads(__tstate
);
29198 if (PyErr_Occurred()) SWIG_fail
;
29200 Py_INCREF(Py_None
); resultobj
= Py_None
;
29202 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29203 resultobj
= t_output_helper(resultobj
,o
);
29206 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29207 resultobj
= t_output_helper(resultobj
,o
);
29215 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29216 PyObject
*resultobj
;
29217 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29219 PyObject
* obj0
= 0 ;
29220 char *kwnames
[] = {
29221 (char *) "self", NULL
29224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
29225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29229 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
29231 wxPyEndAllowThreads(__tstate
);
29232 if (PyErr_Occurred()) SWIG_fail
;
29235 wxSize
* resultptr
;
29236 resultptr
= new wxSize((wxSize
&) result
);
29237 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29245 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29246 PyObject
*resultobj
;
29247 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29249 PyObject
* obj0
= 0 ;
29250 char *kwnames
[] = {
29251 (char *) "self", NULL
29254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
29255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29259 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
29261 wxPyEndAllowThreads(__tstate
);
29262 if (PyErr_Occurred()) SWIG_fail
;
29265 wxSize
* resultptr
;
29266 resultptr
= new wxSize((wxSize
&) result
);
29267 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29275 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29276 PyObject
*resultobj
;
29277 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29278 PyObject
* obj0
= 0 ;
29279 char *kwnames
[] = {
29280 (char *) "self", NULL
29283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
29284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29288 (arg1
)->base_InitDialog();
29290 wxPyEndAllowThreads(__tstate
);
29291 if (PyErr_Occurred()) SWIG_fail
;
29293 Py_INCREF(Py_None
); resultobj
= Py_None
;
29300 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29301 PyObject
*resultobj
;
29302 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29304 PyObject
* obj0
= 0 ;
29305 char *kwnames
[] = {
29306 (char *) "self", NULL
29309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
29310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29314 result
= (bool)(arg1
)->base_TransferDataToWindow();
29316 wxPyEndAllowThreads(__tstate
);
29317 if (PyErr_Occurred()) SWIG_fail
;
29320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29328 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29329 PyObject
*resultobj
;
29330 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29332 PyObject
* obj0
= 0 ;
29333 char *kwnames
[] = {
29334 (char *) "self", NULL
29337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
29338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29342 result
= (bool)(arg1
)->base_TransferDataFromWindow();
29344 wxPyEndAllowThreads(__tstate
);
29345 if (PyErr_Occurred()) SWIG_fail
;
29348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29356 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29357 PyObject
*resultobj
;
29358 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29360 PyObject
* obj0
= 0 ;
29361 char *kwnames
[] = {
29362 (char *) "self", NULL
29365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
29366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29370 result
= (bool)(arg1
)->base_Validate();
29372 wxPyEndAllowThreads(__tstate
);
29373 if (PyErr_Occurred()) SWIG_fail
;
29376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29384 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29385 PyObject
*resultobj
;
29386 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29388 PyObject
* obj0
= 0 ;
29389 char *kwnames
[] = {
29390 (char *) "self", NULL
29393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
29394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29398 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
29400 wxPyEndAllowThreads(__tstate
);
29401 if (PyErr_Occurred()) SWIG_fail
;
29404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29412 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29413 PyObject
*resultobj
;
29414 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29416 PyObject
* obj0
= 0 ;
29417 char *kwnames
[] = {
29418 (char *) "self", NULL
29421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
29422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29426 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
29428 wxPyEndAllowThreads(__tstate
);
29429 if (PyErr_Occurred()) SWIG_fail
;
29432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29440 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29441 PyObject
*resultobj
;
29442 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29444 PyObject
* obj0
= 0 ;
29445 char *kwnames
[] = {
29446 (char *) "self", NULL
29449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
29450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29454 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
29456 wxPyEndAllowThreads(__tstate
);
29457 if (PyErr_Occurred()) SWIG_fail
;
29460 wxSize
* resultptr
;
29461 resultptr
= new wxSize((wxSize
&) result
);
29462 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29470 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29471 PyObject
*resultobj
;
29472 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29473 wxWindow
*arg2
= (wxWindow
*) 0 ;
29474 PyObject
* obj0
= 0 ;
29475 PyObject
* obj1
= 0 ;
29476 char *kwnames
[] = {
29477 (char *) "self",(char *) "child", NULL
29480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29483 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29487 (arg1
)->base_AddChild(arg2
);
29489 wxPyEndAllowThreads(__tstate
);
29490 if (PyErr_Occurred()) SWIG_fail
;
29492 Py_INCREF(Py_None
); resultobj
= Py_None
;
29499 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29500 PyObject
*resultobj
;
29501 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29502 wxWindow
*arg2
= (wxWindow
*) 0 ;
29503 PyObject
* obj0
= 0 ;
29504 PyObject
* obj1
= 0 ;
29505 char *kwnames
[] = {
29506 (char *) "self",(char *) "child", NULL
29509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29512 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29516 (arg1
)->base_RemoveChild(arg2
);
29518 wxPyEndAllowThreads(__tstate
);
29519 if (PyErr_Occurred()) SWIG_fail
;
29521 Py_INCREF(Py_None
); resultobj
= Py_None
;
29528 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29529 PyObject
*resultobj
;
29530 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29532 PyObject
* obj0
= 0 ;
29533 char *kwnames
[] = {
29534 (char *) "self", NULL
29537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
29538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29542 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
29544 wxPyEndAllowThreads(__tstate
);
29545 if (PyErr_Occurred()) SWIG_fail
;
29548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29556 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29557 PyObject
*resultobj
;
29558 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29559 wxColour
*arg2
= 0 ;
29561 PyObject
* obj0
= 0 ;
29562 PyObject
* obj1
= 0 ;
29563 char *kwnames
[] = {
29564 (char *) "self",(char *) "c", NULL
29567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
29568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29572 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29576 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
29578 wxPyEndAllowThreads(__tstate
);
29579 if (PyErr_Occurred()) SWIG_fail
;
29581 Py_INCREF(Py_None
); resultobj
= Py_None
;
29588 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29589 PyObject
*resultobj
;
29590 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29591 wxVisualAttributes result
;
29592 PyObject
* obj0
= 0 ;
29593 char *kwnames
[] = {
29594 (char *) "self", NULL
29597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29602 result
= (arg1
)->base_GetDefaultAttributes();
29604 wxPyEndAllowThreads(__tstate
);
29605 if (PyErr_Occurred()) SWIG_fail
;
29608 wxVisualAttributes
* resultptr
;
29609 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
29610 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29618 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
29620 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29621 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
29623 return Py_BuildValue((char *)"");
29625 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29626 PyObject
*resultobj
;
29627 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
29628 int arg2
= (int) 0 ;
29629 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29630 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29631 wxHelpEvent
*result
;
29633 PyObject
* obj0
= 0 ;
29634 PyObject
* obj1
= 0 ;
29635 PyObject
* obj2
= 0 ;
29636 char *kwnames
[] = {
29637 (char *) "type",(char *) "winid",(char *) "pt", NULL
29640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29642 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
29643 if (PyErr_Occurred()) SWIG_fail
;
29646 arg2
= (int) SWIG_AsInt(obj1
);
29647 if (PyErr_Occurred()) SWIG_fail
;
29652 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29657 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
29659 wxPyEndAllowThreads(__tstate
);
29660 if (PyErr_Occurred()) SWIG_fail
;
29662 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
29669 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29670 PyObject
*resultobj
;
29671 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29673 PyObject
* obj0
= 0 ;
29674 char *kwnames
[] = {
29675 (char *) "self", NULL
29678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
29679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29683 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
29685 wxPyEndAllowThreads(__tstate
);
29686 if (PyErr_Occurred()) SWIG_fail
;
29689 wxPoint
* resultptr
;
29690 resultptr
= new wxPoint((wxPoint
&) result
);
29691 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29699 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29700 PyObject
*resultobj
;
29701 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29702 wxPoint
*arg2
= 0 ;
29704 PyObject
* obj0
= 0 ;
29705 PyObject
* obj1
= 0 ;
29706 char *kwnames
[] = {
29707 (char *) "self",(char *) "pos", NULL
29710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
29711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29715 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29719 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
29721 wxPyEndAllowThreads(__tstate
);
29722 if (PyErr_Occurred()) SWIG_fail
;
29724 Py_INCREF(Py_None
); resultobj
= Py_None
;
29731 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29732 PyObject
*resultobj
;
29733 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29735 PyObject
* obj0
= 0 ;
29736 char *kwnames
[] = {
29737 (char *) "self", NULL
29740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
29741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29746 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
29747 result
= (wxString
*) &_result_ref
;
29750 wxPyEndAllowThreads(__tstate
);
29751 if (PyErr_Occurred()) SWIG_fail
;
29755 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29757 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29766 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29767 PyObject
*resultobj
;
29768 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29769 wxString
*arg2
= 0 ;
29770 bool temp2
= False
;
29771 PyObject
* obj0
= 0 ;
29772 PyObject
* obj1
= 0 ;
29773 char *kwnames
[] = {
29774 (char *) "self",(char *) "link", NULL
29777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
29778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29781 arg2
= wxString_in_helper(obj1
);
29782 if (arg2
== NULL
) SWIG_fail
;
29786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29787 (arg1
)->SetLink((wxString
const &)*arg2
);
29789 wxPyEndAllowThreads(__tstate
);
29790 if (PyErr_Occurred()) SWIG_fail
;
29792 Py_INCREF(Py_None
); resultobj
= Py_None
;
29807 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29808 PyObject
*resultobj
;
29809 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29811 PyObject
* obj0
= 0 ;
29812 char *kwnames
[] = {
29813 (char *) "self", NULL
29816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
29817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29822 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
29823 result
= (wxString
*) &_result_ref
;
29826 wxPyEndAllowThreads(__tstate
);
29827 if (PyErr_Occurred()) SWIG_fail
;
29831 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29833 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29842 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29843 PyObject
*resultobj
;
29844 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29845 wxString
*arg2
= 0 ;
29846 bool temp2
= False
;
29847 PyObject
* obj0
= 0 ;
29848 PyObject
* obj1
= 0 ;
29849 char *kwnames
[] = {
29850 (char *) "self",(char *) "target", NULL
29853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
29854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29857 arg2
= wxString_in_helper(obj1
);
29858 if (arg2
== NULL
) SWIG_fail
;
29862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29863 (arg1
)->SetTarget((wxString
const &)*arg2
);
29865 wxPyEndAllowThreads(__tstate
);
29866 if (PyErr_Occurred()) SWIG_fail
;
29868 Py_INCREF(Py_None
); resultobj
= Py_None
;
29883 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
29885 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29886 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
29888 return Py_BuildValue((char *)"");
29890 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29891 PyObject
*resultobj
;
29892 wxWindow
*arg1
= (wxWindow
*) NULL
;
29893 bool arg2
= (bool) True
;
29894 wxContextHelp
*result
;
29895 PyObject
* obj0
= 0 ;
29896 PyObject
* obj1
= 0 ;
29897 char *kwnames
[] = {
29898 (char *) "window",(char *) "doNow", NULL
29901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29907 arg2
= (bool) SWIG_AsBool(obj1
);
29908 if (PyErr_Occurred()) SWIG_fail
;
29911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29912 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
29914 wxPyEndAllowThreads(__tstate
);
29915 if (PyErr_Occurred()) SWIG_fail
;
29917 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
29924 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29925 PyObject
*resultobj
;
29926 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
29927 PyObject
* obj0
= 0 ;
29928 char *kwnames
[] = {
29929 (char *) "self", NULL
29932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
29933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
29934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29939 wxPyEndAllowThreads(__tstate
);
29940 if (PyErr_Occurred()) SWIG_fail
;
29942 Py_INCREF(Py_None
); resultobj
= Py_None
;
29949 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29950 PyObject
*resultobj
;
29951 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
29952 wxWindow
*arg2
= (wxWindow
*) NULL
;
29954 PyObject
* obj0
= 0 ;
29955 PyObject
* obj1
= 0 ;
29956 char *kwnames
[] = {
29957 (char *) "self",(char *) "window", NULL
29960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
29962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29964 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29969 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
29971 wxPyEndAllowThreads(__tstate
);
29972 if (PyErr_Occurred()) SWIG_fail
;
29975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29983 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29984 PyObject
*resultobj
;
29985 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
29987 PyObject
* obj0
= 0 ;
29988 char *kwnames
[] = {
29989 (char *) "self", NULL
29992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
29993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
29994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29997 result
= (bool)(arg1
)->EndContextHelp();
29999 wxPyEndAllowThreads(__tstate
);
30000 if (PyErr_Occurred()) SWIG_fail
;
30003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30011 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
30013 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30014 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
30016 return Py_BuildValue((char *)"");
30018 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30019 PyObject
*resultobj
;
30020 wxWindow
*arg1
= (wxWindow
*) 0 ;
30021 int arg2
= (int) wxID_CONTEXT_HELP
;
30022 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30023 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30024 wxSize
const &arg4_defvalue
= wxDefaultSize
;
30025 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
30026 long arg5
= (long) wxBU_AUTODRAW
;
30027 wxContextHelpButton
*result
;
30030 PyObject
* obj0
= 0 ;
30031 PyObject
* obj1
= 0 ;
30032 PyObject
* obj2
= 0 ;
30033 PyObject
* obj3
= 0 ;
30034 PyObject
* obj4
= 0 ;
30035 char *kwnames
[] = {
30036 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
30039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30043 arg2
= (int) SWIG_AsInt(obj1
);
30044 if (PyErr_Occurred()) SWIG_fail
;
30049 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30055 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
30059 arg5
= (long) SWIG_AsLong(obj4
);
30060 if (PyErr_Occurred()) SWIG_fail
;
30063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30064 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
30066 wxPyEndAllowThreads(__tstate
);
30067 if (PyErr_Occurred()) SWIG_fail
;
30069 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
30076 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
30078 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30079 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
30081 return Py_BuildValue((char *)"");
30083 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30084 PyObject
*resultobj
;
30085 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30086 wxHelpProvider
*result
;
30087 PyObject
* obj0
= 0 ;
30088 char *kwnames
[] = {
30089 (char *) "helpProvider", NULL
30092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
30093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30097 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
30099 wxPyEndAllowThreads(__tstate
);
30100 if (PyErr_Occurred()) SWIG_fail
;
30102 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30109 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30110 PyObject
*resultobj
;
30111 wxHelpProvider
*result
;
30112 char *kwnames
[] = {
30116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
30118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30119 result
= (wxHelpProvider
*)wxHelpProvider::Get();
30121 wxPyEndAllowThreads(__tstate
);
30122 if (PyErr_Occurred()) SWIG_fail
;
30124 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30131 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30132 PyObject
*resultobj
;
30133 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30134 wxWindow
*arg2
= (wxWindow
*) 0 ;
30136 PyObject
* obj0
= 0 ;
30137 PyObject
* obj1
= 0 ;
30138 char *kwnames
[] = {
30139 (char *) "self",(char *) "window", NULL
30142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30145 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30149 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
30151 wxPyEndAllowThreads(__tstate
);
30152 if (PyErr_Occurred()) SWIG_fail
;
30156 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30158 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30167 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30168 PyObject
*resultobj
;
30169 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30170 wxWindow
*arg2
= (wxWindow
*) 0 ;
30172 PyObject
* obj0
= 0 ;
30173 PyObject
* obj1
= 0 ;
30174 char *kwnames
[] = {
30175 (char *) "self",(char *) "window", NULL
30178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30181 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30185 result
= (bool)(arg1
)->ShowHelp(arg2
);
30187 wxPyEndAllowThreads(__tstate
);
30188 if (PyErr_Occurred()) SWIG_fail
;
30191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30199 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30200 PyObject
*resultobj
;
30201 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30202 wxWindow
*arg2
= (wxWindow
*) 0 ;
30203 wxString
*arg3
= 0 ;
30204 bool temp3
= False
;
30205 PyObject
* obj0
= 0 ;
30206 PyObject
* obj1
= 0 ;
30207 PyObject
* obj2
= 0 ;
30208 char *kwnames
[] = {
30209 (char *) "self",(char *) "window",(char *) "text", NULL
30212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30215 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30218 arg3
= wxString_in_helper(obj2
);
30219 if (arg3
== NULL
) SWIG_fail
;
30223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30224 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30226 wxPyEndAllowThreads(__tstate
);
30227 if (PyErr_Occurred()) SWIG_fail
;
30229 Py_INCREF(Py_None
); resultobj
= Py_None
;
30244 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30245 PyObject
*resultobj
;
30246 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30248 wxString
*arg3
= 0 ;
30249 bool temp3
= False
;
30250 PyObject
* obj0
= 0 ;
30251 PyObject
* obj1
= 0 ;
30252 PyObject
* obj2
= 0 ;
30253 char *kwnames
[] = {
30254 (char *) "self",(char *) "id",(char *) "text", NULL
30257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30260 arg2
= (int) SWIG_AsInt(obj1
);
30261 if (PyErr_Occurred()) SWIG_fail
;
30263 arg3
= wxString_in_helper(obj2
);
30264 if (arg3
== NULL
) SWIG_fail
;
30268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30269 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30271 wxPyEndAllowThreads(__tstate
);
30272 if (PyErr_Occurred()) SWIG_fail
;
30274 Py_INCREF(Py_None
); resultobj
= Py_None
;
30289 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30290 PyObject
*resultobj
;
30291 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30292 wxWindow
*arg2
= (wxWindow
*) 0 ;
30293 PyObject
* obj0
= 0 ;
30294 PyObject
* obj1
= 0 ;
30295 char *kwnames
[] = {
30296 (char *) "self",(char *) "window", NULL
30299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30302 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30306 (arg1
)->RemoveHelp(arg2
);
30308 wxPyEndAllowThreads(__tstate
);
30309 if (PyErr_Occurred()) SWIG_fail
;
30311 Py_INCREF(Py_None
); resultobj
= Py_None
;
30318 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30319 PyObject
*resultobj
;
30320 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30321 PyObject
* obj0
= 0 ;
30322 char *kwnames
[] = {
30323 (char *) "self", NULL
30326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
30327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30331 wxHelpProvider_Destroy(arg1
);
30333 wxPyEndAllowThreads(__tstate
);
30334 if (PyErr_Occurred()) SWIG_fail
;
30336 Py_INCREF(Py_None
); resultobj
= Py_None
;
30343 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
30345 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30346 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
30348 return Py_BuildValue((char *)"");
30350 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30351 PyObject
*resultobj
;
30352 wxSimpleHelpProvider
*result
;
30353 char *kwnames
[] = {
30357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
30359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30360 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
30362 wxPyEndAllowThreads(__tstate
);
30363 if (PyErr_Occurred()) SWIG_fail
;
30365 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
30372 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
30374 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30375 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
30377 return Py_BuildValue((char *)"");
30379 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30380 PyObject
*resultobj
;
30381 wxBitmap
*arg1
= 0 ;
30382 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30383 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30384 wxGenericDragImage
*result
;
30385 PyObject
* obj0
= 0 ;
30386 PyObject
* obj1
= 0 ;
30387 char *kwnames
[] = {
30388 (char *) "image",(char *) "cursor", NULL
30391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
30392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
30393 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30395 if (arg1
== NULL
) {
30396 PyErr_SetString(PyExc_TypeError
,"null reference");
30400 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30401 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30403 if (arg2
== NULL
) {
30404 PyErr_SetString(PyExc_TypeError
,"null reference");
30409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30410 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
30412 wxPyEndAllowThreads(__tstate
);
30413 if (PyErr_Occurred()) SWIG_fail
;
30415 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30422 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30423 PyObject
*resultobj
;
30425 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30426 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30427 wxGenericDragImage
*result
;
30428 PyObject
* obj0
= 0 ;
30429 PyObject
* obj1
= 0 ;
30430 char *kwnames
[] = {
30431 (char *) "image",(char *) "cursor", NULL
30434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
30435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
30436 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30438 if (arg1
== NULL
) {
30439 PyErr_SetString(PyExc_TypeError
,"null reference");
30443 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30444 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30446 if (arg2
== NULL
) {
30447 PyErr_SetString(PyExc_TypeError
,"null reference");
30452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30453 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
30455 wxPyEndAllowThreads(__tstate
);
30456 if (PyErr_Occurred()) SWIG_fail
;
30458 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30465 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30466 PyObject
*resultobj
;
30467 wxString
*arg1
= 0 ;
30468 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30469 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30470 wxGenericDragImage
*result
;
30471 bool temp1
= False
;
30472 PyObject
* obj0
= 0 ;
30473 PyObject
* obj1
= 0 ;
30474 char *kwnames
[] = {
30475 (char *) "str",(char *) "cursor", NULL
30478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
30480 arg1
= wxString_in_helper(obj0
);
30481 if (arg1
== NULL
) SWIG_fail
;
30485 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30486 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30488 if (arg2
== NULL
) {
30489 PyErr_SetString(PyExc_TypeError
,"null reference");
30494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30495 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
30497 wxPyEndAllowThreads(__tstate
);
30498 if (PyErr_Occurred()) SWIG_fail
;
30500 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30515 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30516 PyObject
*resultobj
;
30517 wxPyTreeCtrl
*arg1
= 0 ;
30518 wxTreeItemId
*arg2
= 0 ;
30519 wxGenericDragImage
*result
;
30520 PyObject
* obj0
= 0 ;
30521 PyObject
* obj1
= 0 ;
30522 char *kwnames
[] = {
30523 (char *) "treeCtrl",(char *) "id", NULL
30526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
30528 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30530 if (arg1
== NULL
) {
30531 PyErr_SetString(PyExc_TypeError
,"null reference");
30534 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
30535 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30537 if (arg2
== NULL
) {
30538 PyErr_SetString(PyExc_TypeError
,"null reference");
30542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30543 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
30545 wxPyEndAllowThreads(__tstate
);
30546 if (PyErr_Occurred()) SWIG_fail
;
30548 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30555 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30556 PyObject
*resultobj
;
30557 wxPyListCtrl
*arg1
= 0 ;
30559 wxGenericDragImage
*result
;
30560 PyObject
* obj0
= 0 ;
30561 PyObject
* obj1
= 0 ;
30562 char *kwnames
[] = {
30563 (char *) "listCtrl",(char *) "id", NULL
30566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
30568 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30570 if (arg1
== NULL
) {
30571 PyErr_SetString(PyExc_TypeError
,"null reference");
30574 arg2
= (long) SWIG_AsLong(obj1
);
30575 if (PyErr_Occurred()) SWIG_fail
;
30577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30578 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
30580 wxPyEndAllowThreads(__tstate
);
30581 if (PyErr_Occurred()) SWIG_fail
;
30583 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30590 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30591 PyObject
*resultobj
;
30592 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30593 PyObject
* obj0
= 0 ;
30594 char *kwnames
[] = {
30595 (char *) "self", NULL
30598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
30599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30605 wxPyEndAllowThreads(__tstate
);
30606 if (PyErr_Occurred()) SWIG_fail
;
30608 Py_INCREF(Py_None
); resultobj
= Py_None
;
30615 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30616 PyObject
*resultobj
;
30617 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30618 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
30619 PyObject
* obj0
= 0 ;
30620 PyObject
* obj1
= 0 ;
30621 char *kwnames
[] = {
30622 (char *) "self",(char *) "bitmap", NULL
30625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
30626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30628 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
30629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30632 (arg1
)->SetBackingBitmap(arg2
);
30634 wxPyEndAllowThreads(__tstate
);
30635 if (PyErr_Occurred()) SWIG_fail
;
30637 Py_INCREF(Py_None
); resultobj
= Py_None
;
30644 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30645 PyObject
*resultobj
;
30646 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30647 wxPoint
*arg2
= 0 ;
30648 wxWindow
*arg3
= (wxWindow
*) 0 ;
30649 bool arg4
= (bool) False
;
30650 wxRect
*arg5
= (wxRect
*) NULL
;
30653 PyObject
* obj0
= 0 ;
30654 PyObject
* obj1
= 0 ;
30655 PyObject
* obj2
= 0 ;
30656 PyObject
* obj3
= 0 ;
30657 PyObject
* obj4
= 0 ;
30658 char *kwnames
[] = {
30659 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
30662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30667 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30669 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
30670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30672 arg4
= (bool) SWIG_AsBool(obj3
);
30673 if (PyErr_Occurred()) SWIG_fail
;
30676 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
30677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30681 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
30683 wxPyEndAllowThreads(__tstate
);
30684 if (PyErr_Occurred()) SWIG_fail
;
30687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30695 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30696 PyObject
*resultobj
;
30697 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30698 wxPoint
*arg2
= 0 ;
30699 wxWindow
*arg3
= (wxWindow
*) 0 ;
30700 wxWindow
*arg4
= (wxWindow
*) 0 ;
30703 PyObject
* obj0
= 0 ;
30704 PyObject
* obj1
= 0 ;
30705 PyObject
* obj2
= 0 ;
30706 PyObject
* obj3
= 0 ;
30707 char *kwnames
[] = {
30708 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
30711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30716 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30718 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
30719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30720 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
30721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30724 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
30726 wxPyEndAllowThreads(__tstate
);
30727 if (PyErr_Occurred()) SWIG_fail
;
30730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30738 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30739 PyObject
*resultobj
;
30740 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30742 PyObject
* obj0
= 0 ;
30743 char *kwnames
[] = {
30744 (char *) "self", NULL
30747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
30748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30752 result
= (bool)(arg1
)->EndDrag();
30754 wxPyEndAllowThreads(__tstate
);
30755 if (PyErr_Occurred()) SWIG_fail
;
30758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30766 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30767 PyObject
*resultobj
;
30768 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30769 wxPoint
*arg2
= 0 ;
30772 PyObject
* obj0
= 0 ;
30773 PyObject
* obj1
= 0 ;
30774 char *kwnames
[] = {
30775 (char *) "self",(char *) "pt", NULL
30778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
30779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30783 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30787 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
30789 wxPyEndAllowThreads(__tstate
);
30790 if (PyErr_Occurred()) SWIG_fail
;
30793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30801 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30802 PyObject
*resultobj
;
30803 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30805 PyObject
* obj0
= 0 ;
30806 char *kwnames
[] = {
30807 (char *) "self", NULL
30810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
30811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30815 result
= (bool)(arg1
)->Show();
30817 wxPyEndAllowThreads(__tstate
);
30818 if (PyErr_Occurred()) SWIG_fail
;
30821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30829 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30830 PyObject
*resultobj
;
30831 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30833 PyObject
* obj0
= 0 ;
30834 char *kwnames
[] = {
30835 (char *) "self", NULL
30838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
30839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30843 result
= (bool)(arg1
)->Hide();
30845 wxPyEndAllowThreads(__tstate
);
30846 if (PyErr_Occurred()) SWIG_fail
;
30849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30857 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30858 PyObject
*resultobj
;
30859 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30860 wxPoint
*arg2
= 0 ;
30863 PyObject
* obj0
= 0 ;
30864 PyObject
* obj1
= 0 ;
30865 char *kwnames
[] = {
30866 (char *) "self",(char *) "pos", NULL
30869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
30870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30874 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30878 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
30880 wxPyEndAllowThreads(__tstate
);
30881 if (PyErr_Occurred()) SWIG_fail
;
30884 wxRect
* resultptr
;
30885 resultptr
= new wxRect((wxRect
&) result
);
30886 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
30894 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30895 PyObject
*resultobj
;
30896 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30898 wxPoint
*arg3
= 0 ;
30901 PyObject
* obj0
= 0 ;
30902 PyObject
* obj1
= 0 ;
30903 PyObject
* obj2
= 0 ;
30904 char *kwnames
[] = {
30905 (char *) "self",(char *) "dc",(char *) "pos", NULL
30908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30911 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30912 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30914 if (arg2
== NULL
) {
30915 PyErr_SetString(PyExc_TypeError
,"null reference");
30920 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30924 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
30926 wxPyEndAllowThreads(__tstate
);
30927 if (PyErr_Occurred()) SWIG_fail
;
30930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30938 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30939 PyObject
*resultobj
;
30940 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30942 wxMemoryDC
*arg3
= 0 ;
30948 PyObject
* obj0
= 0 ;
30949 PyObject
* obj1
= 0 ;
30950 PyObject
* obj2
= 0 ;
30951 PyObject
* obj3
= 0 ;
30952 PyObject
* obj4
= 0 ;
30953 char *kwnames
[] = {
30954 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
30957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30960 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30961 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30963 if (arg2
== NULL
) {
30964 PyErr_SetString(PyExc_TypeError
,"null reference");
30967 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
30968 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30970 if (arg3
== NULL
) {
30971 PyErr_SetString(PyExc_TypeError
,"null reference");
30976 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30980 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
30983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30984 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
30986 wxPyEndAllowThreads(__tstate
);
30987 if (PyErr_Occurred()) SWIG_fail
;
30990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30998 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30999 PyObject
*resultobj
;
31000 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31001 wxPoint
*arg2
= 0 ;
31002 wxPoint
*arg3
= 0 ;
31008 PyObject
* obj0
= 0 ;
31009 PyObject
* obj1
= 0 ;
31010 PyObject
* obj2
= 0 ;
31011 PyObject
* obj3
= 0 ;
31012 PyObject
* obj4
= 0 ;
31013 char *kwnames
[] = {
31014 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
31017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31022 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31026 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31028 arg4
= (bool) SWIG_AsBool(obj3
);
31029 if (PyErr_Occurred()) SWIG_fail
;
31030 arg5
= (bool) SWIG_AsBool(obj4
);
31031 if (PyErr_Occurred()) SWIG_fail
;
31033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31034 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
31036 wxPyEndAllowThreads(__tstate
);
31037 if (PyErr_Occurred()) SWIG_fail
;
31040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31048 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
31050 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31051 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
31053 return Py_BuildValue((char *)"");
31055 static PyMethodDef SwigMethods
[] = {
31056 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
31057 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
31058 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
31059 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
31060 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
31061 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31062 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
31063 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
31064 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
31065 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31066 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
31067 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
31068 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
31069 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
31070 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
31071 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
31072 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
31073 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
31074 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31075 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
31076 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
31077 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
31078 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
31079 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
31080 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31081 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31082 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
31083 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31084 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
31085 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
31086 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
31087 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
31088 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31089 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
31090 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
31091 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
31092 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
31093 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31094 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31095 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31096 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31097 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
31098 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
31099 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
31100 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31101 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31102 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31103 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
31104 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
31105 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
31106 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31107 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31108 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
31109 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
31110 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31111 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
31112 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31113 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31114 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
31115 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
31116 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
31117 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31118 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
31119 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
31120 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
31121 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
31122 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31123 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31124 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31125 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31126 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31127 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
31128 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
31129 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
31130 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
31131 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31132 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
31133 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
31134 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
31135 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31136 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31137 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
31138 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
31139 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
31140 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
31141 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31142 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
31143 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31144 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
31145 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
31146 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
31147 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
31148 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31149 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
31150 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31151 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31152 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
31153 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31154 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31155 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
31156 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31157 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
31158 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
31159 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
31160 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31161 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
31162 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
31163 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
31164 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31165 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31166 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
31167 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
31168 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
31169 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31170 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
31171 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
31172 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
31173 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31174 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31175 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
31176 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31177 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31178 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31179 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31180 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
31181 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
31182 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
31183 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31184 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
31185 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
31186 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
31187 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31188 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
31189 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
31190 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
},
31191 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
31192 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
31193 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31194 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31195 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31196 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31197 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
31198 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31199 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31200 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
31201 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31202 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31203 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
31204 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31205 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
31206 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31207 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31208 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
31209 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31210 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31211 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31212 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31213 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
31214 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31215 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
},
31216 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31217 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
31218 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
31219 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
31220 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
31221 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31222 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31223 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31224 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31225 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31226 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31227 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
31228 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
31229 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
31230 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
31231 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
31232 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
31233 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
31234 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31235 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31236 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
31237 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
31238 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
31239 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
31240 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
31241 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
31242 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
31243 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
31244 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
31245 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
31246 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
31247 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31248 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31249 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
31250 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
31251 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
31252 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
31253 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
31254 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31255 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
31256 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
31257 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
31258 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
31259 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
31260 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
31261 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
31262 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
31263 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
31264 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
31265 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31266 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
31267 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31268 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
31269 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31270 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
31271 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
31272 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
31273 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
31274 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31275 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
31276 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
31277 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
31278 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
31279 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
31280 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
31281 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
31282 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
31283 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
31284 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
31285 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
31286 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31287 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31288 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31289 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
31290 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
31291 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31292 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
31293 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
31294 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
31295 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31296 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31297 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31298 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31299 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31300 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
31301 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
31302 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31303 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31304 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31305 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
31306 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31307 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31308 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31309 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31310 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31311 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
31312 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31313 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31314 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31315 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31316 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31317 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
31318 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
31319 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31320 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31321 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
},
31322 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
31323 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
31324 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31325 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31326 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31327 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31328 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31329 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
31330 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
31331 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
31332 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31333 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
31334 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
31335 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
31336 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
31337 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
31338 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31339 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
31340 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
31341 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
31342 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31343 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31344 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31345 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31346 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
31347 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
31348 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
31349 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
31350 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31351 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31352 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31353 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31354 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31355 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
31356 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
31357 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
31358 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31359 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
31360 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31361 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
31362 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
31363 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
31364 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
31365 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
31366 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
31367 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
31368 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
31369 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
31370 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31371 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31372 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
31373 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
31374 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
31375 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31376 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31377 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31378 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31379 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31380 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
31381 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
31382 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
31383 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31384 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
31385 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
31386 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31387 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31388 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31389 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
31390 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
31391 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31392 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
31393 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
31394 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
31395 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
31396 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
31397 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
31398 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31399 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
31400 { (char *)"BookCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31401 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
31402 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
31403 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31404 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31405 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
31406 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
31407 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
31408 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
31409 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
31410 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
31411 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
31412 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
31413 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
31414 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31415 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
31416 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31417 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
31418 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
31419 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
31420 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
31421 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
31422 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
31423 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31424 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
31425 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
31426 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
31427 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
31428 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
31429 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
31430 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
31431 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
31432 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
31433 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
31434 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
31435 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
31436 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
31437 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31438 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
31439 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31440 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
31441 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
31442 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31443 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31444 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
31445 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
31446 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
31447 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
31448 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31449 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31450 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31451 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31452 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31453 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31454 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
31455 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
31456 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
31457 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31458 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31459 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31460 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31461 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31462 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
31463 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
31464 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
31465 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
31466 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
31467 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
31468 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
31469 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
31470 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
31471 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
31472 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
31473 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
31474 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31475 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31476 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
31477 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
31478 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
31479 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
31480 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
31481 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
31482 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
31483 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
31484 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
31485 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
31486 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
31487 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
31488 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
31489 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31490 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31491 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31492 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31493 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
31494 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31495 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
31496 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
31497 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
31498 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31499 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
31500 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
31501 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
31502 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
31503 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
31504 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
31505 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
31506 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
31507 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
31508 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
31509 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
31510 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31511 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
31512 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31513 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31514 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
31515 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
31516 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31517 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
31518 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
31519 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31520 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31521 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31522 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31523 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31524 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
31525 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31526 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31527 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31528 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31529 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
31530 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
31531 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
31532 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
31533 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31534 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
31535 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
31536 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31537 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
31538 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
31539 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
31540 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
31541 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
31542 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
31543 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
31544 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31545 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31546 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31547 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
31548 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31549 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31550 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
31551 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
31552 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
31553 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31554 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
31555 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
31556 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31557 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31558 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31559 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31560 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31561 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
31562 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
31563 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
31564 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
31565 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
31566 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
31567 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
31568 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
31569 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
31570 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
31571 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
31572 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
31573 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
31574 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
31575 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
31576 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
31577 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
31578 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
31579 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
31580 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
31581 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
31582 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
31583 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
31584 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
31585 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
31586 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
31587 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
31588 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
31589 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
31590 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
31591 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
31592 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
31593 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
31594 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
31595 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
31596 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31597 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31598 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31599 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
31600 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
31601 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31602 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
31603 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31604 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
31605 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
31606 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
31607 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
31608 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
31609 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31610 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31611 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31612 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31613 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31614 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31615 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31616 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31617 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
31618 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
31619 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
31620 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
31621 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31622 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
31623 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31624 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
31625 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
31626 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31627 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31628 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31629 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31630 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31631 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
31632 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
31633 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
31634 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31635 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
31636 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31637 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31638 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31639 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31640 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31641 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
31642 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
31643 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
31644 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
31645 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31646 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31647 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31648 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
},
31649 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
31650 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
31651 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
31652 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
31653 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
31654 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
31655 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
31656 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
31657 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
31658 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
31659 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31660 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
31661 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
31662 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
31663 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31664 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
31665 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31666 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
31667 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31668 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
31669 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
31670 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31671 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
31672 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31673 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31674 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31675 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31676 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
31677 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
31678 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31679 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
31680 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
31681 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
31682 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
31683 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
31684 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
31685 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
31686 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
31687 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
31688 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31689 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
31690 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
31691 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
31692 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
31693 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
31694 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
31695 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
31696 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
31697 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
31698 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
31699 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
31700 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
31701 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31702 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
31703 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31704 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
31705 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31706 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
31707 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
31708 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31709 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
31710 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
31711 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
31712 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31713 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31714 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
31715 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
31716 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
31717 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31718 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31719 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
31720 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
31721 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
31722 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
31723 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31724 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31725 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31726 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31727 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
31728 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
31729 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
31730 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31731 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31732 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31733 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31734 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31735 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31736 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31737 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31738 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31739 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31740 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31741 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
31742 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31743 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31744 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31745 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31746 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31747 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31748 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
31749 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
31750 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
31751 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31752 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31753 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31754 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
31755 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
31756 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
31757 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31758 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
31759 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
31760 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
31761 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31762 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
31763 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
31764 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
31765 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
31766 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
31767 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
31768 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
31769 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
31770 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
31771 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
31772 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
31773 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
31774 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
31775 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
31776 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
31777 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
31778 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
31779 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
31780 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
31781 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
31782 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
31783 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
31784 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
31785 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
},
31786 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
31787 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
31788 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
},
31789 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31790 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
31791 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
31792 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
31793 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
31794 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31795 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
31796 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31797 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
31798 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31799 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31800 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31801 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
31802 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
31803 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
31804 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
31805 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
31806 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
31807 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
31808 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
31809 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
31810 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
31811 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
31812 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
31813 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
31814 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31815 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31816 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
31817 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
31818 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
31819 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
31820 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31821 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31822 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31823 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
31824 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
31825 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
31826 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
},
31827 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31828 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
31829 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
31830 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
31831 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
31832 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
31833 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
31834 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
31835 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31836 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
31837 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
31838 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
31839 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
31840 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
31841 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
31842 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
31843 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
31844 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
31845 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
31846 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
31847 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
31848 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
31849 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31850 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
31851 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
31852 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31853 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31854 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
31855 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
31856 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
31857 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
31858 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
31859 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31860 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31861 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31862 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31863 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
31864 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
31865 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
31866 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
31867 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
31868 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
31869 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
31870 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
31871 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
31872 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
},
31873 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31874 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
31875 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
31876 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
31877 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
31878 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
31879 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
31880 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
31881 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
31882 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
31883 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31884 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
31885 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
31886 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
31887 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
31888 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
31889 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
31890 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
31891 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
31892 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
31893 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
31894 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
31899 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31901 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
31902 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31904 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
31905 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31907 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
31908 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
31910 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
31911 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31913 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
31914 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31916 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
31917 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
31919 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
31920 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31922 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
31923 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
31925 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
31926 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
31928 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
31929 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
31931 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
31932 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31934 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
31935 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
31937 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
31938 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
31940 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
31941 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
31943 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
31944 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
31946 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
31947 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31949 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
31950 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
31952 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
31953 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
31955 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
31956 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
31958 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
31959 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
31961 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
31962 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31964 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
31965 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
31967 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
31968 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31970 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
31971 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
31973 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
31974 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31976 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
31977 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31979 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
31980 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
31982 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
31983 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
31985 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
31986 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31988 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
31989 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31991 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
31992 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
31994 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
31995 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
31997 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
31998 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32000 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32001 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32003 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32004 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32006 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32007 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32009 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32010 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32012 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32013 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32015 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32016 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32018 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32019 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32021 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32022 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32024 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32025 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32027 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32028 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32030 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32031 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32033 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32034 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32036 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32037 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32039 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32040 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32042 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32043 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32045 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32046 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32048 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32049 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32051 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32052 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32054 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32055 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32057 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
32058 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32060 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
32061 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
32063 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
32064 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32066 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
32067 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32069 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
32070 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
32072 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
32073 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32075 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
32076 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32078 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
32079 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
32081 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
32082 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32084 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
32085 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32087 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
32088 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32090 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
32091 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
32093 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
32094 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
32096 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
32097 return (void *)((wxControl
*) ((wxComboBox
*) x
));
32099 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
32100 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
32102 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
32103 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
32105 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
32106 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
32108 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
32109 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
32111 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
32112 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32114 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
32115 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
32117 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
32118 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
32120 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
32121 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
32123 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
32124 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
32126 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
32127 return (void *)((wxControl
*) ((wxGauge
*) x
));
32129 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
32130 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
32132 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
32133 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
32135 static void *_p_wxButtonTo_p_wxControl(void *x
) {
32136 return (void *)((wxControl
*) ((wxButton
*) x
));
32138 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
32139 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
32141 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
32142 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32144 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
32145 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
32147 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
32148 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
32150 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
32151 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
32153 static void *_p_wxListbookTo_p_wxControl(void *x
) {
32154 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
32156 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
32157 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
32159 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
32160 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
32162 static void *_p_wxListViewTo_p_wxControl(void *x
) {
32163 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
32165 static void *_p_wxSliderTo_p_wxControl(void *x
) {
32166 return (void *)((wxControl
*) ((wxSlider
*) x
));
32168 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
32169 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
32171 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
32172 return (void *)((wxControl
*) ((wxPyControl
*) x
));
32174 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
32175 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
32177 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
32178 return (void *)((wxControl
*) ((wxStaticText
*) x
));
32180 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
32181 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
32183 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
32184 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32186 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
32187 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32189 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
32190 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32192 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
32193 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
32195 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
32196 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32198 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
32199 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32201 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
32202 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32204 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
32205 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
32207 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32208 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32210 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32211 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32213 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32214 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32216 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
32217 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32219 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32220 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32222 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
32223 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
32225 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
32226 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
32228 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32229 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32231 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32232 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32234 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
32235 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
32237 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
32238 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32240 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
32241 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
32243 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
32244 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32246 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
32247 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
32249 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32250 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32252 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
32253 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32255 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
32256 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
32258 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32259 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32261 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
32262 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
32264 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
32265 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
32267 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
32268 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32270 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
32271 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32273 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
32274 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32276 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
32277 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
32279 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
32280 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32282 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
32283 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32285 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
32286 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32288 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
32289 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32291 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
32292 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
32294 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
32295 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32297 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
32298 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
32300 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
32301 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
32303 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
32304 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
32306 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
32307 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
32309 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
32310 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
32312 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
32313 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
32315 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
32316 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32318 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
32319 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32321 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
32322 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
32324 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
32325 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
32327 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
32328 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
32330 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
32331 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
32333 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
32334 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
32336 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
32337 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32339 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
32340 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32342 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
32343 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
32345 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32346 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32348 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32349 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32351 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32352 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32354 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32355 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32357 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32358 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32360 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
32361 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32363 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
32364 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32366 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32367 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32369 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32370 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32372 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32373 return (void *)((wxObject
*) ((wxSizer
*) x
));
32375 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32376 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32378 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
32379 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32381 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
32382 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32384 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32385 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32387 static void *_p_wxEventTo_p_wxObject(void *x
) {
32388 return (void *)((wxObject
*) ((wxEvent
*) x
));
32390 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32391 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32393 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32394 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32396 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32397 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32399 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
32400 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32402 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
32403 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32405 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
32406 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32408 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32409 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32411 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32412 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32414 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32415 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32417 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32418 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32420 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32421 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32423 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32424 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32426 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
32427 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
32429 static void *_p_wxControlTo_p_wxObject(void *x
) {
32430 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32432 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
32433 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
32435 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
32436 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
32438 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
32439 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
32441 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
32442 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
32444 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
32445 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
32447 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32448 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32450 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
32451 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32453 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32454 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32456 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32457 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32459 static void *_p_wxListViewTo_p_wxObject(void *x
) {
32460 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32462 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
32463 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
32465 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
32466 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32468 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32469 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32471 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32472 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32474 static void *_p_wxListbookTo_p_wxObject(void *x
) {
32475 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32477 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32478 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32480 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
32481 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
32483 static void *_p_wxSliderTo_p_wxObject(void *x
) {
32484 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
32486 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32487 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32489 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32490 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32492 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32493 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32495 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32496 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32498 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32499 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32501 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32502 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32504 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32505 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32507 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32508 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32510 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32511 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32513 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
32514 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
32516 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
32517 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
32519 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32520 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32522 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32523 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32525 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32526 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32528 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32529 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32531 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32532 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32534 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32535 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32537 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32538 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32540 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32541 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32543 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32544 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32546 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32547 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32549 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32550 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32552 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32553 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32555 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32556 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32558 static void *_p_wxListEventTo_p_wxObject(void *x
) {
32559 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
32561 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
32562 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32564 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
32565 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32567 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
32568 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
32570 static void *_p_wxButtonTo_p_wxObject(void *x
) {
32571 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
32573 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
32574 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32576 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
32577 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
32579 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
32580 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32582 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32583 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32585 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
32586 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
32588 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
32589 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
32591 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
32592 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
32594 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
32595 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
32597 static void *_p_wxListItemTo_p_wxObject(void *x
) {
32598 return (void *)((wxObject
*) ((wxListItem
*) x
));
32600 static void *_p_wxImageTo_p_wxObject(void *x
) {
32601 return (void *)((wxObject
*) ((wxImage
*) x
));
32603 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
32604 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
32606 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32607 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32609 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
32610 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32612 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
32613 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
32615 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
32616 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
32618 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
32619 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32621 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
32622 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32624 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32625 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32627 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32628 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32630 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32631 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32633 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32634 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32636 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32637 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32639 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32640 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32642 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32643 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32645 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32646 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32648 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32649 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32651 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32652 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32654 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32655 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32657 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32658 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32660 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32661 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32663 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
32664 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32666 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32667 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32669 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32670 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32672 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
32673 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
32675 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32676 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32678 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32679 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32681 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32682 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32684 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32685 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32687 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
32688 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
32690 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
32691 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32693 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32694 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32696 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32697 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32699 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
32700 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
32702 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
32703 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
32705 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32706 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32708 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
32709 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32711 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
32712 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
32714 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
32715 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
32717 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
32718 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
32720 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32721 return (void *)((wxWindow
*) ((wxControl
*) x
));
32723 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
32724 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
32726 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
32727 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32729 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
32730 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
32732 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
32733 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
32735 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
32736 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
32738 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
32739 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
32741 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32742 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32744 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
32745 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
32747 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
32748 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
32750 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
32751 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32753 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
32754 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
32756 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
32757 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
32759 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
32760 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
32762 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
32763 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32765 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
32766 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32768 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
32769 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32771 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
32772 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32774 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
32775 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32777 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
32778 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
32780 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
32781 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
32783 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
32784 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
32786 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
32787 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
32789 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
32790 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
32792 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
32793 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
32795 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
32796 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
32798 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
32799 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32801 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
32802 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32804 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
32805 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
32807 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
32808 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32810 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
32811 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32813 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
32814 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32816 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
32817 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
32819 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
32820 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32822 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
32823 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32825 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
32826 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32828 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
32829 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32831 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
32832 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32834 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
32835 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
32837 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
32838 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32840 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
32841 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32843 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
32844 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32846 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
32847 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
32849 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
32850 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32852 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
32853 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32855 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
32856 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32858 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
32859 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
32861 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
32862 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
32864 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
32865 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
32867 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
32868 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
32870 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}};
32871 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}};
32872 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}};
32873 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}};
32874 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}};
32875 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}};
32876 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}};
32877 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}};
32878 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}};
32879 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}};
32880 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}};
32881 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}};
32882 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}};
32883 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}};
32884 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}};
32885 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}};
32886 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}};
32887 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}};
32888 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}};
32889 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}};
32890 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}};
32891 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}};
32892 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}};
32893 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}};
32894 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}};
32895 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}};
32896 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}};
32897 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}};
32898 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}};
32899 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}};
32900 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}};
32901 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}};
32902 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}};
32903 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}};
32904 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}};
32905 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}};
32906 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}};
32907 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}};
32908 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}};
32909 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}};
32910 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}};
32911 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}};
32912 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}};
32913 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}};
32914 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}};
32915 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}};
32916 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}};
32917 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}};
32918 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}};
32919 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}};
32920 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}};
32921 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}};
32922 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}};
32923 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}};
32924 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}};
32925 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}};
32926 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}};
32927 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}};
32928 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}};
32929 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}};
32930 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}};
32931 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}};
32932 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}};
32933 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}};
32934 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}};
32935 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}};
32936 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}};
32937 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}};
32938 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}};
32939 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}};
32940 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}};
32941 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}};
32942 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}};
32943 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}};
32944 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}};
32945 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}};
32946 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}};
32947 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}};
32948 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}};
32949 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}};
32950 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}};
32951 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}};
32952 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}};
32953 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}};
32954 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}};
32956 static swig_type_info
*swig_types_initial
[] = {
32957 _swigt__p_wxTextUrlEvent
,
32958 _swigt__p_wxBookCtrlEvent
,
32960 _swigt__p_wxCheckBox
,
32961 _swigt__p_wxPyTreeCtrl
,
32963 _swigt__p_wxGenericDirCtrl
,
32965 _swigt__p_wxPyTreeItemData
,
32966 _swigt__p_wxItemContainer
,
32967 _swigt__p_wxPyListCtrl
,
32968 _swigt__p_wxDirFilterListCtrl
,
32969 _swigt__p_wxStaticLine
,
32970 _swigt__p_wxControl
,
32971 _swigt__p_wxPyControl
,
32973 _swigt__p_wxToolBarBase
,
32975 _swigt__p_wxToggleButton
,
32976 _swigt__p_wxRadioButton
,
32977 _swigt__p_wxChoice
,
32978 _swigt__p_wxMemoryDC
,
32979 _swigt__p_wxListItemAttr
,
32984 _swigt__p_wxListView
,
32986 _swigt__p_wxVisualAttributes
,
32987 _swigt__p_wxTextCtrl
,
32988 _swigt__p_wxNotebook
,
32989 _swigt__p_wxNotifyEvent
,
32990 _swigt__p_wxArrayString
,
32991 _swigt__p_wxListbook
,
32992 _swigt__p_wxStaticBitmap
,
32993 _swigt__p_wxSlider
,
32994 _swigt__p_wxStaticBox
,
32995 _swigt__p_wxArrayInt
,
32996 _swigt__p_wxContextHelp
,
32998 _swigt__p_wxEvtHandler
,
32999 _swigt__p_wxListEvent
,
33000 _swigt__p_wxCheckListBox
,
33001 _swigt__p_wxListBox
,
33002 _swigt__p_wxBookCtrl
,
33003 _swigt__p_wxSpinButton
,
33004 _swigt__p_wxButton
,
33005 _swigt__p_wxBitmapButton
,
33007 _swigt__p_wxContextHelpButton
,
33008 _swigt__p_wxRadioBox
,
33009 _swigt__p_wxScrollBar
,
33011 _swigt__p_wxTreeItemId
,
33012 _swigt__p_wxComboBox
,
33013 _swigt__p_wxHelpEvent
,
33014 _swigt__p_wxListItem
,
33015 _swigt__p_wxNotebookSizer
,
33016 _swigt__p_wxSpinEvent
,
33017 _swigt__p_wxGenericDragImage
,
33018 _swigt__p_wxSpinCtrl
,
33019 _swigt__p_wxImageList
,
33020 _swigt__p_wxHelpProvider
,
33021 _swigt__p_wxTextAttr
,
33022 _swigt__p_wxSimpleHelpProvider
,
33024 _swigt__p_wxListbookEvent
,
33025 _swigt__p_wxNotebookEvent
,
33026 _swigt__p_wxObject
,
33027 _swigt__p_wxCursor
,
33028 _swigt__p_wxKeyEvent
,
33029 _swigt__p_wxWindow
,
33030 _swigt__p_wxString
,
33031 _swigt__p_wxBitmap
,
33032 _swigt__p_wxTreeEvent
,
33033 _swigt__p_wxMouseEvent
,
33034 _swigt__p_wxCommandEvent
,
33035 _swigt__p_wxStaticText
,
33036 _swigt__p_wxControlWithItems
,
33037 _swigt__p_wxToolBarToolBase
,
33038 _swigt__p_wxColour
,
33039 _swigt__p_wxToolBar
,
33040 _swigt__p_wxBookCtrlSizer
,
33041 _swigt__p_wxValidator
,
33046 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33048 static swig_const_info swig_const_table
[] = {
33058 SWIGEXPORT(void) SWIG_init(void) {
33059 static PyObject
*SWIG_globals
= 0;
33060 static int typeinit
= 0;
33063 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
33064 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33065 d
= PyModule_GetDict(m
);
33068 for (i
= 0; swig_types_initial
[i
]; i
++) {
33069 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
33073 SWIG_InstallConstants(d
,swig_const_table
);
33075 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
33076 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
33077 PyDict_SetItemString(d
,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT
));
33078 PyDict_SetItemString(d
,"BU_TOP", SWIG_FromInt((int)wxBU_TOP
));
33079 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT
));
33080 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM
));
33081 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT
));
33082 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW
));
33083 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
33084 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE
));
33085 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE
));
33086 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
33087 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED
));
33088 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED
));
33089 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED
));
33090 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
33091 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
33092 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
33093 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL
));
33094 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL
));
33095 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH
));
33096 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR
));
33097 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
33098 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
33099 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
33100 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
33101 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
33102 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL
));
33103 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL
));
33104 PyDict_SetItemString(d
,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY
));
33105 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE
));
33106 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB
));
33107 PyDict_SetItemString(d
,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT
));
33108 PyDict_SetItemString(d
,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER
));
33109 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT
));
33110 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE
));
33111 PyDict_SetItemString(d
,"TE_RICH", SWIG_FromInt((int)wxTE_RICH
));
33112 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER
));
33113 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD
));
33114 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL
));
33115 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL
));
33116 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP
));
33117 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP
));
33118 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP
));
33119 PyDict_SetItemString(d
,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2
));
33120 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT
));
33121 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT
));
33122 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE
));
33123 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER
));
33124 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT
));
33125 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
33126 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR
));
33127 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
33128 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE
));
33129 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE
));
33130 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT
));
33131 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC
));
33132 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE
));
33133 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT
));
33134 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT
));
33135 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT
));
33136 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT
));
33137 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS
));
33138 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN
));
33139 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE
));
33140 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT
));
33141 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW
));
33142 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND
));
33143 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
33144 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
33145 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
33146 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
33147 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
33148 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
33149 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
33150 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL
));
33151 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL
));
33152 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS
));
33153 PyDict_SetItemString(d
,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP
));
33154 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
33155 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
33156 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
33157 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
33158 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
33159 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
33160 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
33161 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH
));
33162 PyDict_SetItemString(d
,"NB_TOP", SWIG_FromInt((int)wxNB_TOP
));
33163 PyDict_SetItemString(d
,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT
));
33164 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT
));
33165 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM
));
33166 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE
));
33167 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE
));
33168 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON
));
33169 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL
));
33170 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM
));
33171 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
33172 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
33173 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT
));
33174 PyDict_SetItemString(d
,"LB_TOP", SWIG_FromInt((int)wxLB_TOP
));
33175 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM
));
33176 PyDict_SetItemString(d
,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT
));
33177 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT
));
33178 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK
));
33179 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
33180 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
33181 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON
));
33182 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR
));
33183 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL
));
33184 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL
));
33185 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL
));
33186 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS
));
33187 PyDict_SetItemString(d
,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT
));
33188 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE
));
33189 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS
));
33190 PyDict_SetItemString(d
,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT
));
33191 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER
));
33192 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN
));
33193 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT
));
33194 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT
));
33195 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
33196 PyDict_SetItemString(d
,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES
));
33197 PyDict_SetItemString(d
,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES
));
33198 PyDict_SetItemString(d
,"LC_ICON", SWIG_FromInt((int)wxLC_ICON
));
33199 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON
));
33200 PyDict_SetItemString(d
,"LC_LIST", SWIG_FromInt((int)wxLC_LIST
));
33201 PyDict_SetItemString(d
,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT
));
33202 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP
));
33203 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT
));
33204 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE
));
33205 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL
));
33206 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS
));
33207 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER
));
33208 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER
));
33209 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL
));
33210 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING
));
33211 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING
));
33212 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE
));
33213 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN
));
33214 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT
));
33215 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE
));
33216 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT
));
33217 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE
));
33218 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA
));
33219 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM
));
33220 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH
));
33221 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT
));
33222 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE
));
33223 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED
));
33224 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED
));
33225 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED
));
33226 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT
));
33227 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED
));
33228 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED
));
33229 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE
));
33230 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED
));
33231 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE
));
33232 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE
));
33233 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW
));
33234 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE
));
33235 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON
));
33236 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL
));
33237 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT
));
33238 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON
));
33239 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT
));
33240 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT
));
33241 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM
));
33242 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE
));
33243 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL
));
33244 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW
));
33245 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT
));
33246 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT
));
33247 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT
));
33248 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT
));
33249 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP
));
33250 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID
));
33251 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT
));
33252 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT
));
33253 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE
));
33254 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER
));
33255 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE
));
33256 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER
));
33257 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS
));
33258 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON
));
33259 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL
));
33260 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP
));
33261 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN
));
33262 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT
));
33263 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT
));
33264 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
33265 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
33266 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
33267 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
33268 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
33269 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
33270 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
33271 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
33272 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
33273 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
33274 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
33275 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
33276 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
33277 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
33278 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
33279 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
33280 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
33281 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
33282 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
33283 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
33284 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
33285 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
33287 // Map renamed classes back to their common name for OOR
33288 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
33290 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
33291 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS
));
33292 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS
));
33293 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES
));
33294 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT
));
33295 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE
));
33296 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE
));
33297 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED
));
33298 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
33299 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS
));
33300 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT
));
33301 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES
));
33302 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT
));
33303 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE
));
33304 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS
));
33305 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS
));
33306 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS
));
33307 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal
));
33308 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected
));
33309 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded
));
33310 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded
));
33311 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max
));
33312 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE
));
33313 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW
));
33314 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE
));
33315 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON
));
33316 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON
));
33317 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT
));
33318 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL
));
33319 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT
));
33320 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON
));
33321 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT
));
33322 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT
));
33323 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART
));
33324 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART
));
33325 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM
));
33326 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
33327 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
33328 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
33329 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
33330 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
33331 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
33332 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
33333 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
33334 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
33335 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
33336 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
33337 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
33338 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
33339 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
33340 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
33341 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
33342 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
33343 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
33344 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
33345 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
33347 // Map renamed classes back to their common name for OOR
33348 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
33349 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
33351 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
33352 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY
));
33353 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST
));
33354 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS
));
33355 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL
));
33356 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS
));
33357 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP
));
33358 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP
));
33359 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
33360 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
33362 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");