1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
210 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
211 #define SWIGTYPE_p_wxSizer swig_types[2]
212 #define SWIGTYPE_p_wxCheckBox swig_types[3]
213 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[4]
214 #define SWIGTYPE_p_wxEvent swig_types[5]
215 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[6]
216 #define SWIGTYPE_p_bool swig_types[7]
217 #define SWIGTYPE_p_wxPyTreeItemData swig_types[8]
218 #define SWIGTYPE_p_wxItemContainer swig_types[9]
219 #define SWIGTYPE_p_wxPyListCtrl swig_types[10]
220 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[11]
221 #define SWIGTYPE_p_wxStaticLine swig_types[12]
222 #define SWIGTYPE_p_wxControl swig_types[13]
223 #define SWIGTYPE_p_wxPyControl swig_types[14]
224 #define SWIGTYPE_p_wxGauge swig_types[15]
225 #define SWIGTYPE_p_wxToolBarBase swig_types[16]
226 #define SWIGTYPE_p_wxFont swig_types[17]
227 #define SWIGTYPE_p_wxToggleButton swig_types[18]
228 #define SWIGTYPE_p_wxRadioButton swig_types[19]
229 #define SWIGTYPE_p_wxChoice swig_types[20]
230 #define SWIGTYPE_p_wxMemoryDC swig_types[21]
231 #define SWIGTYPE_p_wxListItemAttr swig_types[22]
232 #define SWIGTYPE_p_void swig_types[23]
233 #define SWIGTYPE_p_int swig_types[24]
234 #define SWIGTYPE_p_wxSize swig_types[25]
235 #define SWIGTYPE_p_wxDC swig_types[26]
236 #define SWIGTYPE_p_wxListView swig_types[27]
237 #define SWIGTYPE_p_wxIcon swig_types[28]
238 #define SWIGTYPE_p_wxVisualAttributes swig_types[29]
239 #define SWIGTYPE_p_wxTextCtrl swig_types[30]
240 #define SWIGTYPE_p_wxNotebook swig_types[31]
241 #define SWIGTYPE_p_wxNotifyEvent swig_types[32]
242 #define SWIGTYPE_p_wxArrayString swig_types[33]
243 #define SWIGTYPE_p_wxListbook swig_types[34]
244 #define SWIGTYPE_p_wxStaticBitmap swig_types[35]
245 #define SWIGTYPE_p_wxSlider swig_types[36]
246 #define SWIGTYPE_p_wxStaticBox swig_types[37]
247 #define SWIGTYPE_p_wxArrayInt swig_types[38]
248 #define SWIGTYPE_p_wxContextHelp swig_types[39]
249 #define SWIGTYPE_p_long swig_types[40]
250 #define SWIGTYPE_p_wxEvtHandler swig_types[41]
251 #define SWIGTYPE_p_wxListEvent swig_types[42]
252 #define SWIGTYPE_p_wxCheckListBox swig_types[43]
253 #define SWIGTYPE_p_wxListBox swig_types[44]
254 #define SWIGTYPE_p_wxBookCtrl swig_types[45]
255 #define SWIGTYPE_p_wxSpinButton swig_types[46]
256 #define SWIGTYPE_p_wxButton swig_types[47]
257 #define SWIGTYPE_p_wxBitmapButton swig_types[48]
258 #define SWIGTYPE_p_wxRect swig_types[49]
259 #define SWIGTYPE_p_wxContextHelpButton swig_types[50]
260 #define SWIGTYPE_p_wxRadioBox swig_types[51]
261 #define SWIGTYPE_p_wxScrollBar swig_types[52]
262 #define SWIGTYPE_p_char swig_types[53]
263 #define SWIGTYPE_p_wxTreeItemId swig_types[54]
264 #define SWIGTYPE_p_wxComboBox swig_types[55]
265 #define SWIGTYPE_p_wxHelpEvent swig_types[56]
266 #define SWIGTYPE_p_wxListItem swig_types[57]
267 #define SWIGTYPE_p_wxNotebookSizer swig_types[58]
268 #define SWIGTYPE_p_wxSpinEvent swig_types[59]
269 #define SWIGTYPE_p_wxGenericDragImage swig_types[60]
270 #define SWIGTYPE_p_wxSpinCtrl swig_types[61]
271 #define SWIGTYPE_p_wxImageList swig_types[62]
272 #define SWIGTYPE_p_wxHelpProvider swig_types[63]
273 #define SWIGTYPE_p_wxTextAttr swig_types[64]
274 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[65]
275 #define SWIGTYPE_p_wxPoint swig_types[66]
276 #define SWIGTYPE_p_wxListbookEvent swig_types[67]
277 #define SWIGTYPE_p_wxNotebookEvent swig_types[68]
278 #define SWIGTYPE_p_wxObject swig_types[69]
279 #define SWIGTYPE_p_wxCursor swig_types[70]
280 #define SWIGTYPE_p_wxKeyEvent swig_types[71]
281 #define SWIGTYPE_p_wxWindow swig_types[72]
282 #define SWIGTYPE_p_wxString swig_types[73]
283 #define SWIGTYPE_p_wxBitmap swig_types[74]
284 #define SWIGTYPE_p_wxTreeEvent swig_types[75]
285 #define SWIGTYPE_p_wxMouseEvent swig_types[76]
286 #define SWIGTYPE_p_wxCommandEvent swig_types[77]
287 #define SWIGTYPE_p_wxStaticText swig_types[78]
288 #define SWIGTYPE_p_wxControlWithItems swig_types[79]
289 #define SWIGTYPE_p_wxToolBarToolBase swig_types[80]
290 #define SWIGTYPE_p_wxColour swig_types[81]
291 #define SWIGTYPE_p_wxToolBar swig_types[82]
292 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[83]
293 #define SWIGTYPE_p_wxValidator swig_types[84]
294 static swig_type_info
*swig_types
[86];
296 /* -------- TYPES TABLE (END) -------- */
299 /*-----------------------------------------------
300 @(target):= _controls_.so
301 ------------------------------------------------*/
302 #define SWIG_init init_controls_
304 #define SWIG_name "_controls_"
306 /* Auxiliar swig macros */
309 #define SWIGSTATICINLINE(a) static inline a
310 #define SWIGSTATIC(a) static a
311 #define swig_new_array(type, size) (new type[(size)])
312 #define swig_delete_array(cptr) delete[] cptr
313 #define swig_const_cast(type,a) const_cast<type>(a)
314 #define swig_static_cast(type,a) static_cast<type>(a)
315 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
317 #ifdef HAVE_NUMERIC_CAST
318 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
320 #define swig_numeric_cast(type,a) static_cast<type>(a)
325 #define SWIGSTATICINLINE(a) static a
326 #define SWIGSTATIC(a) static a
327 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
328 #define swig_delete_array(cptr) free((char*)cptr)
329 #define swig_const_cast(type,a) (type)(a)
330 #define swig_static_cast(type,a) (type)(a)
331 #define swig_reinterpret_cast(type,a) (type)(a)
332 #define swig_numeric_cast(type,a) (type)(a)
334 #endif /* __cplusplus */
337 #define SWIG_FromSignedChar PyInt_FromLong
338 #define SWIG_FromUnsignedChar PyInt_FromLong
339 #define SWIG_FromShort PyInt_FromLong
340 #define SWIG_FromUnsignedShort PyInt_FromLong
341 #define SWIG_FromInt PyInt_FromLong
342 #define SWIG_FromLong PyInt_FromLong
343 #define SWIG_FromFloat PyFloat_FromDouble
344 #define SWIG_FromDouble PyFloat_FromDouble
345 #define SWIG_FromFloat PyFloat_FromDouble
346 #define SWIG_FromDouble PyFloat_FromDouble
349 #include "wx/wxPython/wxPython.h"
350 #include "wx/wxPython/pyclasses.h"
352 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
353 static const wxString
wxPyEmptyString(wxEmptyString
);
354 static const wxString
wxPyControlNameStr(wxControlNameStr
);
356 const wxArrayString wxPyEmptyStringArray
;
358 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
363 SWIGSTATICINLINE(long)
364 SWIG_CheckLongInRange(long value
, const char* type
,
365 long min_value
, long max_value
)
367 if (!PyErr_Occurred()) {
368 if (value
< min_value
) {
370 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
371 value
, type
, min_value
);
373 PyErr_SetObject(PyExc_OverflowError
, err
);
375 } else if (value
> max_value
) {
377 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
378 value
, type
, max_value
);
379 PyErr_SetObject(PyExc_OverflowError
, err
);
387 SWIGSTATICINLINE(long)
388 SWIG_AsLong(PyObject
* obj
)
390 if (PyNumber_Check(obj
))
391 return PyInt_AsLong(obj
);
393 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
394 obj
->ob_type
->tp_name
);
395 PyErr_SetObject(PyExc_TypeError
, errmsg
);
402 #if INT_MAX != LONG_MAX
403 SWIGSTATICINLINE(int)
404 SWIG_AsInt(PyObject
*obj
)
406 return swig_numeric_cast(int,
407 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
408 "int", INT_MIN
, INT_MAX
));
411 #define SWIG_AsInt SWIG_AsLong
415 SWIGSTATICINLINE(int)
416 SWIG_CheckInt(PyObject
* obj
)
419 if (PyErr_Occurred()) {
428 SWIGSTATICINLINE(int)
429 SWIG_CheckLong(PyObject
* obj
)
432 if (PyErr_Occurred()) {
440 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
442 SWIGSTATICINLINE(bool)
443 SWIG_AsBool(PyObject
*obj
)
445 return PyObject_IsTrue(obj
) ? true : false;
449 SWIGSTATICINLINE(int)
450 SWIG_CheckBool(PyObject
* obj
)
453 if (PyErr_Occurred()) {
461 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
462 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
463 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
464 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
465 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
466 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
468 #include <wx/checklst.h>
471 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
472 void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
474 wxPyClientData
* data
= new wxPyClientData(clientData
);
475 self
->Insert(item
, pos
, data
);
477 self
->Insert(item
, pos
);
479 PyObject
*wxListBox_GetSelections(wxListBox
*self
){
481 self
->GetSelections(lst
);
482 PyObject
*tup
= PyTuple_New(lst
.GetCount());
483 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
484 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
488 void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
490 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
491 self
->GetItem(item
)->SetTextColour(c
);
494 void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
496 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
497 self
->GetItem(item
)->SetBackgroundColour(c
);
500 void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
502 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
503 self
->GetItem(item
)->SetFont(f
);
506 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
508 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
514 } else if (target
== Py_None
) {
518 if (!PyTuple_Check(target
)) {
520 target
= PyTuple_New(1);
521 PyTuple_SetItem(target
, 0, o2
);
524 PyTuple_SetItem(o3
, 0, o
);
527 target
= PySequence_Concat(o2
, o3
);
535 SWIGSTATICINLINE(unsigned long)
536 SWIG_AsUnsignedLong(PyObject
* obj
)
538 if (PyLong_Check(obj
)) {
539 return PyLong_AsUnsignedLong(obj
);
541 long i
= SWIG_AsLong(obj
);
542 if ( !PyErr_Occurred() && (i
< 0)) {
543 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
550 SWIGSTATICINLINE(int)
551 SWIG_CheckUnsignedLong(PyObject
* obj
)
553 SWIG_AsUnsignedLong(obj
);
554 if (PyErr_Occurred()) {
562 void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
563 self
->AppendText(text
);
565 wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
566 return self
->GetValue().Mid(from
, to
- from
);
568 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
569 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
570 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
571 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
572 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
573 int wxRadioBox_GetColumnCount(wxRadioBox
const *self
){ return -1; }
574 int wxRadioBox_GetRowCount(wxRadioBox
const *self
){ return -1; }
575 int wxRadioBox_GetNextItem(wxRadioBox
const *self
,int item
,wxDirection dir
,long style
){ return -1; }
577 #include <wx/slider.h>
580 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
581 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
584 // implement dummy items for platforms that don't have this class
586 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
588 class wxToggleButton
: public wxControl
591 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
592 const wxPoint
&, const wxSize
&, long,
593 const wxValidator
&, const wxString
&)
594 { wxPyRaiseNotImplemented(); }
597 { wxPyRaiseNotImplemented(); }
601 static const wxString
wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME
);
603 SWIGSTATICINLINE(PyObject
* )
604 SWIG_FromUnsignedLong(unsigned long value
)
606 return (value
> LONG_MAX
) ?
607 PyLong_FromUnsignedLong(value
)
608 : PyInt_FromLong(swig_numeric_cast(long,value
));
611 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
612 PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
613 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
615 Py_INCREF(udata
->m_obj
);
622 void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
623 self
->SetClientData(new wxPyUserData(clientData
));
625 wxToolBarToolBase
*wxToolBarBase_DoAddTool(wxToolBarBase
*self
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
,wxItemKind kind
,wxString
const &shortHelp
,wxString
const &longHelp
,PyObject
*clientData
){
626 wxPyUserData
* udata
= NULL
;
627 if (clientData
&& clientData
!= Py_None
)
628 udata
= new wxPyUserData(clientData
);
629 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
630 shortHelp
, longHelp
, udata
);
632 wxToolBarToolBase
*wxToolBarBase_DoInsertTool(wxToolBarBase
*self
,size_t pos
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
,wxItemKind kind
,wxString
const &shortHelp
,wxString
const &longHelp
,PyObject
*clientData
){
633 wxPyUserData
* udata
= NULL
;
634 if (clientData
&& clientData
!= Py_None
)
635 udata
= new wxPyUserData(clientData
);
636 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
637 shortHelp
, longHelp
, udata
);
639 PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
640 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
642 Py_INCREF(udata
->m_obj
);
649 void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
650 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
653 #include <wx/listctrl.h>
656 static const wxString
wxPyListCtrlNameStr(_T("wxListCtrl"));
657 void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
658 // Python aware sorting function for wxPyListCtrl
659 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
661 PyObject
* func
= (PyObject
*)funcPtr
;
662 bool blocked
= wxPyBeginBlockThreads();
664 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
665 PyObject
* result
= PyEval_CallObject(func
, args
);
668 retval
= PyInt_AsLong(result
);
672 wxPyEndBlockThreads(blocked
);
676 // C++ Version of a Python aware class
677 class wxPyListCtrl
: public wxListCtrl
{
678 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
680 wxPyListCtrl() : wxListCtrl() {}
681 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
685 const wxValidator
& validator
,
686 const wxString
& name
) :
687 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
689 bool Create(wxWindow
* parent
, wxWindowID id
,
693 const wxValidator
& validator
,
694 const wxString
& name
) {
695 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
698 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
699 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
700 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
705 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
707 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
708 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
709 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
711 wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
713 item
.SetMask( wxLIST_MASK_STATE
|
721 if (self
->GetColumn(col
, item
))
722 return new wxListItem(item
);
726 wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
){
727 wxListItem
* info
= new wxListItem
;
728 info
->m_itemId
= itemId
;
730 info
->m_mask
= 0xFFFF;
731 self
->GetItem(*info
);
734 wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
736 self
->GetItemPosition(item
, pos
);
739 wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
){
741 self
->GetItemRect(item
, rect
, code
);
744 bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
745 if (!PyCallable_Check(func
))
747 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
749 wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
753 return (wxWindow
*)self
->m_mainWin
;
757 #include <wx/treectrl.h>
758 #include "wx/wxPython/pytree.h"
760 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
761 bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : False
; }
762 bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : True
; }
763 void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
764 // C++ version of Python aware wxTreeCtrl
765 class wxPyTreeCtrl
: public wxTreeCtrl
{
766 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
768 wxPyTreeCtrl() : wxTreeCtrl() {}
769 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
773 const wxValidator
& validator
,
774 const wxString
& name
) :
775 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
777 bool Create(wxWindow
*parent
, wxWindowID id
,
781 const wxValidator
& validator
,
782 const wxString
& name
) {
783 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
787 int OnCompareItems(const wxTreeItemId
& item1
,
788 const wxTreeItemId
& item2
) {
791 bool blocked
= wxPyBeginBlockThreads();
792 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
793 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), False
);
794 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), False
);
795 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
799 wxPyEndBlockThreads(blocked
);
801 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
807 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
811 #if UINT_MAX < LONG_MAX
812 #define SWIG_FromUnsignedInt SWIG_FromLong
814 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
818 SWIGSTATICINLINE(unsigned long)
819 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
820 unsigned long max_value
)
822 if (!PyErr_Occurred()) {
823 if (value
> max_value
) {
825 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
826 value
, type
, max_value
);
827 PyErr_SetObject(PyExc_OverflowError
, err
);
835 #if UINT_MAX != ULONG_MAX
836 SWIGSTATICINLINE(unsigned int)
837 SWIG_AsUnsignedInt(PyObject
*obj
)
839 return swig_numeric_cast(unsigned int,
840 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
841 "unsigned int", UINT_MAX
));
844 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
848 SWIGSTATICINLINE(int)
849 SWIG_CheckUnsignedInt(PyObject
* obj
)
851 SWIG_AsUnsignedInt(obj
);
852 if (PyErr_Occurred()) {
860 wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
861 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
863 data
= new wxPyTreeItemData();
864 data
->SetId(item
); // set the id
865 self
->SetItemData(item
, data
);
869 PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
870 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
872 data
= new wxPyTreeItemData();
873 data
->SetId(item
); // set the id
874 self
->SetItemData(item
, data
);
876 return data
->GetData();
878 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
879 data
->SetId(item
); // set the id
880 self
->SetItemData(item
, data
);
882 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
883 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
885 data
= new wxPyTreeItemData(obj
);
886 data
->SetId(item
); // set the id
887 self
->SetItemData(item
, data
);
891 PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
892 bool blocked
= wxPyBeginBlockThreads();
893 PyObject
* rval
= PyList_New(0);
894 wxArrayTreeItemIds array
;
896 num
= self
->GetSelections(array
);
897 for (x
=0; x
< num
; x
++) {
898 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
899 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), True
);
900 PyList_Append(rval
, item
);
902 wxPyEndBlockThreads(blocked
);
905 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
907 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
908 bool blocked
= wxPyBeginBlockThreads();
909 PyObject
* tup
= PyTuple_New(2);
910 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
911 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
912 wxPyEndBlockThreads(blocked
);
915 PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
916 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
917 bool blocked
= wxPyBeginBlockThreads();
918 PyObject
* tup
= PyTuple_New(2);
919 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
920 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
921 wxPyEndBlockThreads(blocked
);
924 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
926 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
927 bool blocked
= wxPyBeginBlockThreads();
928 wxRect
* r
= new wxRect(rect
);
929 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), True
);
930 wxPyEndBlockThreads(blocked
);
936 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
937 // C++ version of Python aware wxControl
938 class wxPyControl
: public wxControl
940 DECLARE_DYNAMIC_CLASS(wxPyControl
)
942 wxPyControl() : wxControl() {}
943 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
944 const wxPoint
& pos
= wxDefaultPosition
,
945 const wxSize
& size
= wxDefaultSize
,
947 const wxValidator
& validator
=wxDefaultValidator
,
948 const wxString
& name
= wxPyControlNameStr
)
949 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
951 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
953 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
954 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
955 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
956 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
958 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
959 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
960 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
962 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
963 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
965 DEC_PYCALLBACK__(InitDialog
);
966 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
967 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
968 DEC_PYCALLBACK_BOOL_(Validate
);
970 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
971 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
972 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
974 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
975 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
977 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
978 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
979 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
984 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
986 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
987 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
988 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
989 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
991 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
992 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
993 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
995 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
996 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
998 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
999 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
1000 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
1001 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
1003 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
1004 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
1005 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
1007 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
1008 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
1010 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
1011 IMP_PYCALLBACK__COLOUR(wxPyControl
, wxControl
, ApplyParentThemeBackground
);
1012 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
1016 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
1018 #include <wx/generic/dragimgg.h>
1023 static int _wrap_ButtonNameStr_set(PyObject
*_val
) {
1024 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
1029 static PyObject
*_wrap_ButtonNameStr_get() {
1034 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1036 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1043 static PyObject
*_wrap_new_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1044 PyObject
*resultobj
;
1045 wxWindow
*arg1
= (wxWindow
*) 0 ;
1047 wxString
*arg3
= 0 ;
1048 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1049 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1050 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1051 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1052 long arg6
= (long) 0 ;
1053 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1054 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1055 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1056 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1058 bool temp3
= False
;
1061 bool temp8
= False
;
1062 PyObject
* obj0
= 0 ;
1063 PyObject
* obj1
= 0 ;
1064 PyObject
* obj2
= 0 ;
1065 PyObject
* obj3
= 0 ;
1066 PyObject
* obj4
= 0 ;
1067 PyObject
* obj5
= 0 ;
1068 PyObject
* obj6
= 0 ;
1069 PyObject
* obj7
= 0 ;
1071 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1077 arg2
= (int) SWIG_AsInt(obj1
);
1078 if (PyErr_Occurred()) SWIG_fail
;
1080 arg3
= wxString_in_helper(obj2
);
1081 if (arg3
== NULL
) SWIG_fail
;
1087 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1093 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1097 arg6
= (long) SWIG_AsLong(obj5
);
1098 if (PyErr_Occurred()) SWIG_fail
;
1101 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1102 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1105 PyErr_SetString(PyExc_TypeError
,"null reference");
1111 arg8
= wxString_in_helper(obj7
);
1112 if (arg8
== NULL
) SWIG_fail
;
1117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1118 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1120 wxPyEndAllowThreads(__tstate
);
1121 if (PyErr_Occurred()) SWIG_fail
;
1124 resultobj
= wxPyMake_wxObject(result
);
1148 static PyObject
*_wrap_new_PreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1149 PyObject
*resultobj
;
1155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
1157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1158 result
= (wxButton
*)new wxButton();
1160 wxPyEndAllowThreads(__tstate
);
1161 if (PyErr_Occurred()) SWIG_fail
;
1164 resultobj
= wxPyMake_wxObject(result
);
1172 static PyObject
*_wrap_Button_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1173 PyObject
*resultobj
;
1174 wxButton
*arg1
= (wxButton
*) 0 ;
1175 wxWindow
*arg2
= (wxWindow
*) 0 ;
1177 wxString
*arg4
= 0 ;
1178 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1179 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1180 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1181 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1182 long arg7
= (long) 0 ;
1183 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1184 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1185 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1186 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1188 bool temp4
= False
;
1191 bool temp9
= False
;
1192 PyObject
* obj0
= 0 ;
1193 PyObject
* obj1
= 0 ;
1194 PyObject
* obj2
= 0 ;
1195 PyObject
* obj3
= 0 ;
1196 PyObject
* obj4
= 0 ;
1197 PyObject
* obj5
= 0 ;
1198 PyObject
* obj6
= 0 ;
1199 PyObject
* obj7
= 0 ;
1200 PyObject
* obj8
= 0 ;
1202 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1208 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1210 arg3
= (int) SWIG_AsInt(obj2
);
1211 if (PyErr_Occurred()) SWIG_fail
;
1213 arg4
= wxString_in_helper(obj3
);
1214 if (arg4
== NULL
) SWIG_fail
;
1220 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1226 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1230 arg7
= (long) SWIG_AsLong(obj6
);
1231 if (PyErr_Occurred()) SWIG_fail
;
1234 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1235 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1238 PyErr_SetString(PyExc_TypeError
,"null reference");
1244 arg9
= wxString_in_helper(obj8
);
1245 if (arg9
== NULL
) SWIG_fail
;
1250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1251 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1253 wxPyEndAllowThreads(__tstate
);
1254 if (PyErr_Occurred()) SWIG_fail
;
1257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1281 static PyObject
*_wrap_Button_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1282 PyObject
*resultobj
;
1283 wxButton
*arg1
= (wxButton
*) 0 ;
1284 PyObject
* obj0
= 0 ;
1286 (char *) "self", NULL
1289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1294 (arg1
)->SetDefault();
1296 wxPyEndAllowThreads(__tstate
);
1297 if (PyErr_Occurred()) SWIG_fail
;
1299 Py_INCREF(Py_None
); resultobj
= Py_None
;
1306 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1307 PyObject
*resultobj
;
1313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1316 result
= wxButton::GetDefaultSize();
1318 wxPyEndAllowThreads(__tstate
);
1319 if (PyErr_Occurred()) SWIG_fail
;
1323 resultptr
= new wxSize((wxSize
&) result
);
1324 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
1332 static PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1333 PyObject
*resultobj
;
1334 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
1335 wxVisualAttributes result
;
1336 PyObject
* obj0
= 0 ;
1338 (char *) "variant", NULL
1341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
1343 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
1344 if (PyErr_Occurred()) SWIG_fail
;
1347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1348 result
= wxButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
1350 wxPyEndAllowThreads(__tstate
);
1351 if (PyErr_Occurred()) SWIG_fail
;
1354 wxVisualAttributes
* resultptr
;
1355 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
1356 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
1364 static PyObject
* Button_swigregister(PyObject
*self
, PyObject
*args
) {
1366 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1367 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1369 return Py_BuildValue((char *)"");
1371 static PyObject
*_wrap_new_BitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1372 PyObject
*resultobj
;
1373 wxWindow
*arg1
= (wxWindow
*) 0 ;
1375 wxBitmap
*arg3
= 0 ;
1376 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1377 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1378 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1379 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1380 long arg6
= (long) wxBU_AUTODRAW
;
1381 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1382 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1383 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1384 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1385 wxBitmapButton
*result
;
1388 bool temp8
= False
;
1389 PyObject
* obj0
= 0 ;
1390 PyObject
* obj1
= 0 ;
1391 PyObject
* obj2
= 0 ;
1392 PyObject
* obj3
= 0 ;
1393 PyObject
* obj4
= 0 ;
1394 PyObject
* obj5
= 0 ;
1395 PyObject
* obj6
= 0 ;
1396 PyObject
* obj7
= 0 ;
1398 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1404 arg2
= (int) SWIG_AsInt(obj1
);
1405 if (PyErr_Occurred()) SWIG_fail
;
1406 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
1407 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1410 PyErr_SetString(PyExc_TypeError
,"null reference");
1416 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1422 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1426 arg6
= (long) SWIG_AsLong(obj5
);
1427 if (PyErr_Occurred()) SWIG_fail
;
1430 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1431 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1434 PyErr_SetString(PyExc_TypeError
,"null reference");
1440 arg8
= wxString_in_helper(obj7
);
1441 if (arg8
== NULL
) SWIG_fail
;
1446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1447 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1449 wxPyEndAllowThreads(__tstate
);
1450 if (PyErr_Occurred()) SWIG_fail
;
1453 resultobj
= wxPyMake_wxObject(result
);
1469 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1470 PyObject
*resultobj
;
1471 wxBitmapButton
*result
;
1476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1479 result
= (wxBitmapButton
*)new wxBitmapButton();
1481 wxPyEndAllowThreads(__tstate
);
1482 if (PyErr_Occurred()) SWIG_fail
;
1485 resultobj
= wxPyMake_wxObject(result
);
1493 static PyObject
*_wrap_BitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1494 PyObject
*resultobj
;
1495 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1496 wxWindow
*arg2
= (wxWindow
*) 0 ;
1498 wxBitmap
*arg4
= 0 ;
1499 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1500 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1501 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1502 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1503 long arg7
= (long) wxBU_AUTODRAW
;
1504 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1505 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1506 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1507 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1511 bool temp9
= False
;
1512 PyObject
* obj0
= 0 ;
1513 PyObject
* obj1
= 0 ;
1514 PyObject
* obj2
= 0 ;
1515 PyObject
* obj3
= 0 ;
1516 PyObject
* obj4
= 0 ;
1517 PyObject
* obj5
= 0 ;
1518 PyObject
* obj6
= 0 ;
1519 PyObject
* obj7
= 0 ;
1520 PyObject
* obj8
= 0 ;
1522 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1528 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1530 arg3
= (int) SWIG_AsInt(obj2
);
1531 if (PyErr_Occurred()) SWIG_fail
;
1532 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
1533 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1536 PyErr_SetString(PyExc_TypeError
,"null reference");
1542 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1548 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1552 arg7
= (long) SWIG_AsLong(obj6
);
1553 if (PyErr_Occurred()) SWIG_fail
;
1556 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1557 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1560 PyErr_SetString(PyExc_TypeError
,"null reference");
1566 arg9
= wxString_in_helper(obj8
);
1567 if (arg9
== NULL
) SWIG_fail
;
1572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1573 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1575 wxPyEndAllowThreads(__tstate
);
1576 if (PyErr_Occurred()) SWIG_fail
;
1579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1595 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1596 PyObject
*resultobj
;
1597 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1599 PyObject
* obj0
= 0 ;
1601 (char *) "self", NULL
1604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1609 result
= (arg1
)->GetBitmapLabel();
1611 wxPyEndAllowThreads(__tstate
);
1612 if (PyErr_Occurred()) SWIG_fail
;
1615 wxBitmap
* resultptr
;
1616 resultptr
= new wxBitmap((wxBitmap
&) result
);
1617 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1625 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1626 PyObject
*resultobj
;
1627 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1629 PyObject
* obj0
= 0 ;
1631 (char *) "self", NULL
1634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1639 result
= (arg1
)->GetBitmapDisabled();
1641 wxPyEndAllowThreads(__tstate
);
1642 if (PyErr_Occurred()) SWIG_fail
;
1645 wxBitmap
* resultptr
;
1646 resultptr
= new wxBitmap((wxBitmap
&) result
);
1647 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1655 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1656 PyObject
*resultobj
;
1657 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1659 PyObject
* obj0
= 0 ;
1661 (char *) "self", NULL
1664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1669 result
= (arg1
)->GetBitmapFocus();
1671 wxPyEndAllowThreads(__tstate
);
1672 if (PyErr_Occurred()) SWIG_fail
;
1675 wxBitmap
* resultptr
;
1676 resultptr
= new wxBitmap((wxBitmap
&) result
);
1677 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1685 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1686 PyObject
*resultobj
;
1687 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1689 PyObject
* obj0
= 0 ;
1691 (char *) "self", NULL
1694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1699 result
= (arg1
)->GetBitmapSelected();
1701 wxPyEndAllowThreads(__tstate
);
1702 if (PyErr_Occurred()) SWIG_fail
;
1705 wxBitmap
* resultptr
;
1706 resultptr
= new wxBitmap((wxBitmap
&) result
);
1707 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1715 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1716 PyObject
*resultobj
;
1717 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1718 wxBitmap
*arg2
= 0 ;
1719 PyObject
* obj0
= 0 ;
1720 PyObject
* obj1
= 0 ;
1722 (char *) "self",(char *) "bitmap", NULL
1725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1728 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1729 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1732 PyErr_SetString(PyExc_TypeError
,"null reference");
1736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1737 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1739 wxPyEndAllowThreads(__tstate
);
1740 if (PyErr_Occurred()) SWIG_fail
;
1742 Py_INCREF(Py_None
); resultobj
= Py_None
;
1749 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1750 PyObject
*resultobj
;
1751 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1752 wxBitmap
*arg2
= 0 ;
1753 PyObject
* obj0
= 0 ;
1754 PyObject
* obj1
= 0 ;
1756 (char *) "self",(char *) "bitmap", NULL
1759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1762 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1763 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1766 PyErr_SetString(PyExc_TypeError
,"null reference");
1770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1771 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1773 wxPyEndAllowThreads(__tstate
);
1774 if (PyErr_Occurred()) SWIG_fail
;
1776 Py_INCREF(Py_None
); resultobj
= Py_None
;
1783 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1784 PyObject
*resultobj
;
1785 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1786 wxBitmap
*arg2
= 0 ;
1787 PyObject
* obj0
= 0 ;
1788 PyObject
* obj1
= 0 ;
1790 (char *) "self",(char *) "bitmap", NULL
1793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1796 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1797 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1800 PyErr_SetString(PyExc_TypeError
,"null reference");
1804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1805 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1807 wxPyEndAllowThreads(__tstate
);
1808 if (PyErr_Occurred()) SWIG_fail
;
1810 Py_INCREF(Py_None
); resultobj
= Py_None
;
1817 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1818 PyObject
*resultobj
;
1819 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1820 wxBitmap
*arg2
= 0 ;
1821 PyObject
* obj0
= 0 ;
1822 PyObject
* obj1
= 0 ;
1824 (char *) "self",(char *) "bitmap", NULL
1827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1830 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1831 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1834 PyErr_SetString(PyExc_TypeError
,"null reference");
1838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1839 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1841 wxPyEndAllowThreads(__tstate
);
1842 if (PyErr_Occurred()) SWIG_fail
;
1844 Py_INCREF(Py_None
); resultobj
= Py_None
;
1851 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1852 PyObject
*resultobj
;
1853 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1856 PyObject
* obj0
= 0 ;
1857 PyObject
* obj1
= 0 ;
1858 PyObject
* obj2
= 0 ;
1860 (char *) "self",(char *) "x",(char *) "y", NULL
1863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1866 arg2
= (int) SWIG_AsInt(obj1
);
1867 if (PyErr_Occurred()) SWIG_fail
;
1868 arg3
= (int) SWIG_AsInt(obj2
);
1869 if (PyErr_Occurred()) SWIG_fail
;
1871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1872 (arg1
)->SetMargins(arg2
,arg3
);
1874 wxPyEndAllowThreads(__tstate
);
1875 if (PyErr_Occurred()) SWIG_fail
;
1877 Py_INCREF(Py_None
); resultobj
= Py_None
;
1884 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1885 PyObject
*resultobj
;
1886 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1888 PyObject
* obj0
= 0 ;
1890 (char *) "self", NULL
1893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1898 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1900 wxPyEndAllowThreads(__tstate
);
1901 if (PyErr_Occurred()) SWIG_fail
;
1903 resultobj
= SWIG_FromInt((int)result
);
1910 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1911 PyObject
*resultobj
;
1912 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1914 PyObject
* obj0
= 0 ;
1916 (char *) "self", NULL
1919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1924 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1926 wxPyEndAllowThreads(__tstate
);
1927 if (PyErr_Occurred()) SWIG_fail
;
1929 resultobj
= SWIG_FromInt((int)result
);
1936 static PyObject
* BitmapButton_swigregister(PyObject
*self
, PyObject
*args
) {
1938 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1939 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1941 return Py_BuildValue((char *)"");
1943 static int _wrap_CheckBoxNameStr_set(PyObject
*_val
) {
1944 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
1949 static PyObject
*_wrap_CheckBoxNameStr_get() {
1954 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1956 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1963 static PyObject
*_wrap_new_CheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1964 PyObject
*resultobj
;
1965 wxWindow
*arg1
= (wxWindow
*) 0 ;
1967 wxString
*arg3
= 0 ;
1968 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1969 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1970 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1971 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1972 long arg6
= (long) 0 ;
1973 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1974 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1975 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
1976 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1978 bool temp3
= False
;
1981 bool temp8
= False
;
1982 PyObject
* obj0
= 0 ;
1983 PyObject
* obj1
= 0 ;
1984 PyObject
* obj2
= 0 ;
1985 PyObject
* obj3
= 0 ;
1986 PyObject
* obj4
= 0 ;
1987 PyObject
* obj5
= 0 ;
1988 PyObject
* obj6
= 0 ;
1989 PyObject
* obj7
= 0 ;
1991 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1997 arg2
= (int) SWIG_AsInt(obj1
);
1998 if (PyErr_Occurred()) SWIG_fail
;
2000 arg3
= wxString_in_helper(obj2
);
2001 if (arg3
== NULL
) SWIG_fail
;
2007 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2013 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2017 arg6
= (long) SWIG_AsLong(obj5
);
2018 if (PyErr_Occurred()) SWIG_fail
;
2021 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2022 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2025 PyErr_SetString(PyExc_TypeError
,"null reference");
2031 arg8
= wxString_in_helper(obj7
);
2032 if (arg8
== NULL
) SWIG_fail
;
2037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2038 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2040 wxPyEndAllowThreads(__tstate
);
2041 if (PyErr_Occurred()) SWIG_fail
;
2043 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2066 static PyObject
*_wrap_new_PreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2067 PyObject
*resultobj
;
2073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
2075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2076 result
= (wxCheckBox
*)new wxCheckBox();
2078 wxPyEndAllowThreads(__tstate
);
2079 if (PyErr_Occurred()) SWIG_fail
;
2081 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2088 static PyObject
*_wrap_CheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2089 PyObject
*resultobj
;
2090 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2091 wxWindow
*arg2
= (wxWindow
*) 0 ;
2093 wxString
*arg4
= 0 ;
2094 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2095 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2096 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2097 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2098 long arg7
= (long) 0 ;
2099 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2100 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2101 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
2102 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2104 bool temp4
= False
;
2107 bool temp9
= False
;
2108 PyObject
* obj0
= 0 ;
2109 PyObject
* obj1
= 0 ;
2110 PyObject
* obj2
= 0 ;
2111 PyObject
* obj3
= 0 ;
2112 PyObject
* obj4
= 0 ;
2113 PyObject
* obj5
= 0 ;
2114 PyObject
* obj6
= 0 ;
2115 PyObject
* obj7
= 0 ;
2116 PyObject
* obj8
= 0 ;
2118 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2124 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2126 arg3
= (int) SWIG_AsInt(obj2
);
2127 if (PyErr_Occurred()) SWIG_fail
;
2129 arg4
= wxString_in_helper(obj3
);
2130 if (arg4
== NULL
) SWIG_fail
;
2136 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2142 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2146 arg7
= (long) SWIG_AsLong(obj6
);
2147 if (PyErr_Occurred()) SWIG_fail
;
2150 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2151 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2154 PyErr_SetString(PyExc_TypeError
,"null reference");
2160 arg9
= wxString_in_helper(obj8
);
2161 if (arg9
== NULL
) SWIG_fail
;
2166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2167 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2169 wxPyEndAllowThreads(__tstate
);
2170 if (PyErr_Occurred()) SWIG_fail
;
2173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2197 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2198 PyObject
*resultobj
;
2199 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2201 PyObject
* obj0
= 0 ;
2203 (char *) "self", NULL
2206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
2207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2211 result
= (bool)(arg1
)->GetValue();
2213 wxPyEndAllowThreads(__tstate
);
2214 if (PyErr_Occurred()) SWIG_fail
;
2217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2225 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2226 PyObject
*resultobj
;
2227 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2229 PyObject
* obj0
= 0 ;
2231 (char *) "self", NULL
2234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2239 result
= (bool)(arg1
)->IsChecked();
2241 wxPyEndAllowThreads(__tstate
);
2242 if (PyErr_Occurred()) SWIG_fail
;
2245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2253 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2254 PyObject
*resultobj
;
2255 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2257 PyObject
* obj0
= 0 ;
2258 PyObject
* obj1
= 0 ;
2260 (char *) "self",(char *) "state", NULL
2263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2266 arg2
= (bool const) SWIG_AsBool(obj1
);
2267 if (PyErr_Occurred()) SWIG_fail
;
2269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2270 (arg1
)->SetValue(arg2
);
2272 wxPyEndAllowThreads(__tstate
);
2273 if (PyErr_Occurred()) SWIG_fail
;
2275 Py_INCREF(Py_None
); resultobj
= Py_None
;
2282 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2283 PyObject
*resultobj
;
2284 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2286 PyObject
* obj0
= 0 ;
2288 (char *) "self", NULL
2291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2296 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2298 wxPyEndAllowThreads(__tstate
);
2299 if (PyErr_Occurred()) SWIG_fail
;
2301 resultobj
= SWIG_FromInt((int)result
);
2308 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2309 PyObject
*resultobj
;
2310 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2312 PyObject
* obj0
= 0 ;
2313 PyObject
* obj1
= 0 ;
2315 (char *) "self",(char *) "state", NULL
2318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2321 arg2
= (wxCheckBoxState
) SWIG_AsInt(obj1
);
2322 if (PyErr_Occurred()) SWIG_fail
;
2324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2325 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2327 wxPyEndAllowThreads(__tstate
);
2328 if (PyErr_Occurred()) SWIG_fail
;
2330 Py_INCREF(Py_None
); resultobj
= Py_None
;
2337 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2338 PyObject
*resultobj
;
2339 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2341 PyObject
* obj0
= 0 ;
2343 (char *) "self", NULL
2346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2351 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2353 wxPyEndAllowThreads(__tstate
);
2354 if (PyErr_Occurred()) SWIG_fail
;
2357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2365 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2366 PyObject
*resultobj
;
2367 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2369 PyObject
* obj0
= 0 ;
2371 (char *) "self", NULL
2374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2379 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2381 wxPyEndAllowThreads(__tstate
);
2382 if (PyErr_Occurred()) SWIG_fail
;
2385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2393 static PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2394 PyObject
*resultobj
;
2395 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2396 wxVisualAttributes result
;
2397 PyObject
* obj0
= 0 ;
2399 (char *) "variant", NULL
2402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2404 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2405 if (PyErr_Occurred()) SWIG_fail
;
2408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2409 result
= wxCheckBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2411 wxPyEndAllowThreads(__tstate
);
2412 if (PyErr_Occurred()) SWIG_fail
;
2415 wxVisualAttributes
* resultptr
;
2416 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2417 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2425 static PyObject
* CheckBox_swigregister(PyObject
*self
, PyObject
*args
) {
2427 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2428 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2430 return Py_BuildValue((char *)"");
2432 static int _wrap_ChoiceNameStr_set(PyObject
*_val
) {
2433 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2438 static PyObject
*_wrap_ChoiceNameStr_get() {
2443 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2445 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2452 static PyObject
*_wrap_new_Choice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2453 PyObject
*resultobj
;
2454 wxWindow
*arg1
= (wxWindow
*) 0 ;
2455 int arg2
= (int) -1 ;
2456 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2457 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2458 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2459 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2460 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
2461 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
2462 long arg6
= (long) 0 ;
2463 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2464 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2465 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
2466 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2470 bool temp5
= False
;
2471 bool temp8
= False
;
2472 PyObject
* obj0
= 0 ;
2473 PyObject
* obj1
= 0 ;
2474 PyObject
* obj2
= 0 ;
2475 PyObject
* obj3
= 0 ;
2476 PyObject
* obj4
= 0 ;
2477 PyObject
* obj5
= 0 ;
2478 PyObject
* obj6
= 0 ;
2479 PyObject
* obj7
= 0 ;
2481 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2488 arg2
= (int) SWIG_AsInt(obj1
);
2489 if (PyErr_Occurred()) SWIG_fail
;
2494 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2500 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2505 if (! PySequence_Check(obj4
)) {
2506 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2509 arg5
= new wxArrayString
;
2511 int i
, len
=PySequence_Length(obj4
);
2512 for (i
=0; i
<len
; i
++) {
2513 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2515 PyObject
* str
= PyObject_Unicode(item
);
2517 PyObject
* str
= PyObject_Str(item
);
2519 if (PyErr_Occurred()) SWIG_fail
;
2520 arg5
->Add(Py2wxString(str
));
2527 arg6
= (long) SWIG_AsLong(obj5
);
2528 if (PyErr_Occurred()) SWIG_fail
;
2531 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2532 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2535 PyErr_SetString(PyExc_TypeError
,"null reference");
2541 arg8
= wxString_in_helper(obj7
);
2542 if (arg8
== NULL
) SWIG_fail
;
2547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2548 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2550 wxPyEndAllowThreads(__tstate
);
2551 if (PyErr_Occurred()) SWIG_fail
;
2553 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2555 if (temp5
) delete arg5
;
2564 if (temp5
) delete arg5
;
2574 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2575 PyObject
*resultobj
;
2581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2584 result
= (wxChoice
*)new wxChoice();
2586 wxPyEndAllowThreads(__tstate
);
2587 if (PyErr_Occurred()) SWIG_fail
;
2589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2596 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2597 PyObject
*resultobj
;
2598 wxChoice
*arg1
= (wxChoice
*) 0 ;
2599 wxWindow
*arg2
= (wxWindow
*) 0 ;
2600 int arg3
= (int) -1 ;
2601 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2602 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2603 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2604 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2605 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2606 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2607 long arg7
= (long) 0 ;
2608 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2609 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2610 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2611 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2615 bool temp6
= False
;
2616 bool temp9
= False
;
2617 PyObject
* obj0
= 0 ;
2618 PyObject
* obj1
= 0 ;
2619 PyObject
* obj2
= 0 ;
2620 PyObject
* obj3
= 0 ;
2621 PyObject
* obj4
= 0 ;
2622 PyObject
* obj5
= 0 ;
2623 PyObject
* obj6
= 0 ;
2624 PyObject
* obj7
= 0 ;
2625 PyObject
* obj8
= 0 ;
2627 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2633 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2636 arg3
= (int) SWIG_AsInt(obj2
);
2637 if (PyErr_Occurred()) SWIG_fail
;
2642 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2648 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2653 if (! PySequence_Check(obj5
)) {
2654 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2657 arg6
= new wxArrayString
;
2659 int i
, len
=PySequence_Length(obj5
);
2660 for (i
=0; i
<len
; i
++) {
2661 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2663 PyObject
* str
= PyObject_Unicode(item
);
2665 PyObject
* str
= PyObject_Str(item
);
2667 if (PyErr_Occurred()) SWIG_fail
;
2668 arg6
->Add(Py2wxString(str
));
2675 arg7
= (long) SWIG_AsLong(obj6
);
2676 if (PyErr_Occurred()) SWIG_fail
;
2679 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2680 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2683 PyErr_SetString(PyExc_TypeError
,"null reference");
2689 arg9
= wxString_in_helper(obj8
);
2690 if (arg9
== NULL
) SWIG_fail
;
2695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2696 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2698 wxPyEndAllowThreads(__tstate
);
2699 if (PyErr_Occurred()) SWIG_fail
;
2702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2705 if (temp6
) delete arg6
;
2714 if (temp6
) delete arg6
;
2724 static PyObject
*_wrap_Choice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2725 PyObject
*resultobj
;
2726 wxChoice
*arg1
= (wxChoice
*) 0 ;
2728 PyObject
* obj0
= 0 ;
2729 PyObject
* obj1
= 0 ;
2731 (char *) "self",(char *) "n", NULL
2734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2737 arg2
= (int const) SWIG_AsInt(obj1
);
2738 if (PyErr_Occurred()) SWIG_fail
;
2740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2741 (arg1
)->SetSelection(arg2
);
2743 wxPyEndAllowThreads(__tstate
);
2744 if (PyErr_Occurred()) SWIG_fail
;
2746 Py_INCREF(Py_None
); resultobj
= Py_None
;
2753 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2754 PyObject
*resultobj
;
2755 wxChoice
*arg1
= (wxChoice
*) 0 ;
2756 wxString
*arg2
= 0 ;
2758 bool temp2
= False
;
2759 PyObject
* obj0
= 0 ;
2760 PyObject
* obj1
= 0 ;
2762 (char *) "self",(char *) "string", NULL
2765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2769 arg2
= wxString_in_helper(obj1
);
2770 if (arg2
== NULL
) SWIG_fail
;
2774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2775 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
2777 wxPyEndAllowThreads(__tstate
);
2778 if (PyErr_Occurred()) SWIG_fail
;
2781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2797 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2798 PyObject
*resultobj
;
2799 wxChoice
*arg1
= (wxChoice
*) 0 ;
2801 wxString
*arg3
= 0 ;
2802 bool temp3
= False
;
2803 PyObject
* obj0
= 0 ;
2804 PyObject
* obj1
= 0 ;
2805 PyObject
* obj2
= 0 ;
2807 (char *) "self",(char *) "n",(char *) "string", NULL
2810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2813 arg2
= (int) SWIG_AsInt(obj1
);
2814 if (PyErr_Occurred()) SWIG_fail
;
2816 arg3
= wxString_in_helper(obj2
);
2817 if (arg3
== NULL
) SWIG_fail
;
2821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2822 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2824 wxPyEndAllowThreads(__tstate
);
2825 if (PyErr_Occurred()) SWIG_fail
;
2827 Py_INCREF(Py_None
); resultobj
= Py_None
;
2842 static PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2843 PyObject
*resultobj
;
2844 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2845 wxVisualAttributes result
;
2846 PyObject
* obj0
= 0 ;
2848 (char *) "variant", NULL
2851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2853 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2854 if (PyErr_Occurred()) SWIG_fail
;
2857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2858 result
= wxChoice::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2860 wxPyEndAllowThreads(__tstate
);
2861 if (PyErr_Occurred()) SWIG_fail
;
2864 wxVisualAttributes
* resultptr
;
2865 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2866 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2874 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2876 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2877 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2879 return Py_BuildValue((char *)"");
2881 static int _wrap_ComboBoxNameStr_set(PyObject
*_val
) {
2882 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2887 static PyObject
*_wrap_ComboBoxNameStr_get() {
2892 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2894 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2901 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2902 PyObject
*resultobj
;
2903 wxWindow
*arg1
= (wxWindow
*) 0 ;
2904 int arg2
= (int) -1 ;
2905 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2906 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2907 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2908 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2909 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2910 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2911 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2912 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2913 long arg7
= (long) 0 ;
2914 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2915 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2916 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
2917 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2919 bool temp3
= False
;
2922 bool temp6
= False
;
2923 bool temp9
= False
;
2924 PyObject
* obj0
= 0 ;
2925 PyObject
* obj1
= 0 ;
2926 PyObject
* obj2
= 0 ;
2927 PyObject
* obj3
= 0 ;
2928 PyObject
* obj4
= 0 ;
2929 PyObject
* obj5
= 0 ;
2930 PyObject
* obj6
= 0 ;
2931 PyObject
* obj7
= 0 ;
2932 PyObject
* obj8
= 0 ;
2934 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2941 arg2
= (int) SWIG_AsInt(obj1
);
2942 if (PyErr_Occurred()) SWIG_fail
;
2946 arg3
= wxString_in_helper(obj2
);
2947 if (arg3
== NULL
) SWIG_fail
;
2954 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2960 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2965 if (! PySequence_Check(obj5
)) {
2966 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2969 arg6
= new wxArrayString
;
2971 int i
, len
=PySequence_Length(obj5
);
2972 for (i
=0; i
<len
; i
++) {
2973 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2975 PyObject
* str
= PyObject_Unicode(item
);
2977 PyObject
* str
= PyObject_Str(item
);
2979 if (PyErr_Occurred()) SWIG_fail
;
2980 arg6
->Add(Py2wxString(str
));
2987 arg7
= (long) SWIG_AsLong(obj6
);
2988 if (PyErr_Occurred()) SWIG_fail
;
2991 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2992 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2995 PyErr_SetString(PyExc_TypeError
,"null reference");
3001 arg9
= wxString_in_helper(obj8
);
3002 if (arg9
== NULL
) SWIG_fail
;
3007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3008 result
= (wxComboBox
*)new wxComboBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3010 wxPyEndAllowThreads(__tstate
);
3011 if (PyErr_Occurred()) SWIG_fail
;
3013 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3019 if (temp6
) delete arg6
;
3032 if (temp6
) delete arg6
;
3042 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3043 PyObject
*resultobj
;
3049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
3051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3052 result
= (wxComboBox
*)new wxComboBox();
3054 wxPyEndAllowThreads(__tstate
);
3055 if (PyErr_Occurred()) SWIG_fail
;
3057 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3064 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3065 PyObject
*resultobj
;
3066 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3067 wxWindow
*arg2
= (wxWindow
*) 0 ;
3068 int arg3
= (int) -1 ;
3069 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3070 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3071 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3072 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3073 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3074 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3075 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
3076 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
3077 long arg8
= (long) 0 ;
3078 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
3079 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
3080 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
3081 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
3083 bool temp4
= False
;
3086 bool temp7
= False
;
3087 bool temp10
= False
;
3088 PyObject
* obj0
= 0 ;
3089 PyObject
* obj1
= 0 ;
3090 PyObject
* obj2
= 0 ;
3091 PyObject
* obj3
= 0 ;
3092 PyObject
* obj4
= 0 ;
3093 PyObject
* obj5
= 0 ;
3094 PyObject
* obj6
= 0 ;
3095 PyObject
* obj7
= 0 ;
3096 PyObject
* obj8
= 0 ;
3097 PyObject
* obj9
= 0 ;
3099 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
3103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3105 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3108 arg3
= (int) SWIG_AsInt(obj2
);
3109 if (PyErr_Occurred()) SWIG_fail
;
3113 arg4
= wxString_in_helper(obj3
);
3114 if (arg4
== NULL
) SWIG_fail
;
3121 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3127 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3132 if (! PySequence_Check(obj6
)) {
3133 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3136 arg7
= new wxArrayString
;
3138 int i
, len
=PySequence_Length(obj6
);
3139 for (i
=0; i
<len
; i
++) {
3140 PyObject
* item
= PySequence_GetItem(obj6
, i
);
3142 PyObject
* str
= PyObject_Unicode(item
);
3144 PyObject
* str
= PyObject_Str(item
);
3146 if (PyErr_Occurred()) SWIG_fail
;
3147 arg7
->Add(Py2wxString(str
));
3154 arg8
= (long) SWIG_AsLong(obj7
);
3155 if (PyErr_Occurred()) SWIG_fail
;
3158 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
3159 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3162 PyErr_SetString(PyExc_TypeError
,"null reference");
3168 arg10
= wxString_in_helper(obj9
);
3169 if (arg10
== NULL
) SWIG_fail
;
3174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3175 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxArrayString
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
3177 wxPyEndAllowThreads(__tstate
);
3178 if (PyErr_Occurred()) SWIG_fail
;
3181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3188 if (temp7
) delete arg7
;
3201 if (temp7
) delete arg7
;
3211 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3212 PyObject
*resultobj
;
3213 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3215 PyObject
* obj0
= 0 ;
3217 (char *) "self", NULL
3220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
3221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3225 result
= ((wxComboBox
const *)arg1
)->GetValue();
3227 wxPyEndAllowThreads(__tstate
);
3228 if (PyErr_Occurred()) SWIG_fail
;
3232 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3234 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3243 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3244 PyObject
*resultobj
;
3245 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3246 wxString
*arg2
= 0 ;
3247 bool temp2
= False
;
3248 PyObject
* obj0
= 0 ;
3249 PyObject
* obj1
= 0 ;
3251 (char *) "self",(char *) "value", NULL
3254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3258 arg2
= wxString_in_helper(obj1
);
3259 if (arg2
== NULL
) SWIG_fail
;
3263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3264 (arg1
)->SetValue((wxString
const &)*arg2
);
3266 wxPyEndAllowThreads(__tstate
);
3267 if (PyErr_Occurred()) SWIG_fail
;
3269 Py_INCREF(Py_None
); resultobj
= Py_None
;
3284 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3285 PyObject
*resultobj
;
3286 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3287 PyObject
* obj0
= 0 ;
3289 (char *) "self", NULL
3292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
3293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3299 wxPyEndAllowThreads(__tstate
);
3300 if (PyErr_Occurred()) SWIG_fail
;
3302 Py_INCREF(Py_None
); resultobj
= Py_None
;
3309 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3310 PyObject
*resultobj
;
3311 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3312 PyObject
* obj0
= 0 ;
3314 (char *) "self", NULL
3317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3324 wxPyEndAllowThreads(__tstate
);
3325 if (PyErr_Occurred()) SWIG_fail
;
3327 Py_INCREF(Py_None
); resultobj
= Py_None
;
3334 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3335 PyObject
*resultobj
;
3336 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3337 PyObject
* obj0
= 0 ;
3339 (char *) "self", NULL
3342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3349 wxPyEndAllowThreads(__tstate
);
3350 if (PyErr_Occurred()) SWIG_fail
;
3352 Py_INCREF(Py_None
); resultobj
= Py_None
;
3359 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3360 PyObject
*resultobj
;
3361 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3363 PyObject
* obj0
= 0 ;
3364 PyObject
* obj1
= 0 ;
3366 (char *) "self",(char *) "pos", NULL
3369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3372 arg2
= (long) SWIG_AsLong(obj1
);
3373 if (PyErr_Occurred()) SWIG_fail
;
3375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3376 (arg1
)->SetInsertionPoint(arg2
);
3378 wxPyEndAllowThreads(__tstate
);
3379 if (PyErr_Occurred()) SWIG_fail
;
3381 Py_INCREF(Py_None
); resultobj
= Py_None
;
3388 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3389 PyObject
*resultobj
;
3390 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3392 PyObject
* obj0
= 0 ;
3394 (char *) "self", NULL
3397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3402 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3404 wxPyEndAllowThreads(__tstate
);
3405 if (PyErr_Occurred()) SWIG_fail
;
3407 resultobj
= SWIG_FromLong((long)result
);
3414 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3415 PyObject
*resultobj
;
3416 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3418 PyObject
* obj0
= 0 ;
3420 (char *) "self", NULL
3423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3428 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3430 wxPyEndAllowThreads(__tstate
);
3431 if (PyErr_Occurred()) SWIG_fail
;
3433 resultobj
= SWIG_FromLong((long)result
);
3440 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3441 PyObject
*resultobj
;
3442 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3445 wxString
*arg4
= 0 ;
3446 bool temp4
= False
;
3447 PyObject
* obj0
= 0 ;
3448 PyObject
* obj1
= 0 ;
3449 PyObject
* obj2
= 0 ;
3450 PyObject
* obj3
= 0 ;
3452 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3458 arg2
= (long) SWIG_AsLong(obj1
);
3459 if (PyErr_Occurred()) SWIG_fail
;
3460 arg3
= (long) SWIG_AsLong(obj2
);
3461 if (PyErr_Occurred()) SWIG_fail
;
3463 arg4
= wxString_in_helper(obj3
);
3464 if (arg4
== NULL
) SWIG_fail
;
3468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3469 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3471 wxPyEndAllowThreads(__tstate
);
3472 if (PyErr_Occurred()) SWIG_fail
;
3474 Py_INCREF(Py_None
); resultobj
= Py_None
;
3489 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3490 PyObject
*resultobj
;
3491 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3493 PyObject
* obj0
= 0 ;
3494 PyObject
* obj1
= 0 ;
3496 (char *) "self",(char *) "n", NULL
3499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3502 arg2
= (int) SWIG_AsInt(obj1
);
3503 if (PyErr_Occurred()) SWIG_fail
;
3505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3506 (arg1
)->SetSelection(arg2
);
3508 wxPyEndAllowThreads(__tstate
);
3509 if (PyErr_Occurred()) SWIG_fail
;
3511 Py_INCREF(Py_None
); resultobj
= Py_None
;
3518 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3519 PyObject
*resultobj
;
3520 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3523 PyObject
* obj0
= 0 ;
3524 PyObject
* obj1
= 0 ;
3525 PyObject
* obj2
= 0 ;
3527 (char *) "self",(char *) "from",(char *) "to", NULL
3530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3533 arg2
= (long) SWIG_AsLong(obj1
);
3534 if (PyErr_Occurred()) SWIG_fail
;
3535 arg3
= (long) SWIG_AsLong(obj2
);
3536 if (PyErr_Occurred()) SWIG_fail
;
3538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3539 (arg1
)->SetSelection(arg2
,arg3
);
3541 wxPyEndAllowThreads(__tstate
);
3542 if (PyErr_Occurred()) SWIG_fail
;
3544 Py_INCREF(Py_None
); resultobj
= Py_None
;
3551 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3552 PyObject
*resultobj
;
3553 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3554 wxString
*arg2
= 0 ;
3556 bool temp2
= False
;
3557 PyObject
* obj0
= 0 ;
3558 PyObject
* obj1
= 0 ;
3560 (char *) "self",(char *) "string", NULL
3563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3567 arg2
= wxString_in_helper(obj1
);
3568 if (arg2
== NULL
) SWIG_fail
;
3572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3573 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
3575 wxPyEndAllowThreads(__tstate
);
3576 if (PyErr_Occurred()) SWIG_fail
;
3579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3595 static PyObject
*_wrap_ComboBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3596 PyObject
*resultobj
;
3597 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3599 wxString
*arg3
= 0 ;
3600 bool temp3
= False
;
3601 PyObject
* obj0
= 0 ;
3602 PyObject
* obj1
= 0 ;
3603 PyObject
* obj2
= 0 ;
3605 (char *) "self",(char *) "n",(char *) "string", NULL
3608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3611 arg2
= (int) SWIG_AsInt(obj1
);
3612 if (PyErr_Occurred()) SWIG_fail
;
3614 arg3
= wxString_in_helper(obj2
);
3615 if (arg3
== NULL
) SWIG_fail
;
3619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3620 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
3622 wxPyEndAllowThreads(__tstate
);
3623 if (PyErr_Occurred()) SWIG_fail
;
3625 Py_INCREF(Py_None
); resultobj
= Py_None
;
3640 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3641 PyObject
*resultobj
;
3642 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3644 PyObject
* obj0
= 0 ;
3645 PyObject
* obj1
= 0 ;
3647 (char *) "self",(char *) "editable", NULL
3650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3653 arg2
= (bool) SWIG_AsBool(obj1
);
3654 if (PyErr_Occurred()) SWIG_fail
;
3656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3657 (arg1
)->SetEditable(arg2
);
3659 wxPyEndAllowThreads(__tstate
);
3660 if (PyErr_Occurred()) SWIG_fail
;
3662 Py_INCREF(Py_None
); resultobj
= Py_None
;
3669 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3670 PyObject
*resultobj
;
3671 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3672 PyObject
* obj0
= 0 ;
3674 (char *) "self", NULL
3677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3682 (arg1
)->SetInsertionPointEnd();
3684 wxPyEndAllowThreads(__tstate
);
3685 if (PyErr_Occurred()) SWIG_fail
;
3687 Py_INCREF(Py_None
); resultobj
= Py_None
;
3694 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3695 PyObject
*resultobj
;
3696 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3699 PyObject
* obj0
= 0 ;
3700 PyObject
* obj1
= 0 ;
3701 PyObject
* obj2
= 0 ;
3703 (char *) "self",(char *) "from",(char *) "to", NULL
3706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3709 arg2
= (long) SWIG_AsLong(obj1
);
3710 if (PyErr_Occurred()) SWIG_fail
;
3711 arg3
= (long) SWIG_AsLong(obj2
);
3712 if (PyErr_Occurred()) SWIG_fail
;
3714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3715 (arg1
)->Remove(arg2
,arg3
);
3717 wxPyEndAllowThreads(__tstate
);
3718 if (PyErr_Occurred()) SWIG_fail
;
3720 Py_INCREF(Py_None
); resultobj
= Py_None
;
3727 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3728 PyObject
*resultobj
;
3729 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
3730 wxVisualAttributes result
;
3731 PyObject
* obj0
= 0 ;
3733 (char *) "variant", NULL
3736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3738 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
3739 if (PyErr_Occurred()) SWIG_fail
;
3742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3743 result
= wxComboBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3745 wxPyEndAllowThreads(__tstate
);
3746 if (PyErr_Occurred()) SWIG_fail
;
3749 wxVisualAttributes
* resultptr
;
3750 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
3751 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3759 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
3761 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3762 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3764 return Py_BuildValue((char *)"");
3766 static int _wrap_GaugeNameStr_set(PyObject
*_val
) {
3767 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3772 static PyObject
*_wrap_GaugeNameStr_get() {
3777 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3779 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3786 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3787 PyObject
*resultobj
;
3788 wxWindow
*arg1
= (wxWindow
*) 0 ;
3791 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3792 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3793 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3794 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3795 long arg6
= (long) wxGA_HORIZONTAL
;
3796 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3797 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3798 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3799 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3803 bool temp8
= False
;
3804 PyObject
* obj0
= 0 ;
3805 PyObject
* obj1
= 0 ;
3806 PyObject
* obj2
= 0 ;
3807 PyObject
* obj3
= 0 ;
3808 PyObject
* obj4
= 0 ;
3809 PyObject
* obj5
= 0 ;
3810 PyObject
* obj6
= 0 ;
3811 PyObject
* obj7
= 0 ;
3813 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3819 arg2
= (int) SWIG_AsInt(obj1
);
3820 if (PyErr_Occurred()) SWIG_fail
;
3821 arg3
= (int) SWIG_AsInt(obj2
);
3822 if (PyErr_Occurred()) SWIG_fail
;
3826 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3832 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3836 arg6
= (long) SWIG_AsLong(obj5
);
3837 if (PyErr_Occurred()) SWIG_fail
;
3840 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
3841 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3844 PyErr_SetString(PyExc_TypeError
,"null reference");
3850 arg8
= wxString_in_helper(obj7
);
3851 if (arg8
== NULL
) SWIG_fail
;
3856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3857 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3859 wxPyEndAllowThreads(__tstate
);
3860 if (PyErr_Occurred()) SWIG_fail
;
3862 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3877 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3878 PyObject
*resultobj
;
3884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3887 result
= (wxGauge
*)new wxGauge();
3889 wxPyEndAllowThreads(__tstate
);
3890 if (PyErr_Occurred()) SWIG_fail
;
3892 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3899 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3900 PyObject
*resultobj
;
3901 wxGauge
*arg1
= (wxGauge
*) 0 ;
3902 wxWindow
*arg2
= (wxWindow
*) 0 ;
3905 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3906 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3907 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3908 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3909 long arg7
= (long) wxGA_HORIZONTAL
;
3910 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3911 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3912 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3913 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3917 bool temp9
= False
;
3918 PyObject
* obj0
= 0 ;
3919 PyObject
* obj1
= 0 ;
3920 PyObject
* obj2
= 0 ;
3921 PyObject
* obj3
= 0 ;
3922 PyObject
* obj4
= 0 ;
3923 PyObject
* obj5
= 0 ;
3924 PyObject
* obj6
= 0 ;
3925 PyObject
* obj7
= 0 ;
3926 PyObject
* obj8
= 0 ;
3928 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3934 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3936 arg3
= (int) SWIG_AsInt(obj2
);
3937 if (PyErr_Occurred()) SWIG_fail
;
3938 arg4
= (int) SWIG_AsInt(obj3
);
3939 if (PyErr_Occurred()) SWIG_fail
;
3943 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3949 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3953 arg7
= (long) SWIG_AsLong(obj6
);
3954 if (PyErr_Occurred()) SWIG_fail
;
3957 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
3958 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3961 PyErr_SetString(PyExc_TypeError
,"null reference");
3967 arg9
= wxString_in_helper(obj8
);
3968 if (arg9
== NULL
) SWIG_fail
;
3973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3974 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3976 wxPyEndAllowThreads(__tstate
);
3977 if (PyErr_Occurred()) SWIG_fail
;
3980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3996 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3997 PyObject
*resultobj
;
3998 wxGauge
*arg1
= (wxGauge
*) 0 ;
4000 PyObject
* obj0
= 0 ;
4001 PyObject
* obj1
= 0 ;
4003 (char *) "self",(char *) "range", NULL
4006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
4007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4009 arg2
= (int) SWIG_AsInt(obj1
);
4010 if (PyErr_Occurred()) SWIG_fail
;
4012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4013 (arg1
)->SetRange(arg2
);
4015 wxPyEndAllowThreads(__tstate
);
4016 if (PyErr_Occurred()) SWIG_fail
;
4018 Py_INCREF(Py_None
); resultobj
= Py_None
;
4025 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4026 PyObject
*resultobj
;
4027 wxGauge
*arg1
= (wxGauge
*) 0 ;
4029 PyObject
* obj0
= 0 ;
4031 (char *) "self", NULL
4034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
4035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4039 result
= (int)((wxGauge
const *)arg1
)->GetRange();
4041 wxPyEndAllowThreads(__tstate
);
4042 if (PyErr_Occurred()) SWIG_fail
;
4044 resultobj
= SWIG_FromInt((int)result
);
4051 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4052 PyObject
*resultobj
;
4053 wxGauge
*arg1
= (wxGauge
*) 0 ;
4055 PyObject
* obj0
= 0 ;
4056 PyObject
* obj1
= 0 ;
4058 (char *) "self",(char *) "pos", NULL
4061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
4062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4064 arg2
= (int) SWIG_AsInt(obj1
);
4065 if (PyErr_Occurred()) SWIG_fail
;
4067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4068 (arg1
)->SetValue(arg2
);
4070 wxPyEndAllowThreads(__tstate
);
4071 if (PyErr_Occurred()) SWIG_fail
;
4073 Py_INCREF(Py_None
); resultobj
= Py_None
;
4080 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4081 PyObject
*resultobj
;
4082 wxGauge
*arg1
= (wxGauge
*) 0 ;
4084 PyObject
* obj0
= 0 ;
4086 (char *) "self", NULL
4089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
4090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4094 result
= (int)((wxGauge
const *)arg1
)->GetValue();
4096 wxPyEndAllowThreads(__tstate
);
4097 if (PyErr_Occurred()) SWIG_fail
;
4099 resultobj
= SWIG_FromInt((int)result
);
4106 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4107 PyObject
*resultobj
;
4108 wxGauge
*arg1
= (wxGauge
*) 0 ;
4110 PyObject
* obj0
= 0 ;
4112 (char *) "self", NULL
4115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
4116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4120 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
4122 wxPyEndAllowThreads(__tstate
);
4123 if (PyErr_Occurred()) SWIG_fail
;
4126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4134 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4135 PyObject
*resultobj
;
4136 wxGauge
*arg1
= (wxGauge
*) 0 ;
4138 PyObject
* obj0
= 0 ;
4139 PyObject
* obj1
= 0 ;
4141 (char *) "self",(char *) "w", NULL
4144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4147 arg2
= (int) SWIG_AsInt(obj1
);
4148 if (PyErr_Occurred()) SWIG_fail
;
4150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4151 (arg1
)->SetShadowWidth(arg2
);
4153 wxPyEndAllowThreads(__tstate
);
4154 if (PyErr_Occurred()) SWIG_fail
;
4156 Py_INCREF(Py_None
); resultobj
= Py_None
;
4163 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4164 PyObject
*resultobj
;
4165 wxGauge
*arg1
= (wxGauge
*) 0 ;
4167 PyObject
* obj0
= 0 ;
4169 (char *) "self", NULL
4172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
4173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4177 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
4179 wxPyEndAllowThreads(__tstate
);
4180 if (PyErr_Occurred()) SWIG_fail
;
4182 resultobj
= SWIG_FromInt((int)result
);
4189 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4190 PyObject
*resultobj
;
4191 wxGauge
*arg1
= (wxGauge
*) 0 ;
4193 PyObject
* obj0
= 0 ;
4194 PyObject
* obj1
= 0 ;
4196 (char *) "self",(char *) "w", NULL
4199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
4200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4202 arg2
= (int) SWIG_AsInt(obj1
);
4203 if (PyErr_Occurred()) SWIG_fail
;
4205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4206 (arg1
)->SetBezelFace(arg2
);
4208 wxPyEndAllowThreads(__tstate
);
4209 if (PyErr_Occurred()) SWIG_fail
;
4211 Py_INCREF(Py_None
); resultobj
= Py_None
;
4218 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4219 PyObject
*resultobj
;
4220 wxGauge
*arg1
= (wxGauge
*) 0 ;
4222 PyObject
* obj0
= 0 ;
4224 (char *) "self", NULL
4227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
4228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4232 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
4234 wxPyEndAllowThreads(__tstate
);
4235 if (PyErr_Occurred()) SWIG_fail
;
4237 resultobj
= SWIG_FromInt((int)result
);
4244 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4245 PyObject
*resultobj
;
4246 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4247 wxVisualAttributes result
;
4248 PyObject
* obj0
= 0 ;
4250 (char *) "variant", NULL
4253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4255 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4256 if (PyErr_Occurred()) SWIG_fail
;
4259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4260 result
= wxGauge::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4262 wxPyEndAllowThreads(__tstate
);
4263 if (PyErr_Occurred()) SWIG_fail
;
4266 wxVisualAttributes
* resultptr
;
4267 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4268 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4276 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
4278 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4279 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
4281 return Py_BuildValue((char *)"");
4283 static int _wrap_StaticBitmapNameStr_set(PyObject
*_val
) {
4284 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
4289 static PyObject
*_wrap_StaticBitmapNameStr_get() {
4294 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4296 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4303 static int _wrap_StaticBoxNameStr_set(PyObject
*_val
) {
4304 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
4309 static PyObject
*_wrap_StaticBoxNameStr_get() {
4314 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4316 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4323 static int _wrap_StaticTextNameStr_set(PyObject
*_val
) {
4324 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
4329 static PyObject
*_wrap_StaticTextNameStr_get() {
4334 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4336 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4343 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4344 PyObject
*resultobj
;
4345 wxWindow
*arg1
= (wxWindow
*) 0 ;
4347 wxString
*arg3
= 0 ;
4348 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4349 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4350 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4351 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4352 long arg6
= (long) 0 ;
4353 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
4354 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4355 wxStaticBox
*result
;
4356 bool temp3
= False
;
4359 bool temp7
= False
;
4360 PyObject
* obj0
= 0 ;
4361 PyObject
* obj1
= 0 ;
4362 PyObject
* obj2
= 0 ;
4363 PyObject
* obj3
= 0 ;
4364 PyObject
* obj4
= 0 ;
4365 PyObject
* obj5
= 0 ;
4366 PyObject
* obj6
= 0 ;
4368 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4374 arg2
= (int) SWIG_AsInt(obj1
);
4375 if (PyErr_Occurred()) SWIG_fail
;
4377 arg3
= wxString_in_helper(obj2
);
4378 if (arg3
== NULL
) SWIG_fail
;
4384 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4390 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4394 arg6
= (long) SWIG_AsLong(obj5
);
4395 if (PyErr_Occurred()) SWIG_fail
;
4399 arg7
= wxString_in_helper(obj6
);
4400 if (arg7
== NULL
) SWIG_fail
;
4405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4406 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4408 wxPyEndAllowThreads(__tstate
);
4409 if (PyErr_Occurred()) SWIG_fail
;
4412 resultobj
= wxPyMake_wxObject(result
);
4436 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4437 PyObject
*resultobj
;
4438 wxStaticBox
*result
;
4443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4446 result
= (wxStaticBox
*)new wxStaticBox();
4448 wxPyEndAllowThreads(__tstate
);
4449 if (PyErr_Occurred()) SWIG_fail
;
4452 resultobj
= wxPyMake_wxObject(result
);
4460 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4461 PyObject
*resultobj
;
4462 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4463 wxWindow
*arg2
= (wxWindow
*) 0 ;
4465 wxString
*arg4
= 0 ;
4466 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4467 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4468 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4469 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4470 long arg7
= (long) 0 ;
4471 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4472 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4474 bool temp4
= False
;
4477 bool temp8
= False
;
4478 PyObject
* obj0
= 0 ;
4479 PyObject
* obj1
= 0 ;
4480 PyObject
* obj2
= 0 ;
4481 PyObject
* obj3
= 0 ;
4482 PyObject
* obj4
= 0 ;
4483 PyObject
* obj5
= 0 ;
4484 PyObject
* obj6
= 0 ;
4485 PyObject
* obj7
= 0 ;
4487 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
4492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4493 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4495 arg3
= (int) SWIG_AsInt(obj2
);
4496 if (PyErr_Occurred()) SWIG_fail
;
4498 arg4
= wxString_in_helper(obj3
);
4499 if (arg4
== NULL
) SWIG_fail
;
4505 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4511 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4515 arg7
= (long) SWIG_AsLong(obj6
);
4516 if (PyErr_Occurred()) SWIG_fail
;
4520 arg8
= wxString_in_helper(obj7
);
4521 if (arg8
== NULL
) SWIG_fail
;
4526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4527 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4529 wxPyEndAllowThreads(__tstate
);
4530 if (PyErr_Occurred()) SWIG_fail
;
4533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4557 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4558 PyObject
*resultobj
;
4559 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4560 wxVisualAttributes result
;
4561 PyObject
* obj0
= 0 ;
4563 (char *) "variant", NULL
4566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4568 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4569 if (PyErr_Occurred()) SWIG_fail
;
4572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4573 result
= wxStaticBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4575 wxPyEndAllowThreads(__tstate
);
4576 if (PyErr_Occurred()) SWIG_fail
;
4579 wxVisualAttributes
* resultptr
;
4580 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4581 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4589 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
4591 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4592 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4594 return Py_BuildValue((char *)"");
4596 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4597 PyObject
*resultobj
;
4598 wxWindow
*arg1
= (wxWindow
*) 0 ;
4600 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4601 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4602 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4603 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4604 long arg5
= (long) wxLI_HORIZONTAL
;
4605 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4606 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4607 wxStaticLine
*result
;
4610 bool temp6
= False
;
4611 PyObject
* obj0
= 0 ;
4612 PyObject
* obj1
= 0 ;
4613 PyObject
* obj2
= 0 ;
4614 PyObject
* obj3
= 0 ;
4615 PyObject
* obj4
= 0 ;
4616 PyObject
* obj5
= 0 ;
4618 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4624 arg2
= (int) SWIG_AsInt(obj1
);
4625 if (PyErr_Occurred()) SWIG_fail
;
4629 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4635 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4639 arg5
= (long) SWIG_AsLong(obj4
);
4640 if (PyErr_Occurred()) SWIG_fail
;
4644 arg6
= wxString_in_helper(obj5
);
4645 if (arg6
== NULL
) SWIG_fail
;
4650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4651 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4653 wxPyEndAllowThreads(__tstate
);
4654 if (PyErr_Occurred()) SWIG_fail
;
4656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4671 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4672 PyObject
*resultobj
;
4673 wxStaticLine
*result
;
4678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4681 result
= (wxStaticLine
*)new wxStaticLine();
4683 wxPyEndAllowThreads(__tstate
);
4684 if (PyErr_Occurred()) SWIG_fail
;
4686 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4693 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4694 PyObject
*resultobj
;
4695 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4696 wxWindow
*arg2
= (wxWindow
*) 0 ;
4698 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4699 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4700 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4701 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4702 long arg6
= (long) wxLI_HORIZONTAL
;
4703 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4704 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4708 bool temp7
= False
;
4709 PyObject
* obj0
= 0 ;
4710 PyObject
* obj1
= 0 ;
4711 PyObject
* obj2
= 0 ;
4712 PyObject
* obj3
= 0 ;
4713 PyObject
* obj4
= 0 ;
4714 PyObject
* obj5
= 0 ;
4715 PyObject
* obj6
= 0 ;
4717 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4723 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4725 arg3
= (int) SWIG_AsInt(obj2
);
4726 if (PyErr_Occurred()) SWIG_fail
;
4730 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4736 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4740 arg6
= (long) SWIG_AsLong(obj5
);
4741 if (PyErr_Occurred()) SWIG_fail
;
4745 arg7
= wxString_in_helper(obj6
);
4746 if (arg7
== NULL
) SWIG_fail
;
4751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4752 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4754 wxPyEndAllowThreads(__tstate
);
4755 if (PyErr_Occurred()) SWIG_fail
;
4758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4774 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4775 PyObject
*resultobj
;
4776 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4778 PyObject
* obj0
= 0 ;
4780 (char *) "self", NULL
4783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4788 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4790 wxPyEndAllowThreads(__tstate
);
4791 if (PyErr_Occurred()) SWIG_fail
;
4794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4802 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4803 PyObject
*resultobj
;
4809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
4811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4812 result
= (int)wxStaticLine::GetDefaultSize();
4814 wxPyEndAllowThreads(__tstate
);
4815 if (PyErr_Occurred()) SWIG_fail
;
4817 resultobj
= SWIG_FromInt((int)result
);
4824 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4825 PyObject
*resultobj
;
4826 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4827 wxVisualAttributes result
;
4828 PyObject
* obj0
= 0 ;
4830 (char *) "variant", NULL
4833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4835 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4836 if (PyErr_Occurred()) SWIG_fail
;
4839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4840 result
= wxStaticLine::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4842 wxPyEndAllowThreads(__tstate
);
4843 if (PyErr_Occurred()) SWIG_fail
;
4846 wxVisualAttributes
* resultptr
;
4847 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4848 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4856 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
4858 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4859 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
4861 return Py_BuildValue((char *)"");
4863 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4864 PyObject
*resultobj
;
4865 wxWindow
*arg1
= (wxWindow
*) 0 ;
4867 wxString
*arg3
= 0 ;
4868 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4869 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4870 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4871 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4872 long arg6
= (long) 0 ;
4873 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4874 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4875 wxStaticText
*result
;
4876 bool temp3
= False
;
4879 bool temp7
= False
;
4880 PyObject
* obj0
= 0 ;
4881 PyObject
* obj1
= 0 ;
4882 PyObject
* obj2
= 0 ;
4883 PyObject
* obj3
= 0 ;
4884 PyObject
* obj4
= 0 ;
4885 PyObject
* obj5
= 0 ;
4886 PyObject
* obj6
= 0 ;
4888 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4894 arg2
= (int) SWIG_AsInt(obj1
);
4895 if (PyErr_Occurred()) SWIG_fail
;
4897 arg3
= wxString_in_helper(obj2
);
4898 if (arg3
== NULL
) SWIG_fail
;
4904 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4910 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4914 arg6
= (long) SWIG_AsLong(obj5
);
4915 if (PyErr_Occurred()) SWIG_fail
;
4919 arg7
= wxString_in_helper(obj6
);
4920 if (arg7
== NULL
) SWIG_fail
;
4925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4926 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4928 wxPyEndAllowThreads(__tstate
);
4929 if (PyErr_Occurred()) SWIG_fail
;
4931 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4954 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4955 PyObject
*resultobj
;
4956 wxStaticText
*result
;
4961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
4963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4964 result
= (wxStaticText
*)new wxStaticText();
4966 wxPyEndAllowThreads(__tstate
);
4967 if (PyErr_Occurred()) SWIG_fail
;
4969 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4976 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4977 PyObject
*resultobj
;
4978 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
4979 wxWindow
*arg2
= (wxWindow
*) 0 ;
4981 wxString
*arg4
= 0 ;
4982 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4983 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4984 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4985 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4986 long arg7
= (long) 0 ;
4987 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
4988 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4990 bool temp4
= False
;
4993 bool temp8
= False
;
4994 PyObject
* obj0
= 0 ;
4995 PyObject
* obj1
= 0 ;
4996 PyObject
* obj2
= 0 ;
4997 PyObject
* obj3
= 0 ;
4998 PyObject
* obj4
= 0 ;
4999 PyObject
* obj5
= 0 ;
5000 PyObject
* obj6
= 0 ;
5001 PyObject
* obj7
= 0 ;
5003 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticText
,
5008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5009 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5011 arg3
= (int) SWIG_AsInt(obj2
);
5012 if (PyErr_Occurred()) SWIG_fail
;
5014 arg4
= wxString_in_helper(obj3
);
5015 if (arg4
== NULL
) SWIG_fail
;
5021 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5027 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5031 arg7
= (long) SWIG_AsLong(obj6
);
5032 if (PyErr_Occurred()) SWIG_fail
;
5036 arg8
= wxString_in_helper(obj7
);
5037 if (arg8
== NULL
) SWIG_fail
;
5042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5043 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5045 wxPyEndAllowThreads(__tstate
);
5046 if (PyErr_Occurred()) SWIG_fail
;
5049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5073 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5074 PyObject
*resultobj
;
5075 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5076 wxVisualAttributes result
;
5077 PyObject
* obj0
= 0 ;
5079 (char *) "variant", NULL
5082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5084 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
5085 if (PyErr_Occurred()) SWIG_fail
;
5088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5089 result
= wxStaticText::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5091 wxPyEndAllowThreads(__tstate
);
5092 if (PyErr_Occurred()) SWIG_fail
;
5095 wxVisualAttributes
* resultptr
;
5096 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5097 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5105 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
5107 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5108 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
5110 return Py_BuildValue((char *)"");
5112 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5113 PyObject
*resultobj
;
5114 wxWindow
*arg1
= (wxWindow
*) 0 ;
5116 wxBitmap
*arg3
= 0 ;
5117 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5118 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5119 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5120 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5121 long arg6
= (long) 0 ;
5122 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
5123 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5124 wxStaticBitmap
*result
;
5127 bool temp7
= False
;
5128 PyObject
* obj0
= 0 ;
5129 PyObject
* obj1
= 0 ;
5130 PyObject
* obj2
= 0 ;
5131 PyObject
* obj3
= 0 ;
5132 PyObject
* obj4
= 0 ;
5133 PyObject
* obj5
= 0 ;
5134 PyObject
* obj6
= 0 ;
5136 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5142 arg2
= (int) SWIG_AsInt(obj1
);
5143 if (PyErr_Occurred()) SWIG_fail
;
5144 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
5145 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5148 PyErr_SetString(PyExc_TypeError
,"null reference");
5154 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5160 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5164 arg6
= (long) SWIG_AsLong(obj5
);
5165 if (PyErr_Occurred()) SWIG_fail
;
5169 arg7
= wxString_in_helper(obj6
);
5170 if (arg7
== NULL
) SWIG_fail
;
5175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5176 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5178 wxPyEndAllowThreads(__tstate
);
5179 if (PyErr_Occurred()) SWIG_fail
;
5181 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5196 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5197 PyObject
*resultobj
;
5198 wxStaticBitmap
*result
;
5203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
5205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5206 result
= (wxStaticBitmap
*)new wxStaticBitmap();
5208 wxPyEndAllowThreads(__tstate
);
5209 if (PyErr_Occurred()) SWIG_fail
;
5211 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5218 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5219 PyObject
*resultobj
;
5220 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5221 wxWindow
*arg2
= (wxWindow
*) 0 ;
5223 wxBitmap
*arg4
= 0 ;
5224 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5225 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5226 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5227 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5228 long arg7
= (long) 0 ;
5229 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
5230 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5234 bool temp8
= False
;
5235 PyObject
* obj0
= 0 ;
5236 PyObject
* obj1
= 0 ;
5237 PyObject
* obj2
= 0 ;
5238 PyObject
* obj3
= 0 ;
5239 PyObject
* obj4
= 0 ;
5240 PyObject
* obj5
= 0 ;
5241 PyObject
* obj6
= 0 ;
5242 PyObject
* obj7
= 0 ;
5244 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5250 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5252 arg3
= (int) SWIG_AsInt(obj2
);
5253 if (PyErr_Occurred()) SWIG_fail
;
5254 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
5255 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5258 PyErr_SetString(PyExc_TypeError
,"null reference");
5264 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5270 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5274 arg7
= (long) SWIG_AsLong(obj6
);
5275 if (PyErr_Occurred()) SWIG_fail
;
5279 arg8
= wxString_in_helper(obj7
);
5280 if (arg8
== NULL
) SWIG_fail
;
5285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5286 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5288 wxPyEndAllowThreads(__tstate
);
5289 if (PyErr_Occurred()) SWIG_fail
;
5292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5308 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5309 PyObject
*resultobj
;
5310 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5312 PyObject
* obj0
= 0 ;
5314 (char *) "self", NULL
5317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
5318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5322 result
= (arg1
)->GetBitmap();
5324 wxPyEndAllowThreads(__tstate
);
5325 if (PyErr_Occurred()) SWIG_fail
;
5328 wxBitmap
* resultptr
;
5329 resultptr
= new wxBitmap((wxBitmap
&) result
);
5330 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5338 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5339 PyObject
*resultobj
;
5340 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5341 wxBitmap
*arg2
= 0 ;
5342 PyObject
* obj0
= 0 ;
5343 PyObject
* obj1
= 0 ;
5345 (char *) "self",(char *) "bitmap", NULL
5348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5351 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5352 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5355 PyErr_SetString(PyExc_TypeError
,"null reference");
5359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5360 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
5362 wxPyEndAllowThreads(__tstate
);
5363 if (PyErr_Occurred()) SWIG_fail
;
5365 Py_INCREF(Py_None
); resultobj
= Py_None
;
5372 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5373 PyObject
*resultobj
;
5374 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5376 PyObject
* obj0
= 0 ;
5377 PyObject
* obj1
= 0 ;
5379 (char *) "self",(char *) "icon", NULL
5382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5385 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
5386 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5389 PyErr_SetString(PyExc_TypeError
,"null reference");
5393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5394 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5396 wxPyEndAllowThreads(__tstate
);
5397 if (PyErr_Occurred()) SWIG_fail
;
5399 Py_INCREF(Py_None
); resultobj
= Py_None
;
5406 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5407 PyObject
*resultobj
;
5408 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5409 wxVisualAttributes result
;
5410 PyObject
* obj0
= 0 ;
5412 (char *) "variant", NULL
5415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5417 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
5418 if (PyErr_Occurred()) SWIG_fail
;
5421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5422 result
= wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5424 wxPyEndAllowThreads(__tstate
);
5425 if (PyErr_Occurred()) SWIG_fail
;
5428 wxVisualAttributes
* resultptr
;
5429 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5430 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5438 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
5440 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5441 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
5443 return Py_BuildValue((char *)"");
5445 static int _wrap_ListBoxNameStr_set(PyObject
*_val
) {
5446 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
5451 static PyObject
*_wrap_ListBoxNameStr_get() {
5456 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5458 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5465 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5466 PyObject
*resultobj
;
5467 wxWindow
*arg1
= (wxWindow
*) 0 ;
5469 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5470 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5471 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5472 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5473 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5474 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5475 long arg6
= (long) 0 ;
5476 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5477 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5478 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5479 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5483 bool temp5
= False
;
5484 bool temp8
= False
;
5485 PyObject
* obj0
= 0 ;
5486 PyObject
* obj1
= 0 ;
5487 PyObject
* obj2
= 0 ;
5488 PyObject
* obj3
= 0 ;
5489 PyObject
* obj4
= 0 ;
5490 PyObject
* obj5
= 0 ;
5491 PyObject
* obj6
= 0 ;
5492 PyObject
* obj7
= 0 ;
5494 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5500 arg2
= (int) SWIG_AsInt(obj1
);
5501 if (PyErr_Occurred()) SWIG_fail
;
5505 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5511 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5516 if (! PySequence_Check(obj4
)) {
5517 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5520 arg5
= new wxArrayString
;
5522 int i
, len
=PySequence_Length(obj4
);
5523 for (i
=0; i
<len
; i
++) {
5524 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5526 PyObject
* str
= PyObject_Unicode(item
);
5528 PyObject
* str
= PyObject_Str(item
);
5530 if (PyErr_Occurred()) SWIG_fail
;
5531 arg5
->Add(Py2wxString(str
));
5538 arg6
= (long) SWIG_AsLong(obj5
);
5539 if (PyErr_Occurred()) SWIG_fail
;
5542 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
5543 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5546 PyErr_SetString(PyExc_TypeError
,"null reference");
5552 arg8
= wxString_in_helper(obj7
);
5553 if (arg8
== NULL
) SWIG_fail
;
5558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5559 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5561 wxPyEndAllowThreads(__tstate
);
5562 if (PyErr_Occurred()) SWIG_fail
;
5564 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5566 if (temp5
) delete arg5
;
5575 if (temp5
) delete arg5
;
5585 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5586 PyObject
*resultobj
;
5592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5595 result
= (wxListBox
*)new wxListBox();
5597 wxPyEndAllowThreads(__tstate
);
5598 if (PyErr_Occurred()) SWIG_fail
;
5600 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5607 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5608 PyObject
*resultobj
;
5609 wxListBox
*arg1
= (wxListBox
*) 0 ;
5610 wxWindow
*arg2
= (wxWindow
*) 0 ;
5612 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5613 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5614 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5615 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5616 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5617 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5618 long arg7
= (long) 0 ;
5619 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5620 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5621 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5622 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5626 bool temp6
= False
;
5627 bool temp9
= False
;
5628 PyObject
* obj0
= 0 ;
5629 PyObject
* obj1
= 0 ;
5630 PyObject
* obj2
= 0 ;
5631 PyObject
* obj3
= 0 ;
5632 PyObject
* obj4
= 0 ;
5633 PyObject
* obj5
= 0 ;
5634 PyObject
* obj6
= 0 ;
5635 PyObject
* obj7
= 0 ;
5636 PyObject
* obj8
= 0 ;
5638 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5644 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5646 arg3
= (int) SWIG_AsInt(obj2
);
5647 if (PyErr_Occurred()) SWIG_fail
;
5651 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5657 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5662 if (! PySequence_Check(obj5
)) {
5663 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5666 arg6
= new wxArrayString
;
5668 int i
, len
=PySequence_Length(obj5
);
5669 for (i
=0; i
<len
; i
++) {
5670 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5672 PyObject
* str
= PyObject_Unicode(item
);
5674 PyObject
* str
= PyObject_Str(item
);
5676 if (PyErr_Occurred()) SWIG_fail
;
5677 arg6
->Add(Py2wxString(str
));
5684 arg7
= (long) SWIG_AsLong(obj6
);
5685 if (PyErr_Occurred()) SWIG_fail
;
5688 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
5689 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5692 PyErr_SetString(PyExc_TypeError
,"null reference");
5698 arg9
= wxString_in_helper(obj8
);
5699 if (arg9
== NULL
) SWIG_fail
;
5704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5705 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5707 wxPyEndAllowThreads(__tstate
);
5708 if (PyErr_Occurred()) SWIG_fail
;
5711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5714 if (temp6
) delete arg6
;
5723 if (temp6
) delete arg6
;
5733 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5734 PyObject
*resultobj
;
5735 wxListBox
*arg1
= (wxListBox
*) 0 ;
5736 wxString
*arg2
= 0 ;
5738 PyObject
*arg4
= (PyObject
*) NULL
;
5739 bool temp2
= False
;
5740 PyObject
* obj0
= 0 ;
5741 PyObject
* obj1
= 0 ;
5742 PyObject
* obj2
= 0 ;
5743 PyObject
* obj3
= 0 ;
5745 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5752 arg2
= wxString_in_helper(obj1
);
5753 if (arg2
== NULL
) SWIG_fail
;
5756 arg3
= (int) SWIG_AsInt(obj2
);
5757 if (PyErr_Occurred()) SWIG_fail
;
5762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5763 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5765 wxPyEndAllowThreads(__tstate
);
5766 if (PyErr_Occurred()) SWIG_fail
;
5768 Py_INCREF(Py_None
); resultobj
= Py_None
;
5783 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5784 PyObject
*resultobj
;
5785 wxListBox
*arg1
= (wxListBox
*) 0 ;
5786 wxArrayString
*arg2
= 0 ;
5788 bool temp2
= False
;
5789 PyObject
* obj0
= 0 ;
5790 PyObject
* obj1
= 0 ;
5791 PyObject
* obj2
= 0 ;
5793 (char *) "self",(char *) "items",(char *) "pos", NULL
5796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5800 if (! PySequence_Check(obj1
)) {
5801 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5804 arg2
= new wxArrayString
;
5806 int i
, len
=PySequence_Length(obj1
);
5807 for (i
=0; i
<len
; i
++) {
5808 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5810 PyObject
* str
= PyObject_Unicode(item
);
5812 PyObject
* str
= PyObject_Str(item
);
5814 if (PyErr_Occurred()) SWIG_fail
;
5815 arg2
->Add(Py2wxString(str
));
5820 arg3
= (int) SWIG_AsInt(obj2
);
5821 if (PyErr_Occurred()) SWIG_fail
;
5823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5824 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
5826 wxPyEndAllowThreads(__tstate
);
5827 if (PyErr_Occurred()) SWIG_fail
;
5829 Py_INCREF(Py_None
); resultobj
= Py_None
;
5831 if (temp2
) delete arg2
;
5836 if (temp2
) delete arg2
;
5842 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5843 PyObject
*resultobj
;
5844 wxListBox
*arg1
= (wxListBox
*) 0 ;
5845 wxArrayString
*arg2
= 0 ;
5846 bool temp2
= False
;
5847 PyObject
* obj0
= 0 ;
5848 PyObject
* obj1
= 0 ;
5850 (char *) "self",(char *) "items", NULL
5853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
5854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5857 if (! PySequence_Check(obj1
)) {
5858 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5861 arg2
= new wxArrayString
;
5863 int i
, len
=PySequence_Length(obj1
);
5864 for (i
=0; i
<len
; i
++) {
5865 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5867 PyObject
* str
= PyObject_Unicode(item
);
5869 PyObject
* str
= PyObject_Str(item
);
5871 if (PyErr_Occurred()) SWIG_fail
;
5872 arg2
->Add(Py2wxString(str
));
5878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5879 (arg1
)->Set((wxArrayString
const &)*arg2
);
5881 wxPyEndAllowThreads(__tstate
);
5882 if (PyErr_Occurred()) SWIG_fail
;
5884 Py_INCREF(Py_None
); resultobj
= Py_None
;
5886 if (temp2
) delete arg2
;
5891 if (temp2
) delete arg2
;
5897 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5898 PyObject
*resultobj
;
5899 wxListBox
*arg1
= (wxListBox
*) 0 ;
5902 PyObject
* obj0
= 0 ;
5903 PyObject
* obj1
= 0 ;
5905 (char *) "self",(char *) "n", NULL
5908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
5909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5911 arg2
= (int) SWIG_AsInt(obj1
);
5912 if (PyErr_Occurred()) SWIG_fail
;
5914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5915 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
5917 wxPyEndAllowThreads(__tstate
);
5918 if (PyErr_Occurred()) SWIG_fail
;
5921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5929 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5930 PyObject
*resultobj
;
5931 wxListBox
*arg1
= (wxListBox
*) 0 ;
5933 bool arg3
= (bool) True
;
5934 PyObject
* obj0
= 0 ;
5935 PyObject
* obj1
= 0 ;
5936 PyObject
* obj2
= 0 ;
5938 (char *) "self",(char *) "n",(char *) "select", NULL
5941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5944 arg2
= (int) SWIG_AsInt(obj1
);
5945 if (PyErr_Occurred()) SWIG_fail
;
5947 arg3
= (bool) SWIG_AsBool(obj2
);
5948 if (PyErr_Occurred()) SWIG_fail
;
5951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5952 (arg1
)->SetSelection(arg2
,arg3
);
5954 wxPyEndAllowThreads(__tstate
);
5955 if (PyErr_Occurred()) SWIG_fail
;
5957 Py_INCREF(Py_None
); resultobj
= Py_None
;
5964 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5965 PyObject
*resultobj
;
5966 wxListBox
*arg1
= (wxListBox
*) 0 ;
5968 PyObject
* obj0
= 0 ;
5969 PyObject
* obj1
= 0 ;
5971 (char *) "self",(char *) "n", NULL
5974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
5975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5977 arg2
= (int) SWIG_AsInt(obj1
);
5978 if (PyErr_Occurred()) SWIG_fail
;
5980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5981 (arg1
)->Select(arg2
);
5983 wxPyEndAllowThreads(__tstate
);
5984 if (PyErr_Occurred()) SWIG_fail
;
5986 Py_INCREF(Py_None
); resultobj
= Py_None
;
5993 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5994 PyObject
*resultobj
;
5995 wxListBox
*arg1
= (wxListBox
*) 0 ;
5997 PyObject
* obj0
= 0 ;
5998 PyObject
* obj1
= 0 ;
6000 (char *) "self",(char *) "n", NULL
6003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
6004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6006 arg2
= (int) SWIG_AsInt(obj1
);
6007 if (PyErr_Occurred()) SWIG_fail
;
6009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6010 (arg1
)->Deselect(arg2
);
6012 wxPyEndAllowThreads(__tstate
);
6013 if (PyErr_Occurred()) SWIG_fail
;
6015 Py_INCREF(Py_None
); resultobj
= Py_None
;
6022 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6023 PyObject
*resultobj
;
6024 wxListBox
*arg1
= (wxListBox
*) 0 ;
6025 int arg2
= (int) -1 ;
6026 PyObject
* obj0
= 0 ;
6027 PyObject
* obj1
= 0 ;
6029 (char *) "self",(char *) "itemToLeaveSelected", NULL
6032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
6033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6036 arg2
= (int) SWIG_AsInt(obj1
);
6037 if (PyErr_Occurred()) SWIG_fail
;
6040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6041 (arg1
)->DeselectAll(arg2
);
6043 wxPyEndAllowThreads(__tstate
);
6044 if (PyErr_Occurred()) SWIG_fail
;
6046 Py_INCREF(Py_None
); resultobj
= Py_None
;
6053 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6054 PyObject
*resultobj
;
6055 wxListBox
*arg1
= (wxListBox
*) 0 ;
6056 wxString
*arg2
= 0 ;
6057 bool arg3
= (bool) True
;
6059 bool temp2
= False
;
6060 PyObject
* obj0
= 0 ;
6061 PyObject
* obj1
= 0 ;
6062 PyObject
* obj2
= 0 ;
6064 (char *) "self",(char *) "s",(char *) "select", NULL
6067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6071 arg2
= wxString_in_helper(obj1
);
6072 if (arg2
== NULL
) SWIG_fail
;
6076 arg3
= (bool) SWIG_AsBool(obj2
);
6077 if (PyErr_Occurred()) SWIG_fail
;
6080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6081 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
6083 wxPyEndAllowThreads(__tstate
);
6084 if (PyErr_Occurred()) SWIG_fail
;
6087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6103 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6104 PyObject
*resultobj
;
6105 wxListBox
*arg1
= (wxListBox
*) 0 ;
6107 PyObject
* obj0
= 0 ;
6109 (char *) "self", NULL
6112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
6113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6117 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
6119 wxPyEndAllowThreads(__tstate
);
6120 if (PyErr_Occurred()) SWIG_fail
;
6129 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6130 PyObject
*resultobj
;
6131 wxListBox
*arg1
= (wxListBox
*) 0 ;
6133 PyObject
* obj0
= 0 ;
6134 PyObject
* obj1
= 0 ;
6136 (char *) "self",(char *) "n", NULL
6139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
6140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6142 arg2
= (int) SWIG_AsInt(obj1
);
6143 if (PyErr_Occurred()) SWIG_fail
;
6145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6146 (arg1
)->SetFirstItem(arg2
);
6148 wxPyEndAllowThreads(__tstate
);
6149 if (PyErr_Occurred()) SWIG_fail
;
6151 Py_INCREF(Py_None
); resultobj
= Py_None
;
6158 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6159 PyObject
*resultobj
;
6160 wxListBox
*arg1
= (wxListBox
*) 0 ;
6161 wxString
*arg2
= 0 ;
6162 bool temp2
= False
;
6163 PyObject
* obj0
= 0 ;
6164 PyObject
* obj1
= 0 ;
6166 (char *) "self",(char *) "s", NULL
6169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
6170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6173 arg2
= wxString_in_helper(obj1
);
6174 if (arg2
== NULL
) SWIG_fail
;
6178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6179 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
6181 wxPyEndAllowThreads(__tstate
);
6182 if (PyErr_Occurred()) SWIG_fail
;
6184 Py_INCREF(Py_None
); resultobj
= Py_None
;
6199 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6200 PyObject
*resultobj
;
6201 wxListBox
*arg1
= (wxListBox
*) 0 ;
6203 PyObject
* obj0
= 0 ;
6204 PyObject
* obj1
= 0 ;
6206 (char *) "self",(char *) "n", NULL
6209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6212 arg2
= (int) SWIG_AsInt(obj1
);
6213 if (PyErr_Occurred()) SWIG_fail
;
6215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6216 (arg1
)->EnsureVisible(arg2
);
6218 wxPyEndAllowThreads(__tstate
);
6219 if (PyErr_Occurred()) SWIG_fail
;
6221 Py_INCREF(Py_None
); resultobj
= Py_None
;
6228 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6229 PyObject
*resultobj
;
6230 wxListBox
*arg1
= (wxListBox
*) 0 ;
6231 wxString
*arg2
= 0 ;
6232 bool temp2
= False
;
6233 PyObject
* obj0
= 0 ;
6234 PyObject
* obj1
= 0 ;
6236 (char *) "self",(char *) "s", NULL
6239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6243 arg2
= wxString_in_helper(obj1
);
6244 if (arg2
== NULL
) SWIG_fail
;
6248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6249 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
6251 wxPyEndAllowThreads(__tstate
);
6252 if (PyErr_Occurred()) SWIG_fail
;
6254 Py_INCREF(Py_None
); resultobj
= Py_None
;
6269 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6270 PyObject
*resultobj
;
6271 wxListBox
*arg1
= (wxListBox
*) 0 ;
6273 PyObject
* obj0
= 0 ;
6275 (char *) "self", NULL
6278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
6279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6283 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
6285 wxPyEndAllowThreads(__tstate
);
6286 if (PyErr_Occurred()) SWIG_fail
;
6289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6297 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6298 PyObject
*resultobj
;
6299 wxListBox
*arg1
= (wxListBox
*) 0 ;
6301 wxColour
*arg3
= 0 ;
6303 PyObject
* obj0
= 0 ;
6304 PyObject
* obj1
= 0 ;
6305 PyObject
* obj2
= 0 ;
6307 (char *) "self",(char *) "item",(char *) "c", NULL
6310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6313 arg2
= (int) SWIG_AsInt(obj1
);
6314 if (PyErr_Occurred()) SWIG_fail
;
6317 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6321 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6323 wxPyEndAllowThreads(__tstate
);
6324 if (PyErr_Occurred()) SWIG_fail
;
6326 Py_INCREF(Py_None
); resultobj
= Py_None
;
6333 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6334 PyObject
*resultobj
;
6335 wxListBox
*arg1
= (wxListBox
*) 0 ;
6337 wxColour
*arg3
= 0 ;
6339 PyObject
* obj0
= 0 ;
6340 PyObject
* obj1
= 0 ;
6341 PyObject
* obj2
= 0 ;
6343 (char *) "self",(char *) "item",(char *) "c", NULL
6346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6349 arg2
= (int) SWIG_AsInt(obj1
);
6350 if (PyErr_Occurred()) SWIG_fail
;
6353 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6357 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6359 wxPyEndAllowThreads(__tstate
);
6360 if (PyErr_Occurred()) SWIG_fail
;
6362 Py_INCREF(Py_None
); resultobj
= Py_None
;
6369 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6370 PyObject
*resultobj
;
6371 wxListBox
*arg1
= (wxListBox
*) 0 ;
6374 PyObject
* obj0
= 0 ;
6375 PyObject
* obj1
= 0 ;
6376 PyObject
* obj2
= 0 ;
6378 (char *) "self",(char *) "item",(char *) "f", NULL
6381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6384 arg2
= (int) SWIG_AsInt(obj1
);
6385 if (PyErr_Occurred()) SWIG_fail
;
6386 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6387 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6390 PyErr_SetString(PyExc_TypeError
,"null reference");
6394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6395 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
6397 wxPyEndAllowThreads(__tstate
);
6398 if (PyErr_Occurred()) SWIG_fail
;
6400 Py_INCREF(Py_None
); resultobj
= Py_None
;
6407 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6408 PyObject
*resultobj
;
6409 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6410 wxVisualAttributes result
;
6411 PyObject
* obj0
= 0 ;
6413 (char *) "variant", NULL
6416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6418 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
6419 if (PyErr_Occurred()) SWIG_fail
;
6422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6423 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6425 wxPyEndAllowThreads(__tstate
);
6426 if (PyErr_Occurred()) SWIG_fail
;
6429 wxVisualAttributes
* resultptr
;
6430 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6431 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6439 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6441 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6442 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
6444 return Py_BuildValue((char *)"");
6446 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6447 PyObject
*resultobj
;
6448 wxWindow
*arg1
= (wxWindow
*) 0 ;
6450 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6451 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6452 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6453 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6454 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
6455 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
6456 long arg6
= (long) 0 ;
6457 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6458 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6459 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
6460 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6461 wxCheckListBox
*result
;
6464 bool temp5
= False
;
6465 bool temp8
= False
;
6466 PyObject
* obj0
= 0 ;
6467 PyObject
* obj1
= 0 ;
6468 PyObject
* obj2
= 0 ;
6469 PyObject
* obj3
= 0 ;
6470 PyObject
* obj4
= 0 ;
6471 PyObject
* obj5
= 0 ;
6472 PyObject
* obj6
= 0 ;
6473 PyObject
* obj7
= 0 ;
6475 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6481 arg2
= (int) SWIG_AsInt(obj1
);
6482 if (PyErr_Occurred()) SWIG_fail
;
6486 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6492 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6497 if (! PySequence_Check(obj4
)) {
6498 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6501 arg5
= new wxArrayString
;
6503 int i
, len
=PySequence_Length(obj4
);
6504 for (i
=0; i
<len
; i
++) {
6505 PyObject
* item
= PySequence_GetItem(obj4
, i
);
6507 PyObject
* str
= PyObject_Unicode(item
);
6509 PyObject
* str
= PyObject_Str(item
);
6511 if (PyErr_Occurred()) SWIG_fail
;
6512 arg5
->Add(Py2wxString(str
));
6519 arg6
= (long) SWIG_AsLong(obj5
);
6520 if (PyErr_Occurred()) SWIG_fail
;
6523 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
6524 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6527 PyErr_SetString(PyExc_TypeError
,"null reference");
6533 arg8
= wxString_in_helper(obj7
);
6534 if (arg8
== NULL
) SWIG_fail
;
6539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6540 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6542 wxPyEndAllowThreads(__tstate
);
6543 if (PyErr_Occurred()) SWIG_fail
;
6545 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6547 if (temp5
) delete arg5
;
6556 if (temp5
) delete arg5
;
6566 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6567 PyObject
*resultobj
;
6568 wxCheckListBox
*result
;
6573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
6575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6576 result
= (wxCheckListBox
*)new wxCheckListBox();
6578 wxPyEndAllowThreads(__tstate
);
6579 if (PyErr_Occurred()) SWIG_fail
;
6581 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6588 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6589 PyObject
*resultobj
;
6590 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6591 wxWindow
*arg2
= (wxWindow
*) 0 ;
6593 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6594 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6595 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6596 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6597 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
6598 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
6599 long arg7
= (long) 0 ;
6600 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6601 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6602 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
6603 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6607 bool temp6
= False
;
6608 bool temp9
= False
;
6609 PyObject
* obj0
= 0 ;
6610 PyObject
* obj1
= 0 ;
6611 PyObject
* obj2
= 0 ;
6612 PyObject
* obj3
= 0 ;
6613 PyObject
* obj4
= 0 ;
6614 PyObject
* obj5
= 0 ;
6615 PyObject
* obj6
= 0 ;
6616 PyObject
* obj7
= 0 ;
6617 PyObject
* obj8
= 0 ;
6619 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
6623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6625 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6627 arg3
= (int) SWIG_AsInt(obj2
);
6628 if (PyErr_Occurred()) SWIG_fail
;
6632 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6638 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6643 if (! PySequence_Check(obj5
)) {
6644 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6647 arg6
= new wxArrayString
;
6649 int i
, len
=PySequence_Length(obj5
);
6650 for (i
=0; i
<len
; i
++) {
6651 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6653 PyObject
* str
= PyObject_Unicode(item
);
6655 PyObject
* str
= PyObject_Str(item
);
6657 if (PyErr_Occurred()) SWIG_fail
;
6658 arg6
->Add(Py2wxString(str
));
6665 arg7
= (long) SWIG_AsLong(obj6
);
6666 if (PyErr_Occurred()) SWIG_fail
;
6669 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
6670 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6673 PyErr_SetString(PyExc_TypeError
,"null reference");
6679 arg9
= wxString_in_helper(obj8
);
6680 if (arg9
== NULL
) SWIG_fail
;
6685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6686 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6688 wxPyEndAllowThreads(__tstate
);
6689 if (PyErr_Occurred()) SWIG_fail
;
6692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6695 if (temp6
) delete arg6
;
6704 if (temp6
) delete arg6
;
6714 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6715 PyObject
*resultobj
;
6716 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6719 PyObject
* obj0
= 0 ;
6720 PyObject
* obj1
= 0 ;
6722 (char *) "self",(char *) "index", NULL
6725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6728 arg2
= (int) SWIG_AsInt(obj1
);
6729 if (PyErr_Occurred()) SWIG_fail
;
6731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6732 result
= (bool)(arg1
)->IsChecked(arg2
);
6734 wxPyEndAllowThreads(__tstate
);
6735 if (PyErr_Occurred()) SWIG_fail
;
6738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6746 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6747 PyObject
*resultobj
;
6748 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6750 int arg3
= (int) True
;
6751 PyObject
* obj0
= 0 ;
6752 PyObject
* obj1
= 0 ;
6753 PyObject
* obj2
= 0 ;
6755 (char *) "self",(char *) "index",(char *) "check", NULL
6758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6761 arg2
= (int) SWIG_AsInt(obj1
);
6762 if (PyErr_Occurred()) SWIG_fail
;
6764 arg3
= (int) SWIG_AsInt(obj2
);
6765 if (PyErr_Occurred()) SWIG_fail
;
6768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6769 (arg1
)->Check(arg2
,arg3
);
6771 wxPyEndAllowThreads(__tstate
);
6772 if (PyErr_Occurred()) SWIG_fail
;
6774 Py_INCREF(Py_None
); resultobj
= Py_None
;
6781 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6782 PyObject
*resultobj
;
6783 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6785 PyObject
* obj0
= 0 ;
6787 (char *) "self", NULL
6790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
6791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6795 result
= (int)(arg1
)->GetItemHeight();
6797 wxPyEndAllowThreads(__tstate
);
6798 if (PyErr_Occurred()) SWIG_fail
;
6800 resultobj
= SWIG_FromInt((int)result
);
6807 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6808 PyObject
*resultobj
;
6809 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6813 PyObject
* obj0
= 0 ;
6814 PyObject
* obj1
= 0 ;
6816 (char *) "self",(char *) "pt", NULL
6819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
6820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6824 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6828 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
6830 wxPyEndAllowThreads(__tstate
);
6831 if (PyErr_Occurred()) SWIG_fail
;
6833 resultobj
= SWIG_FromInt((int)result
);
6840 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6841 PyObject
*resultobj
;
6842 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6846 PyObject
* obj0
= 0 ;
6847 PyObject
* obj1
= 0 ;
6848 PyObject
* obj2
= 0 ;
6850 (char *) "self",(char *) "x",(char *) "y", NULL
6853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6856 arg2
= (int) SWIG_AsInt(obj1
);
6857 if (PyErr_Occurred()) SWIG_fail
;
6858 arg3
= (int) SWIG_AsInt(obj2
);
6859 if (PyErr_Occurred()) SWIG_fail
;
6861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6862 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
6864 wxPyEndAllowThreads(__tstate
);
6865 if (PyErr_Occurred()) SWIG_fail
;
6867 resultobj
= SWIG_FromInt((int)result
);
6874 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6876 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6877 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
6879 return Py_BuildValue((char *)"");
6881 static int _wrap_TextCtrlNameStr_set(PyObject
*_val
) {
6882 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
6887 static PyObject
*_wrap_TextCtrlNameStr_get() {
6892 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6894 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6901 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*self
, PyObject
*args
) {
6902 PyObject
*resultobj
;
6905 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
6907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6908 result
= (wxTextAttr
*)new wxTextAttr();
6910 wxPyEndAllowThreads(__tstate
);
6911 if (PyErr_Occurred()) SWIG_fail
;
6913 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6920 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*self
, PyObject
*args
) {
6921 PyObject
*resultobj
;
6922 wxColour
*arg1
= 0 ;
6923 wxColour
const &arg2_defvalue
= wxNullColour
;
6924 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6925 wxFont
const &arg3_defvalue
= wxNullFont
;
6926 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
6927 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
6931 PyObject
* obj0
= 0 ;
6932 PyObject
* obj1
= 0 ;
6933 PyObject
* obj2
= 0 ;
6934 PyObject
* obj3
= 0 ;
6936 if(!PyArg_ParseTuple(args
,(char *)"O|OOO:new_TextAttr",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6939 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
6944 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6948 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6949 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6952 PyErr_SetString(PyExc_TypeError
,"null reference");
6957 arg4
= (wxTextAttrAlignment
) SWIG_AsInt(obj3
);
6958 if (PyErr_Occurred()) SWIG_fail
;
6961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6962 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
6964 wxPyEndAllowThreads(__tstate
);
6965 if (PyErr_Occurred()) SWIG_fail
;
6967 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6974 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
6979 argc
= PyObject_Length(args
);
6980 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
6981 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6984 return _wrap_new_TextAttr__SWIG_0(self
,args
);
6986 if ((argc
>= 1) && (argc
<= 4)) {
6989 _v
= wxColour_typecheck(argv
[0]);
6993 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6996 _v
= wxColour_typecheck(argv
[1]);
7000 return _wrap_new_TextAttr__SWIG_1(self
,args
);
7004 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
7013 return _wrap_new_TextAttr__SWIG_1(self
,args
);
7015 _v
= SWIG_CheckInt(argv
[3]);
7017 return _wrap_new_TextAttr__SWIG_1(self
,args
);
7024 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
7029 static PyObject
*_wrap_delete_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7030 PyObject
*resultobj
;
7031 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7032 PyObject
* obj0
= 0 ;
7034 (char *) "self", NULL
7037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
7038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7044 wxPyEndAllowThreads(__tstate
);
7045 if (PyErr_Occurred()) SWIG_fail
;
7047 Py_INCREF(Py_None
); resultobj
= Py_None
;
7054 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7055 PyObject
*resultobj
;
7056 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7057 PyObject
* obj0
= 0 ;
7059 (char *) "self", NULL
7062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
7063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7069 wxPyEndAllowThreads(__tstate
);
7070 if (PyErr_Occurred()) SWIG_fail
;
7072 Py_INCREF(Py_None
); resultobj
= Py_None
;
7079 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7080 PyObject
*resultobj
;
7081 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7082 wxColour
*arg2
= 0 ;
7084 PyObject
* obj0
= 0 ;
7085 PyObject
* obj1
= 0 ;
7087 (char *) "self",(char *) "colText", NULL
7090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7095 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7099 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
7101 wxPyEndAllowThreads(__tstate
);
7102 if (PyErr_Occurred()) SWIG_fail
;
7104 Py_INCREF(Py_None
); resultobj
= Py_None
;
7111 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7112 PyObject
*resultobj
;
7113 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7114 wxColour
*arg2
= 0 ;
7116 PyObject
* obj0
= 0 ;
7117 PyObject
* obj1
= 0 ;
7119 (char *) "self",(char *) "colBack", NULL
7122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7127 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7131 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
7133 wxPyEndAllowThreads(__tstate
);
7134 if (PyErr_Occurred()) SWIG_fail
;
7136 Py_INCREF(Py_None
); resultobj
= Py_None
;
7143 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7144 PyObject
*resultobj
;
7145 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7147 long arg3
= (long) wxTEXT_ATTR_FONT
;
7148 PyObject
* obj0
= 0 ;
7149 PyObject
* obj1
= 0 ;
7150 PyObject
* obj2
= 0 ;
7152 (char *) "self",(char *) "font",(char *) "flags", NULL
7155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7158 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7159 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7162 PyErr_SetString(PyExc_TypeError
,"null reference");
7166 arg3
= (long) SWIG_AsLong(obj2
);
7167 if (PyErr_Occurred()) SWIG_fail
;
7170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7171 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
7173 wxPyEndAllowThreads(__tstate
);
7174 if (PyErr_Occurred()) SWIG_fail
;
7176 Py_INCREF(Py_None
); resultobj
= Py_None
;
7183 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7184 PyObject
*resultobj
;
7185 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7187 PyObject
* obj0
= 0 ;
7188 PyObject
* obj1
= 0 ;
7190 (char *) "self",(char *) "alignment", NULL
7193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7196 arg2
= (wxTextAttrAlignment
) SWIG_AsInt(obj1
);
7197 if (PyErr_Occurred()) SWIG_fail
;
7199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7200 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
7202 wxPyEndAllowThreads(__tstate
);
7203 if (PyErr_Occurred()) SWIG_fail
;
7205 Py_INCREF(Py_None
); resultobj
= Py_None
;
7212 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7213 PyObject
*resultobj
;
7214 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7215 wxArrayInt
*arg2
= 0 ;
7216 bool temp2
= False
;
7217 PyObject
* obj0
= 0 ;
7218 PyObject
* obj1
= 0 ;
7220 (char *) "self",(char *) "tabs", NULL
7223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
7224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7227 if (! PySequence_Check(obj1
)) {
7228 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
7231 arg2
= new wxArrayInt
;
7233 int i
, len
=PySequence_Length(obj1
);
7234 for (i
=0; i
<len
; i
++) {
7235 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7236 PyObject
* number
= PyNumber_Int(item
);
7237 arg2
->Add(PyInt_AS_LONG(number
));
7243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7244 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
7246 wxPyEndAllowThreads(__tstate
);
7247 if (PyErr_Occurred()) SWIG_fail
;
7249 Py_INCREF(Py_None
); resultobj
= Py_None
;
7251 if (temp2
) delete arg2
;
7256 if (temp2
) delete arg2
;
7262 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7263 PyObject
*resultobj
;
7264 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7266 int arg3
= (int) 0 ;
7267 PyObject
* obj0
= 0 ;
7268 PyObject
* obj1
= 0 ;
7269 PyObject
* obj2
= 0 ;
7271 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
7274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7277 arg2
= (int) SWIG_AsInt(obj1
);
7278 if (PyErr_Occurred()) SWIG_fail
;
7280 arg3
= (int) SWIG_AsInt(obj2
);
7281 if (PyErr_Occurred()) SWIG_fail
;
7284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7285 (arg1
)->SetLeftIndent(arg2
,arg3
);
7287 wxPyEndAllowThreads(__tstate
);
7288 if (PyErr_Occurred()) SWIG_fail
;
7290 Py_INCREF(Py_None
); resultobj
= Py_None
;
7297 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7298 PyObject
*resultobj
;
7299 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7301 PyObject
* obj0
= 0 ;
7302 PyObject
* obj1
= 0 ;
7304 (char *) "self",(char *) "indent", NULL
7307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
7308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7310 arg2
= (int) SWIG_AsInt(obj1
);
7311 if (PyErr_Occurred()) SWIG_fail
;
7313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7314 (arg1
)->SetRightIndent(arg2
);
7316 wxPyEndAllowThreads(__tstate
);
7317 if (PyErr_Occurred()) SWIG_fail
;
7319 Py_INCREF(Py_None
); resultobj
= Py_None
;
7326 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7327 PyObject
*resultobj
;
7328 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7330 PyObject
* obj0
= 0 ;
7331 PyObject
* obj1
= 0 ;
7333 (char *) "self",(char *) "flags", NULL
7336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7339 arg2
= (long) SWIG_AsLong(obj1
);
7340 if (PyErr_Occurred()) SWIG_fail
;
7342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7343 (arg1
)->SetFlags(arg2
);
7345 wxPyEndAllowThreads(__tstate
);
7346 if (PyErr_Occurred()) SWIG_fail
;
7348 Py_INCREF(Py_None
); resultobj
= Py_None
;
7355 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7356 PyObject
*resultobj
;
7357 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7359 PyObject
* obj0
= 0 ;
7361 (char *) "self", NULL
7364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
7365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7369 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
7371 wxPyEndAllowThreads(__tstate
);
7372 if (PyErr_Occurred()) SWIG_fail
;
7375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7383 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7384 PyObject
*resultobj
;
7385 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7387 PyObject
* obj0
= 0 ;
7389 (char *) "self", NULL
7392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
7393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7397 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
7399 wxPyEndAllowThreads(__tstate
);
7400 if (PyErr_Occurred()) SWIG_fail
;
7403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7411 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7412 PyObject
*resultobj
;
7413 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7415 PyObject
* obj0
= 0 ;
7417 (char *) "self", NULL
7420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
7421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7425 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
7427 wxPyEndAllowThreads(__tstate
);
7428 if (PyErr_Occurred()) SWIG_fail
;
7431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7439 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7440 PyObject
*resultobj
;
7441 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7443 PyObject
* obj0
= 0 ;
7445 (char *) "self", NULL
7448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
7449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7453 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
7455 wxPyEndAllowThreads(__tstate
);
7456 if (PyErr_Occurred()) SWIG_fail
;
7459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7467 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7468 PyObject
*resultobj
;
7469 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7471 PyObject
* obj0
= 0 ;
7473 (char *) "self", NULL
7476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
7477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7481 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
7483 wxPyEndAllowThreads(__tstate
);
7484 if (PyErr_Occurred()) SWIG_fail
;
7487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7495 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7496 PyObject
*resultobj
;
7497 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7499 PyObject
* obj0
= 0 ;
7501 (char *) "self", NULL
7504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
7505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7509 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
7511 wxPyEndAllowThreads(__tstate
);
7512 if (PyErr_Occurred()) SWIG_fail
;
7515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7523 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7524 PyObject
*resultobj
;
7525 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7527 PyObject
* obj0
= 0 ;
7529 (char *) "self", NULL
7532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
7533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7537 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
7539 wxPyEndAllowThreads(__tstate
);
7540 if (PyErr_Occurred()) SWIG_fail
;
7543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7551 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7552 PyObject
*resultobj
;
7553 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7556 PyObject
* obj0
= 0 ;
7557 PyObject
* obj1
= 0 ;
7559 (char *) "self",(char *) "flag", NULL
7562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
7563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7565 arg2
= (long) SWIG_AsLong(obj1
);
7566 if (PyErr_Occurred()) SWIG_fail
;
7568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7569 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
7571 wxPyEndAllowThreads(__tstate
);
7572 if (PyErr_Occurred()) SWIG_fail
;
7575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7583 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7584 PyObject
*resultobj
;
7585 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7587 PyObject
* obj0
= 0 ;
7589 (char *) "self", NULL
7592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
7593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7598 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
7599 result
= (wxColour
*) &_result_ref
;
7602 wxPyEndAllowThreads(__tstate
);
7603 if (PyErr_Occurred()) SWIG_fail
;
7605 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7612 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7613 PyObject
*resultobj
;
7614 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7616 PyObject
* obj0
= 0 ;
7618 (char *) "self", NULL
7621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
7622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7627 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
7628 result
= (wxColour
*) &_result_ref
;
7631 wxPyEndAllowThreads(__tstate
);
7632 if (PyErr_Occurred()) SWIG_fail
;
7634 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7641 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7642 PyObject
*resultobj
;
7643 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7645 PyObject
* obj0
= 0 ;
7647 (char *) "self", NULL
7650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
7651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7656 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7657 result
= (wxFont
*) &_result_ref
;
7660 wxPyEndAllowThreads(__tstate
);
7661 if (PyErr_Occurred()) SWIG_fail
;
7664 wxFont
* resultptr
= new wxFont(*result
);
7665 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
7673 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7674 PyObject
*resultobj
;
7675 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7677 PyObject
* obj0
= 0 ;
7679 (char *) "self", NULL
7682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7687 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7689 wxPyEndAllowThreads(__tstate
);
7690 if (PyErr_Occurred()) SWIG_fail
;
7692 resultobj
= SWIG_FromInt((int)result
);
7699 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7700 PyObject
*resultobj
;
7701 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7703 PyObject
* obj0
= 0 ;
7705 (char *) "self", NULL
7708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7714 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7715 result
= (wxArrayInt
*) &_result_ref
;
7718 wxPyEndAllowThreads(__tstate
);
7719 if (PyErr_Occurred()) SWIG_fail
;
7722 resultobj
= PyList_New(0);
7724 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7725 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7726 PyList_Append(resultobj
, val
);
7736 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7737 PyObject
*resultobj
;
7738 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7740 PyObject
* obj0
= 0 ;
7742 (char *) "self", NULL
7745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7750 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7752 wxPyEndAllowThreads(__tstate
);
7753 if (PyErr_Occurred()) SWIG_fail
;
7755 resultobj
= SWIG_FromLong((long)result
);
7762 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7763 PyObject
*resultobj
;
7764 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7766 PyObject
* obj0
= 0 ;
7768 (char *) "self", NULL
7771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftSubIndent",kwnames
,&obj0
)) goto fail
;
7772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7776 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
7778 wxPyEndAllowThreads(__tstate
);
7779 if (PyErr_Occurred()) SWIG_fail
;
7781 resultobj
= SWIG_FromLong((long)result
);
7788 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7789 PyObject
*resultobj
;
7790 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7792 PyObject
* obj0
= 0 ;
7794 (char *) "self", NULL
7797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7802 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7804 wxPyEndAllowThreads(__tstate
);
7805 if (PyErr_Occurred()) SWIG_fail
;
7807 resultobj
= SWIG_FromLong((long)result
);
7814 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7815 PyObject
*resultobj
;
7816 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7818 PyObject
* obj0
= 0 ;
7820 (char *) "self", NULL
7823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
7824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7828 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7830 wxPyEndAllowThreads(__tstate
);
7831 if (PyErr_Occurred()) SWIG_fail
;
7833 resultobj
= SWIG_FromLong((long)result
);
7840 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7841 PyObject
*resultobj
;
7842 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7844 PyObject
* obj0
= 0 ;
7846 (char *) "self", NULL
7849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
7850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7854 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
7856 wxPyEndAllowThreads(__tstate
);
7857 if (PyErr_Occurred()) SWIG_fail
;
7860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7868 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7869 PyObject
*resultobj
;
7870 wxTextAttr
*arg1
= 0 ;
7871 wxTextAttr
*arg2
= 0 ;
7872 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
7874 PyObject
* obj0
= 0 ;
7875 PyObject
* obj1
= 0 ;
7876 PyObject
* obj2
= 0 ;
7878 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7883 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7886 PyErr_SetString(PyExc_TypeError
,"null reference");
7889 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
7890 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7893 PyErr_SetString(PyExc_TypeError
,"null reference");
7896 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
,
7897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7900 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
7902 wxPyEndAllowThreads(__tstate
);
7903 if (PyErr_Occurred()) SWIG_fail
;
7906 wxTextAttr
* resultptr
;
7907 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
7908 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
7916 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
7918 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7919 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
7921 return Py_BuildValue((char *)"");
7923 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7924 PyObject
*resultobj
;
7925 wxWindow
*arg1
= (wxWindow
*) 0 ;
7927 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7928 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7929 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7930 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7931 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7932 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7933 long arg6
= (long) 0 ;
7934 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7935 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7936 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
7937 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7939 bool temp3
= False
;
7942 bool temp8
= False
;
7943 PyObject
* obj0
= 0 ;
7944 PyObject
* obj1
= 0 ;
7945 PyObject
* obj2
= 0 ;
7946 PyObject
* obj3
= 0 ;
7947 PyObject
* obj4
= 0 ;
7948 PyObject
* obj5
= 0 ;
7949 PyObject
* obj6
= 0 ;
7950 PyObject
* obj7
= 0 ;
7952 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7958 arg2
= (int) SWIG_AsInt(obj1
);
7959 if (PyErr_Occurred()) SWIG_fail
;
7962 arg3
= wxString_in_helper(obj2
);
7963 if (arg3
== NULL
) SWIG_fail
;
7970 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7976 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7980 arg6
= (long) SWIG_AsLong(obj5
);
7981 if (PyErr_Occurred()) SWIG_fail
;
7984 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
7985 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7988 PyErr_SetString(PyExc_TypeError
,"null reference");
7994 arg8
= wxString_in_helper(obj7
);
7995 if (arg8
== NULL
) SWIG_fail
;
8000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8001 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8003 wxPyEndAllowThreads(__tstate
);
8004 if (PyErr_Occurred()) SWIG_fail
;
8007 resultobj
= wxPyMake_wxObject(result
);
8031 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8032 PyObject
*resultobj
;
8038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
8040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8041 result
= (wxTextCtrl
*)new wxTextCtrl();
8043 wxPyEndAllowThreads(__tstate
);
8044 if (PyErr_Occurred()) SWIG_fail
;
8047 resultobj
= wxPyMake_wxObject(result
);
8055 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8056 PyObject
*resultobj
;
8057 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8058 wxWindow
*arg2
= (wxWindow
*) 0 ;
8060 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8061 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8062 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8063 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8064 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8065 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8066 long arg7
= (long) 0 ;
8067 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8068 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8069 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
8070 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8072 bool temp4
= False
;
8075 bool temp9
= False
;
8076 PyObject
* obj0
= 0 ;
8077 PyObject
* obj1
= 0 ;
8078 PyObject
* obj2
= 0 ;
8079 PyObject
* obj3
= 0 ;
8080 PyObject
* obj4
= 0 ;
8081 PyObject
* obj5
= 0 ;
8082 PyObject
* obj6
= 0 ;
8083 PyObject
* obj7
= 0 ;
8084 PyObject
* obj8
= 0 ;
8086 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8092 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8094 arg3
= (int) SWIG_AsInt(obj2
);
8095 if (PyErr_Occurred()) SWIG_fail
;
8098 arg4
= wxString_in_helper(obj3
);
8099 if (arg4
== NULL
) SWIG_fail
;
8106 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8112 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8116 arg7
= (long) SWIG_AsLong(obj6
);
8117 if (PyErr_Occurred()) SWIG_fail
;
8120 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
8121 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8124 PyErr_SetString(PyExc_TypeError
,"null reference");
8130 arg9
= wxString_in_helper(obj8
);
8131 if (arg9
== NULL
) SWIG_fail
;
8136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8137 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8139 wxPyEndAllowThreads(__tstate
);
8140 if (PyErr_Occurred()) SWIG_fail
;
8143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8167 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8168 PyObject
*resultobj
;
8169 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8171 PyObject
* obj0
= 0 ;
8173 (char *) "self", NULL
8176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
8177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8181 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
8183 wxPyEndAllowThreads(__tstate
);
8184 if (PyErr_Occurred()) SWIG_fail
;
8188 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8190 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8199 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8200 PyObject
*resultobj
;
8201 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8202 wxString
*arg2
= 0 ;
8203 bool temp2
= False
;
8204 PyObject
* obj0
= 0 ;
8205 PyObject
* obj1
= 0 ;
8207 (char *) "self",(char *) "value", NULL
8210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
8211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8214 arg2
= wxString_in_helper(obj1
);
8215 if (arg2
== NULL
) SWIG_fail
;
8219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8220 (arg1
)->SetValue((wxString
const &)*arg2
);
8222 wxPyEndAllowThreads(__tstate
);
8223 if (PyErr_Occurred()) SWIG_fail
;
8225 Py_INCREF(Py_None
); resultobj
= Py_None
;
8240 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8241 PyObject
*resultobj
;
8242 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8246 PyObject
* obj0
= 0 ;
8247 PyObject
* obj1
= 0 ;
8248 PyObject
* obj2
= 0 ;
8250 (char *) "self",(char *) "from",(char *) "to", NULL
8253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8256 arg2
= (long) SWIG_AsLong(obj1
);
8257 if (PyErr_Occurred()) SWIG_fail
;
8258 arg3
= (long) SWIG_AsLong(obj2
);
8259 if (PyErr_Occurred()) SWIG_fail
;
8261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8262 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
8264 wxPyEndAllowThreads(__tstate
);
8265 if (PyErr_Occurred()) SWIG_fail
;
8269 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8271 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8280 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8281 PyObject
*resultobj
;
8282 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8285 PyObject
* obj0
= 0 ;
8286 PyObject
* obj1
= 0 ;
8288 (char *) "self",(char *) "lineNo", NULL
8291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8294 arg2
= (long) SWIG_AsLong(obj1
);
8295 if (PyErr_Occurred()) SWIG_fail
;
8297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8298 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
8300 wxPyEndAllowThreads(__tstate
);
8301 if (PyErr_Occurred()) SWIG_fail
;
8303 resultobj
= SWIG_FromInt((int)result
);
8310 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8311 PyObject
*resultobj
;
8312 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8315 PyObject
* obj0
= 0 ;
8316 PyObject
* obj1
= 0 ;
8318 (char *) "self",(char *) "lineNo", NULL
8321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
8322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8324 arg2
= (long) SWIG_AsLong(obj1
);
8325 if (PyErr_Occurred()) SWIG_fail
;
8327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8328 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
8330 wxPyEndAllowThreads(__tstate
);
8331 if (PyErr_Occurred()) SWIG_fail
;
8335 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8337 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8346 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8347 PyObject
*resultobj
;
8348 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8350 PyObject
* obj0
= 0 ;
8352 (char *) "self", NULL
8355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
8356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8360 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
8362 wxPyEndAllowThreads(__tstate
);
8363 if (PyErr_Occurred()) SWIG_fail
;
8365 resultobj
= SWIG_FromInt((int)result
);
8372 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8373 PyObject
*resultobj
;
8374 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8376 PyObject
* obj0
= 0 ;
8378 (char *) "self", NULL
8381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
8382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8386 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
8388 wxPyEndAllowThreads(__tstate
);
8389 if (PyErr_Occurred()) SWIG_fail
;
8392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8400 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8401 PyObject
*resultobj
;
8402 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8404 PyObject
* obj0
= 0 ;
8406 (char *) "self", NULL
8409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
8410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8414 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
8416 wxPyEndAllowThreads(__tstate
);
8417 if (PyErr_Occurred()) SWIG_fail
;
8420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8428 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8429 PyObject
*resultobj
;
8430 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8432 PyObject
* obj0
= 0 ;
8434 (char *) "self", NULL
8437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
8438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8442 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
8444 wxPyEndAllowThreads(__tstate
);
8445 if (PyErr_Occurred()) SWIG_fail
;
8448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8456 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8457 PyObject
*resultobj
;
8458 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8460 PyObject
* obj0
= 0 ;
8462 (char *) "self", NULL
8465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
8466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8470 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
8472 wxPyEndAllowThreads(__tstate
);
8473 if (PyErr_Occurred()) SWIG_fail
;
8476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8484 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8485 PyObject
*resultobj
;
8486 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8487 long *arg2
= (long *) 0 ;
8488 long *arg3
= (long *) 0 ;
8491 PyObject
* obj0
= 0 ;
8493 (char *) "self", NULL
8498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
8499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8503 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
8505 wxPyEndAllowThreads(__tstate
);
8506 if (PyErr_Occurred()) SWIG_fail
;
8508 Py_INCREF(Py_None
); resultobj
= Py_None
;
8510 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8511 resultobj
= t_output_helper(resultobj
,o
);
8514 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8515 resultobj
= t_output_helper(resultobj
,o
);
8523 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8524 PyObject
*resultobj
;
8525 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8527 PyObject
* obj0
= 0 ;
8529 (char *) "self", NULL
8532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
8533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8537 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
8539 wxPyEndAllowThreads(__tstate
);
8540 if (PyErr_Occurred()) SWIG_fail
;
8544 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8546 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8555 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8556 PyObject
*resultobj
;
8557 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8558 PyObject
* obj0
= 0 ;
8560 (char *) "self", NULL
8563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
8564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8570 wxPyEndAllowThreads(__tstate
);
8571 if (PyErr_Occurred()) SWIG_fail
;
8573 Py_INCREF(Py_None
); resultobj
= Py_None
;
8580 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8581 PyObject
*resultobj
;
8582 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8585 wxString
*arg4
= 0 ;
8586 bool temp4
= False
;
8587 PyObject
* obj0
= 0 ;
8588 PyObject
* obj1
= 0 ;
8589 PyObject
* obj2
= 0 ;
8590 PyObject
* obj3
= 0 ;
8592 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8598 arg2
= (long) SWIG_AsLong(obj1
);
8599 if (PyErr_Occurred()) SWIG_fail
;
8600 arg3
= (long) SWIG_AsLong(obj2
);
8601 if (PyErr_Occurred()) SWIG_fail
;
8603 arg4
= wxString_in_helper(obj3
);
8604 if (arg4
== NULL
) SWIG_fail
;
8608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8609 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
8611 wxPyEndAllowThreads(__tstate
);
8612 if (PyErr_Occurred()) SWIG_fail
;
8614 Py_INCREF(Py_None
); resultobj
= Py_None
;
8629 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8630 PyObject
*resultobj
;
8631 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8634 PyObject
* obj0
= 0 ;
8635 PyObject
* obj1
= 0 ;
8636 PyObject
* obj2
= 0 ;
8638 (char *) "self",(char *) "from",(char *) "to", NULL
8641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8644 arg2
= (long) SWIG_AsLong(obj1
);
8645 if (PyErr_Occurred()) SWIG_fail
;
8646 arg3
= (long) SWIG_AsLong(obj2
);
8647 if (PyErr_Occurred()) SWIG_fail
;
8649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8650 (arg1
)->Remove(arg2
,arg3
);
8652 wxPyEndAllowThreads(__tstate
);
8653 if (PyErr_Occurred()) SWIG_fail
;
8655 Py_INCREF(Py_None
); resultobj
= Py_None
;
8662 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8663 PyObject
*resultobj
;
8664 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8665 wxString
*arg2
= 0 ;
8667 bool temp2
= False
;
8668 PyObject
* obj0
= 0 ;
8669 PyObject
* obj1
= 0 ;
8671 (char *) "self",(char *) "file", NULL
8674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8678 arg2
= wxString_in_helper(obj1
);
8679 if (arg2
== NULL
) SWIG_fail
;
8683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8684 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
8686 wxPyEndAllowThreads(__tstate
);
8687 if (PyErr_Occurred()) SWIG_fail
;
8690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8706 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8707 PyObject
*resultobj
;
8708 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8709 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8710 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8712 bool temp2
= False
;
8713 PyObject
* obj0
= 0 ;
8714 PyObject
* obj1
= 0 ;
8716 (char *) "self",(char *) "file", NULL
8719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8724 arg2
= wxString_in_helper(obj1
);
8725 if (arg2
== NULL
) SWIG_fail
;
8730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8731 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8733 wxPyEndAllowThreads(__tstate
);
8734 if (PyErr_Occurred()) SWIG_fail
;
8737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8753 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8754 PyObject
*resultobj
;
8755 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8756 PyObject
* obj0
= 0 ;
8758 (char *) "self", NULL
8761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8766 (arg1
)->MarkDirty();
8768 wxPyEndAllowThreads(__tstate
);
8769 if (PyErr_Occurred()) SWIG_fail
;
8771 Py_INCREF(Py_None
); resultobj
= Py_None
;
8778 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8779 PyObject
*resultobj
;
8780 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8781 PyObject
* obj0
= 0 ;
8783 (char *) "self", NULL
8786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8791 (arg1
)->DiscardEdits();
8793 wxPyEndAllowThreads(__tstate
);
8794 if (PyErr_Occurred()) SWIG_fail
;
8796 Py_INCREF(Py_None
); resultobj
= Py_None
;
8803 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8804 PyObject
*resultobj
;
8805 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8806 unsigned long arg2
;
8807 PyObject
* obj0
= 0 ;
8808 PyObject
* obj1
= 0 ;
8810 (char *) "self",(char *) "len", NULL
8813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8816 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
8817 if (PyErr_Occurred()) SWIG_fail
;
8819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8820 (arg1
)->SetMaxLength(arg2
);
8822 wxPyEndAllowThreads(__tstate
);
8823 if (PyErr_Occurred()) SWIG_fail
;
8825 Py_INCREF(Py_None
); resultobj
= Py_None
;
8832 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8833 PyObject
*resultobj
;
8834 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8835 wxString
*arg2
= 0 ;
8836 bool temp2
= False
;
8837 PyObject
* obj0
= 0 ;
8838 PyObject
* obj1
= 0 ;
8840 (char *) "self",(char *) "text", NULL
8843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8847 arg2
= wxString_in_helper(obj1
);
8848 if (arg2
== NULL
) SWIG_fail
;
8852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8853 (arg1
)->WriteText((wxString
const &)*arg2
);
8855 wxPyEndAllowThreads(__tstate
);
8856 if (PyErr_Occurred()) SWIG_fail
;
8858 Py_INCREF(Py_None
); resultobj
= Py_None
;
8873 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8874 PyObject
*resultobj
;
8875 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8876 wxString
*arg2
= 0 ;
8877 bool temp2
= False
;
8878 PyObject
* obj0
= 0 ;
8879 PyObject
* obj1
= 0 ;
8881 (char *) "self",(char *) "text", NULL
8884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
8885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8888 arg2
= wxString_in_helper(obj1
);
8889 if (arg2
== NULL
) SWIG_fail
;
8893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8894 (arg1
)->AppendText((wxString
const &)*arg2
);
8896 wxPyEndAllowThreads(__tstate
);
8897 if (PyErr_Occurred()) SWIG_fail
;
8899 Py_INCREF(Py_None
); resultobj
= Py_None
;
8914 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8915 PyObject
*resultobj
;
8916 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8917 wxKeyEvent
*arg2
= 0 ;
8919 PyObject
* obj0
= 0 ;
8920 PyObject
* obj1
= 0 ;
8922 (char *) "self",(char *) "event", NULL
8925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
8926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8928 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
8929 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8932 PyErr_SetString(PyExc_TypeError
,"null reference");
8936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8937 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
8939 wxPyEndAllowThreads(__tstate
);
8940 if (PyErr_Occurred()) SWIG_fail
;
8943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8951 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8952 PyObject
*resultobj
;
8953 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8956 wxTextAttr
*arg4
= 0 ;
8958 PyObject
* obj0
= 0 ;
8959 PyObject
* obj1
= 0 ;
8960 PyObject
* obj2
= 0 ;
8961 PyObject
* obj3
= 0 ;
8963 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8969 arg2
= (long) SWIG_AsLong(obj1
);
8970 if (PyErr_Occurred()) SWIG_fail
;
8971 arg3
= (long) SWIG_AsLong(obj2
);
8972 if (PyErr_Occurred()) SWIG_fail
;
8973 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
,
8974 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8977 PyErr_SetString(PyExc_TypeError
,"null reference");
8981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8982 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
8984 wxPyEndAllowThreads(__tstate
);
8985 if (PyErr_Occurred()) SWIG_fail
;
8988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8996 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8997 PyObject
*resultobj
;
8998 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9000 wxTextAttr
*arg3
= 0 ;
9002 PyObject
* obj0
= 0 ;
9003 PyObject
* obj1
= 0 ;
9004 PyObject
* obj2
= 0 ;
9006 (char *) "self",(char *) "position",(char *) "style", NULL
9009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9012 arg2
= (long) SWIG_AsLong(obj1
);
9013 if (PyErr_Occurred()) SWIG_fail
;
9014 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
,
9015 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9018 PyErr_SetString(PyExc_TypeError
,"null reference");
9022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9023 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
9025 wxPyEndAllowThreads(__tstate
);
9026 if (PyErr_Occurred()) SWIG_fail
;
9029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9037 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9038 PyObject
*resultobj
;
9039 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9040 wxTextAttr
*arg2
= 0 ;
9042 PyObject
* obj0
= 0 ;
9043 PyObject
* obj1
= 0 ;
9045 (char *) "self",(char *) "style", NULL
9048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
9049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9051 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
9052 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9055 PyErr_SetString(PyExc_TypeError
,"null reference");
9059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9060 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
9062 wxPyEndAllowThreads(__tstate
);
9063 if (PyErr_Occurred()) SWIG_fail
;
9066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9074 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9075 PyObject
*resultobj
;
9076 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9078 PyObject
* obj0
= 0 ;
9080 (char *) "self", NULL
9083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
9084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9089 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
9090 result
= (wxTextAttr
*) &_result_ref
;
9093 wxPyEndAllowThreads(__tstate
);
9094 if (PyErr_Occurred()) SWIG_fail
;
9096 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
9103 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9104 PyObject
*resultobj
;
9105 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9109 PyObject
* obj0
= 0 ;
9110 PyObject
* obj1
= 0 ;
9111 PyObject
* obj2
= 0 ;
9113 (char *) "self",(char *) "x",(char *) "y", NULL
9116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9119 arg2
= (long) SWIG_AsLong(obj1
);
9120 if (PyErr_Occurred()) SWIG_fail
;
9121 arg3
= (long) SWIG_AsLong(obj2
);
9122 if (PyErr_Occurred()) SWIG_fail
;
9124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9125 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
9127 wxPyEndAllowThreads(__tstate
);
9128 if (PyErr_Occurred()) SWIG_fail
;
9130 resultobj
= SWIG_FromLong((long)result
);
9137 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9138 PyObject
*resultobj
;
9139 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9141 long *arg3
= (long *) 0 ;
9142 long *arg4
= (long *) 0 ;
9145 PyObject
* obj0
= 0 ;
9146 PyObject
* obj1
= 0 ;
9148 (char *) "self",(char *) "pos", NULL
9153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
9154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9156 arg2
= (long) SWIG_AsLong(obj1
);
9157 if (PyErr_Occurred()) SWIG_fail
;
9159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9160 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
9162 wxPyEndAllowThreads(__tstate
);
9163 if (PyErr_Occurred()) SWIG_fail
;
9165 Py_INCREF(Py_None
); resultobj
= Py_None
;
9167 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9168 resultobj
= t_output_helper(resultobj
,o
);
9171 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9172 resultobj
= t_output_helper(resultobj
,o
);
9180 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9181 PyObject
*resultobj
;
9182 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9184 PyObject
* obj0
= 0 ;
9185 PyObject
* obj1
= 0 ;
9187 (char *) "self",(char *) "pos", NULL
9190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9193 arg2
= (long) SWIG_AsLong(obj1
);
9194 if (PyErr_Occurred()) SWIG_fail
;
9196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9197 (arg1
)->ShowPosition(arg2
);
9199 wxPyEndAllowThreads(__tstate
);
9200 if (PyErr_Occurred()) SWIG_fail
;
9202 Py_INCREF(Py_None
); resultobj
= Py_None
;
9209 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9210 PyObject
*resultobj
;
9211 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9213 long *arg3
= (long *) 0 ;
9214 long *arg4
= (long *) 0 ;
9219 PyObject
* obj0
= 0 ;
9220 PyObject
* obj1
= 0 ;
9222 (char *) "self",(char *) "pt", NULL
9227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9232 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9236 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
9238 wxPyEndAllowThreads(__tstate
);
9239 if (PyErr_Occurred()) SWIG_fail
;
9241 resultobj
= SWIG_FromInt((int)result
);
9243 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9244 resultobj
= t_output_helper(resultobj
,o
);
9247 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9248 resultobj
= t_output_helper(resultobj
,o
);
9256 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9257 PyObject
*resultobj
;
9258 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9259 PyObject
* obj0
= 0 ;
9261 (char *) "self", NULL
9264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
9265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9271 wxPyEndAllowThreads(__tstate
);
9272 if (PyErr_Occurred()) SWIG_fail
;
9274 Py_INCREF(Py_None
); resultobj
= Py_None
;
9281 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9282 PyObject
*resultobj
;
9283 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9284 PyObject
* obj0
= 0 ;
9286 (char *) "self", NULL
9289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
9290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9296 wxPyEndAllowThreads(__tstate
);
9297 if (PyErr_Occurred()) SWIG_fail
;
9299 Py_INCREF(Py_None
); resultobj
= Py_None
;
9306 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9307 PyObject
*resultobj
;
9308 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9309 PyObject
* obj0
= 0 ;
9311 (char *) "self", NULL
9314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
9315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9321 wxPyEndAllowThreads(__tstate
);
9322 if (PyErr_Occurred()) SWIG_fail
;
9324 Py_INCREF(Py_None
); resultobj
= Py_None
;
9331 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9332 PyObject
*resultobj
;
9333 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9335 PyObject
* obj0
= 0 ;
9337 (char *) "self", NULL
9340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
9341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9345 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
9347 wxPyEndAllowThreads(__tstate
);
9348 if (PyErr_Occurred()) SWIG_fail
;
9351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9359 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9360 PyObject
*resultobj
;
9361 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9363 PyObject
* obj0
= 0 ;
9365 (char *) "self", NULL
9368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
9369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9373 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
9375 wxPyEndAllowThreads(__tstate
);
9376 if (PyErr_Occurred()) SWIG_fail
;
9379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9387 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9388 PyObject
*resultobj
;
9389 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9391 PyObject
* obj0
= 0 ;
9393 (char *) "self", NULL
9396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
9397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9401 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
9403 wxPyEndAllowThreads(__tstate
);
9404 if (PyErr_Occurred()) SWIG_fail
;
9407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9415 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9416 PyObject
*resultobj
;
9417 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9418 PyObject
* obj0
= 0 ;
9420 (char *) "self", NULL
9423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
9424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9430 wxPyEndAllowThreads(__tstate
);
9431 if (PyErr_Occurred()) SWIG_fail
;
9433 Py_INCREF(Py_None
); resultobj
= Py_None
;
9440 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9441 PyObject
*resultobj
;
9442 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9443 PyObject
* obj0
= 0 ;
9445 (char *) "self", NULL
9448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
9449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9455 wxPyEndAllowThreads(__tstate
);
9456 if (PyErr_Occurred()) SWIG_fail
;
9458 Py_INCREF(Py_None
); resultobj
= Py_None
;
9465 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9466 PyObject
*resultobj
;
9467 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9469 PyObject
* obj0
= 0 ;
9471 (char *) "self", NULL
9474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
9475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9479 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
9481 wxPyEndAllowThreads(__tstate
);
9482 if (PyErr_Occurred()) SWIG_fail
;
9485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9493 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9494 PyObject
*resultobj
;
9495 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9497 PyObject
* obj0
= 0 ;
9499 (char *) "self", NULL
9502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
9503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9507 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
9509 wxPyEndAllowThreads(__tstate
);
9510 if (PyErr_Occurred()) SWIG_fail
;
9513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9521 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9522 PyObject
*resultobj
;
9523 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9525 PyObject
* obj0
= 0 ;
9526 PyObject
* obj1
= 0 ;
9528 (char *) "self",(char *) "pos", NULL
9531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
9532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9534 arg2
= (long) SWIG_AsLong(obj1
);
9535 if (PyErr_Occurred()) SWIG_fail
;
9537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9538 (arg1
)->SetInsertionPoint(arg2
);
9540 wxPyEndAllowThreads(__tstate
);
9541 if (PyErr_Occurred()) SWIG_fail
;
9543 Py_INCREF(Py_None
); resultobj
= Py_None
;
9550 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9551 PyObject
*resultobj
;
9552 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9553 PyObject
* obj0
= 0 ;
9555 (char *) "self", NULL
9558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
9559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9563 (arg1
)->SetInsertionPointEnd();
9565 wxPyEndAllowThreads(__tstate
);
9566 if (PyErr_Occurred()) SWIG_fail
;
9568 Py_INCREF(Py_None
); resultobj
= Py_None
;
9575 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9576 PyObject
*resultobj
;
9577 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9579 PyObject
* obj0
= 0 ;
9581 (char *) "self", NULL
9584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
9585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9589 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
9591 wxPyEndAllowThreads(__tstate
);
9592 if (PyErr_Occurred()) SWIG_fail
;
9594 resultobj
= SWIG_FromLong((long)result
);
9601 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9602 PyObject
*resultobj
;
9603 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9605 PyObject
* obj0
= 0 ;
9607 (char *) "self", NULL
9610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
9611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9615 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
9617 wxPyEndAllowThreads(__tstate
);
9618 if (PyErr_Occurred()) SWIG_fail
;
9620 resultobj
= SWIG_FromLong((long)result
);
9627 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9628 PyObject
*resultobj
;
9629 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9632 PyObject
* obj0
= 0 ;
9633 PyObject
* obj1
= 0 ;
9634 PyObject
* obj2
= 0 ;
9636 (char *) "self",(char *) "from",(char *) "to", NULL
9639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9642 arg2
= (long) SWIG_AsLong(obj1
);
9643 if (PyErr_Occurred()) SWIG_fail
;
9644 arg3
= (long) SWIG_AsLong(obj2
);
9645 if (PyErr_Occurred()) SWIG_fail
;
9647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9648 (arg1
)->SetSelection(arg2
,arg3
);
9650 wxPyEndAllowThreads(__tstate
);
9651 if (PyErr_Occurred()) SWIG_fail
;
9653 Py_INCREF(Py_None
); resultobj
= Py_None
;
9660 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9661 PyObject
*resultobj
;
9662 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9663 PyObject
* obj0
= 0 ;
9665 (char *) "self", NULL
9668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
9669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9673 (arg1
)->SelectAll();
9675 wxPyEndAllowThreads(__tstate
);
9676 if (PyErr_Occurred()) SWIG_fail
;
9678 Py_INCREF(Py_None
); resultobj
= Py_None
;
9685 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9686 PyObject
*resultobj
;
9687 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9689 PyObject
* obj0
= 0 ;
9690 PyObject
* obj1
= 0 ;
9692 (char *) "self",(char *) "editable", NULL
9695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
9696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9698 arg2
= (bool) SWIG_AsBool(obj1
);
9699 if (PyErr_Occurred()) SWIG_fail
;
9701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9702 (arg1
)->SetEditable(arg2
);
9704 wxPyEndAllowThreads(__tstate
);
9705 if (PyErr_Occurred()) SWIG_fail
;
9707 Py_INCREF(Py_None
); resultobj
= Py_None
;
9714 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9715 PyObject
*resultobj
;
9716 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9717 wxString
*arg2
= 0 ;
9718 bool temp2
= False
;
9719 PyObject
* obj0
= 0 ;
9720 PyObject
* obj1
= 0 ;
9722 (char *) "self",(char *) "text", NULL
9725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9729 arg2
= wxString_in_helper(obj1
);
9730 if (arg2
== NULL
) SWIG_fail
;
9734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9735 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
9737 wxPyEndAllowThreads(__tstate
);
9738 if (PyErr_Occurred()) SWIG_fail
;
9740 Py_INCREF(Py_None
); resultobj
= Py_None
;
9755 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9756 PyObject
*resultobj
;
9757 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9761 PyObject
* obj0
= 0 ;
9762 PyObject
* obj1
= 0 ;
9763 PyObject
* obj2
= 0 ;
9765 (char *) "self",(char *) "from",(char *) "to", NULL
9768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9771 arg2
= (long) SWIG_AsLong(obj1
);
9772 if (PyErr_Occurred()) SWIG_fail
;
9773 arg3
= (long) SWIG_AsLong(obj2
);
9774 if (PyErr_Occurred()) SWIG_fail
;
9776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9777 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9779 wxPyEndAllowThreads(__tstate
);
9780 if (PyErr_Occurred()) SWIG_fail
;
9784 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9786 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9795 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9796 PyObject
*resultobj
;
9797 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
9798 wxVisualAttributes result
;
9799 PyObject
* obj0
= 0 ;
9801 (char *) "variant", NULL
9804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
9806 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
9807 if (PyErr_Occurred()) SWIG_fail
;
9810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9811 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
9813 wxPyEndAllowThreads(__tstate
);
9814 if (PyErr_Occurred()) SWIG_fail
;
9817 wxVisualAttributes
* resultptr
;
9818 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
9819 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
9827 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9829 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9830 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
9832 return Py_BuildValue((char *)"");
9834 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9835 PyObject
*resultobj
;
9837 wxMouseEvent
*arg2
= 0 ;
9840 wxTextUrlEvent
*result
;
9841 PyObject
* obj0
= 0 ;
9842 PyObject
* obj1
= 0 ;
9843 PyObject
* obj2
= 0 ;
9844 PyObject
* obj3
= 0 ;
9846 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9850 arg1
= (int) SWIG_AsInt(obj0
);
9851 if (PyErr_Occurred()) SWIG_fail
;
9852 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
9853 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9856 PyErr_SetString(PyExc_TypeError
,"null reference");
9859 arg3
= (long) SWIG_AsLong(obj2
);
9860 if (PyErr_Occurred()) SWIG_fail
;
9861 arg4
= (long) SWIG_AsLong(obj3
);
9862 if (PyErr_Occurred()) SWIG_fail
;
9864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9865 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
9867 wxPyEndAllowThreads(__tstate
);
9868 if (PyErr_Occurred()) SWIG_fail
;
9870 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
9877 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9878 PyObject
*resultobj
;
9879 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9880 wxMouseEvent
*result
;
9881 PyObject
* obj0
= 0 ;
9883 (char *) "self", NULL
9886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
9887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9892 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
9893 result
= (wxMouseEvent
*) &_result_ref
;
9896 wxPyEndAllowThreads(__tstate
);
9897 if (PyErr_Occurred()) SWIG_fail
;
9899 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
9906 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9907 PyObject
*resultobj
;
9908 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9910 PyObject
* obj0
= 0 ;
9912 (char *) "self", NULL
9915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
9916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9920 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
9922 wxPyEndAllowThreads(__tstate
);
9923 if (PyErr_Occurred()) SWIG_fail
;
9925 resultobj
= SWIG_FromLong((long)result
);
9932 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9933 PyObject
*resultobj
;
9934 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9936 PyObject
* obj0
= 0 ;
9938 (char *) "self", NULL
9941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
9942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9946 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
9948 wxPyEndAllowThreads(__tstate
);
9949 if (PyErr_Occurred()) SWIG_fail
;
9951 resultobj
= SWIG_FromLong((long)result
);
9958 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9960 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9961 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
9963 return Py_BuildValue((char *)"");
9965 static int _wrap_ScrollBarNameStr_set(PyObject
*_val
) {
9966 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
9971 static PyObject
*_wrap_ScrollBarNameStr_get() {
9976 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9978 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9985 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9986 PyObject
*resultobj
;
9987 wxWindow
*arg1
= (wxWindow
*) 0 ;
9988 int arg2
= (int) -1 ;
9989 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9990 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9991 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9992 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9993 long arg5
= (long) wxSB_HORIZONTAL
;
9994 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
9995 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
9996 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
9997 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9998 wxScrollBar
*result
;
10001 bool temp7
= False
;
10002 PyObject
* obj0
= 0 ;
10003 PyObject
* obj1
= 0 ;
10004 PyObject
* obj2
= 0 ;
10005 PyObject
* obj3
= 0 ;
10006 PyObject
* obj4
= 0 ;
10007 PyObject
* obj5
= 0 ;
10008 PyObject
* obj6
= 0 ;
10009 char *kwnames
[] = {
10010 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10017 arg2
= (int) SWIG_AsInt(obj1
);
10018 if (PyErr_Occurred()) SWIG_fail
;
10023 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10029 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10033 arg5
= (long) SWIG_AsLong(obj4
);
10034 if (PyErr_Occurred()) SWIG_fail
;
10037 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
10038 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10040 if (arg6
== NULL
) {
10041 PyErr_SetString(PyExc_TypeError
,"null reference");
10047 arg7
= wxString_in_helper(obj6
);
10048 if (arg7
== NULL
) SWIG_fail
;
10053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10054 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
10056 wxPyEndAllowThreads(__tstate
);
10057 if (PyErr_Occurred()) SWIG_fail
;
10059 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10074 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10075 PyObject
*resultobj
;
10076 wxScrollBar
*result
;
10077 char *kwnames
[] = {
10081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
10083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10084 result
= (wxScrollBar
*)new wxScrollBar();
10086 wxPyEndAllowThreads(__tstate
);
10087 if (PyErr_Occurred()) SWIG_fail
;
10089 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10096 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10097 PyObject
*resultobj
;
10098 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10099 wxWindow
*arg2
= (wxWindow
*) 0 ;
10100 int arg3
= (int) -1 ;
10101 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10102 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10103 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10104 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10105 long arg6
= (long) wxSB_HORIZONTAL
;
10106 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10107 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10108 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
10109 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10113 bool temp8
= False
;
10114 PyObject
* obj0
= 0 ;
10115 PyObject
* obj1
= 0 ;
10116 PyObject
* obj2
= 0 ;
10117 PyObject
* obj3
= 0 ;
10118 PyObject
* obj4
= 0 ;
10119 PyObject
* obj5
= 0 ;
10120 PyObject
* obj6
= 0 ;
10121 PyObject
* obj7
= 0 ;
10122 char *kwnames
[] = {
10123 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
10127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10129 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10132 arg3
= (int) SWIG_AsInt(obj2
);
10133 if (PyErr_Occurred()) SWIG_fail
;
10138 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10144 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10148 arg6
= (long) SWIG_AsLong(obj5
);
10149 if (PyErr_Occurred()) SWIG_fail
;
10152 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
10153 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10155 if (arg7
== NULL
) {
10156 PyErr_SetString(PyExc_TypeError
,"null reference");
10162 arg8
= wxString_in_helper(obj7
);
10163 if (arg8
== NULL
) SWIG_fail
;
10168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10169 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10171 wxPyEndAllowThreads(__tstate
);
10172 if (PyErr_Occurred()) SWIG_fail
;
10175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10191 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10192 PyObject
*resultobj
;
10193 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10195 PyObject
* obj0
= 0 ;
10196 char *kwnames
[] = {
10197 (char *) "self", NULL
10200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
10201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10205 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
10207 wxPyEndAllowThreads(__tstate
);
10208 if (PyErr_Occurred()) SWIG_fail
;
10210 resultobj
= SWIG_FromInt((int)result
);
10217 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10218 PyObject
*resultobj
;
10219 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10221 PyObject
* obj0
= 0 ;
10222 char *kwnames
[] = {
10223 (char *) "self", NULL
10226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
10227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10231 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
10233 wxPyEndAllowThreads(__tstate
);
10234 if (PyErr_Occurred()) SWIG_fail
;
10236 resultobj
= SWIG_FromInt((int)result
);
10243 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10244 PyObject
*resultobj
;
10245 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10247 PyObject
* obj0
= 0 ;
10248 char *kwnames
[] = {
10249 (char *) "self", NULL
10252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
10253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10257 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
10259 wxPyEndAllowThreads(__tstate
);
10260 if (PyErr_Occurred()) SWIG_fail
;
10262 resultobj
= SWIG_FromInt((int)result
);
10269 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10270 PyObject
*resultobj
;
10271 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10273 PyObject
* obj0
= 0 ;
10274 char *kwnames
[] = {
10275 (char *) "self", NULL
10278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
10279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10283 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
10285 wxPyEndAllowThreads(__tstate
);
10286 if (PyErr_Occurred()) SWIG_fail
;
10288 resultobj
= SWIG_FromInt((int)result
);
10295 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10296 PyObject
*resultobj
;
10297 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10299 PyObject
* obj0
= 0 ;
10300 char *kwnames
[] = {
10301 (char *) "self", NULL
10304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
10305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10309 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
10311 wxPyEndAllowThreads(__tstate
);
10312 if (PyErr_Occurred()) SWIG_fail
;
10315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10323 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10324 PyObject
*resultobj
;
10325 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10327 PyObject
* obj0
= 0 ;
10328 PyObject
* obj1
= 0 ;
10329 char *kwnames
[] = {
10330 (char *) "self",(char *) "viewStart", NULL
10333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10336 arg2
= (int) SWIG_AsInt(obj1
);
10337 if (PyErr_Occurred()) SWIG_fail
;
10339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10340 (arg1
)->SetThumbPosition(arg2
);
10342 wxPyEndAllowThreads(__tstate
);
10343 if (PyErr_Occurred()) SWIG_fail
;
10345 Py_INCREF(Py_None
); resultobj
= Py_None
;
10352 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10353 PyObject
*resultobj
;
10354 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10359 bool arg6
= (bool) True
;
10360 PyObject
* obj0
= 0 ;
10361 PyObject
* obj1
= 0 ;
10362 PyObject
* obj2
= 0 ;
10363 PyObject
* obj3
= 0 ;
10364 PyObject
* obj4
= 0 ;
10365 PyObject
* obj5
= 0 ;
10366 char *kwnames
[] = {
10367 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
10370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10373 arg2
= (int) SWIG_AsInt(obj1
);
10374 if (PyErr_Occurred()) SWIG_fail
;
10375 arg3
= (int) SWIG_AsInt(obj2
);
10376 if (PyErr_Occurred()) SWIG_fail
;
10377 arg4
= (int) SWIG_AsInt(obj3
);
10378 if (PyErr_Occurred()) SWIG_fail
;
10379 arg5
= (int) SWIG_AsInt(obj4
);
10380 if (PyErr_Occurred()) SWIG_fail
;
10382 arg6
= (bool) SWIG_AsBool(obj5
);
10383 if (PyErr_Occurred()) SWIG_fail
;
10386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10387 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
10389 wxPyEndAllowThreads(__tstate
);
10390 if (PyErr_Occurred()) SWIG_fail
;
10392 Py_INCREF(Py_None
); resultobj
= Py_None
;
10399 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10400 PyObject
*resultobj
;
10401 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10402 wxVisualAttributes result
;
10403 PyObject
* obj0
= 0 ;
10404 char *kwnames
[] = {
10405 (char *) "variant", NULL
10408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10410 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
10411 if (PyErr_Occurred()) SWIG_fail
;
10414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10415 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10417 wxPyEndAllowThreads(__tstate
);
10418 if (PyErr_Occurred()) SWIG_fail
;
10421 wxVisualAttributes
* resultptr
;
10422 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10423 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10431 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
10433 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10434 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
10436 return Py_BuildValue((char *)"");
10438 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*_val
) {
10439 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
10444 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
10449 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10451 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10458 static int _wrap_SpinCtrlNameStr_set(PyObject
*_val
) {
10459 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
10464 static PyObject
*_wrap_SpinCtrlNameStr_get() {
10469 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10471 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10478 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10479 PyObject
*resultobj
;
10480 wxWindow
*arg1
= (wxWindow
*) 0 ;
10481 int arg2
= (int) -1 ;
10482 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10483 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10484 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10485 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10486 long arg5
= (long) wxSP_HORIZONTAL
;
10487 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
10488 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10489 wxSpinButton
*result
;
10492 bool temp6
= False
;
10493 PyObject
* obj0
= 0 ;
10494 PyObject
* obj1
= 0 ;
10495 PyObject
* obj2
= 0 ;
10496 PyObject
* obj3
= 0 ;
10497 PyObject
* obj4
= 0 ;
10498 PyObject
* obj5
= 0 ;
10499 char *kwnames
[] = {
10500 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10507 arg2
= (int) SWIG_AsInt(obj1
);
10508 if (PyErr_Occurred()) SWIG_fail
;
10513 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10519 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10523 arg5
= (long) SWIG_AsLong(obj4
);
10524 if (PyErr_Occurred()) SWIG_fail
;
10528 arg6
= wxString_in_helper(obj5
);
10529 if (arg6
== NULL
) SWIG_fail
;
10534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10535 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10537 wxPyEndAllowThreads(__tstate
);
10538 if (PyErr_Occurred()) SWIG_fail
;
10540 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10555 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10556 PyObject
*resultobj
;
10557 wxSpinButton
*result
;
10558 char *kwnames
[] = {
10562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
10564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10565 result
= (wxSpinButton
*)new wxSpinButton();
10567 wxPyEndAllowThreads(__tstate
);
10568 if (PyErr_Occurred()) SWIG_fail
;
10570 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10577 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10578 PyObject
*resultobj
;
10579 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10580 wxWindow
*arg2
= (wxWindow
*) 0 ;
10581 int arg3
= (int) -1 ;
10582 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10583 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10584 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10585 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10586 long arg6
= (long) wxSP_HORIZONTAL
;
10587 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
10588 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10592 bool temp7
= False
;
10593 PyObject
* obj0
= 0 ;
10594 PyObject
* obj1
= 0 ;
10595 PyObject
* obj2
= 0 ;
10596 PyObject
* obj3
= 0 ;
10597 PyObject
* obj4
= 0 ;
10598 PyObject
* obj5
= 0 ;
10599 PyObject
* obj6
= 0 ;
10600 char *kwnames
[] = {
10601 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10607 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10610 arg3
= (int) SWIG_AsInt(obj2
);
10611 if (PyErr_Occurred()) SWIG_fail
;
10616 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10622 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10626 arg6
= (long) SWIG_AsLong(obj5
);
10627 if (PyErr_Occurred()) SWIG_fail
;
10631 arg7
= wxString_in_helper(obj6
);
10632 if (arg7
== NULL
) SWIG_fail
;
10637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10638 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10640 wxPyEndAllowThreads(__tstate
);
10641 if (PyErr_Occurred()) SWIG_fail
;
10644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10660 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10661 PyObject
*resultobj
;
10662 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10664 PyObject
* obj0
= 0 ;
10665 char *kwnames
[] = {
10666 (char *) "self", NULL
10669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
10670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10674 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
10676 wxPyEndAllowThreads(__tstate
);
10677 if (PyErr_Occurred()) SWIG_fail
;
10679 resultobj
= SWIG_FromInt((int)result
);
10686 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10687 PyObject
*resultobj
;
10688 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10690 PyObject
* obj0
= 0 ;
10691 char *kwnames
[] = {
10692 (char *) "self", NULL
10695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
10696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10700 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
10702 wxPyEndAllowThreads(__tstate
);
10703 if (PyErr_Occurred()) SWIG_fail
;
10705 resultobj
= SWIG_FromInt((int)result
);
10712 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10713 PyObject
*resultobj
;
10714 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10716 PyObject
* obj0
= 0 ;
10717 char *kwnames
[] = {
10718 (char *) "self", NULL
10721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
10722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10726 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
10728 wxPyEndAllowThreads(__tstate
);
10729 if (PyErr_Occurred()) SWIG_fail
;
10731 resultobj
= SWIG_FromInt((int)result
);
10738 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10739 PyObject
*resultobj
;
10740 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10742 PyObject
* obj0
= 0 ;
10743 PyObject
* obj1
= 0 ;
10744 char *kwnames
[] = {
10745 (char *) "self",(char *) "val", NULL
10748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10751 arg2
= (int) SWIG_AsInt(obj1
);
10752 if (PyErr_Occurred()) SWIG_fail
;
10754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10755 (arg1
)->SetValue(arg2
);
10757 wxPyEndAllowThreads(__tstate
);
10758 if (PyErr_Occurred()) SWIG_fail
;
10760 Py_INCREF(Py_None
); resultobj
= Py_None
;
10767 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10768 PyObject
*resultobj
;
10769 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10771 PyObject
* obj0
= 0 ;
10772 PyObject
* obj1
= 0 ;
10773 char *kwnames
[] = {
10774 (char *) "self",(char *) "minVal", NULL
10777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
10778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10780 arg2
= (int) SWIG_AsInt(obj1
);
10781 if (PyErr_Occurred()) SWIG_fail
;
10783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10784 (arg1
)->SetMin(arg2
);
10786 wxPyEndAllowThreads(__tstate
);
10787 if (PyErr_Occurred()) SWIG_fail
;
10789 Py_INCREF(Py_None
); resultobj
= Py_None
;
10796 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10797 PyObject
*resultobj
;
10798 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10800 PyObject
* obj0
= 0 ;
10801 PyObject
* obj1
= 0 ;
10802 char *kwnames
[] = {
10803 (char *) "self",(char *) "maxVal", NULL
10806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
10807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10809 arg2
= (int) SWIG_AsInt(obj1
);
10810 if (PyErr_Occurred()) SWIG_fail
;
10812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10813 (arg1
)->SetMax(arg2
);
10815 wxPyEndAllowThreads(__tstate
);
10816 if (PyErr_Occurred()) SWIG_fail
;
10818 Py_INCREF(Py_None
); resultobj
= Py_None
;
10825 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10826 PyObject
*resultobj
;
10827 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10830 PyObject
* obj0
= 0 ;
10831 PyObject
* obj1
= 0 ;
10832 PyObject
* obj2
= 0 ;
10833 char *kwnames
[] = {
10834 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10840 arg2
= (int) SWIG_AsInt(obj1
);
10841 if (PyErr_Occurred()) SWIG_fail
;
10842 arg3
= (int) SWIG_AsInt(obj2
);
10843 if (PyErr_Occurred()) SWIG_fail
;
10845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10846 (arg1
)->SetRange(arg2
,arg3
);
10848 wxPyEndAllowThreads(__tstate
);
10849 if (PyErr_Occurred()) SWIG_fail
;
10851 Py_INCREF(Py_None
); resultobj
= Py_None
;
10858 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10859 PyObject
*resultobj
;
10860 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10862 PyObject
* obj0
= 0 ;
10863 char *kwnames
[] = {
10864 (char *) "self", NULL
10867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
10868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10872 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
10874 wxPyEndAllowThreads(__tstate
);
10875 if (PyErr_Occurred()) SWIG_fail
;
10878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10886 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10887 PyObject
*resultobj
;
10888 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10889 wxVisualAttributes result
;
10890 PyObject
* obj0
= 0 ;
10891 char *kwnames
[] = {
10892 (char *) "variant", NULL
10895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10897 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
10898 if (PyErr_Occurred()) SWIG_fail
;
10901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10902 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10904 wxPyEndAllowThreads(__tstate
);
10905 if (PyErr_Occurred()) SWIG_fail
;
10908 wxVisualAttributes
* resultptr
;
10909 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10910 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10918 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
10920 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10921 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
10923 return Py_BuildValue((char *)"");
10925 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10926 PyObject
*resultobj
;
10927 wxWindow
*arg1
= (wxWindow
*) 0 ;
10928 int arg2
= (int) -1 ;
10929 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10930 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10931 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10932 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10933 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10934 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10935 long arg6
= (long) wxSP_ARROW_KEYS
;
10936 int arg7
= (int) 0 ;
10937 int arg8
= (int) 100 ;
10938 int arg9
= (int) 0 ;
10939 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
10940 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10941 wxSpinCtrl
*result
;
10942 bool temp3
= False
;
10945 bool temp10
= False
;
10946 PyObject
* obj0
= 0 ;
10947 PyObject
* obj1
= 0 ;
10948 PyObject
* obj2
= 0 ;
10949 PyObject
* obj3
= 0 ;
10950 PyObject
* obj4
= 0 ;
10951 PyObject
* obj5
= 0 ;
10952 PyObject
* obj6
= 0 ;
10953 PyObject
* obj7
= 0 ;
10954 PyObject
* obj8
= 0 ;
10955 PyObject
* obj9
= 0 ;
10956 char *kwnames
[] = {
10957 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10964 arg2
= (int) SWIG_AsInt(obj1
);
10965 if (PyErr_Occurred()) SWIG_fail
;
10969 arg3
= wxString_in_helper(obj2
);
10970 if (arg3
== NULL
) SWIG_fail
;
10977 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10983 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10987 arg6
= (long) SWIG_AsLong(obj5
);
10988 if (PyErr_Occurred()) SWIG_fail
;
10991 arg7
= (int) SWIG_AsInt(obj6
);
10992 if (PyErr_Occurred()) SWIG_fail
;
10995 arg8
= (int) SWIG_AsInt(obj7
);
10996 if (PyErr_Occurred()) SWIG_fail
;
10999 arg9
= (int) SWIG_AsInt(obj8
);
11000 if (PyErr_Occurred()) SWIG_fail
;
11004 arg10
= wxString_in_helper(obj9
);
11005 if (arg10
== NULL
) SWIG_fail
;
11010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11011 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
11013 wxPyEndAllowThreads(__tstate
);
11014 if (PyErr_Occurred()) SWIG_fail
;
11016 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11039 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11040 PyObject
*resultobj
;
11041 wxSpinCtrl
*result
;
11042 char *kwnames
[] = {
11046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
11048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11049 result
= (wxSpinCtrl
*)new wxSpinCtrl();
11051 wxPyEndAllowThreads(__tstate
);
11052 if (PyErr_Occurred()) SWIG_fail
;
11054 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11061 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11062 PyObject
*resultobj
;
11063 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11064 wxWindow
*arg2
= (wxWindow
*) 0 ;
11065 int arg3
= (int) -1 ;
11066 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11067 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11068 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11069 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11070 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11071 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11072 long arg7
= (long) wxSP_ARROW_KEYS
;
11073 int arg8
= (int) 0 ;
11074 int arg9
= (int) 100 ;
11075 int arg10
= (int) 0 ;
11076 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
11077 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11079 bool temp4
= False
;
11082 bool temp11
= False
;
11083 PyObject
* obj0
= 0 ;
11084 PyObject
* obj1
= 0 ;
11085 PyObject
* obj2
= 0 ;
11086 PyObject
* obj3
= 0 ;
11087 PyObject
* obj4
= 0 ;
11088 PyObject
* obj5
= 0 ;
11089 PyObject
* obj6
= 0 ;
11090 PyObject
* obj7
= 0 ;
11091 PyObject
* obj8
= 0 ;
11092 PyObject
* obj9
= 0 ;
11093 PyObject
* obj10
= 0 ;
11094 char *kwnames
[] = {
11095 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11101 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11104 arg3
= (int) SWIG_AsInt(obj2
);
11105 if (PyErr_Occurred()) SWIG_fail
;
11109 arg4
= wxString_in_helper(obj3
);
11110 if (arg4
== NULL
) SWIG_fail
;
11117 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11123 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11127 arg7
= (long) SWIG_AsLong(obj6
);
11128 if (PyErr_Occurred()) SWIG_fail
;
11131 arg8
= (int) SWIG_AsInt(obj7
);
11132 if (PyErr_Occurred()) SWIG_fail
;
11135 arg9
= (int) SWIG_AsInt(obj8
);
11136 if (PyErr_Occurred()) SWIG_fail
;
11139 arg10
= (int) SWIG_AsInt(obj9
);
11140 if (PyErr_Occurred()) SWIG_fail
;
11144 arg11
= wxString_in_helper(obj10
);
11145 if (arg11
== NULL
) SWIG_fail
;
11150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11151 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
11153 wxPyEndAllowThreads(__tstate
);
11154 if (PyErr_Occurred()) SWIG_fail
;
11157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11181 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11182 PyObject
*resultobj
;
11183 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11185 PyObject
* obj0
= 0 ;
11186 char *kwnames
[] = {
11187 (char *) "self", NULL
11190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
11191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11195 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
11197 wxPyEndAllowThreads(__tstate
);
11198 if (PyErr_Occurred()) SWIG_fail
;
11200 resultobj
= SWIG_FromInt((int)result
);
11207 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11208 PyObject
*resultobj
;
11209 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11211 PyObject
* obj0
= 0 ;
11212 PyObject
* obj1
= 0 ;
11213 char *kwnames
[] = {
11214 (char *) "self",(char *) "value", NULL
11217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11220 arg2
= (int) SWIG_AsInt(obj1
);
11221 if (PyErr_Occurred()) SWIG_fail
;
11223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11224 (arg1
)->SetValue(arg2
);
11226 wxPyEndAllowThreads(__tstate
);
11227 if (PyErr_Occurred()) SWIG_fail
;
11229 Py_INCREF(Py_None
); resultobj
= Py_None
;
11236 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11237 PyObject
*resultobj
;
11238 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11239 wxString
*arg2
= 0 ;
11240 bool temp2
= False
;
11241 PyObject
* obj0
= 0 ;
11242 PyObject
* obj1
= 0 ;
11243 char *kwnames
[] = {
11244 (char *) "self",(char *) "text", NULL
11247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
11248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11251 arg2
= wxString_in_helper(obj1
);
11252 if (arg2
== NULL
) SWIG_fail
;
11256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11257 (arg1
)->SetValue((wxString
const &)*arg2
);
11259 wxPyEndAllowThreads(__tstate
);
11260 if (PyErr_Occurred()) SWIG_fail
;
11262 Py_INCREF(Py_None
); resultobj
= Py_None
;
11277 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11278 PyObject
*resultobj
;
11279 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11282 PyObject
* obj0
= 0 ;
11283 PyObject
* obj1
= 0 ;
11284 PyObject
* obj2
= 0 ;
11285 char *kwnames
[] = {
11286 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11292 arg2
= (int) SWIG_AsInt(obj1
);
11293 if (PyErr_Occurred()) SWIG_fail
;
11294 arg3
= (int) SWIG_AsInt(obj2
);
11295 if (PyErr_Occurred()) SWIG_fail
;
11297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11298 (arg1
)->SetRange(arg2
,arg3
);
11300 wxPyEndAllowThreads(__tstate
);
11301 if (PyErr_Occurred()) SWIG_fail
;
11303 Py_INCREF(Py_None
); resultobj
= Py_None
;
11310 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11311 PyObject
*resultobj
;
11312 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11314 PyObject
* obj0
= 0 ;
11315 char *kwnames
[] = {
11316 (char *) "self", NULL
11319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
11320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11324 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
11326 wxPyEndAllowThreads(__tstate
);
11327 if (PyErr_Occurred()) SWIG_fail
;
11329 resultobj
= SWIG_FromInt((int)result
);
11336 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11337 PyObject
*resultobj
;
11338 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11340 PyObject
* obj0
= 0 ;
11341 char *kwnames
[] = {
11342 (char *) "self", NULL
11345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
11346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11350 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
11352 wxPyEndAllowThreads(__tstate
);
11353 if (PyErr_Occurred()) SWIG_fail
;
11355 resultobj
= SWIG_FromInt((int)result
);
11362 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11363 PyObject
*resultobj
;
11364 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11367 PyObject
* obj0
= 0 ;
11368 PyObject
* obj1
= 0 ;
11369 PyObject
* obj2
= 0 ;
11370 char *kwnames
[] = {
11371 (char *) "self",(char *) "from",(char *) "to", NULL
11374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11377 arg2
= (long) SWIG_AsLong(obj1
);
11378 if (PyErr_Occurred()) SWIG_fail
;
11379 arg3
= (long) SWIG_AsLong(obj2
);
11380 if (PyErr_Occurred()) SWIG_fail
;
11382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11383 (arg1
)->SetSelection(arg2
,arg3
);
11385 wxPyEndAllowThreads(__tstate
);
11386 if (PyErr_Occurred()) SWIG_fail
;
11388 Py_INCREF(Py_None
); resultobj
= Py_None
;
11395 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11396 PyObject
*resultobj
;
11397 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
11398 wxVisualAttributes result
;
11399 PyObject
* obj0
= 0 ;
11400 char *kwnames
[] = {
11401 (char *) "variant", NULL
11404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11406 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
11407 if (PyErr_Occurred()) SWIG_fail
;
11410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11411 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11413 wxPyEndAllowThreads(__tstate
);
11414 if (PyErr_Occurred()) SWIG_fail
;
11417 wxVisualAttributes
* resultptr
;
11418 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
11419 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11427 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
11429 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11430 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
11432 return Py_BuildValue((char *)"");
11434 static PyObject
*_wrap_new_SpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11435 PyObject
*resultobj
;
11436 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11437 int arg2
= (int) 0 ;
11438 wxSpinEvent
*result
;
11439 PyObject
* obj0
= 0 ;
11440 PyObject
* obj1
= 0 ;
11441 char *kwnames
[] = {
11442 (char *) "commandType",(char *) "winid", NULL
11445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11447 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
11448 if (PyErr_Occurred()) SWIG_fail
;
11451 arg2
= (int) SWIG_AsInt(obj1
);
11452 if (PyErr_Occurred()) SWIG_fail
;
11455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11456 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
11458 wxPyEndAllowThreads(__tstate
);
11459 if (PyErr_Occurred()) SWIG_fail
;
11461 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
11468 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11469 PyObject
*resultobj
;
11470 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11472 PyObject
* obj0
= 0 ;
11473 char *kwnames
[] = {
11474 (char *) "self", NULL
11477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11482 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
11484 wxPyEndAllowThreads(__tstate
);
11485 if (PyErr_Occurred()) SWIG_fail
;
11487 resultobj
= SWIG_FromInt((int)result
);
11494 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11495 PyObject
*resultobj
;
11496 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11498 PyObject
* obj0
= 0 ;
11499 PyObject
* obj1
= 0 ;
11500 char *kwnames
[] = {
11501 (char *) "self",(char *) "pos", NULL
11504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11507 arg2
= (int) SWIG_AsInt(obj1
);
11508 if (PyErr_Occurred()) SWIG_fail
;
11510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11511 (arg1
)->SetPosition(arg2
);
11513 wxPyEndAllowThreads(__tstate
);
11514 if (PyErr_Occurred()) SWIG_fail
;
11516 Py_INCREF(Py_None
); resultobj
= Py_None
;
11523 static PyObject
* SpinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11525 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11526 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
11528 return Py_BuildValue((char *)"");
11530 static int _wrap_RadioBoxNameStr_set(PyObject
*_val
) {
11531 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
11536 static PyObject
*_wrap_RadioBoxNameStr_get() {
11541 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11543 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11550 static int _wrap_RadioButtonNameStr_set(PyObject
*_val
) {
11551 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
11556 static PyObject
*_wrap_RadioButtonNameStr_get() {
11561 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11563 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11570 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11571 PyObject
*resultobj
;
11572 wxWindow
*arg1
= (wxWindow
*) 0 ;
11574 wxString
*arg3
= 0 ;
11575 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11576 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11577 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11578 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11579 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
11580 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
11581 int arg7
= (int) 0 ;
11582 long arg8
= (long) wxRA_HORIZONTAL
;
11583 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11584 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11585 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
11586 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11587 wxRadioBox
*result
;
11588 bool temp3
= False
;
11591 bool temp6
= False
;
11592 bool temp10
= False
;
11593 PyObject
* obj0
= 0 ;
11594 PyObject
* obj1
= 0 ;
11595 PyObject
* obj2
= 0 ;
11596 PyObject
* obj3
= 0 ;
11597 PyObject
* obj4
= 0 ;
11598 PyObject
* obj5
= 0 ;
11599 PyObject
* obj6
= 0 ;
11600 PyObject
* obj7
= 0 ;
11601 PyObject
* obj8
= 0 ;
11602 PyObject
* obj9
= 0 ;
11603 char *kwnames
[] = {
11604 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11610 arg2
= (int) SWIG_AsInt(obj1
);
11611 if (PyErr_Occurred()) SWIG_fail
;
11613 arg3
= wxString_in_helper(obj2
);
11614 if (arg3
== NULL
) SWIG_fail
;
11620 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11626 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11631 if (! PySequence_Check(obj5
)) {
11632 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11635 arg6
= new wxArrayString
;
11637 int i
, len
=PySequence_Length(obj5
);
11638 for (i
=0; i
<len
; i
++) {
11639 PyObject
* item
= PySequence_GetItem(obj5
, i
);
11641 PyObject
* str
= PyObject_Unicode(item
);
11643 PyObject
* str
= PyObject_Str(item
);
11645 if (PyErr_Occurred()) SWIG_fail
;
11646 arg6
->Add(Py2wxString(str
));
11653 arg7
= (int) SWIG_AsInt(obj6
);
11654 if (PyErr_Occurred()) SWIG_fail
;
11657 arg8
= (long) SWIG_AsLong(obj7
);
11658 if (PyErr_Occurred()) SWIG_fail
;
11661 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
11662 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11664 if (arg9
== NULL
) {
11665 PyErr_SetString(PyExc_TypeError
,"null reference");
11671 arg10
= wxString_in_helper(obj9
);
11672 if (arg10
== NULL
) SWIG_fail
;
11677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11678 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
);
11680 wxPyEndAllowThreads(__tstate
);
11681 if (PyErr_Occurred()) SWIG_fail
;
11683 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11689 if (temp6
) delete arg6
;
11702 if (temp6
) delete arg6
;
11712 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11713 PyObject
*resultobj
;
11714 wxRadioBox
*result
;
11715 char *kwnames
[] = {
11719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
11721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11722 result
= (wxRadioBox
*)new wxRadioBox();
11724 wxPyEndAllowThreads(__tstate
);
11725 if (PyErr_Occurred()) SWIG_fail
;
11727 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11734 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11735 PyObject
*resultobj
;
11736 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11737 wxWindow
*arg2
= (wxWindow
*) 0 ;
11739 wxString
*arg4
= 0 ;
11740 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11741 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11742 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11743 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11744 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
11745 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
11746 int arg8
= (int) 0 ;
11747 long arg9
= (long) wxRA_HORIZONTAL
;
11748 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11749 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11750 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
11751 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11753 bool temp4
= False
;
11756 bool temp7
= False
;
11757 bool temp11
= False
;
11758 PyObject
* obj0
= 0 ;
11759 PyObject
* obj1
= 0 ;
11760 PyObject
* obj2
= 0 ;
11761 PyObject
* obj3
= 0 ;
11762 PyObject
* obj4
= 0 ;
11763 PyObject
* obj5
= 0 ;
11764 PyObject
* obj6
= 0 ;
11765 PyObject
* obj7
= 0 ;
11766 PyObject
* obj8
= 0 ;
11767 PyObject
* obj9
= 0 ;
11768 PyObject
* obj10
= 0 ;
11769 char *kwnames
[] = {
11770 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11776 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11778 arg3
= (int) SWIG_AsInt(obj2
);
11779 if (PyErr_Occurred()) SWIG_fail
;
11781 arg4
= wxString_in_helper(obj3
);
11782 if (arg4
== NULL
) SWIG_fail
;
11788 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11794 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11799 if (! PySequence_Check(obj6
)) {
11800 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11803 arg7
= new wxArrayString
;
11805 int i
, len
=PySequence_Length(obj6
);
11806 for (i
=0; i
<len
; i
++) {
11807 PyObject
* item
= PySequence_GetItem(obj6
, i
);
11809 PyObject
* str
= PyObject_Unicode(item
);
11811 PyObject
* str
= PyObject_Str(item
);
11813 if (PyErr_Occurred()) SWIG_fail
;
11814 arg7
->Add(Py2wxString(str
));
11821 arg8
= (int) SWIG_AsInt(obj7
);
11822 if (PyErr_Occurred()) SWIG_fail
;
11825 arg9
= (long) SWIG_AsLong(obj8
);
11826 if (PyErr_Occurred()) SWIG_fail
;
11829 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
11830 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11832 if (arg10
== NULL
) {
11833 PyErr_SetString(PyExc_TypeError
,"null reference");
11839 arg11
= wxString_in_helper(obj10
);
11840 if (arg11
== NULL
) SWIG_fail
;
11845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11846 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
);
11848 wxPyEndAllowThreads(__tstate
);
11849 if (PyErr_Occurred()) SWIG_fail
;
11852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11859 if (temp7
) delete arg7
;
11872 if (temp7
) delete arg7
;
11882 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11883 PyObject
*resultobj
;
11884 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11886 PyObject
* obj0
= 0 ;
11887 PyObject
* obj1
= 0 ;
11888 char *kwnames
[] = {
11889 (char *) "self",(char *) "n", NULL
11892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11895 arg2
= (int) SWIG_AsInt(obj1
);
11896 if (PyErr_Occurred()) SWIG_fail
;
11898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11899 (arg1
)->SetSelection(arg2
);
11901 wxPyEndAllowThreads(__tstate
);
11902 if (PyErr_Occurred()) SWIG_fail
;
11904 Py_INCREF(Py_None
); resultobj
= Py_None
;
11911 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11912 PyObject
*resultobj
;
11913 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11915 PyObject
* obj0
= 0 ;
11916 char *kwnames
[] = {
11917 (char *) "self", NULL
11920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
11921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11925 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
11927 wxPyEndAllowThreads(__tstate
);
11928 if (PyErr_Occurred()) SWIG_fail
;
11930 resultobj
= SWIG_FromInt((int)result
);
11937 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11938 PyObject
*resultobj
;
11939 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11941 PyObject
* obj0
= 0 ;
11942 char *kwnames
[] = {
11943 (char *) "self", NULL
11946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
11947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11951 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
11953 wxPyEndAllowThreads(__tstate
);
11954 if (PyErr_Occurred()) SWIG_fail
;
11958 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11960 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11969 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11970 PyObject
*resultobj
;
11971 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11972 wxString
*arg2
= 0 ;
11974 bool temp2
= False
;
11975 PyObject
* obj0
= 0 ;
11976 PyObject
* obj1
= 0 ;
11977 char *kwnames
[] = {
11978 (char *) "self",(char *) "s", NULL
11981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11985 arg2
= wxString_in_helper(obj1
);
11986 if (arg2
== NULL
) SWIG_fail
;
11990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11991 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
11993 wxPyEndAllowThreads(__tstate
);
11994 if (PyErr_Occurred()) SWIG_fail
;
11997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12013 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12014 PyObject
*resultobj
;
12015 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12017 PyObject
* obj0
= 0 ;
12018 char *kwnames
[] = {
12019 (char *) "self", NULL
12022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
12023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12027 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
12029 wxPyEndAllowThreads(__tstate
);
12030 if (PyErr_Occurred()) SWIG_fail
;
12032 resultobj
= SWIG_FromInt((int)result
);
12039 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12040 PyObject
*resultobj
;
12041 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12042 wxString
*arg2
= 0 ;
12044 bool temp2
= False
;
12045 PyObject
* obj0
= 0 ;
12046 PyObject
* obj1
= 0 ;
12047 char *kwnames
[] = {
12048 (char *) "self",(char *) "s", NULL
12051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
12052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12055 arg2
= wxString_in_helper(obj1
);
12056 if (arg2
== NULL
) SWIG_fail
;
12060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12061 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
12063 wxPyEndAllowThreads(__tstate
);
12064 if (PyErr_Occurred()) SWIG_fail
;
12066 resultobj
= SWIG_FromInt((int)result
);
12081 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12082 PyObject
*resultobj
;
12083 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12086 PyObject
* obj0
= 0 ;
12087 PyObject
* obj1
= 0 ;
12088 char *kwnames
[] = {
12089 (char *) "self",(char *) "n", NULL
12092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12095 arg2
= (int) SWIG_AsInt(obj1
);
12096 if (PyErr_Occurred()) SWIG_fail
;
12098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12099 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
12101 wxPyEndAllowThreads(__tstate
);
12102 if (PyErr_Occurred()) SWIG_fail
;
12106 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12108 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12117 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12118 PyObject
*resultobj
;
12119 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12121 wxString
*arg3
= 0 ;
12122 bool temp3
= False
;
12123 PyObject
* obj0
= 0 ;
12124 PyObject
* obj1
= 0 ;
12125 PyObject
* obj2
= 0 ;
12126 char *kwnames
[] = {
12127 (char *) "self",(char *) "n",(char *) "label", NULL
12130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12133 arg2
= (int) SWIG_AsInt(obj1
);
12134 if (PyErr_Occurred()) SWIG_fail
;
12136 arg3
= wxString_in_helper(obj2
);
12137 if (arg3
== NULL
) SWIG_fail
;
12141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12142 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
12144 wxPyEndAllowThreads(__tstate
);
12145 if (PyErr_Occurred()) SWIG_fail
;
12147 Py_INCREF(Py_None
); resultobj
= Py_None
;
12162 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12163 PyObject
*resultobj
;
12164 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12166 bool arg3
= (bool) True
;
12167 PyObject
* obj0
= 0 ;
12168 PyObject
* obj1
= 0 ;
12169 PyObject
* obj2
= 0 ;
12170 char *kwnames
[] = {
12171 (char *) "self",(char *) "n",(char *) "enable", NULL
12174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12177 arg2
= (int) SWIG_AsInt(obj1
);
12178 if (PyErr_Occurred()) SWIG_fail
;
12180 arg3
= (bool) SWIG_AsBool(obj2
);
12181 if (PyErr_Occurred()) SWIG_fail
;
12184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12185 (arg1
)->Enable(arg2
,arg3
);
12187 wxPyEndAllowThreads(__tstate
);
12188 if (PyErr_Occurred()) SWIG_fail
;
12190 Py_INCREF(Py_None
); resultobj
= Py_None
;
12197 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12198 PyObject
*resultobj
;
12199 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12201 bool arg3
= (bool) True
;
12202 PyObject
* obj0
= 0 ;
12203 PyObject
* obj1
= 0 ;
12204 PyObject
* obj2
= 0 ;
12205 char *kwnames
[] = {
12206 (char *) "self",(char *) "n",(char *) "show", NULL
12209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12212 arg2
= (int) SWIG_AsInt(obj1
);
12213 if (PyErr_Occurred()) SWIG_fail
;
12215 arg3
= (bool) SWIG_AsBool(obj2
);
12216 if (PyErr_Occurred()) SWIG_fail
;
12219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12220 (arg1
)->Show(arg2
,arg3
);
12222 wxPyEndAllowThreads(__tstate
);
12223 if (PyErr_Occurred()) SWIG_fail
;
12225 Py_INCREF(Py_None
); resultobj
= Py_None
;
12232 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12233 PyObject
*resultobj
;
12234 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12236 PyObject
* obj0
= 0 ;
12237 char *kwnames
[] = {
12238 (char *) "self", NULL
12241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
12242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12246 result
= (int)wxRadioBox_GetColumnCount((wxRadioBox
const *)arg1
);
12248 wxPyEndAllowThreads(__tstate
);
12249 if (PyErr_Occurred()) SWIG_fail
;
12251 resultobj
= SWIG_FromInt((int)result
);
12258 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12259 PyObject
*resultobj
;
12260 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12262 PyObject
* obj0
= 0 ;
12263 char *kwnames
[] = {
12264 (char *) "self", NULL
12267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
12268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12272 result
= (int)wxRadioBox_GetRowCount((wxRadioBox
const *)arg1
);
12274 wxPyEndAllowThreads(__tstate
);
12275 if (PyErr_Occurred()) SWIG_fail
;
12277 resultobj
= SWIG_FromInt((int)result
);
12284 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12285 PyObject
*resultobj
;
12286 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12291 PyObject
* obj0
= 0 ;
12292 PyObject
* obj1
= 0 ;
12293 PyObject
* obj2
= 0 ;
12294 PyObject
* obj3
= 0 ;
12295 char *kwnames
[] = {
12296 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
12299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12302 arg2
= (int) SWIG_AsInt(obj1
);
12303 if (PyErr_Occurred()) SWIG_fail
;
12304 arg3
= (wxDirection
) SWIG_AsInt(obj2
);
12305 if (PyErr_Occurred()) SWIG_fail
;
12306 arg4
= (long) SWIG_AsLong(obj3
);
12307 if (PyErr_Occurred()) SWIG_fail
;
12309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12310 result
= (int)wxRadioBox_GetNextItem((wxRadioBox
const *)arg1
,arg2
,(wxDirection
)arg3
,arg4
);
12312 wxPyEndAllowThreads(__tstate
);
12313 if (PyErr_Occurred()) SWIG_fail
;
12315 resultobj
= SWIG_FromInt((int)result
);
12322 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12323 PyObject
*resultobj
;
12324 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12325 wxVisualAttributes result
;
12326 PyObject
* obj0
= 0 ;
12327 char *kwnames
[] = {
12328 (char *) "variant", NULL
12331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12333 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
12334 if (PyErr_Occurred()) SWIG_fail
;
12337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12338 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12340 wxPyEndAllowThreads(__tstate
);
12341 if (PyErr_Occurred()) SWIG_fail
;
12344 wxVisualAttributes
* resultptr
;
12345 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12346 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12354 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
12356 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12357 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
12359 return Py_BuildValue((char *)"");
12361 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12362 PyObject
*resultobj
;
12363 wxWindow
*arg1
= (wxWindow
*) 0 ;
12365 wxString
*arg3
= 0 ;
12366 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12367 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12368 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12369 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12370 long arg6
= (long) 0 ;
12371 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12372 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12373 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
12374 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12375 wxRadioButton
*result
;
12376 bool temp3
= False
;
12379 bool temp8
= False
;
12380 PyObject
* obj0
= 0 ;
12381 PyObject
* obj1
= 0 ;
12382 PyObject
* obj2
= 0 ;
12383 PyObject
* obj3
= 0 ;
12384 PyObject
* obj4
= 0 ;
12385 PyObject
* obj5
= 0 ;
12386 PyObject
* obj6
= 0 ;
12387 PyObject
* obj7
= 0 ;
12388 char *kwnames
[] = {
12389 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12395 arg2
= (int) SWIG_AsInt(obj1
);
12396 if (PyErr_Occurred()) SWIG_fail
;
12398 arg3
= wxString_in_helper(obj2
);
12399 if (arg3
== NULL
) SWIG_fail
;
12405 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12411 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12415 arg6
= (long) SWIG_AsLong(obj5
);
12416 if (PyErr_Occurred()) SWIG_fail
;
12419 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
12420 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12422 if (arg7
== NULL
) {
12423 PyErr_SetString(PyExc_TypeError
,"null reference");
12429 arg8
= wxString_in_helper(obj7
);
12430 if (arg8
== NULL
) SWIG_fail
;
12435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12436 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12438 wxPyEndAllowThreads(__tstate
);
12439 if (PyErr_Occurred()) SWIG_fail
;
12441 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12464 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12465 PyObject
*resultobj
;
12466 wxRadioButton
*result
;
12467 char *kwnames
[] = {
12471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
12473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12474 result
= (wxRadioButton
*)new wxRadioButton();
12476 wxPyEndAllowThreads(__tstate
);
12477 if (PyErr_Occurred()) SWIG_fail
;
12479 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12486 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12487 PyObject
*resultobj
;
12488 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12489 wxWindow
*arg2
= (wxWindow
*) 0 ;
12491 wxString
*arg4
= 0 ;
12492 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12493 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12494 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12495 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12496 long arg7
= (long) 0 ;
12497 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
12498 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
12499 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
12500 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
12502 bool temp4
= False
;
12505 bool temp9
= False
;
12506 PyObject
* obj0
= 0 ;
12507 PyObject
* obj1
= 0 ;
12508 PyObject
* obj2
= 0 ;
12509 PyObject
* obj3
= 0 ;
12510 PyObject
* obj4
= 0 ;
12511 PyObject
* obj5
= 0 ;
12512 PyObject
* obj6
= 0 ;
12513 PyObject
* obj7
= 0 ;
12514 PyObject
* obj8
= 0 ;
12515 char *kwnames
[] = {
12516 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
12520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12522 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12524 arg3
= (int) SWIG_AsInt(obj2
);
12525 if (PyErr_Occurred()) SWIG_fail
;
12527 arg4
= wxString_in_helper(obj3
);
12528 if (arg4
== NULL
) SWIG_fail
;
12534 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12540 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12544 arg7
= (long) SWIG_AsLong(obj6
);
12545 if (PyErr_Occurred()) SWIG_fail
;
12548 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
12549 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12551 if (arg8
== NULL
) {
12552 PyErr_SetString(PyExc_TypeError
,"null reference");
12558 arg9
= wxString_in_helper(obj8
);
12559 if (arg9
== NULL
) SWIG_fail
;
12564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12565 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
12567 wxPyEndAllowThreads(__tstate
);
12568 if (PyErr_Occurred()) SWIG_fail
;
12571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12595 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12596 PyObject
*resultobj
;
12597 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12599 PyObject
* obj0
= 0 ;
12600 char *kwnames
[] = {
12601 (char *) "self", NULL
12604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
12605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12609 result
= (bool)(arg1
)->GetValue();
12611 wxPyEndAllowThreads(__tstate
);
12612 if (PyErr_Occurred()) SWIG_fail
;
12615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12623 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12624 PyObject
*resultobj
;
12625 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12627 PyObject
* obj0
= 0 ;
12628 PyObject
* obj1
= 0 ;
12629 char *kwnames
[] = {
12630 (char *) "self",(char *) "value", NULL
12633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12636 arg2
= (bool) SWIG_AsBool(obj1
);
12637 if (PyErr_Occurred()) SWIG_fail
;
12639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12640 (arg1
)->SetValue(arg2
);
12642 wxPyEndAllowThreads(__tstate
);
12643 if (PyErr_Occurred()) SWIG_fail
;
12645 Py_INCREF(Py_None
); resultobj
= Py_None
;
12652 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12653 PyObject
*resultobj
;
12654 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12655 wxVisualAttributes result
;
12656 PyObject
* obj0
= 0 ;
12657 char *kwnames
[] = {
12658 (char *) "variant", NULL
12661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12663 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
12664 if (PyErr_Occurred()) SWIG_fail
;
12667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12668 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12670 wxPyEndAllowThreads(__tstate
);
12671 if (PyErr_Occurred()) SWIG_fail
;
12674 wxVisualAttributes
* resultptr
;
12675 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12676 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12684 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
12686 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12687 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
12689 return Py_BuildValue((char *)"");
12691 static int _wrap_SliderNameStr_set(PyObject
*_val
) {
12692 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
12697 static PyObject
*_wrap_SliderNameStr_get() {
12702 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12704 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12711 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12712 PyObject
*resultobj
;
12713 wxWindow
*arg1
= (wxWindow
*) 0 ;
12718 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12719 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12720 wxSize
const &arg7_defvalue
= wxDefaultSize
;
12721 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
12722 long arg8
= (long) wxSL_HORIZONTAL
;
12723 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
12724 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
12725 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
12726 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12730 bool temp10
= False
;
12731 PyObject
* obj0
= 0 ;
12732 PyObject
* obj1
= 0 ;
12733 PyObject
* obj2
= 0 ;
12734 PyObject
* obj3
= 0 ;
12735 PyObject
* obj4
= 0 ;
12736 PyObject
* obj5
= 0 ;
12737 PyObject
* obj6
= 0 ;
12738 PyObject
* obj7
= 0 ;
12739 PyObject
* obj8
= 0 ;
12740 PyObject
* obj9
= 0 ;
12741 char *kwnames
[] = {
12742 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12748 arg2
= (int) SWIG_AsInt(obj1
);
12749 if (PyErr_Occurred()) SWIG_fail
;
12750 arg3
= (int) SWIG_AsInt(obj2
);
12751 if (PyErr_Occurred()) SWIG_fail
;
12752 arg4
= (int) SWIG_AsInt(obj3
);
12753 if (PyErr_Occurred()) SWIG_fail
;
12754 arg5
= (int) SWIG_AsInt(obj4
);
12755 if (PyErr_Occurred()) SWIG_fail
;
12759 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12765 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
12769 arg8
= (long) SWIG_AsLong(obj7
);
12770 if (PyErr_Occurred()) SWIG_fail
;
12773 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
12774 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12776 if (arg9
== NULL
) {
12777 PyErr_SetString(PyExc_TypeError
,"null reference");
12783 arg10
= wxString_in_helper(obj9
);
12784 if (arg10
== NULL
) SWIG_fail
;
12789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12790 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
12792 wxPyEndAllowThreads(__tstate
);
12793 if (PyErr_Occurred()) SWIG_fail
;
12795 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12810 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12811 PyObject
*resultobj
;
12813 char *kwnames
[] = {
12817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
12819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12820 result
= (wxSlider
*)new wxSlider();
12822 wxPyEndAllowThreads(__tstate
);
12823 if (PyErr_Occurred()) SWIG_fail
;
12825 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12832 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12833 PyObject
*resultobj
;
12834 wxSlider
*arg1
= (wxSlider
*) 0 ;
12835 wxWindow
*arg2
= (wxWindow
*) 0 ;
12840 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12841 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12842 wxSize
const &arg8_defvalue
= wxDefaultSize
;
12843 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
12844 long arg9
= (long) wxSL_HORIZONTAL
;
12845 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
12846 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
12847 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
12848 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12852 bool temp11
= False
;
12853 PyObject
* obj0
= 0 ;
12854 PyObject
* obj1
= 0 ;
12855 PyObject
* obj2
= 0 ;
12856 PyObject
* obj3
= 0 ;
12857 PyObject
* obj4
= 0 ;
12858 PyObject
* obj5
= 0 ;
12859 PyObject
* obj6
= 0 ;
12860 PyObject
* obj7
= 0 ;
12861 PyObject
* obj8
= 0 ;
12862 PyObject
* obj9
= 0 ;
12863 PyObject
* obj10
= 0 ;
12864 char *kwnames
[] = {
12865 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12871 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12873 arg3
= (int) SWIG_AsInt(obj2
);
12874 if (PyErr_Occurred()) SWIG_fail
;
12875 arg4
= (int) SWIG_AsInt(obj3
);
12876 if (PyErr_Occurred()) SWIG_fail
;
12877 arg5
= (int) SWIG_AsInt(obj4
);
12878 if (PyErr_Occurred()) SWIG_fail
;
12879 arg6
= (int) SWIG_AsInt(obj5
);
12880 if (PyErr_Occurred()) SWIG_fail
;
12884 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12890 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
12894 arg9
= (long) SWIG_AsLong(obj8
);
12895 if (PyErr_Occurred()) SWIG_fail
;
12898 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
12899 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12901 if (arg10
== NULL
) {
12902 PyErr_SetString(PyExc_TypeError
,"null reference");
12908 arg11
= wxString_in_helper(obj10
);
12909 if (arg11
== NULL
) SWIG_fail
;
12914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12915 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
12917 wxPyEndAllowThreads(__tstate
);
12918 if (PyErr_Occurred()) SWIG_fail
;
12921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12937 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12938 PyObject
*resultobj
;
12939 wxSlider
*arg1
= (wxSlider
*) 0 ;
12941 PyObject
* obj0
= 0 ;
12942 char *kwnames
[] = {
12943 (char *) "self", NULL
12946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
12947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12951 result
= (int)((wxSlider
const *)arg1
)->GetValue();
12953 wxPyEndAllowThreads(__tstate
);
12954 if (PyErr_Occurred()) SWIG_fail
;
12956 resultobj
= SWIG_FromInt((int)result
);
12963 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12964 PyObject
*resultobj
;
12965 wxSlider
*arg1
= (wxSlider
*) 0 ;
12967 PyObject
* obj0
= 0 ;
12968 PyObject
* obj1
= 0 ;
12969 char *kwnames
[] = {
12970 (char *) "self",(char *) "value", NULL
12973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12976 arg2
= (int) SWIG_AsInt(obj1
);
12977 if (PyErr_Occurred()) SWIG_fail
;
12979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12980 (arg1
)->SetValue(arg2
);
12982 wxPyEndAllowThreads(__tstate
);
12983 if (PyErr_Occurred()) SWIG_fail
;
12985 Py_INCREF(Py_None
); resultobj
= Py_None
;
12992 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12993 PyObject
*resultobj
;
12994 wxSlider
*arg1
= (wxSlider
*) 0 ;
12997 PyObject
* obj0
= 0 ;
12998 PyObject
* obj1
= 0 ;
12999 PyObject
* obj2
= 0 ;
13000 char *kwnames
[] = {
13001 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
13004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13007 arg2
= (int) SWIG_AsInt(obj1
);
13008 if (PyErr_Occurred()) SWIG_fail
;
13009 arg3
= (int) SWIG_AsInt(obj2
);
13010 if (PyErr_Occurred()) SWIG_fail
;
13012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13013 (arg1
)->SetRange(arg2
,arg3
);
13015 wxPyEndAllowThreads(__tstate
);
13016 if (PyErr_Occurred()) SWIG_fail
;
13018 Py_INCREF(Py_None
); resultobj
= Py_None
;
13025 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13026 PyObject
*resultobj
;
13027 wxSlider
*arg1
= (wxSlider
*) 0 ;
13029 PyObject
* obj0
= 0 ;
13030 char *kwnames
[] = {
13031 (char *) "self", NULL
13034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
13035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13039 result
= (int)((wxSlider
const *)arg1
)->GetMin();
13041 wxPyEndAllowThreads(__tstate
);
13042 if (PyErr_Occurred()) SWIG_fail
;
13044 resultobj
= SWIG_FromInt((int)result
);
13051 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13052 PyObject
*resultobj
;
13053 wxSlider
*arg1
= (wxSlider
*) 0 ;
13055 PyObject
* obj0
= 0 ;
13056 char *kwnames
[] = {
13057 (char *) "self", NULL
13060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
13061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13065 result
= (int)((wxSlider
const *)arg1
)->GetMax();
13067 wxPyEndAllowThreads(__tstate
);
13068 if (PyErr_Occurred()) SWIG_fail
;
13070 resultobj
= SWIG_FromInt((int)result
);
13077 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13078 PyObject
*resultobj
;
13079 wxSlider
*arg1
= (wxSlider
*) 0 ;
13081 PyObject
* obj0
= 0 ;
13082 PyObject
* obj1
= 0 ;
13083 char *kwnames
[] = {
13084 (char *) "self",(char *) "minValue", NULL
13087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
13088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13090 arg2
= (int) SWIG_AsInt(obj1
);
13091 if (PyErr_Occurred()) SWIG_fail
;
13093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13094 (arg1
)->SetMin(arg2
);
13096 wxPyEndAllowThreads(__tstate
);
13097 if (PyErr_Occurred()) SWIG_fail
;
13099 Py_INCREF(Py_None
); resultobj
= Py_None
;
13106 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13107 PyObject
*resultobj
;
13108 wxSlider
*arg1
= (wxSlider
*) 0 ;
13110 PyObject
* obj0
= 0 ;
13111 PyObject
* obj1
= 0 ;
13112 char *kwnames
[] = {
13113 (char *) "self",(char *) "maxValue", NULL
13116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
13117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13119 arg2
= (int) SWIG_AsInt(obj1
);
13120 if (PyErr_Occurred()) SWIG_fail
;
13122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13123 (arg1
)->SetMax(arg2
);
13125 wxPyEndAllowThreads(__tstate
);
13126 if (PyErr_Occurred()) SWIG_fail
;
13128 Py_INCREF(Py_None
); resultobj
= Py_None
;
13135 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13136 PyObject
*resultobj
;
13137 wxSlider
*arg1
= (wxSlider
*) 0 ;
13139 PyObject
* obj0
= 0 ;
13140 PyObject
* obj1
= 0 ;
13141 char *kwnames
[] = {
13142 (char *) "self",(char *) "lineSize", NULL
13145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13148 arg2
= (int) SWIG_AsInt(obj1
);
13149 if (PyErr_Occurred()) SWIG_fail
;
13151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13152 (arg1
)->SetLineSize(arg2
);
13154 wxPyEndAllowThreads(__tstate
);
13155 if (PyErr_Occurred()) SWIG_fail
;
13157 Py_INCREF(Py_None
); resultobj
= Py_None
;
13164 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13165 PyObject
*resultobj
;
13166 wxSlider
*arg1
= (wxSlider
*) 0 ;
13168 PyObject
* obj0
= 0 ;
13169 PyObject
* obj1
= 0 ;
13170 char *kwnames
[] = {
13171 (char *) "self",(char *) "pageSize", NULL
13174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13177 arg2
= (int) SWIG_AsInt(obj1
);
13178 if (PyErr_Occurred()) SWIG_fail
;
13180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13181 (arg1
)->SetPageSize(arg2
);
13183 wxPyEndAllowThreads(__tstate
);
13184 if (PyErr_Occurred()) SWIG_fail
;
13186 Py_INCREF(Py_None
); resultobj
= Py_None
;
13193 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13194 PyObject
*resultobj
;
13195 wxSlider
*arg1
= (wxSlider
*) 0 ;
13197 PyObject
* obj0
= 0 ;
13198 char *kwnames
[] = {
13199 (char *) "self", NULL
13202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
13203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13207 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
13209 wxPyEndAllowThreads(__tstate
);
13210 if (PyErr_Occurred()) SWIG_fail
;
13212 resultobj
= SWIG_FromInt((int)result
);
13219 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13220 PyObject
*resultobj
;
13221 wxSlider
*arg1
= (wxSlider
*) 0 ;
13223 PyObject
* obj0
= 0 ;
13224 char *kwnames
[] = {
13225 (char *) "self", NULL
13228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
13229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13233 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
13235 wxPyEndAllowThreads(__tstate
);
13236 if (PyErr_Occurred()) SWIG_fail
;
13238 resultobj
= SWIG_FromInt((int)result
);
13245 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13246 PyObject
*resultobj
;
13247 wxSlider
*arg1
= (wxSlider
*) 0 ;
13249 PyObject
* obj0
= 0 ;
13250 PyObject
* obj1
= 0 ;
13251 char *kwnames
[] = {
13252 (char *) "self",(char *) "lenPixels", NULL
13255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
13256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13258 arg2
= (int) SWIG_AsInt(obj1
);
13259 if (PyErr_Occurred()) SWIG_fail
;
13261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13262 (arg1
)->SetThumbLength(arg2
);
13264 wxPyEndAllowThreads(__tstate
);
13265 if (PyErr_Occurred()) SWIG_fail
;
13267 Py_INCREF(Py_None
); resultobj
= Py_None
;
13274 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13275 PyObject
*resultobj
;
13276 wxSlider
*arg1
= (wxSlider
*) 0 ;
13278 PyObject
* obj0
= 0 ;
13279 char *kwnames
[] = {
13280 (char *) "self", NULL
13283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
13284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13288 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
13290 wxPyEndAllowThreads(__tstate
);
13291 if (PyErr_Occurred()) SWIG_fail
;
13293 resultobj
= SWIG_FromInt((int)result
);
13300 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13301 PyObject
*resultobj
;
13302 wxSlider
*arg1
= (wxSlider
*) 0 ;
13304 int arg3
= (int) 1 ;
13305 PyObject
* obj0
= 0 ;
13306 PyObject
* obj1
= 0 ;
13307 PyObject
* obj2
= 0 ;
13308 char *kwnames
[] = {
13309 (char *) "self",(char *) "n",(char *) "pos", NULL
13312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13315 arg2
= (int) SWIG_AsInt(obj1
);
13316 if (PyErr_Occurred()) SWIG_fail
;
13318 arg3
= (int) SWIG_AsInt(obj2
);
13319 if (PyErr_Occurred()) SWIG_fail
;
13322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13323 (arg1
)->SetTickFreq(arg2
,arg3
);
13325 wxPyEndAllowThreads(__tstate
);
13326 if (PyErr_Occurred()) SWIG_fail
;
13328 Py_INCREF(Py_None
); resultobj
= Py_None
;
13335 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13336 PyObject
*resultobj
;
13337 wxSlider
*arg1
= (wxSlider
*) 0 ;
13339 PyObject
* obj0
= 0 ;
13340 char *kwnames
[] = {
13341 (char *) "self", NULL
13344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
13345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13349 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
13351 wxPyEndAllowThreads(__tstate
);
13352 if (PyErr_Occurred()) SWIG_fail
;
13354 resultobj
= SWIG_FromInt((int)result
);
13361 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13362 PyObject
*resultobj
;
13363 wxSlider
*arg1
= (wxSlider
*) 0 ;
13364 PyObject
* obj0
= 0 ;
13365 char *kwnames
[] = {
13366 (char *) "self", NULL
13369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
13370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13374 (arg1
)->ClearTicks();
13376 wxPyEndAllowThreads(__tstate
);
13377 if (PyErr_Occurred()) SWIG_fail
;
13379 Py_INCREF(Py_None
); resultobj
= Py_None
;
13386 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13387 PyObject
*resultobj
;
13388 wxSlider
*arg1
= (wxSlider
*) 0 ;
13390 PyObject
* obj0
= 0 ;
13391 PyObject
* obj1
= 0 ;
13392 char *kwnames
[] = {
13393 (char *) "self",(char *) "tickPos", NULL
13396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
13397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13399 arg2
= (int) SWIG_AsInt(obj1
);
13400 if (PyErr_Occurred()) SWIG_fail
;
13402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13403 (arg1
)->SetTick(arg2
);
13405 wxPyEndAllowThreads(__tstate
);
13406 if (PyErr_Occurred()) SWIG_fail
;
13408 Py_INCREF(Py_None
); resultobj
= Py_None
;
13415 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13416 PyObject
*resultobj
;
13417 wxSlider
*arg1
= (wxSlider
*) 0 ;
13418 PyObject
* obj0
= 0 ;
13419 char *kwnames
[] = {
13420 (char *) "self", NULL
13423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
13424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13428 (arg1
)->ClearSel();
13430 wxPyEndAllowThreads(__tstate
);
13431 if (PyErr_Occurred()) SWIG_fail
;
13433 Py_INCREF(Py_None
); resultobj
= Py_None
;
13440 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13441 PyObject
*resultobj
;
13442 wxSlider
*arg1
= (wxSlider
*) 0 ;
13444 PyObject
* obj0
= 0 ;
13445 char *kwnames
[] = {
13446 (char *) "self", NULL
13449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
13450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13454 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
13456 wxPyEndAllowThreads(__tstate
);
13457 if (PyErr_Occurred()) SWIG_fail
;
13459 resultobj
= SWIG_FromInt((int)result
);
13466 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13467 PyObject
*resultobj
;
13468 wxSlider
*arg1
= (wxSlider
*) 0 ;
13470 PyObject
* obj0
= 0 ;
13471 char *kwnames
[] = {
13472 (char *) "self", NULL
13475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
13476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13480 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
13482 wxPyEndAllowThreads(__tstate
);
13483 if (PyErr_Occurred()) SWIG_fail
;
13485 resultobj
= SWIG_FromInt((int)result
);
13492 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13493 PyObject
*resultobj
;
13494 wxSlider
*arg1
= (wxSlider
*) 0 ;
13497 PyObject
* obj0
= 0 ;
13498 PyObject
* obj1
= 0 ;
13499 PyObject
* obj2
= 0 ;
13500 char *kwnames
[] = {
13501 (char *) "self",(char *) "min",(char *) "max", NULL
13504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13507 arg2
= (int) SWIG_AsInt(obj1
);
13508 if (PyErr_Occurred()) SWIG_fail
;
13509 arg3
= (int) SWIG_AsInt(obj2
);
13510 if (PyErr_Occurred()) SWIG_fail
;
13512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13513 (arg1
)->SetSelection(arg2
,arg3
);
13515 wxPyEndAllowThreads(__tstate
);
13516 if (PyErr_Occurred()) SWIG_fail
;
13518 Py_INCREF(Py_None
); resultobj
= Py_None
;
13525 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13526 PyObject
*resultobj
;
13527 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
13528 wxVisualAttributes result
;
13529 PyObject
* obj0
= 0 ;
13530 char *kwnames
[] = {
13531 (char *) "variant", NULL
13534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13536 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
13537 if (PyErr_Occurred()) SWIG_fail
;
13540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13541 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13543 wxPyEndAllowThreads(__tstate
);
13544 if (PyErr_Occurred()) SWIG_fail
;
13547 wxVisualAttributes
* resultptr
;
13548 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
13549 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13557 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
13559 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13560 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
13562 return Py_BuildValue((char *)"");
13564 static int _wrap_ToggleButtonNameStr_set(PyObject
*_val
) {
13565 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
13570 static PyObject
*_wrap_ToggleButtonNameStr_get() {
13575 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13577 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13584 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13585 PyObject
*resultobj
;
13586 wxWindow
*arg1
= (wxWindow
*) 0 ;
13588 wxString
*arg3
= 0 ;
13589 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13590 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13591 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13592 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13593 long arg6
= (long) 0 ;
13594 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
13595 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
13596 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
13597 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13598 wxToggleButton
*result
;
13599 bool temp3
= False
;
13602 bool temp8
= False
;
13603 PyObject
* obj0
= 0 ;
13604 PyObject
* obj1
= 0 ;
13605 PyObject
* obj2
= 0 ;
13606 PyObject
* obj3
= 0 ;
13607 PyObject
* obj4
= 0 ;
13608 PyObject
* obj5
= 0 ;
13609 PyObject
* obj6
= 0 ;
13610 PyObject
* obj7
= 0 ;
13611 char *kwnames
[] = {
13612 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
13616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13618 arg2
= (int) SWIG_AsInt(obj1
);
13619 if (PyErr_Occurred()) SWIG_fail
;
13621 arg3
= wxString_in_helper(obj2
);
13622 if (arg3
== NULL
) SWIG_fail
;
13628 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13634 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13638 arg6
= (long) SWIG_AsLong(obj5
);
13639 if (PyErr_Occurred()) SWIG_fail
;
13642 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
13643 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13645 if (arg7
== NULL
) {
13646 PyErr_SetString(PyExc_TypeError
,"null reference");
13652 arg8
= wxString_in_helper(obj7
);
13653 if (arg8
== NULL
) SWIG_fail
;
13658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13659 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
13661 wxPyEndAllowThreads(__tstate
);
13662 if (PyErr_Occurred()) SWIG_fail
;
13664 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13687 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13688 PyObject
*resultobj
;
13689 wxToggleButton
*result
;
13690 char *kwnames
[] = {
13694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
13696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13697 result
= (wxToggleButton
*)new wxToggleButton();
13699 wxPyEndAllowThreads(__tstate
);
13700 if (PyErr_Occurred()) SWIG_fail
;
13702 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13709 static PyObject
*_wrap_ToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13710 PyObject
*resultobj
;
13711 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13712 wxWindow
*arg2
= (wxWindow
*) 0 ;
13714 wxString
*arg4
= 0 ;
13715 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13716 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13717 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13718 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13719 long arg7
= (long) 0 ;
13720 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
13721 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
13722 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
13723 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
13725 bool temp4
= False
;
13728 bool temp9
= False
;
13729 PyObject
* obj0
= 0 ;
13730 PyObject
* obj1
= 0 ;
13731 PyObject
* obj2
= 0 ;
13732 PyObject
* obj3
= 0 ;
13733 PyObject
* obj4
= 0 ;
13734 PyObject
* obj5
= 0 ;
13735 PyObject
* obj6
= 0 ;
13736 PyObject
* obj7
= 0 ;
13737 PyObject
* obj8
= 0 ;
13738 char *kwnames
[] = {
13739 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
13743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13745 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13747 arg3
= (int) SWIG_AsInt(obj2
);
13748 if (PyErr_Occurred()) SWIG_fail
;
13750 arg4
= wxString_in_helper(obj3
);
13751 if (arg4
== NULL
) SWIG_fail
;
13757 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13763 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13767 arg7
= (long) SWIG_AsLong(obj6
);
13768 if (PyErr_Occurred()) SWIG_fail
;
13771 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
13772 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13774 if (arg8
== NULL
) {
13775 PyErr_SetString(PyExc_TypeError
,"null reference");
13781 arg9
= wxString_in_helper(obj8
);
13782 if (arg9
== NULL
) SWIG_fail
;
13787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13788 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
13790 wxPyEndAllowThreads(__tstate
);
13791 if (PyErr_Occurred()) SWIG_fail
;
13794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13818 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13819 PyObject
*resultobj
;
13820 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13822 PyObject
* obj0
= 0 ;
13823 PyObject
* obj1
= 0 ;
13824 char *kwnames
[] = {
13825 (char *) "self",(char *) "value", NULL
13828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13831 arg2
= (bool) SWIG_AsBool(obj1
);
13832 if (PyErr_Occurred()) SWIG_fail
;
13834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13835 (arg1
)->SetValue(arg2
);
13837 wxPyEndAllowThreads(__tstate
);
13838 if (PyErr_Occurred()) SWIG_fail
;
13840 Py_INCREF(Py_None
); resultobj
= Py_None
;
13847 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13848 PyObject
*resultobj
;
13849 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13851 PyObject
* obj0
= 0 ;
13852 char *kwnames
[] = {
13853 (char *) "self", NULL
13856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
13857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13861 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
13863 wxPyEndAllowThreads(__tstate
);
13864 if (PyErr_Occurred()) SWIG_fail
;
13867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13875 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13876 PyObject
*resultobj
;
13877 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13878 wxString
*arg2
= 0 ;
13879 bool temp2
= False
;
13880 PyObject
* obj0
= 0 ;
13881 PyObject
* obj1
= 0 ;
13882 char *kwnames
[] = {
13883 (char *) "self",(char *) "label", NULL
13886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
13887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13890 arg2
= wxString_in_helper(obj1
);
13891 if (arg2
== NULL
) SWIG_fail
;
13895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13896 (arg1
)->SetLabel((wxString
const &)*arg2
);
13898 wxPyEndAllowThreads(__tstate
);
13899 if (PyErr_Occurred()) SWIG_fail
;
13901 Py_INCREF(Py_None
); resultobj
= Py_None
;
13916 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13917 PyObject
*resultobj
;
13918 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
13919 wxVisualAttributes result
;
13920 PyObject
* obj0
= 0 ;
13921 char *kwnames
[] = {
13922 (char *) "variant", NULL
13925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13927 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
13928 if (PyErr_Occurred()) SWIG_fail
;
13931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13932 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13934 wxPyEndAllowThreads(__tstate
);
13935 if (PyErr_Occurred()) SWIG_fail
;
13938 wxVisualAttributes
* resultptr
;
13939 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
13940 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13948 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
13950 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13951 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
13953 return Py_BuildValue((char *)"");
13955 static int _wrap_NOTEBOOK_NAME_set(PyObject
*_val
) {
13956 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
13961 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
13966 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13968 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13975 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13976 PyObject
*resultobj
;
13977 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13979 PyObject
* obj0
= 0 ;
13980 char *kwnames
[] = {
13981 (char *) "self", NULL
13984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
13985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13989 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
13991 wxPyEndAllowThreads(__tstate
);
13992 if (PyErr_Occurred()) SWIG_fail
;
13994 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14001 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14002 PyObject
*resultobj
;
14003 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14006 PyObject
* obj0
= 0 ;
14007 PyObject
* obj1
= 0 ;
14008 char *kwnames
[] = {
14009 (char *) "self",(char *) "n", NULL
14012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14015 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14016 if (PyErr_Occurred()) SWIG_fail
;
14018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14019 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
14021 wxPyEndAllowThreads(__tstate
);
14022 if (PyErr_Occurred()) SWIG_fail
;
14025 resultobj
= wxPyMake_wxObject(result
);
14033 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14034 PyObject
*resultobj
;
14035 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14037 PyObject
* obj0
= 0 ;
14038 char *kwnames
[] = {
14039 (char *) "self", NULL
14042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
14043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14047 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
14049 wxPyEndAllowThreads(__tstate
);
14050 if (PyErr_Occurred()) SWIG_fail
;
14052 resultobj
= SWIG_FromInt((int)result
);
14059 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14060 PyObject
*resultobj
;
14061 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14063 wxString
*arg3
= 0 ;
14065 bool temp3
= False
;
14066 PyObject
* obj0
= 0 ;
14067 PyObject
* obj1
= 0 ;
14068 PyObject
* obj2
= 0 ;
14069 char *kwnames
[] = {
14070 (char *) "self",(char *) "n",(char *) "strText", NULL
14073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14076 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14077 if (PyErr_Occurred()) SWIG_fail
;
14079 arg3
= wxString_in_helper(obj2
);
14080 if (arg3
== NULL
) SWIG_fail
;
14084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14085 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
14087 wxPyEndAllowThreads(__tstate
);
14088 if (PyErr_Occurred()) SWIG_fail
;
14091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14107 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14108 PyObject
*resultobj
;
14109 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14112 PyObject
* obj0
= 0 ;
14113 PyObject
* obj1
= 0 ;
14114 char *kwnames
[] = {
14115 (char *) "self",(char *) "n", NULL
14118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
14119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14121 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14122 if (PyErr_Occurred()) SWIG_fail
;
14124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14125 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
14127 wxPyEndAllowThreads(__tstate
);
14128 if (PyErr_Occurred()) SWIG_fail
;
14132 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14134 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14143 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14144 PyObject
*resultobj
;
14145 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14146 wxImageList
*arg2
= (wxImageList
*) 0 ;
14147 PyObject
* obj0
= 0 ;
14148 PyObject
* obj1
= 0 ;
14149 char *kwnames
[] = {
14150 (char *) "self",(char *) "imageList", NULL
14153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14156 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14160 (arg1
)->SetImageList(arg2
);
14162 wxPyEndAllowThreads(__tstate
);
14163 if (PyErr_Occurred()) SWIG_fail
;
14165 Py_INCREF(Py_None
); resultobj
= Py_None
;
14172 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14173 PyObject
*resultobj
;
14174 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14175 wxImageList
*arg2
= (wxImageList
*) 0 ;
14176 PyObject
* obj0
= 0 ;
14177 PyObject
* obj1
= 0 ;
14178 char *kwnames
[] = {
14179 (char *) "self",(char *) "imageList", NULL
14182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14185 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14186 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
14188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14189 (arg1
)->AssignImageList(arg2
);
14191 wxPyEndAllowThreads(__tstate
);
14192 if (PyErr_Occurred()) SWIG_fail
;
14194 Py_INCREF(Py_None
); resultobj
= Py_None
;
14201 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14202 PyObject
*resultobj
;
14203 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14204 wxImageList
*result
;
14205 PyObject
* obj0
= 0 ;
14206 char *kwnames
[] = {
14207 (char *) "self", NULL
14210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
14211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14215 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
14217 wxPyEndAllowThreads(__tstate
);
14218 if (PyErr_Occurred()) SWIG_fail
;
14221 resultobj
= wxPyMake_wxObject(result
);
14229 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14230 PyObject
*resultobj
;
14231 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14234 PyObject
* obj0
= 0 ;
14235 PyObject
* obj1
= 0 ;
14236 char *kwnames
[] = {
14237 (char *) "self",(char *) "n", NULL
14240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
14241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14243 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14244 if (PyErr_Occurred()) SWIG_fail
;
14246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14247 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
14249 wxPyEndAllowThreads(__tstate
);
14250 if (PyErr_Occurred()) SWIG_fail
;
14252 resultobj
= SWIG_FromInt((int)result
);
14259 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14260 PyObject
*resultobj
;
14261 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14265 PyObject
* obj0
= 0 ;
14266 PyObject
* obj1
= 0 ;
14267 PyObject
* obj2
= 0 ;
14268 char *kwnames
[] = {
14269 (char *) "self",(char *) "n",(char *) "imageId", NULL
14272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14275 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14276 if (PyErr_Occurred()) SWIG_fail
;
14277 arg3
= (int) SWIG_AsInt(obj2
);
14278 if (PyErr_Occurred()) SWIG_fail
;
14280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14281 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
14283 wxPyEndAllowThreads(__tstate
);
14284 if (PyErr_Occurred()) SWIG_fail
;
14287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14295 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14296 PyObject
*resultobj
;
14297 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14300 PyObject
* obj0
= 0 ;
14301 PyObject
* obj1
= 0 ;
14302 char *kwnames
[] = {
14303 (char *) "self",(char *) "size", NULL
14306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14311 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14315 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
14317 wxPyEndAllowThreads(__tstate
);
14318 if (PyErr_Occurred()) SWIG_fail
;
14320 Py_INCREF(Py_None
); resultobj
= Py_None
;
14327 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14328 PyObject
*resultobj
;
14329 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14333 PyObject
* obj0
= 0 ;
14334 PyObject
* obj1
= 0 ;
14335 char *kwnames
[] = {
14336 (char *) "self",(char *) "sizePage", NULL
14339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14344 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14348 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14350 wxPyEndAllowThreads(__tstate
);
14351 if (PyErr_Occurred()) SWIG_fail
;
14354 wxSize
* resultptr
;
14355 resultptr
= new wxSize((wxSize
&) result
);
14356 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14364 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14365 PyObject
*resultobj
;
14366 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14369 PyObject
* obj0
= 0 ;
14370 PyObject
* obj1
= 0 ;
14371 char *kwnames
[] = {
14372 (char *) "self",(char *) "n", NULL
14375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14378 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14379 if (PyErr_Occurred()) SWIG_fail
;
14381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14382 result
= (bool)(arg1
)->DeletePage(arg2
);
14384 wxPyEndAllowThreads(__tstate
);
14385 if (PyErr_Occurred()) SWIG_fail
;
14388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14396 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14397 PyObject
*resultobj
;
14398 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14401 PyObject
* obj0
= 0 ;
14402 PyObject
* obj1
= 0 ;
14403 char *kwnames
[] = {
14404 (char *) "self",(char *) "n", NULL
14407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14410 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14411 if (PyErr_Occurred()) SWIG_fail
;
14413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14414 result
= (bool)(arg1
)->RemovePage(arg2
);
14416 wxPyEndAllowThreads(__tstate
);
14417 if (PyErr_Occurred()) SWIG_fail
;
14420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14428 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14429 PyObject
*resultobj
;
14430 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14432 PyObject
* obj0
= 0 ;
14433 char *kwnames
[] = {
14434 (char *) "self", NULL
14437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
14438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14442 result
= (bool)(arg1
)->DeleteAllPages();
14444 wxPyEndAllowThreads(__tstate
);
14445 if (PyErr_Occurred()) SWIG_fail
;
14448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14456 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14457 PyObject
*resultobj
;
14458 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14459 wxWindow
*arg2
= (wxWindow
*) 0 ;
14460 wxString
*arg3
= 0 ;
14461 bool arg4
= (bool) False
;
14462 int arg5
= (int) -1 ;
14464 bool temp3
= False
;
14465 PyObject
* obj0
= 0 ;
14466 PyObject
* obj1
= 0 ;
14467 PyObject
* obj2
= 0 ;
14468 PyObject
* obj3
= 0 ;
14469 PyObject
* obj4
= 0 ;
14470 char *kwnames
[] = {
14471 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14477 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14480 arg3
= wxString_in_helper(obj2
);
14481 if (arg3
== NULL
) SWIG_fail
;
14485 arg4
= (bool) SWIG_AsBool(obj3
);
14486 if (PyErr_Occurred()) SWIG_fail
;
14489 arg5
= (int) SWIG_AsInt(obj4
);
14490 if (PyErr_Occurred()) SWIG_fail
;
14493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14494 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
14496 wxPyEndAllowThreads(__tstate
);
14497 if (PyErr_Occurred()) SWIG_fail
;
14500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14516 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14517 PyObject
*resultobj
;
14518 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14520 wxWindow
*arg3
= (wxWindow
*) 0 ;
14521 wxString
*arg4
= 0 ;
14522 bool arg5
= (bool) False
;
14523 int arg6
= (int) -1 ;
14525 bool temp4
= False
;
14526 PyObject
* obj0
= 0 ;
14527 PyObject
* obj1
= 0 ;
14528 PyObject
* obj2
= 0 ;
14529 PyObject
* obj3
= 0 ;
14530 PyObject
* obj4
= 0 ;
14531 PyObject
* obj5
= 0 ;
14532 char *kwnames
[] = {
14533 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14539 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14540 if (PyErr_Occurred()) SWIG_fail
;
14541 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
14542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14544 arg4
= wxString_in_helper(obj3
);
14545 if (arg4
== NULL
) SWIG_fail
;
14549 arg5
= (bool) SWIG_AsBool(obj4
);
14550 if (PyErr_Occurred()) SWIG_fail
;
14553 arg6
= (int) SWIG_AsInt(obj5
);
14554 if (PyErr_Occurred()) SWIG_fail
;
14557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14558 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
14560 wxPyEndAllowThreads(__tstate
);
14561 if (PyErr_Occurred()) SWIG_fail
;
14564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14580 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14581 PyObject
*resultobj
;
14582 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14585 PyObject
* obj0
= 0 ;
14586 PyObject
* obj1
= 0 ;
14587 char *kwnames
[] = {
14588 (char *) "self",(char *) "n", NULL
14591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14594 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14595 if (PyErr_Occurred()) SWIG_fail
;
14597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14598 result
= (int)(arg1
)->SetSelection(arg2
);
14600 wxPyEndAllowThreads(__tstate
);
14601 if (PyErr_Occurred()) SWIG_fail
;
14603 resultobj
= SWIG_FromInt((int)result
);
14610 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14611 PyObject
*resultobj
;
14612 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14613 bool arg2
= (bool) True
;
14614 PyObject
* obj0
= 0 ;
14615 PyObject
* obj1
= 0 ;
14616 char *kwnames
[] = {
14617 (char *) "self",(char *) "forward", NULL
14620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14624 arg2
= (bool) SWIG_AsBool(obj1
);
14625 if (PyErr_Occurred()) SWIG_fail
;
14628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14629 (arg1
)->AdvanceSelection(arg2
);
14631 wxPyEndAllowThreads(__tstate
);
14632 if (PyErr_Occurred()) SWIG_fail
;
14634 Py_INCREF(Py_None
); resultobj
= Py_None
;
14641 static PyObject
*_wrap_BookCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14642 PyObject
*resultobj
;
14643 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14644 wxVisualAttributes result
;
14645 PyObject
* obj0
= 0 ;
14646 char *kwnames
[] = {
14647 (char *) "variant", NULL
14650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14652 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
14653 if (PyErr_Occurred()) SWIG_fail
;
14656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14657 result
= wxBookCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14659 wxPyEndAllowThreads(__tstate
);
14660 if (PyErr_Occurred()) SWIG_fail
;
14663 wxVisualAttributes
* resultptr
;
14664 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14665 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14673 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
14675 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14676 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
14678 return Py_BuildValue((char *)"");
14680 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14681 PyObject
*resultobj
;
14682 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14683 int arg2
= (int) 0 ;
14684 int arg3
= (int) -1 ;
14685 int arg4
= (int) -1 ;
14686 wxBookCtrlEvent
*result
;
14687 PyObject
* obj0
= 0 ;
14688 PyObject
* obj1
= 0 ;
14689 PyObject
* obj2
= 0 ;
14690 PyObject
* obj3
= 0 ;
14691 char *kwnames
[] = {
14692 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14697 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14698 if (PyErr_Occurred()) SWIG_fail
;
14701 arg2
= (int) SWIG_AsInt(obj1
);
14702 if (PyErr_Occurred()) SWIG_fail
;
14705 arg3
= (int) SWIG_AsInt(obj2
);
14706 if (PyErr_Occurred()) SWIG_fail
;
14709 arg4
= (int) SWIG_AsInt(obj3
);
14710 if (PyErr_Occurred()) SWIG_fail
;
14713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14714 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
14716 wxPyEndAllowThreads(__tstate
);
14717 if (PyErr_Occurred()) SWIG_fail
;
14719 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlEvent
, 1);
14726 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14727 PyObject
*resultobj
;
14728 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14730 PyObject
* obj0
= 0 ;
14731 char *kwnames
[] = {
14732 (char *) "self", NULL
14735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
14736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14740 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
14742 wxPyEndAllowThreads(__tstate
);
14743 if (PyErr_Occurred()) SWIG_fail
;
14745 resultobj
= SWIG_FromInt((int)result
);
14752 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14753 PyObject
*resultobj
;
14754 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14756 PyObject
* obj0
= 0 ;
14757 PyObject
* obj1
= 0 ;
14758 char *kwnames
[] = {
14759 (char *) "self",(char *) "nSel", NULL
14762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14765 arg2
= (int) SWIG_AsInt(obj1
);
14766 if (PyErr_Occurred()) SWIG_fail
;
14768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14769 (arg1
)->SetSelection(arg2
);
14771 wxPyEndAllowThreads(__tstate
);
14772 if (PyErr_Occurred()) SWIG_fail
;
14774 Py_INCREF(Py_None
); resultobj
= Py_None
;
14781 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14782 PyObject
*resultobj
;
14783 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14785 PyObject
* obj0
= 0 ;
14786 char *kwnames
[] = {
14787 (char *) "self", NULL
14790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
14791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14795 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
14797 wxPyEndAllowThreads(__tstate
);
14798 if (PyErr_Occurred()) SWIG_fail
;
14800 resultobj
= SWIG_FromInt((int)result
);
14807 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14808 PyObject
*resultobj
;
14809 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14811 PyObject
* obj0
= 0 ;
14812 PyObject
* obj1
= 0 ;
14813 char *kwnames
[] = {
14814 (char *) "self",(char *) "nOldSel", NULL
14817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14820 arg2
= (int) SWIG_AsInt(obj1
);
14821 if (PyErr_Occurred()) SWIG_fail
;
14823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14824 (arg1
)->SetOldSelection(arg2
);
14826 wxPyEndAllowThreads(__tstate
);
14827 if (PyErr_Occurred()) SWIG_fail
;
14829 Py_INCREF(Py_None
); resultobj
= Py_None
;
14836 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14838 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14839 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
14841 return Py_BuildValue((char *)"");
14843 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14844 PyObject
*resultobj
;
14845 wxWindow
*arg1
= (wxWindow
*) 0 ;
14846 int arg2
= (int) -1 ;
14847 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14848 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14849 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14850 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14851 long arg5
= (long) 0 ;
14852 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
14853 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14854 wxNotebook
*result
;
14857 bool temp6
= False
;
14858 PyObject
* obj0
= 0 ;
14859 PyObject
* obj1
= 0 ;
14860 PyObject
* obj2
= 0 ;
14861 PyObject
* obj3
= 0 ;
14862 PyObject
* obj4
= 0 ;
14863 PyObject
* obj5
= 0 ;
14864 char *kwnames
[] = {
14865 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14872 arg2
= (int) SWIG_AsInt(obj1
);
14873 if (PyErr_Occurred()) SWIG_fail
;
14878 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14884 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14888 arg5
= (long) SWIG_AsLong(obj4
);
14889 if (PyErr_Occurred()) SWIG_fail
;
14893 arg6
= wxString_in_helper(obj5
);
14894 if (arg6
== NULL
) SWIG_fail
;
14899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14900 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14902 wxPyEndAllowThreads(__tstate
);
14903 if (PyErr_Occurred()) SWIG_fail
;
14906 resultobj
= wxPyMake_wxObject(result
);
14922 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14923 PyObject
*resultobj
;
14924 wxNotebook
*result
;
14925 char *kwnames
[] = {
14929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
14931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14932 result
= (wxNotebook
*)new wxNotebook();
14934 wxPyEndAllowThreads(__tstate
);
14935 if (PyErr_Occurred()) SWIG_fail
;
14938 resultobj
= wxPyMake_wxObject(result
);
14946 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14947 PyObject
*resultobj
;
14948 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14949 wxWindow
*arg2
= (wxWindow
*) 0 ;
14951 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14952 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14953 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14954 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14955 long arg6
= (long) 0 ;
14956 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
14957 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14961 bool temp7
= False
;
14962 PyObject
* obj0
= 0 ;
14963 PyObject
* obj1
= 0 ;
14964 PyObject
* obj2
= 0 ;
14965 PyObject
* obj3
= 0 ;
14966 PyObject
* obj4
= 0 ;
14967 PyObject
* obj5
= 0 ;
14968 PyObject
* obj6
= 0 ;
14969 char *kwnames
[] = {
14970 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14976 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14978 arg3
= (int) SWIG_AsInt(obj2
);
14979 if (PyErr_Occurred()) SWIG_fail
;
14983 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14989 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14993 arg6
= (long) SWIG_AsLong(obj5
);
14994 if (PyErr_Occurred()) SWIG_fail
;
14998 arg7
= wxString_in_helper(obj6
);
14999 if (arg7
== NULL
) SWIG_fail
;
15004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15005 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15007 wxPyEndAllowThreads(__tstate
);
15008 if (PyErr_Occurred()) SWIG_fail
;
15011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15027 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15028 PyObject
*resultobj
;
15029 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15031 PyObject
* obj0
= 0 ;
15032 char *kwnames
[] = {
15033 (char *) "self", NULL
15036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
15037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15041 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
15043 wxPyEndAllowThreads(__tstate
);
15044 if (PyErr_Occurred()) SWIG_fail
;
15046 resultobj
= SWIG_FromInt((int)result
);
15053 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15054 PyObject
*resultobj
;
15055 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15058 PyObject
* obj0
= 0 ;
15059 PyObject
* obj1
= 0 ;
15060 char *kwnames
[] = {
15061 (char *) "self",(char *) "padding", NULL
15064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
15065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15069 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15073 (arg1
)->SetPadding((wxSize
const &)*arg2
);
15075 wxPyEndAllowThreads(__tstate
);
15076 if (PyErr_Occurred()) SWIG_fail
;
15078 Py_INCREF(Py_None
); resultobj
= Py_None
;
15085 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15086 PyObject
*resultobj
;
15087 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15090 PyObject
* obj0
= 0 ;
15091 PyObject
* obj1
= 0 ;
15092 char *kwnames
[] = {
15093 (char *) "self",(char *) "sz", NULL
15096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15101 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15105 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
15107 wxPyEndAllowThreads(__tstate
);
15108 if (PyErr_Occurred()) SWIG_fail
;
15110 Py_INCREF(Py_None
); resultobj
= Py_None
;
15117 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15118 PyObject
*resultobj
;
15119 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15120 wxPoint
*arg2
= 0 ;
15121 long *arg3
= (long *) 0 ;
15125 PyObject
* obj0
= 0 ;
15126 PyObject
* obj1
= 0 ;
15127 char *kwnames
[] = {
15128 (char *) "self",(char *) "pt", NULL
15132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
15133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15137 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15141 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
15143 wxPyEndAllowThreads(__tstate
);
15144 if (PyErr_Occurred()) SWIG_fail
;
15146 resultobj
= SWIG_FromInt((int)result
);
15148 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15149 resultobj
= t_output_helper(resultobj
,o
);
15157 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15158 PyObject
*resultobj
;
15159 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15163 PyObject
* obj0
= 0 ;
15164 PyObject
* obj1
= 0 ;
15165 char *kwnames
[] = {
15166 (char *) "self",(char *) "sizePage", NULL
15169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
15170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15174 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15178 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
15180 wxPyEndAllowThreads(__tstate
);
15181 if (PyErr_Occurred()) SWIG_fail
;
15184 wxSize
* resultptr
;
15185 resultptr
= new wxSize((wxSize
&) result
);
15186 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15194 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15195 PyObject
*resultobj
;
15196 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
15197 wxVisualAttributes result
;
15198 PyObject
* obj0
= 0 ;
15199 char *kwnames
[] = {
15200 (char *) "variant", NULL
15203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15205 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
15206 if (PyErr_Occurred()) SWIG_fail
;
15209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15210 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15212 wxPyEndAllowThreads(__tstate
);
15213 if (PyErr_Occurred()) SWIG_fail
;
15216 wxVisualAttributes
* resultptr
;
15217 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
15218 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15226 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
15228 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15229 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
15231 return Py_BuildValue((char *)"");
15233 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15234 PyObject
*resultobj
;
15235 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15236 int arg2
= (int) 0 ;
15237 int arg3
= (int) -1 ;
15238 int arg4
= (int) -1 ;
15239 wxNotebookEvent
*result
;
15240 PyObject
* obj0
= 0 ;
15241 PyObject
* obj1
= 0 ;
15242 PyObject
* obj2
= 0 ;
15243 PyObject
* obj3
= 0 ;
15244 char *kwnames
[] = {
15245 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15250 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15251 if (PyErr_Occurred()) SWIG_fail
;
15254 arg2
= (int) SWIG_AsInt(obj1
);
15255 if (PyErr_Occurred()) SWIG_fail
;
15258 arg3
= (int) SWIG_AsInt(obj2
);
15259 if (PyErr_Occurred()) SWIG_fail
;
15262 arg4
= (int) SWIG_AsInt(obj3
);
15263 if (PyErr_Occurred()) SWIG_fail
;
15266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15267 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
15269 wxPyEndAllowThreads(__tstate
);
15270 if (PyErr_Occurred()) SWIG_fail
;
15272 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
15279 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15281 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15282 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
15284 return Py_BuildValue((char *)"");
15286 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15287 PyObject
*resultobj
;
15288 wxWindow
*arg1
= (wxWindow
*) 0 ;
15289 int arg2
= (int) -1 ;
15290 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15291 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15292 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15293 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15294 long arg5
= (long) 0 ;
15295 wxString
const &arg6_defvalue
= wxPyEmptyString
;
15296 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15297 wxListbook
*result
;
15300 bool temp6
= False
;
15301 PyObject
* obj0
= 0 ;
15302 PyObject
* obj1
= 0 ;
15303 PyObject
* obj2
= 0 ;
15304 PyObject
* obj3
= 0 ;
15305 PyObject
* obj4
= 0 ;
15306 PyObject
* obj5
= 0 ;
15307 char *kwnames
[] = {
15308 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15315 arg2
= (int) SWIG_AsInt(obj1
);
15316 if (PyErr_Occurred()) SWIG_fail
;
15321 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15327 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15331 arg5
= (long) SWIG_AsLong(obj4
);
15332 if (PyErr_Occurred()) SWIG_fail
;
15336 arg6
= wxString_in_helper(obj5
);
15337 if (arg6
== NULL
) SWIG_fail
;
15342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15343 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15345 wxPyEndAllowThreads(__tstate
);
15346 if (PyErr_Occurred()) SWIG_fail
;
15348 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15363 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15364 PyObject
*resultobj
;
15365 wxListbook
*result
;
15366 char *kwnames
[] = {
15370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
15372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15373 result
= (wxListbook
*)new wxListbook();
15375 wxPyEndAllowThreads(__tstate
);
15376 if (PyErr_Occurred()) SWIG_fail
;
15378 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15385 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15386 PyObject
*resultobj
;
15387 wxListbook
*arg1
= (wxListbook
*) 0 ;
15388 wxWindow
*arg2
= (wxWindow
*) 0 ;
15390 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15391 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15392 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15393 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15394 long arg6
= (long) 0 ;
15395 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15396 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15400 bool temp7
= False
;
15401 PyObject
* obj0
= 0 ;
15402 PyObject
* obj1
= 0 ;
15403 PyObject
* obj2
= 0 ;
15404 PyObject
* obj3
= 0 ;
15405 PyObject
* obj4
= 0 ;
15406 PyObject
* obj5
= 0 ;
15407 PyObject
* obj6
= 0 ;
15408 char *kwnames
[] = {
15409 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15415 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15417 arg3
= (int) SWIG_AsInt(obj2
);
15418 if (PyErr_Occurred()) SWIG_fail
;
15422 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15428 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15432 arg6
= (long) SWIG_AsLong(obj5
);
15433 if (PyErr_Occurred()) SWIG_fail
;
15437 arg7
= wxString_in_helper(obj6
);
15438 if (arg7
== NULL
) SWIG_fail
;
15443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15444 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15446 wxPyEndAllowThreads(__tstate
);
15447 if (PyErr_Occurred()) SWIG_fail
;
15450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15466 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15467 PyObject
*resultobj
;
15468 wxListbook
*arg1
= (wxListbook
*) 0 ;
15470 PyObject
* obj0
= 0 ;
15471 char *kwnames
[] = {
15472 (char *) "self", NULL
15475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
15476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15480 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
15482 wxPyEndAllowThreads(__tstate
);
15483 if (PyErr_Occurred()) SWIG_fail
;
15486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15494 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
15496 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15497 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
15499 return Py_BuildValue((char *)"");
15501 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15502 PyObject
*resultobj
;
15503 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15504 int arg2
= (int) 0 ;
15505 int arg3
= (int) -1 ;
15506 int arg4
= (int) -1 ;
15507 wxListbookEvent
*result
;
15508 PyObject
* obj0
= 0 ;
15509 PyObject
* obj1
= 0 ;
15510 PyObject
* obj2
= 0 ;
15511 PyObject
* obj3
= 0 ;
15512 char *kwnames
[] = {
15513 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15518 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15519 if (PyErr_Occurred()) SWIG_fail
;
15522 arg2
= (int) SWIG_AsInt(obj1
);
15523 if (PyErr_Occurred()) SWIG_fail
;
15526 arg3
= (int) SWIG_AsInt(obj2
);
15527 if (PyErr_Occurred()) SWIG_fail
;
15530 arg4
= (int) SWIG_AsInt(obj3
);
15531 if (PyErr_Occurred()) SWIG_fail
;
15534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15535 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
15537 wxPyEndAllowThreads(__tstate
);
15538 if (PyErr_Occurred()) SWIG_fail
;
15540 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
15547 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15549 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15550 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
15552 return Py_BuildValue((char *)"");
15554 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15555 PyObject
*resultobj
;
15556 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
15557 wxBookCtrlSizer
*result
;
15558 PyObject
* obj0
= 0 ;
15559 char *kwnames
[] = {
15560 (char *) "nb", NULL
15563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
15564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
15565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15568 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
15570 wxPyEndAllowThreads(__tstate
);
15571 if (PyErr_Occurred()) SWIG_fail
;
15573 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
15580 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15581 PyObject
*resultobj
;
15582 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15583 PyObject
* obj0
= 0 ;
15584 char *kwnames
[] = {
15585 (char *) "self", NULL
15588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15593 (arg1
)->RecalcSizes();
15595 wxPyEndAllowThreads(__tstate
);
15596 if (PyErr_Occurred()) SWIG_fail
;
15598 Py_INCREF(Py_None
); resultobj
= Py_None
;
15605 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15606 PyObject
*resultobj
;
15607 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15609 PyObject
* obj0
= 0 ;
15610 char *kwnames
[] = {
15611 (char *) "self", NULL
15614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
15615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15619 result
= (arg1
)->CalcMin();
15621 wxPyEndAllowThreads(__tstate
);
15622 if (PyErr_Occurred()) SWIG_fail
;
15625 wxSize
* resultptr
;
15626 resultptr
= new wxSize((wxSize
&) result
);
15627 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15635 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15636 PyObject
*resultobj
;
15637 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15638 wxBookCtrl
*result
;
15639 PyObject
* obj0
= 0 ;
15640 char *kwnames
[] = {
15641 (char *) "self", NULL
15644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
15645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15649 result
= (wxBookCtrl
*)(arg1
)->GetControl();
15651 wxPyEndAllowThreads(__tstate
);
15652 if (PyErr_Occurred()) SWIG_fail
;
15654 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrl
, 0);
15661 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
15663 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15664 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
15666 return Py_BuildValue((char *)"");
15668 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15669 PyObject
*resultobj
;
15670 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15671 wxNotebookSizer
*result
;
15672 PyObject
* obj0
= 0 ;
15673 char *kwnames
[] = {
15674 (char *) "nb", NULL
15677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
15678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15682 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
15684 wxPyEndAllowThreads(__tstate
);
15685 if (PyErr_Occurred()) SWIG_fail
;
15687 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
15694 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15695 PyObject
*resultobj
;
15696 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15697 PyObject
* obj0
= 0 ;
15698 char *kwnames
[] = {
15699 (char *) "self", NULL
15702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15707 (arg1
)->RecalcSizes();
15709 wxPyEndAllowThreads(__tstate
);
15710 if (PyErr_Occurred()) SWIG_fail
;
15712 Py_INCREF(Py_None
); resultobj
= Py_None
;
15719 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15720 PyObject
*resultobj
;
15721 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15723 PyObject
* obj0
= 0 ;
15724 char *kwnames
[] = {
15725 (char *) "self", NULL
15728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
15729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15733 result
= (arg1
)->CalcMin();
15735 wxPyEndAllowThreads(__tstate
);
15736 if (PyErr_Occurred()) SWIG_fail
;
15739 wxSize
* resultptr
;
15740 resultptr
= new wxSize((wxSize
&) result
);
15741 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15749 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15750 PyObject
*resultobj
;
15751 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15752 wxNotebook
*result
;
15753 PyObject
* obj0
= 0 ;
15754 char *kwnames
[] = {
15755 (char *) "self", NULL
15758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
15759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15763 result
= (wxNotebook
*)(arg1
)->GetNotebook();
15765 wxPyEndAllowThreads(__tstate
);
15766 if (PyErr_Occurred()) SWIG_fail
;
15769 resultobj
= wxPyMake_wxObject(result
);
15777 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
15779 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15780 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
15782 return Py_BuildValue((char *)"");
15784 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15785 PyObject
*resultobj
;
15786 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15788 PyObject
* obj0
= 0 ;
15789 char *kwnames
[] = {
15790 (char *) "self", NULL
15793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
15794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15798 result
= (int)(arg1
)->GetId();
15800 wxPyEndAllowThreads(__tstate
);
15801 if (PyErr_Occurred()) SWIG_fail
;
15803 resultobj
= SWIG_FromInt((int)result
);
15810 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15811 PyObject
*resultobj
;
15812 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15814 PyObject
* obj0
= 0 ;
15815 char *kwnames
[] = {
15816 (char *) "self", NULL
15819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
15820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15824 result
= (wxControl
*)(arg1
)->GetControl();
15826 wxPyEndAllowThreads(__tstate
);
15827 if (PyErr_Occurred()) SWIG_fail
;
15830 resultobj
= wxPyMake_wxObject(result
);
15838 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15839 PyObject
*resultobj
;
15840 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15841 wxToolBarBase
*result
;
15842 PyObject
* obj0
= 0 ;
15843 char *kwnames
[] = {
15844 (char *) "self", NULL
15847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
15848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15852 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
15854 wxPyEndAllowThreads(__tstate
);
15855 if (PyErr_Occurred()) SWIG_fail
;
15858 resultobj
= wxPyMake_wxObject(result
);
15866 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15867 PyObject
*resultobj
;
15868 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15870 PyObject
* obj0
= 0 ;
15871 char *kwnames
[] = {
15872 (char *) "self", NULL
15875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
15876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15880 result
= (int)(arg1
)->IsButton();
15882 wxPyEndAllowThreads(__tstate
);
15883 if (PyErr_Occurred()) SWIG_fail
;
15885 resultobj
= SWIG_FromInt((int)result
);
15892 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15893 PyObject
*resultobj
;
15894 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15896 PyObject
* obj0
= 0 ;
15897 char *kwnames
[] = {
15898 (char *) "self", NULL
15901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
15902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15906 result
= (int)(arg1
)->IsControl();
15908 wxPyEndAllowThreads(__tstate
);
15909 if (PyErr_Occurred()) SWIG_fail
;
15911 resultobj
= SWIG_FromInt((int)result
);
15918 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15919 PyObject
*resultobj
;
15920 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15922 PyObject
* obj0
= 0 ;
15923 char *kwnames
[] = {
15924 (char *) "self", NULL
15927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
15928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15932 result
= (int)(arg1
)->IsSeparator();
15934 wxPyEndAllowThreads(__tstate
);
15935 if (PyErr_Occurred()) SWIG_fail
;
15937 resultobj
= SWIG_FromInt((int)result
);
15944 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15945 PyObject
*resultobj
;
15946 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15948 PyObject
* obj0
= 0 ;
15949 char *kwnames
[] = {
15950 (char *) "self", NULL
15953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
15954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15958 result
= (int)(arg1
)->GetStyle();
15960 wxPyEndAllowThreads(__tstate
);
15961 if (PyErr_Occurred()) SWIG_fail
;
15963 resultobj
= SWIG_FromInt((int)result
);
15970 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15971 PyObject
*resultobj
;
15972 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15974 PyObject
* obj0
= 0 ;
15975 char *kwnames
[] = {
15976 (char *) "self", NULL
15979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
15980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15984 result
= (int)(arg1
)->GetKind();
15986 wxPyEndAllowThreads(__tstate
);
15987 if (PyErr_Occurred()) SWIG_fail
;
15989 resultobj
= SWIG_FromInt((int)result
);
15996 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15997 PyObject
*resultobj
;
15998 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16000 PyObject
* obj0
= 0 ;
16001 char *kwnames
[] = {
16002 (char *) "self", NULL
16005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
16006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16010 result
= (bool)(arg1
)->IsEnabled();
16012 wxPyEndAllowThreads(__tstate
);
16013 if (PyErr_Occurred()) SWIG_fail
;
16016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16024 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16025 PyObject
*resultobj
;
16026 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16028 PyObject
* obj0
= 0 ;
16029 char *kwnames
[] = {
16030 (char *) "self", NULL
16033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
16034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16038 result
= (bool)(arg1
)->IsToggled();
16040 wxPyEndAllowThreads(__tstate
);
16041 if (PyErr_Occurred()) SWIG_fail
;
16044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16052 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16053 PyObject
*resultobj
;
16054 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16056 PyObject
* obj0
= 0 ;
16057 char *kwnames
[] = {
16058 (char *) "self", NULL
16061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
16062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16066 result
= (bool)(arg1
)->CanBeToggled();
16068 wxPyEndAllowThreads(__tstate
);
16069 if (PyErr_Occurred()) SWIG_fail
;
16072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16080 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16081 PyObject
*resultobj
;
16082 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16084 PyObject
* obj0
= 0 ;
16085 char *kwnames
[] = {
16086 (char *) "self", NULL
16089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
16090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16095 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
16096 result
= (wxBitmap
*) &_result_ref
;
16099 wxPyEndAllowThreads(__tstate
);
16100 if (PyErr_Occurred()) SWIG_fail
;
16103 wxBitmap
* resultptr
= new wxBitmap(*result
);
16104 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16112 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16113 PyObject
*resultobj
;
16114 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16116 PyObject
* obj0
= 0 ;
16117 char *kwnames
[] = {
16118 (char *) "self", NULL
16121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
16122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16127 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
16128 result
= (wxBitmap
*) &_result_ref
;
16131 wxPyEndAllowThreads(__tstate
);
16132 if (PyErr_Occurred()) SWIG_fail
;
16135 wxBitmap
* resultptr
= new wxBitmap(*result
);
16136 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16144 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16145 PyObject
*resultobj
;
16146 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16148 PyObject
* obj0
= 0 ;
16149 char *kwnames
[] = {
16150 (char *) "self", NULL
16153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
16154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16158 result
= (arg1
)->GetBitmap();
16160 wxPyEndAllowThreads(__tstate
);
16161 if (PyErr_Occurred()) SWIG_fail
;
16164 wxBitmap
* resultptr
;
16165 resultptr
= new wxBitmap((wxBitmap
&) result
);
16166 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16174 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16175 PyObject
*resultobj
;
16176 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16178 PyObject
* obj0
= 0 ;
16179 char *kwnames
[] = {
16180 (char *) "self", NULL
16183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
16184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16188 result
= (arg1
)->GetLabel();
16190 wxPyEndAllowThreads(__tstate
);
16191 if (PyErr_Occurred()) SWIG_fail
;
16195 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16197 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16206 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16207 PyObject
*resultobj
;
16208 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16210 PyObject
* obj0
= 0 ;
16211 char *kwnames
[] = {
16212 (char *) "self", NULL
16215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
16216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16220 result
= (arg1
)->GetShortHelp();
16222 wxPyEndAllowThreads(__tstate
);
16223 if (PyErr_Occurred()) SWIG_fail
;
16227 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16229 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16238 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16239 PyObject
*resultobj
;
16240 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16242 PyObject
* obj0
= 0 ;
16243 char *kwnames
[] = {
16244 (char *) "self", NULL
16247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
16248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16252 result
= (arg1
)->GetLongHelp();
16254 wxPyEndAllowThreads(__tstate
);
16255 if (PyErr_Occurred()) SWIG_fail
;
16259 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16261 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16270 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16271 PyObject
*resultobj
;
16272 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16275 PyObject
* obj0
= 0 ;
16276 PyObject
* obj1
= 0 ;
16277 char *kwnames
[] = {
16278 (char *) "self",(char *) "enable", NULL
16281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
16282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16284 arg2
= (bool) SWIG_AsBool(obj1
);
16285 if (PyErr_Occurred()) SWIG_fail
;
16287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16288 result
= (bool)(arg1
)->Enable(arg2
);
16290 wxPyEndAllowThreads(__tstate
);
16291 if (PyErr_Occurred()) SWIG_fail
;
16294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16302 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16303 PyObject
*resultobj
;
16304 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16305 PyObject
* obj0
= 0 ;
16306 char *kwnames
[] = {
16307 (char *) "self", NULL
16310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
16311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16317 wxPyEndAllowThreads(__tstate
);
16318 if (PyErr_Occurred()) SWIG_fail
;
16320 Py_INCREF(Py_None
); resultobj
= Py_None
;
16327 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16328 PyObject
*resultobj
;
16329 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16332 PyObject
* obj0
= 0 ;
16333 PyObject
* obj1
= 0 ;
16334 char *kwnames
[] = {
16335 (char *) "self",(char *) "toggle", NULL
16338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
16339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16341 arg2
= (bool) SWIG_AsBool(obj1
);
16342 if (PyErr_Occurred()) SWIG_fail
;
16344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16345 result
= (bool)(arg1
)->SetToggle(arg2
);
16347 wxPyEndAllowThreads(__tstate
);
16348 if (PyErr_Occurred()) SWIG_fail
;
16351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16359 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16360 PyObject
*resultobj
;
16361 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16362 wxString
*arg2
= 0 ;
16364 bool temp2
= False
;
16365 PyObject
* obj0
= 0 ;
16366 PyObject
* obj1
= 0 ;
16367 char *kwnames
[] = {
16368 (char *) "self",(char *) "help", NULL
16371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16375 arg2
= wxString_in_helper(obj1
);
16376 if (arg2
== NULL
) SWIG_fail
;
16380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16381 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
16383 wxPyEndAllowThreads(__tstate
);
16384 if (PyErr_Occurred()) SWIG_fail
;
16387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16403 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16404 PyObject
*resultobj
;
16405 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16406 wxString
*arg2
= 0 ;
16408 bool temp2
= False
;
16409 PyObject
* obj0
= 0 ;
16410 PyObject
* obj1
= 0 ;
16411 char *kwnames
[] = {
16412 (char *) "self",(char *) "help", NULL
16415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16419 arg2
= wxString_in_helper(obj1
);
16420 if (arg2
== NULL
) SWIG_fail
;
16424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16425 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
16427 wxPyEndAllowThreads(__tstate
);
16428 if (PyErr_Occurred()) SWIG_fail
;
16431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16447 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16448 PyObject
*resultobj
;
16449 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16450 wxBitmap
*arg2
= 0 ;
16451 PyObject
* obj0
= 0 ;
16452 PyObject
* obj1
= 0 ;
16453 char *kwnames
[] = {
16454 (char *) "self",(char *) "bmp", NULL
16457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
16458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16460 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16461 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16463 if (arg2
== NULL
) {
16464 PyErr_SetString(PyExc_TypeError
,"null reference");
16468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16469 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
16471 wxPyEndAllowThreads(__tstate
);
16472 if (PyErr_Occurred()) SWIG_fail
;
16474 Py_INCREF(Py_None
); resultobj
= Py_None
;
16481 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16482 PyObject
*resultobj
;
16483 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16484 wxBitmap
*arg2
= 0 ;
16485 PyObject
* obj0
= 0 ;
16486 PyObject
* obj1
= 0 ;
16487 char *kwnames
[] = {
16488 (char *) "self",(char *) "bmp", NULL
16491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
16492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16494 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16495 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16497 if (arg2
== NULL
) {
16498 PyErr_SetString(PyExc_TypeError
,"null reference");
16502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16503 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
16505 wxPyEndAllowThreads(__tstate
);
16506 if (PyErr_Occurred()) SWIG_fail
;
16508 Py_INCREF(Py_None
); resultobj
= Py_None
;
16515 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16516 PyObject
*resultobj
;
16517 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16518 wxString
*arg2
= 0 ;
16519 bool temp2
= False
;
16520 PyObject
* obj0
= 0 ;
16521 PyObject
* obj1
= 0 ;
16522 char *kwnames
[] = {
16523 (char *) "self",(char *) "label", NULL
16526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
16527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16530 arg2
= wxString_in_helper(obj1
);
16531 if (arg2
== NULL
) SWIG_fail
;
16535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16536 (arg1
)->SetLabel((wxString
const &)*arg2
);
16538 wxPyEndAllowThreads(__tstate
);
16539 if (PyErr_Occurred()) SWIG_fail
;
16541 Py_INCREF(Py_None
); resultobj
= Py_None
;
16556 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16557 PyObject
*resultobj
;
16558 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16559 PyObject
* obj0
= 0 ;
16560 char *kwnames
[] = {
16561 (char *) "self", NULL
16564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
16565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16571 wxPyEndAllowThreads(__tstate
);
16572 if (PyErr_Occurred()) SWIG_fail
;
16574 Py_INCREF(Py_None
); resultobj
= Py_None
;
16581 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16582 PyObject
*resultobj
;
16583 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16584 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
16585 PyObject
* obj0
= 0 ;
16586 PyObject
* obj1
= 0 ;
16587 char *kwnames
[] = {
16588 (char *) "self",(char *) "tbar", NULL
16591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
16592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16594 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
16595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16598 (arg1
)->Attach(arg2
);
16600 wxPyEndAllowThreads(__tstate
);
16601 if (PyErr_Occurred()) SWIG_fail
;
16603 Py_INCREF(Py_None
); resultobj
= Py_None
;
16610 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16611 PyObject
*resultobj
;
16612 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16614 PyObject
* obj0
= 0 ;
16615 char *kwnames
[] = {
16616 (char *) "self", NULL
16619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
16620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16624 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
16626 wxPyEndAllowThreads(__tstate
);
16627 if (PyErr_Occurred()) SWIG_fail
;
16629 resultobj
= result
;
16636 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16637 PyObject
*resultobj
;
16638 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16639 PyObject
*arg2
= (PyObject
*) 0 ;
16640 PyObject
* obj0
= 0 ;
16641 PyObject
* obj1
= 0 ;
16642 char *kwnames
[] = {
16643 (char *) "self",(char *) "clientData", NULL
16646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16652 wxToolBarToolBase_SetClientData(arg1
,arg2
);
16654 wxPyEndAllowThreads(__tstate
);
16655 if (PyErr_Occurred()) SWIG_fail
;
16657 Py_INCREF(Py_None
); resultobj
= Py_None
;
16664 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
16666 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16667 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
16669 return Py_BuildValue((char *)"");
16671 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16672 PyObject
*resultobj
;
16673 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16675 wxString
*arg3
= 0 ;
16676 wxBitmap
*arg4
= 0 ;
16677 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
16678 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
16679 int arg6
= (int) wxITEM_NORMAL
;
16680 wxString
const &arg7_defvalue
= wxPyEmptyString
;
16681 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16682 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16683 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16684 PyObject
*arg9
= (PyObject
*) NULL
;
16685 wxToolBarToolBase
*result
;
16686 bool temp3
= False
;
16687 bool temp7
= False
;
16688 bool temp8
= False
;
16689 PyObject
* obj0
= 0 ;
16690 PyObject
* obj1
= 0 ;
16691 PyObject
* obj2
= 0 ;
16692 PyObject
* obj3
= 0 ;
16693 PyObject
* obj4
= 0 ;
16694 PyObject
* obj5
= 0 ;
16695 PyObject
* obj6
= 0 ;
16696 PyObject
* obj7
= 0 ;
16697 PyObject
* obj8
= 0 ;
16698 char *kwnames
[] = {
16699 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
16703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16705 arg2
= (int) SWIG_AsInt(obj1
);
16706 if (PyErr_Occurred()) SWIG_fail
;
16708 arg3
= wxString_in_helper(obj2
);
16709 if (arg3
== NULL
) SWIG_fail
;
16712 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
16713 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16715 if (arg4
== NULL
) {
16716 PyErr_SetString(PyExc_TypeError
,"null reference");
16720 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16721 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16723 if (arg5
== NULL
) {
16724 PyErr_SetString(PyExc_TypeError
,"null reference");
16729 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
16730 if (PyErr_Occurred()) SWIG_fail
;
16734 arg7
= wxString_in_helper(obj6
);
16735 if (arg7
== NULL
) SWIG_fail
;
16741 arg8
= wxString_in_helper(obj7
);
16742 if (arg8
== NULL
) SWIG_fail
;
16750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16751 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
16753 wxPyEndAllowThreads(__tstate
);
16754 if (PyErr_Occurred()) SWIG_fail
;
16757 resultobj
= wxPyMake_wxObject(result
);
16789 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16790 PyObject
*resultobj
;
16791 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16794 wxString
*arg4
= 0 ;
16795 wxBitmap
*arg5
= 0 ;
16796 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
16797 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
16798 int arg7
= (int) wxITEM_NORMAL
;
16799 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16800 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16801 wxString
const &arg9_defvalue
= wxPyEmptyString
;
16802 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
16803 PyObject
*arg10
= (PyObject
*) NULL
;
16804 wxToolBarToolBase
*result
;
16805 bool temp4
= False
;
16806 bool temp8
= False
;
16807 bool temp9
= False
;
16808 PyObject
* obj0
= 0 ;
16809 PyObject
* obj1
= 0 ;
16810 PyObject
* obj2
= 0 ;
16811 PyObject
* obj3
= 0 ;
16812 PyObject
* obj4
= 0 ;
16813 PyObject
* obj5
= 0 ;
16814 PyObject
* obj6
= 0 ;
16815 PyObject
* obj7
= 0 ;
16816 PyObject
* obj8
= 0 ;
16817 PyObject
* obj9
= 0 ;
16818 char *kwnames
[] = {
16819 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
16823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16825 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16826 if (PyErr_Occurred()) SWIG_fail
;
16827 arg3
= (int) SWIG_AsInt(obj2
);
16828 if (PyErr_Occurred()) SWIG_fail
;
16830 arg4
= wxString_in_helper(obj3
);
16831 if (arg4
== NULL
) SWIG_fail
;
16834 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16835 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16837 if (arg5
== NULL
) {
16838 PyErr_SetString(PyExc_TypeError
,"null reference");
16842 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
16843 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16845 if (arg6
== NULL
) {
16846 PyErr_SetString(PyExc_TypeError
,"null reference");
16851 arg7
= (wxItemKind
) SWIG_AsInt(obj6
);
16852 if (PyErr_Occurred()) SWIG_fail
;
16856 arg8
= wxString_in_helper(obj7
);
16857 if (arg8
== NULL
) SWIG_fail
;
16863 arg9
= wxString_in_helper(obj8
);
16864 if (arg9
== NULL
) SWIG_fail
;
16872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16873 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
);
16875 wxPyEndAllowThreads(__tstate
);
16876 if (PyErr_Occurred()) SWIG_fail
;
16879 resultobj
= wxPyMake_wxObject(result
);
16911 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16912 PyObject
*resultobj
;
16913 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16914 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
16915 wxToolBarToolBase
*result
;
16916 PyObject
* obj0
= 0 ;
16917 PyObject
* obj1
= 0 ;
16918 char *kwnames
[] = {
16919 (char *) "self",(char *) "tool", NULL
16922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
16923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16925 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
16926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16929 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
16931 wxPyEndAllowThreads(__tstate
);
16932 if (PyErr_Occurred()) SWIG_fail
;
16935 resultobj
= wxPyMake_wxObject(result
);
16943 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16944 PyObject
*resultobj
;
16945 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16947 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
16948 wxToolBarToolBase
*result
;
16949 PyObject
* obj0
= 0 ;
16950 PyObject
* obj1
= 0 ;
16951 PyObject
* obj2
= 0 ;
16952 char *kwnames
[] = {
16953 (char *) "self",(char *) "pos",(char *) "tool", NULL
16956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16959 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16960 if (PyErr_Occurred()) SWIG_fail
;
16961 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
16962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16965 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
16967 wxPyEndAllowThreads(__tstate
);
16968 if (PyErr_Occurred()) SWIG_fail
;
16971 resultobj
= wxPyMake_wxObject(result
);
16979 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16980 PyObject
*resultobj
;
16981 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16982 wxControl
*arg2
= (wxControl
*) 0 ;
16983 wxToolBarToolBase
*result
;
16984 PyObject
* obj0
= 0 ;
16985 PyObject
* obj1
= 0 ;
16986 char *kwnames
[] = {
16987 (char *) "self",(char *) "control", NULL
16990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
16991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16993 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
16994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16997 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
16999 wxPyEndAllowThreads(__tstate
);
17000 if (PyErr_Occurred()) SWIG_fail
;
17003 resultobj
= wxPyMake_wxObject(result
);
17011 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17012 PyObject
*resultobj
;
17013 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17015 wxControl
*arg3
= (wxControl
*) 0 ;
17016 wxToolBarToolBase
*result
;
17017 PyObject
* obj0
= 0 ;
17018 PyObject
* obj1
= 0 ;
17019 PyObject
* obj2
= 0 ;
17020 char *kwnames
[] = {
17021 (char *) "self",(char *) "pos",(char *) "control", NULL
17024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17027 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17028 if (PyErr_Occurred()) SWIG_fail
;
17029 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
17030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17033 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
17035 wxPyEndAllowThreads(__tstate
);
17036 if (PyErr_Occurred()) SWIG_fail
;
17039 resultobj
= wxPyMake_wxObject(result
);
17047 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17048 PyObject
*resultobj
;
17049 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17052 PyObject
* obj0
= 0 ;
17053 PyObject
* obj1
= 0 ;
17054 char *kwnames
[] = {
17055 (char *) "self",(char *) "id", NULL
17058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17061 arg2
= (int) SWIG_AsInt(obj1
);
17062 if (PyErr_Occurred()) SWIG_fail
;
17064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17065 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
17067 wxPyEndAllowThreads(__tstate
);
17068 if (PyErr_Occurred()) SWIG_fail
;
17071 resultobj
= wxPyMake_wxObject(result
);
17079 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17080 PyObject
*resultobj
;
17081 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17082 wxToolBarToolBase
*result
;
17083 PyObject
* obj0
= 0 ;
17084 char *kwnames
[] = {
17085 (char *) "self", NULL
17088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
17089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17093 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
17095 wxPyEndAllowThreads(__tstate
);
17096 if (PyErr_Occurred()) SWIG_fail
;
17099 resultobj
= wxPyMake_wxObject(result
);
17107 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17108 PyObject
*resultobj
;
17109 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17111 wxToolBarToolBase
*result
;
17112 PyObject
* obj0
= 0 ;
17113 PyObject
* obj1
= 0 ;
17114 char *kwnames
[] = {
17115 (char *) "self",(char *) "pos", NULL
17118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
17119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17121 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17122 if (PyErr_Occurred()) SWIG_fail
;
17124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17125 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
17127 wxPyEndAllowThreads(__tstate
);
17128 if (PyErr_Occurred()) SWIG_fail
;
17131 resultobj
= wxPyMake_wxObject(result
);
17139 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17140 PyObject
*resultobj
;
17141 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17143 wxToolBarToolBase
*result
;
17144 PyObject
* obj0
= 0 ;
17145 PyObject
* obj1
= 0 ;
17146 char *kwnames
[] = {
17147 (char *) "self",(char *) "id", NULL
17150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17153 arg2
= (int) SWIG_AsInt(obj1
);
17154 if (PyErr_Occurred()) SWIG_fail
;
17156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17157 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
17159 wxPyEndAllowThreads(__tstate
);
17160 if (PyErr_Occurred()) SWIG_fail
;
17163 resultobj
= wxPyMake_wxObject(result
);
17171 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17172 PyObject
*resultobj
;
17173 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17176 PyObject
* obj0
= 0 ;
17177 PyObject
* obj1
= 0 ;
17178 char *kwnames
[] = {
17179 (char *) "self",(char *) "pos", NULL
17182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17185 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17186 if (PyErr_Occurred()) SWIG_fail
;
17188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17189 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
17191 wxPyEndAllowThreads(__tstate
);
17192 if (PyErr_Occurred()) SWIG_fail
;
17195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17203 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17204 PyObject
*resultobj
;
17205 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17208 PyObject
* obj0
= 0 ;
17209 PyObject
* obj1
= 0 ;
17210 char *kwnames
[] = {
17211 (char *) "self",(char *) "id", NULL
17214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17217 arg2
= (int) SWIG_AsInt(obj1
);
17218 if (PyErr_Occurred()) SWIG_fail
;
17220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17221 result
= (bool)(arg1
)->DeleteTool(arg2
);
17223 wxPyEndAllowThreads(__tstate
);
17224 if (PyErr_Occurred()) SWIG_fail
;
17227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17235 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17236 PyObject
*resultobj
;
17237 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17238 PyObject
* obj0
= 0 ;
17239 char *kwnames
[] = {
17240 (char *) "self", NULL
17243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
17244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17248 (arg1
)->ClearTools();
17250 wxPyEndAllowThreads(__tstate
);
17251 if (PyErr_Occurred()) SWIG_fail
;
17253 Py_INCREF(Py_None
); resultobj
= Py_None
;
17260 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17261 PyObject
*resultobj
;
17262 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17264 PyObject
* obj0
= 0 ;
17265 char *kwnames
[] = {
17266 (char *) "self", NULL
17269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
17270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17274 result
= (bool)(arg1
)->Realize();
17276 wxPyEndAllowThreads(__tstate
);
17277 if (PyErr_Occurred()) SWIG_fail
;
17280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17288 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17289 PyObject
*resultobj
;
17290 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17293 PyObject
* obj0
= 0 ;
17294 PyObject
* obj1
= 0 ;
17295 PyObject
* obj2
= 0 ;
17296 char *kwnames
[] = {
17297 (char *) "self",(char *) "id",(char *) "enable", NULL
17300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17303 arg2
= (int) SWIG_AsInt(obj1
);
17304 if (PyErr_Occurred()) SWIG_fail
;
17305 arg3
= (bool) SWIG_AsBool(obj2
);
17306 if (PyErr_Occurred()) SWIG_fail
;
17308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17309 (arg1
)->EnableTool(arg2
,arg3
);
17311 wxPyEndAllowThreads(__tstate
);
17312 if (PyErr_Occurred()) SWIG_fail
;
17314 Py_INCREF(Py_None
); resultobj
= Py_None
;
17321 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17322 PyObject
*resultobj
;
17323 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17326 PyObject
* obj0
= 0 ;
17327 PyObject
* obj1
= 0 ;
17328 PyObject
* obj2
= 0 ;
17329 char *kwnames
[] = {
17330 (char *) "self",(char *) "id",(char *) "toggle", NULL
17333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17336 arg2
= (int) SWIG_AsInt(obj1
);
17337 if (PyErr_Occurred()) SWIG_fail
;
17338 arg3
= (bool) SWIG_AsBool(obj2
);
17339 if (PyErr_Occurred()) SWIG_fail
;
17341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17342 (arg1
)->ToggleTool(arg2
,arg3
);
17344 wxPyEndAllowThreads(__tstate
);
17345 if (PyErr_Occurred()) SWIG_fail
;
17347 Py_INCREF(Py_None
); resultobj
= Py_None
;
17354 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17355 PyObject
*resultobj
;
17356 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17359 PyObject
* obj0
= 0 ;
17360 PyObject
* obj1
= 0 ;
17361 PyObject
* obj2
= 0 ;
17362 char *kwnames
[] = {
17363 (char *) "self",(char *) "id",(char *) "toggle", NULL
17366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17369 arg2
= (int) SWIG_AsInt(obj1
);
17370 if (PyErr_Occurred()) SWIG_fail
;
17371 arg3
= (bool) SWIG_AsBool(obj2
);
17372 if (PyErr_Occurred()) SWIG_fail
;
17374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17375 (arg1
)->SetToggle(arg2
,arg3
);
17377 wxPyEndAllowThreads(__tstate
);
17378 if (PyErr_Occurred()) SWIG_fail
;
17380 Py_INCREF(Py_None
); resultobj
= Py_None
;
17387 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17388 PyObject
*resultobj
;
17389 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17392 PyObject
* obj0
= 0 ;
17393 PyObject
* obj1
= 0 ;
17394 char *kwnames
[] = {
17395 (char *) "self",(char *) "id", NULL
17398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
17399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17401 arg2
= (int) SWIG_AsInt(obj1
);
17402 if (PyErr_Occurred()) SWIG_fail
;
17404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17405 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
17407 wxPyEndAllowThreads(__tstate
);
17408 if (PyErr_Occurred()) SWIG_fail
;
17410 resultobj
= result
;
17417 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17418 PyObject
*resultobj
;
17419 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17421 PyObject
*arg3
= (PyObject
*) 0 ;
17422 PyObject
* obj0
= 0 ;
17423 PyObject
* obj1
= 0 ;
17424 PyObject
* obj2
= 0 ;
17425 char *kwnames
[] = {
17426 (char *) "self",(char *) "id",(char *) "clientData", NULL
17429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17432 arg2
= (int) SWIG_AsInt(obj1
);
17433 if (PyErr_Occurred()) SWIG_fail
;
17436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17437 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
17439 wxPyEndAllowThreads(__tstate
);
17440 if (PyErr_Occurred()) SWIG_fail
;
17442 Py_INCREF(Py_None
); resultobj
= Py_None
;
17449 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17450 PyObject
*resultobj
;
17451 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17454 PyObject
* obj0
= 0 ;
17455 PyObject
* obj1
= 0 ;
17456 char *kwnames
[] = {
17457 (char *) "self",(char *) "id", NULL
17460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17463 arg2
= (int) SWIG_AsInt(obj1
);
17464 if (PyErr_Occurred()) SWIG_fail
;
17466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17467 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
17469 wxPyEndAllowThreads(__tstate
);
17470 if (PyErr_Occurred()) SWIG_fail
;
17472 resultobj
= SWIG_FromInt((int)result
);
17479 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17480 PyObject
*resultobj
;
17481 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17484 PyObject
* obj0
= 0 ;
17485 PyObject
* obj1
= 0 ;
17486 char *kwnames
[] = {
17487 (char *) "self",(char *) "id", NULL
17490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
17491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17493 arg2
= (int) SWIG_AsInt(obj1
);
17494 if (PyErr_Occurred()) SWIG_fail
;
17496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17497 result
= (bool)(arg1
)->GetToolState(arg2
);
17499 wxPyEndAllowThreads(__tstate
);
17500 if (PyErr_Occurred()) SWIG_fail
;
17503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17511 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17512 PyObject
*resultobj
;
17513 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17516 PyObject
* obj0
= 0 ;
17517 PyObject
* obj1
= 0 ;
17518 char *kwnames
[] = {
17519 (char *) "self",(char *) "id", NULL
17522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
17523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17525 arg2
= (int) SWIG_AsInt(obj1
);
17526 if (PyErr_Occurred()) SWIG_fail
;
17528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17529 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
17531 wxPyEndAllowThreads(__tstate
);
17532 if (PyErr_Occurred()) SWIG_fail
;
17535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17543 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17544 PyObject
*resultobj
;
17545 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17547 wxString
*arg3
= 0 ;
17548 bool temp3
= False
;
17549 PyObject
* obj0
= 0 ;
17550 PyObject
* obj1
= 0 ;
17551 PyObject
* obj2
= 0 ;
17552 char *kwnames
[] = {
17553 (char *) "self",(char *) "id",(char *) "helpString", NULL
17556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17559 arg2
= (int) SWIG_AsInt(obj1
);
17560 if (PyErr_Occurred()) SWIG_fail
;
17562 arg3
= wxString_in_helper(obj2
);
17563 if (arg3
== NULL
) SWIG_fail
;
17567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17568 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
17570 wxPyEndAllowThreads(__tstate
);
17571 if (PyErr_Occurred()) SWIG_fail
;
17573 Py_INCREF(Py_None
); resultobj
= Py_None
;
17588 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17589 PyObject
*resultobj
;
17590 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17593 PyObject
* obj0
= 0 ;
17594 PyObject
* obj1
= 0 ;
17595 char *kwnames
[] = {
17596 (char *) "self",(char *) "id", NULL
17599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17602 arg2
= (int) SWIG_AsInt(obj1
);
17603 if (PyErr_Occurred()) SWIG_fail
;
17605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17606 result
= (arg1
)->GetToolShortHelp(arg2
);
17608 wxPyEndAllowThreads(__tstate
);
17609 if (PyErr_Occurred()) SWIG_fail
;
17613 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17615 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17624 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17625 PyObject
*resultobj
;
17626 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17628 wxString
*arg3
= 0 ;
17629 bool temp3
= False
;
17630 PyObject
* obj0
= 0 ;
17631 PyObject
* obj1
= 0 ;
17632 PyObject
* obj2
= 0 ;
17633 char *kwnames
[] = {
17634 (char *) "self",(char *) "id",(char *) "helpString", NULL
17637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17640 arg2
= (int) SWIG_AsInt(obj1
);
17641 if (PyErr_Occurred()) SWIG_fail
;
17643 arg3
= wxString_in_helper(obj2
);
17644 if (arg3
== NULL
) SWIG_fail
;
17648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17649 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
17651 wxPyEndAllowThreads(__tstate
);
17652 if (PyErr_Occurred()) SWIG_fail
;
17654 Py_INCREF(Py_None
); resultobj
= Py_None
;
17669 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17670 PyObject
*resultobj
;
17671 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17674 PyObject
* obj0
= 0 ;
17675 PyObject
* obj1
= 0 ;
17676 char *kwnames
[] = {
17677 (char *) "self",(char *) "id", NULL
17680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17683 arg2
= (int) SWIG_AsInt(obj1
);
17684 if (PyErr_Occurred()) SWIG_fail
;
17686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17687 result
= (arg1
)->GetToolLongHelp(arg2
);
17689 wxPyEndAllowThreads(__tstate
);
17690 if (PyErr_Occurred()) SWIG_fail
;
17694 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17696 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17705 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17706 PyObject
*resultobj
;
17707 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17710 PyObject
* obj0
= 0 ;
17711 PyObject
* obj1
= 0 ;
17712 PyObject
* obj2
= 0 ;
17713 char *kwnames
[] = {
17714 (char *) "self",(char *) "x",(char *) "y", NULL
17717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17720 arg2
= (int) SWIG_AsInt(obj1
);
17721 if (PyErr_Occurred()) SWIG_fail
;
17722 arg3
= (int) SWIG_AsInt(obj2
);
17723 if (PyErr_Occurred()) SWIG_fail
;
17725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17726 (arg1
)->SetMargins(arg2
,arg3
);
17728 wxPyEndAllowThreads(__tstate
);
17729 if (PyErr_Occurred()) SWIG_fail
;
17731 Py_INCREF(Py_None
); resultobj
= Py_None
;
17738 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17739 PyObject
*resultobj
;
17740 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17743 PyObject
* obj0
= 0 ;
17744 PyObject
* obj1
= 0 ;
17745 char *kwnames
[] = {
17746 (char *) "self",(char *) "size", NULL
17749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
17750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17754 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17758 (arg1
)->SetMargins((wxSize
const &)*arg2
);
17760 wxPyEndAllowThreads(__tstate
);
17761 if (PyErr_Occurred()) SWIG_fail
;
17763 Py_INCREF(Py_None
); resultobj
= Py_None
;
17770 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17771 PyObject
*resultobj
;
17772 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17774 PyObject
* obj0
= 0 ;
17775 PyObject
* obj1
= 0 ;
17776 char *kwnames
[] = {
17777 (char *) "self",(char *) "packing", NULL
17780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
17781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17783 arg2
= (int) SWIG_AsInt(obj1
);
17784 if (PyErr_Occurred()) SWIG_fail
;
17786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17787 (arg1
)->SetToolPacking(arg2
);
17789 wxPyEndAllowThreads(__tstate
);
17790 if (PyErr_Occurred()) SWIG_fail
;
17792 Py_INCREF(Py_None
); resultobj
= Py_None
;
17799 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17800 PyObject
*resultobj
;
17801 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17803 PyObject
* obj0
= 0 ;
17804 PyObject
* obj1
= 0 ;
17805 char *kwnames
[] = {
17806 (char *) "self",(char *) "separation", NULL
17809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
17810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17812 arg2
= (int) SWIG_AsInt(obj1
);
17813 if (PyErr_Occurred()) SWIG_fail
;
17815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17816 (arg1
)->SetToolSeparation(arg2
);
17818 wxPyEndAllowThreads(__tstate
);
17819 if (PyErr_Occurred()) SWIG_fail
;
17821 Py_INCREF(Py_None
); resultobj
= Py_None
;
17828 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17829 PyObject
*resultobj
;
17830 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17832 PyObject
* obj0
= 0 ;
17833 char *kwnames
[] = {
17834 (char *) "self", NULL
17837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
17838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17842 result
= (arg1
)->GetToolMargins();
17844 wxPyEndAllowThreads(__tstate
);
17845 if (PyErr_Occurred()) SWIG_fail
;
17848 wxSize
* resultptr
;
17849 resultptr
= new wxSize((wxSize
&) result
);
17850 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17858 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17859 PyObject
*resultobj
;
17860 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17862 PyObject
* obj0
= 0 ;
17863 char *kwnames
[] = {
17864 (char *) "self", NULL
17867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
17868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17872 result
= (arg1
)->GetMargins();
17874 wxPyEndAllowThreads(__tstate
);
17875 if (PyErr_Occurred()) SWIG_fail
;
17878 wxSize
* resultptr
;
17879 resultptr
= new wxSize((wxSize
&) result
);
17880 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17888 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17889 PyObject
*resultobj
;
17890 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17892 PyObject
* obj0
= 0 ;
17893 char *kwnames
[] = {
17894 (char *) "self", NULL
17897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
17898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17902 result
= (int)(arg1
)->GetToolPacking();
17904 wxPyEndAllowThreads(__tstate
);
17905 if (PyErr_Occurred()) SWIG_fail
;
17907 resultobj
= SWIG_FromInt((int)result
);
17914 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17915 PyObject
*resultobj
;
17916 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17918 PyObject
* obj0
= 0 ;
17919 char *kwnames
[] = {
17920 (char *) "self", NULL
17923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
17924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17928 result
= (int)(arg1
)->GetToolSeparation();
17930 wxPyEndAllowThreads(__tstate
);
17931 if (PyErr_Occurred()) SWIG_fail
;
17933 resultobj
= SWIG_FromInt((int)result
);
17940 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17941 PyObject
*resultobj
;
17942 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17944 PyObject
* obj0
= 0 ;
17945 PyObject
* obj1
= 0 ;
17946 char *kwnames
[] = {
17947 (char *) "self",(char *) "nRows", NULL
17950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
17951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17953 arg2
= (int) SWIG_AsInt(obj1
);
17954 if (PyErr_Occurred()) SWIG_fail
;
17956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17957 (arg1
)->SetRows(arg2
);
17959 wxPyEndAllowThreads(__tstate
);
17960 if (PyErr_Occurred()) SWIG_fail
;
17962 Py_INCREF(Py_None
); resultobj
= Py_None
;
17969 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17970 PyObject
*resultobj
;
17971 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17974 PyObject
* obj0
= 0 ;
17975 PyObject
* obj1
= 0 ;
17976 PyObject
* obj2
= 0 ;
17977 char *kwnames
[] = {
17978 (char *) "self",(char *) "rows",(char *) "cols", NULL
17981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17984 arg2
= (int) SWIG_AsInt(obj1
);
17985 if (PyErr_Occurred()) SWIG_fail
;
17986 arg3
= (int) SWIG_AsInt(obj2
);
17987 if (PyErr_Occurred()) SWIG_fail
;
17989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17990 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
17992 wxPyEndAllowThreads(__tstate
);
17993 if (PyErr_Occurred()) SWIG_fail
;
17995 Py_INCREF(Py_None
); resultobj
= Py_None
;
18002 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18003 PyObject
*resultobj
;
18004 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18006 PyObject
* obj0
= 0 ;
18007 char *kwnames
[] = {
18008 (char *) "self", NULL
18011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
18012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18016 result
= (int)(arg1
)->GetMaxRows();
18018 wxPyEndAllowThreads(__tstate
);
18019 if (PyErr_Occurred()) SWIG_fail
;
18021 resultobj
= SWIG_FromInt((int)result
);
18028 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18029 PyObject
*resultobj
;
18030 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18032 PyObject
* obj0
= 0 ;
18033 char *kwnames
[] = {
18034 (char *) "self", NULL
18037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
18038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18042 result
= (int)(arg1
)->GetMaxCols();
18044 wxPyEndAllowThreads(__tstate
);
18045 if (PyErr_Occurred()) SWIG_fail
;
18047 resultobj
= SWIG_FromInt((int)result
);
18054 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18055 PyObject
*resultobj
;
18056 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18059 PyObject
* obj0
= 0 ;
18060 PyObject
* obj1
= 0 ;
18061 char *kwnames
[] = {
18062 (char *) "self",(char *) "size", NULL
18065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18070 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18074 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
18076 wxPyEndAllowThreads(__tstate
);
18077 if (PyErr_Occurred()) SWIG_fail
;
18079 Py_INCREF(Py_None
); resultobj
= Py_None
;
18086 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18087 PyObject
*resultobj
;
18088 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18090 PyObject
* obj0
= 0 ;
18091 char *kwnames
[] = {
18092 (char *) "self", NULL
18095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
18096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18100 result
= (arg1
)->GetToolBitmapSize();
18102 wxPyEndAllowThreads(__tstate
);
18103 if (PyErr_Occurred()) SWIG_fail
;
18106 wxSize
* resultptr
;
18107 resultptr
= new wxSize((wxSize
&) result
);
18108 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18116 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18117 PyObject
*resultobj
;
18118 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18120 PyObject
* obj0
= 0 ;
18121 char *kwnames
[] = {
18122 (char *) "self", NULL
18125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
18126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18130 result
= (arg1
)->GetToolSize();
18132 wxPyEndAllowThreads(__tstate
);
18133 if (PyErr_Occurred()) SWIG_fail
;
18136 wxSize
* resultptr
;
18137 resultptr
= new wxSize((wxSize
&) result
);
18138 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18146 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18147 PyObject
*resultobj
;
18148 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18151 wxToolBarToolBase
*result
;
18152 PyObject
* obj0
= 0 ;
18153 PyObject
* obj1
= 0 ;
18154 PyObject
* obj2
= 0 ;
18155 char *kwnames
[] = {
18156 (char *) "self",(char *) "x",(char *) "y", NULL
18159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18162 arg2
= (int) SWIG_AsInt(obj1
);
18163 if (PyErr_Occurred()) SWIG_fail
;
18164 arg3
= (int) SWIG_AsInt(obj2
);
18165 if (PyErr_Occurred()) SWIG_fail
;
18167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18168 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18170 wxPyEndAllowThreads(__tstate
);
18171 if (PyErr_Occurred()) SWIG_fail
;
18174 resultobj
= wxPyMake_wxObject(result
);
18182 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18183 PyObject
*resultobj
;
18184 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18186 wxToolBarToolBase
*result
;
18187 PyObject
* obj0
= 0 ;
18188 PyObject
* obj1
= 0 ;
18189 char *kwnames
[] = {
18190 (char *) "self",(char *) "toolid", NULL
18193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
18194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18196 arg2
= (int) SWIG_AsInt(obj1
);
18197 if (PyErr_Occurred()) SWIG_fail
;
18199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18200 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
18202 wxPyEndAllowThreads(__tstate
);
18203 if (PyErr_Occurred()) SWIG_fail
;
18206 resultobj
= wxPyMake_wxObject(result
);
18214 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18215 PyObject
*resultobj
;
18216 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18218 PyObject
* obj0
= 0 ;
18219 char *kwnames
[] = {
18220 (char *) "self", NULL
18223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
18224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18228 result
= (bool)(arg1
)->IsVertical();
18230 wxPyEndAllowThreads(__tstate
);
18231 if (PyErr_Occurred()) SWIG_fail
;
18234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18242 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
18244 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18245 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
18247 return Py_BuildValue((char *)"");
18249 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18250 PyObject
*resultobj
;
18251 wxWindow
*arg1
= (wxWindow
*) 0 ;
18253 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18254 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18255 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18256 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18257 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18258 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
18259 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18263 bool temp6
= False
;
18264 PyObject
* obj0
= 0 ;
18265 PyObject
* obj1
= 0 ;
18266 PyObject
* obj2
= 0 ;
18267 PyObject
* obj3
= 0 ;
18268 PyObject
* obj4
= 0 ;
18269 PyObject
* obj5
= 0 ;
18270 char *kwnames
[] = {
18271 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18277 arg2
= (int) SWIG_AsInt(obj1
);
18278 if (PyErr_Occurred()) SWIG_fail
;
18282 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18288 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18292 arg5
= (long) SWIG_AsLong(obj4
);
18293 if (PyErr_Occurred()) SWIG_fail
;
18297 arg6
= wxString_in_helper(obj5
);
18298 if (arg6
== NULL
) SWIG_fail
;
18303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18304 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18306 wxPyEndAllowThreads(__tstate
);
18307 if (PyErr_Occurred()) SWIG_fail
;
18310 resultobj
= wxPyMake_wxObject(result
);
18326 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18327 PyObject
*resultobj
;
18329 char *kwnames
[] = {
18333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
18335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18336 result
= (wxToolBar
*)new wxToolBar();
18338 wxPyEndAllowThreads(__tstate
);
18339 if (PyErr_Occurred()) SWIG_fail
;
18342 resultobj
= wxPyMake_wxObject(result
);
18350 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18351 PyObject
*resultobj
;
18352 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18353 wxWindow
*arg2
= (wxWindow
*) 0 ;
18355 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18356 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18357 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18358 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18359 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18360 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
18361 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18365 bool temp7
= False
;
18366 PyObject
* obj0
= 0 ;
18367 PyObject
* obj1
= 0 ;
18368 PyObject
* obj2
= 0 ;
18369 PyObject
* obj3
= 0 ;
18370 PyObject
* obj4
= 0 ;
18371 PyObject
* obj5
= 0 ;
18372 PyObject
* obj6
= 0 ;
18373 char *kwnames
[] = {
18374 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18380 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18382 arg3
= (int) SWIG_AsInt(obj2
);
18383 if (PyErr_Occurred()) SWIG_fail
;
18387 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18393 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18397 arg6
= (long) SWIG_AsLong(obj5
);
18398 if (PyErr_Occurred()) SWIG_fail
;
18402 arg7
= wxString_in_helper(obj6
);
18403 if (arg7
== NULL
) SWIG_fail
;
18408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18409 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18411 wxPyEndAllowThreads(__tstate
);
18412 if (PyErr_Occurred()) SWIG_fail
;
18415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18431 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18432 PyObject
*resultobj
;
18433 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18436 wxToolBarToolBase
*result
;
18437 PyObject
* obj0
= 0 ;
18438 PyObject
* obj1
= 0 ;
18439 PyObject
* obj2
= 0 ;
18440 char *kwnames
[] = {
18441 (char *) "self",(char *) "x",(char *) "y", NULL
18444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18447 arg2
= (int) SWIG_AsInt(obj1
);
18448 if (PyErr_Occurred()) SWIG_fail
;
18449 arg3
= (int) SWIG_AsInt(obj2
);
18450 if (PyErr_Occurred()) SWIG_fail
;
18452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18453 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18455 wxPyEndAllowThreads(__tstate
);
18456 if (PyErr_Occurred()) SWIG_fail
;
18459 resultobj
= wxPyMake_wxObject(result
);
18467 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18468 PyObject
*resultobj
;
18469 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
18470 wxVisualAttributes result
;
18471 PyObject
* obj0
= 0 ;
18472 char *kwnames
[] = {
18473 (char *) "variant", NULL
18476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18478 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
18479 if (PyErr_Occurred()) SWIG_fail
;
18482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18483 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
18485 wxPyEndAllowThreads(__tstate
);
18486 if (PyErr_Occurred()) SWIG_fail
;
18489 wxVisualAttributes
* resultptr
;
18490 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
18491 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18499 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
18501 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18502 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
18504 return Py_BuildValue((char *)"");
18506 static int _wrap_ListCtrlNameStr_set(PyObject
*_val
) {
18507 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
18512 static PyObject
*_wrap_ListCtrlNameStr_get() {
18517 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
18519 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
18526 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18527 PyObject
*resultobj
;
18528 wxColour
const &arg1_defvalue
= wxNullColour
;
18529 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
18530 wxColour
const &arg2_defvalue
= wxNullColour
;
18531 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
18532 wxFont
const &arg3_defvalue
= wxNullFont
;
18533 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
18534 wxListItemAttr
*result
;
18537 PyObject
* obj0
= 0 ;
18538 PyObject
* obj1
= 0 ;
18539 PyObject
* obj2
= 0 ;
18540 char *kwnames
[] = {
18541 (char *) "colText",(char *) "colBack",(char *) "font", NULL
18544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18548 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
18554 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18558 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
18559 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18561 if (arg3
== NULL
) {
18562 PyErr_SetString(PyExc_TypeError
,"null reference");
18567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18568 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
18570 wxPyEndAllowThreads(__tstate
);
18571 if (PyErr_Occurred()) SWIG_fail
;
18573 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
18580 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18581 PyObject
*resultobj
;
18582 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18583 wxColour
*arg2
= 0 ;
18585 PyObject
* obj0
= 0 ;
18586 PyObject
* obj1
= 0 ;
18587 char *kwnames
[] = {
18588 (char *) "self",(char *) "colText", NULL
18591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18596 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18600 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18602 wxPyEndAllowThreads(__tstate
);
18603 if (PyErr_Occurred()) SWIG_fail
;
18605 Py_INCREF(Py_None
); resultobj
= Py_None
;
18612 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18613 PyObject
*resultobj
;
18614 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18615 wxColour
*arg2
= 0 ;
18617 PyObject
* obj0
= 0 ;
18618 PyObject
* obj1
= 0 ;
18619 char *kwnames
[] = {
18620 (char *) "self",(char *) "colBack", NULL
18623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18628 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18632 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18634 wxPyEndAllowThreads(__tstate
);
18635 if (PyErr_Occurred()) SWIG_fail
;
18637 Py_INCREF(Py_None
); resultobj
= Py_None
;
18644 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18645 PyObject
*resultobj
;
18646 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18648 PyObject
* obj0
= 0 ;
18649 PyObject
* obj1
= 0 ;
18650 char *kwnames
[] = {
18651 (char *) "self",(char *) "font", NULL
18654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18657 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18658 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18660 if (arg2
== NULL
) {
18661 PyErr_SetString(PyExc_TypeError
,"null reference");
18665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18666 (arg1
)->SetFont((wxFont
const &)*arg2
);
18668 wxPyEndAllowThreads(__tstate
);
18669 if (PyErr_Occurred()) SWIG_fail
;
18671 Py_INCREF(Py_None
); resultobj
= Py_None
;
18678 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18679 PyObject
*resultobj
;
18680 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18682 PyObject
* obj0
= 0 ;
18683 char *kwnames
[] = {
18684 (char *) "self", NULL
18687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
18688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18692 result
= (bool)(arg1
)->HasTextColour();
18694 wxPyEndAllowThreads(__tstate
);
18695 if (PyErr_Occurred()) SWIG_fail
;
18698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18706 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18707 PyObject
*resultobj
;
18708 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18710 PyObject
* obj0
= 0 ;
18711 char *kwnames
[] = {
18712 (char *) "self", NULL
18715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
18716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18720 result
= (bool)(arg1
)->HasBackgroundColour();
18722 wxPyEndAllowThreads(__tstate
);
18723 if (PyErr_Occurred()) SWIG_fail
;
18726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18734 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18735 PyObject
*resultobj
;
18736 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18738 PyObject
* obj0
= 0 ;
18739 char *kwnames
[] = {
18740 (char *) "self", NULL
18743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
18744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18748 result
= (bool)(arg1
)->HasFont();
18750 wxPyEndAllowThreads(__tstate
);
18751 if (PyErr_Occurred()) SWIG_fail
;
18754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18762 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18763 PyObject
*resultobj
;
18764 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18766 PyObject
* obj0
= 0 ;
18767 char *kwnames
[] = {
18768 (char *) "self", NULL
18771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
18772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18776 result
= (arg1
)->GetTextColour();
18778 wxPyEndAllowThreads(__tstate
);
18779 if (PyErr_Occurred()) SWIG_fail
;
18782 wxColour
* resultptr
;
18783 resultptr
= new wxColour((wxColour
&) result
);
18784 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18792 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18793 PyObject
*resultobj
;
18794 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18796 PyObject
* obj0
= 0 ;
18797 char *kwnames
[] = {
18798 (char *) "self", NULL
18801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
18802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18806 result
= (arg1
)->GetBackgroundColour();
18808 wxPyEndAllowThreads(__tstate
);
18809 if (PyErr_Occurred()) SWIG_fail
;
18812 wxColour
* resultptr
;
18813 resultptr
= new wxColour((wxColour
&) result
);
18814 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18822 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18823 PyObject
*resultobj
;
18824 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18826 PyObject
* obj0
= 0 ;
18827 char *kwnames
[] = {
18828 (char *) "self", NULL
18831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
18832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18836 result
= (arg1
)->GetFont();
18838 wxPyEndAllowThreads(__tstate
);
18839 if (PyErr_Occurred()) SWIG_fail
;
18842 wxFont
* resultptr
;
18843 resultptr
= new wxFont((wxFont
&) result
);
18844 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
18852 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18853 PyObject
*resultobj
;
18854 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18855 PyObject
* obj0
= 0 ;
18856 char *kwnames
[] = {
18857 (char *) "self", NULL
18860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
18861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18865 wxListItemAttr_Destroy(arg1
);
18867 wxPyEndAllowThreads(__tstate
);
18868 if (PyErr_Occurred()) SWIG_fail
;
18870 Py_INCREF(Py_None
); resultobj
= Py_None
;
18877 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
18879 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18880 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
18882 return Py_BuildValue((char *)"");
18884 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18885 PyObject
*resultobj
;
18886 wxListItem
*result
;
18887 char *kwnames
[] = {
18891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
18893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18894 result
= (wxListItem
*)new wxListItem();
18896 wxPyEndAllowThreads(__tstate
);
18897 if (PyErr_Occurred()) SWIG_fail
;
18900 resultobj
= wxPyMake_wxObject(result
);
18908 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18909 PyObject
*resultobj
;
18910 wxListItem
*arg1
= (wxListItem
*) 0 ;
18911 PyObject
* obj0
= 0 ;
18912 char *kwnames
[] = {
18913 (char *) "self", NULL
18916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
18917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18923 wxPyEndAllowThreads(__tstate
);
18924 if (PyErr_Occurred()) SWIG_fail
;
18926 Py_INCREF(Py_None
); resultobj
= Py_None
;
18933 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18934 PyObject
*resultobj
;
18935 wxListItem
*arg1
= (wxListItem
*) 0 ;
18936 PyObject
* obj0
= 0 ;
18937 char *kwnames
[] = {
18938 (char *) "self", NULL
18941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
18942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18948 wxPyEndAllowThreads(__tstate
);
18949 if (PyErr_Occurred()) SWIG_fail
;
18951 Py_INCREF(Py_None
); resultobj
= Py_None
;
18958 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18959 PyObject
*resultobj
;
18960 wxListItem
*arg1
= (wxListItem
*) 0 ;
18961 PyObject
* obj0
= 0 ;
18962 char *kwnames
[] = {
18963 (char *) "self", NULL
18966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
18967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18971 (arg1
)->ClearAttributes();
18973 wxPyEndAllowThreads(__tstate
);
18974 if (PyErr_Occurred()) SWIG_fail
;
18976 Py_INCREF(Py_None
); resultobj
= Py_None
;
18983 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18984 PyObject
*resultobj
;
18985 wxListItem
*arg1
= (wxListItem
*) 0 ;
18987 PyObject
* obj0
= 0 ;
18988 PyObject
* obj1
= 0 ;
18989 char *kwnames
[] = {
18990 (char *) "self",(char *) "mask", NULL
18993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
18994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18996 arg2
= (long) SWIG_AsLong(obj1
);
18997 if (PyErr_Occurred()) SWIG_fail
;
18999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19000 (arg1
)->SetMask(arg2
);
19002 wxPyEndAllowThreads(__tstate
);
19003 if (PyErr_Occurred()) SWIG_fail
;
19005 Py_INCREF(Py_None
); resultobj
= Py_None
;
19012 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19013 PyObject
*resultobj
;
19014 wxListItem
*arg1
= (wxListItem
*) 0 ;
19016 PyObject
* obj0
= 0 ;
19017 PyObject
* obj1
= 0 ;
19018 char *kwnames
[] = {
19019 (char *) "self",(char *) "id", NULL
19022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
19023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19025 arg2
= (long) SWIG_AsLong(obj1
);
19026 if (PyErr_Occurred()) SWIG_fail
;
19028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19029 (arg1
)->SetId(arg2
);
19031 wxPyEndAllowThreads(__tstate
);
19032 if (PyErr_Occurred()) SWIG_fail
;
19034 Py_INCREF(Py_None
); resultobj
= Py_None
;
19041 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19042 PyObject
*resultobj
;
19043 wxListItem
*arg1
= (wxListItem
*) 0 ;
19045 PyObject
* obj0
= 0 ;
19046 PyObject
* obj1
= 0 ;
19047 char *kwnames
[] = {
19048 (char *) "self",(char *) "col", NULL
19051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
19052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19054 arg2
= (int) SWIG_AsInt(obj1
);
19055 if (PyErr_Occurred()) SWIG_fail
;
19057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19058 (arg1
)->SetColumn(arg2
);
19060 wxPyEndAllowThreads(__tstate
);
19061 if (PyErr_Occurred()) SWIG_fail
;
19063 Py_INCREF(Py_None
); resultobj
= Py_None
;
19070 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19071 PyObject
*resultobj
;
19072 wxListItem
*arg1
= (wxListItem
*) 0 ;
19074 PyObject
* obj0
= 0 ;
19075 PyObject
* obj1
= 0 ;
19076 char *kwnames
[] = {
19077 (char *) "self",(char *) "state", NULL
19080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
19081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19083 arg2
= (long) SWIG_AsLong(obj1
);
19084 if (PyErr_Occurred()) SWIG_fail
;
19086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19087 (arg1
)->SetState(arg2
);
19089 wxPyEndAllowThreads(__tstate
);
19090 if (PyErr_Occurred()) SWIG_fail
;
19092 Py_INCREF(Py_None
); resultobj
= Py_None
;
19099 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19100 PyObject
*resultobj
;
19101 wxListItem
*arg1
= (wxListItem
*) 0 ;
19103 PyObject
* obj0
= 0 ;
19104 PyObject
* obj1
= 0 ;
19105 char *kwnames
[] = {
19106 (char *) "self",(char *) "stateMask", NULL
19109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19112 arg2
= (long) SWIG_AsLong(obj1
);
19113 if (PyErr_Occurred()) SWIG_fail
;
19115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19116 (arg1
)->SetStateMask(arg2
);
19118 wxPyEndAllowThreads(__tstate
);
19119 if (PyErr_Occurred()) SWIG_fail
;
19121 Py_INCREF(Py_None
); resultobj
= Py_None
;
19128 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19129 PyObject
*resultobj
;
19130 wxListItem
*arg1
= (wxListItem
*) 0 ;
19131 wxString
*arg2
= 0 ;
19132 bool temp2
= False
;
19133 PyObject
* obj0
= 0 ;
19134 PyObject
* obj1
= 0 ;
19135 char *kwnames
[] = {
19136 (char *) "self",(char *) "text", NULL
19139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
19140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19143 arg2
= wxString_in_helper(obj1
);
19144 if (arg2
== NULL
) SWIG_fail
;
19148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19149 (arg1
)->SetText((wxString
const &)*arg2
);
19151 wxPyEndAllowThreads(__tstate
);
19152 if (PyErr_Occurred()) SWIG_fail
;
19154 Py_INCREF(Py_None
); resultobj
= Py_None
;
19169 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19170 PyObject
*resultobj
;
19171 wxListItem
*arg1
= (wxListItem
*) 0 ;
19173 PyObject
* obj0
= 0 ;
19174 PyObject
* obj1
= 0 ;
19175 char *kwnames
[] = {
19176 (char *) "self",(char *) "image", NULL
19179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
19180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19182 arg2
= (int) SWIG_AsInt(obj1
);
19183 if (PyErr_Occurred()) SWIG_fail
;
19185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19186 (arg1
)->SetImage(arg2
);
19188 wxPyEndAllowThreads(__tstate
);
19189 if (PyErr_Occurred()) SWIG_fail
;
19191 Py_INCREF(Py_None
); resultobj
= Py_None
;
19198 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19199 PyObject
*resultobj
;
19200 wxListItem
*arg1
= (wxListItem
*) 0 ;
19202 PyObject
* obj0
= 0 ;
19203 PyObject
* obj1
= 0 ;
19204 char *kwnames
[] = {
19205 (char *) "self",(char *) "data", NULL
19208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
19209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19211 arg2
= (long) SWIG_AsLong(obj1
);
19212 if (PyErr_Occurred()) SWIG_fail
;
19214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19215 (arg1
)->SetData(arg2
);
19217 wxPyEndAllowThreads(__tstate
);
19218 if (PyErr_Occurred()) SWIG_fail
;
19220 Py_INCREF(Py_None
); resultobj
= Py_None
;
19227 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19228 PyObject
*resultobj
;
19229 wxListItem
*arg1
= (wxListItem
*) 0 ;
19231 PyObject
* obj0
= 0 ;
19232 PyObject
* obj1
= 0 ;
19233 char *kwnames
[] = {
19234 (char *) "self",(char *) "width", NULL
19237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
19238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19240 arg2
= (int) SWIG_AsInt(obj1
);
19241 if (PyErr_Occurred()) SWIG_fail
;
19243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19244 (arg1
)->SetWidth(arg2
);
19246 wxPyEndAllowThreads(__tstate
);
19247 if (PyErr_Occurred()) SWIG_fail
;
19249 Py_INCREF(Py_None
); resultobj
= Py_None
;
19256 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19257 PyObject
*resultobj
;
19258 wxListItem
*arg1
= (wxListItem
*) 0 ;
19260 PyObject
* obj0
= 0 ;
19261 PyObject
* obj1
= 0 ;
19262 char *kwnames
[] = {
19263 (char *) "self",(char *) "align", NULL
19266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
19267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19269 arg2
= (wxListColumnFormat
) SWIG_AsInt(obj1
);
19270 if (PyErr_Occurred()) SWIG_fail
;
19272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19273 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
19275 wxPyEndAllowThreads(__tstate
);
19276 if (PyErr_Occurred()) SWIG_fail
;
19278 Py_INCREF(Py_None
); resultobj
= Py_None
;
19285 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19286 PyObject
*resultobj
;
19287 wxListItem
*arg1
= (wxListItem
*) 0 ;
19288 wxColour
*arg2
= 0 ;
19290 PyObject
* obj0
= 0 ;
19291 PyObject
* obj1
= 0 ;
19292 char *kwnames
[] = {
19293 (char *) "self",(char *) "colText", NULL
19296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19301 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19305 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
19307 wxPyEndAllowThreads(__tstate
);
19308 if (PyErr_Occurred()) SWIG_fail
;
19310 Py_INCREF(Py_None
); resultobj
= Py_None
;
19317 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19318 PyObject
*resultobj
;
19319 wxListItem
*arg1
= (wxListItem
*) 0 ;
19320 wxColour
*arg2
= 0 ;
19322 PyObject
* obj0
= 0 ;
19323 PyObject
* obj1
= 0 ;
19324 char *kwnames
[] = {
19325 (char *) "self",(char *) "colBack", NULL
19328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19333 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19337 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
19339 wxPyEndAllowThreads(__tstate
);
19340 if (PyErr_Occurred()) SWIG_fail
;
19342 Py_INCREF(Py_None
); resultobj
= Py_None
;
19349 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19350 PyObject
*resultobj
;
19351 wxListItem
*arg1
= (wxListItem
*) 0 ;
19353 PyObject
* obj0
= 0 ;
19354 PyObject
* obj1
= 0 ;
19355 char *kwnames
[] = {
19356 (char *) "self",(char *) "font", NULL
19359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
19360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19362 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
19363 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19365 if (arg2
== NULL
) {
19366 PyErr_SetString(PyExc_TypeError
,"null reference");
19370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19371 (arg1
)->SetFont((wxFont
const &)*arg2
);
19373 wxPyEndAllowThreads(__tstate
);
19374 if (PyErr_Occurred()) SWIG_fail
;
19376 Py_INCREF(Py_None
); resultobj
= Py_None
;
19383 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19384 PyObject
*resultobj
;
19385 wxListItem
*arg1
= (wxListItem
*) 0 ;
19387 PyObject
* obj0
= 0 ;
19388 char *kwnames
[] = {
19389 (char *) "self", NULL
19392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
19393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19397 result
= (long)(arg1
)->GetMask();
19399 wxPyEndAllowThreads(__tstate
);
19400 if (PyErr_Occurred()) SWIG_fail
;
19402 resultobj
= SWIG_FromLong((long)result
);
19409 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19410 PyObject
*resultobj
;
19411 wxListItem
*arg1
= (wxListItem
*) 0 ;
19413 PyObject
* obj0
= 0 ;
19414 char *kwnames
[] = {
19415 (char *) "self", NULL
19418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
19419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19423 result
= (long)(arg1
)->GetId();
19425 wxPyEndAllowThreads(__tstate
);
19426 if (PyErr_Occurred()) SWIG_fail
;
19428 resultobj
= SWIG_FromLong((long)result
);
19435 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19436 PyObject
*resultobj
;
19437 wxListItem
*arg1
= (wxListItem
*) 0 ;
19439 PyObject
* obj0
= 0 ;
19440 char *kwnames
[] = {
19441 (char *) "self", NULL
19444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
19445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19449 result
= (int)(arg1
)->GetColumn();
19451 wxPyEndAllowThreads(__tstate
);
19452 if (PyErr_Occurred()) SWIG_fail
;
19454 resultobj
= SWIG_FromInt((int)result
);
19461 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19462 PyObject
*resultobj
;
19463 wxListItem
*arg1
= (wxListItem
*) 0 ;
19465 PyObject
* obj0
= 0 ;
19466 char *kwnames
[] = {
19467 (char *) "self", NULL
19470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
19471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19475 result
= (long)(arg1
)->GetState();
19477 wxPyEndAllowThreads(__tstate
);
19478 if (PyErr_Occurred()) SWIG_fail
;
19480 resultobj
= SWIG_FromLong((long)result
);
19487 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19488 PyObject
*resultobj
;
19489 wxListItem
*arg1
= (wxListItem
*) 0 ;
19491 PyObject
* obj0
= 0 ;
19492 char *kwnames
[] = {
19493 (char *) "self", NULL
19496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
19497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19502 wxString
const &_result_ref
= (arg1
)->GetText();
19503 result
= (wxString
*) &_result_ref
;
19506 wxPyEndAllowThreads(__tstate
);
19507 if (PyErr_Occurred()) SWIG_fail
;
19511 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19513 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19522 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19523 PyObject
*resultobj
;
19524 wxListItem
*arg1
= (wxListItem
*) 0 ;
19526 PyObject
* obj0
= 0 ;
19527 char *kwnames
[] = {
19528 (char *) "self", NULL
19531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
19532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19536 result
= (int)(arg1
)->GetImage();
19538 wxPyEndAllowThreads(__tstate
);
19539 if (PyErr_Occurred()) SWIG_fail
;
19541 resultobj
= SWIG_FromInt((int)result
);
19548 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19549 PyObject
*resultobj
;
19550 wxListItem
*arg1
= (wxListItem
*) 0 ;
19552 PyObject
* obj0
= 0 ;
19553 char *kwnames
[] = {
19554 (char *) "self", NULL
19557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
19558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19562 result
= (long)(arg1
)->GetData();
19564 wxPyEndAllowThreads(__tstate
);
19565 if (PyErr_Occurred()) SWIG_fail
;
19567 resultobj
= SWIG_FromLong((long)result
);
19574 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19575 PyObject
*resultobj
;
19576 wxListItem
*arg1
= (wxListItem
*) 0 ;
19578 PyObject
* obj0
= 0 ;
19579 char *kwnames
[] = {
19580 (char *) "self", NULL
19583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
19584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19588 result
= (int)(arg1
)->GetWidth();
19590 wxPyEndAllowThreads(__tstate
);
19591 if (PyErr_Occurred()) SWIG_fail
;
19593 resultobj
= SWIG_FromInt((int)result
);
19600 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19601 PyObject
*resultobj
;
19602 wxListItem
*arg1
= (wxListItem
*) 0 ;
19604 PyObject
* obj0
= 0 ;
19605 char *kwnames
[] = {
19606 (char *) "self", NULL
19609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
19610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19614 result
= (int)(arg1
)->GetAlign();
19616 wxPyEndAllowThreads(__tstate
);
19617 if (PyErr_Occurred()) SWIG_fail
;
19619 resultobj
= SWIG_FromInt((int)result
);
19626 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19627 PyObject
*resultobj
;
19628 wxListItem
*arg1
= (wxListItem
*) 0 ;
19629 wxListItemAttr
*result
;
19630 PyObject
* obj0
= 0 ;
19631 char *kwnames
[] = {
19632 (char *) "self", NULL
19635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
19636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19640 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
19642 wxPyEndAllowThreads(__tstate
);
19643 if (PyErr_Occurred()) SWIG_fail
;
19645 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
19652 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19653 PyObject
*resultobj
;
19654 wxListItem
*arg1
= (wxListItem
*) 0 ;
19656 PyObject
* obj0
= 0 ;
19657 char *kwnames
[] = {
19658 (char *) "self", NULL
19661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
19662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19666 result
= (bool)(arg1
)->HasAttributes();
19668 wxPyEndAllowThreads(__tstate
);
19669 if (PyErr_Occurred()) SWIG_fail
;
19672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19680 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19681 PyObject
*resultobj
;
19682 wxListItem
*arg1
= (wxListItem
*) 0 ;
19684 PyObject
* obj0
= 0 ;
19685 char *kwnames
[] = {
19686 (char *) "self", NULL
19689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
19690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19694 result
= ((wxListItem
const *)arg1
)->GetTextColour();
19696 wxPyEndAllowThreads(__tstate
);
19697 if (PyErr_Occurred()) SWIG_fail
;
19700 wxColour
* resultptr
;
19701 resultptr
= new wxColour((wxColour
&) result
);
19702 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19710 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19711 PyObject
*resultobj
;
19712 wxListItem
*arg1
= (wxListItem
*) 0 ;
19714 PyObject
* obj0
= 0 ;
19715 char *kwnames
[] = {
19716 (char *) "self", NULL
19719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
19720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19724 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
19726 wxPyEndAllowThreads(__tstate
);
19727 if (PyErr_Occurred()) SWIG_fail
;
19730 wxColour
* resultptr
;
19731 resultptr
= new wxColour((wxColour
&) result
);
19732 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19740 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19741 PyObject
*resultobj
;
19742 wxListItem
*arg1
= (wxListItem
*) 0 ;
19744 PyObject
* obj0
= 0 ;
19745 char *kwnames
[] = {
19746 (char *) "self", NULL
19749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
19750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19754 result
= ((wxListItem
const *)arg1
)->GetFont();
19756 wxPyEndAllowThreads(__tstate
);
19757 if (PyErr_Occurred()) SWIG_fail
;
19760 wxFont
* resultptr
;
19761 resultptr
= new wxFont((wxFont
&) result
);
19762 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
19770 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19771 PyObject
*resultobj
;
19772 wxListItem
*arg1
= (wxListItem
*) 0 ;
19774 PyObject
* obj0
= 0 ;
19775 PyObject
* obj1
= 0 ;
19776 char *kwnames
[] = {
19777 (char *) "self",(char *) "m_mask", NULL
19780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19783 arg2
= (long) SWIG_AsLong(obj1
);
19784 if (PyErr_Occurred()) SWIG_fail
;
19785 if (arg1
) (arg1
)->m_mask
= arg2
;
19787 Py_INCREF(Py_None
); resultobj
= Py_None
;
19794 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19795 PyObject
*resultobj
;
19796 wxListItem
*arg1
= (wxListItem
*) 0 ;
19798 PyObject
* obj0
= 0 ;
19799 char *kwnames
[] = {
19800 (char *) "self", NULL
19803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
19804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19806 result
= (long) ((arg1
)->m_mask
);
19808 resultobj
= SWIG_FromLong((long)result
);
19815 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19816 PyObject
*resultobj
;
19817 wxListItem
*arg1
= (wxListItem
*) 0 ;
19819 PyObject
* obj0
= 0 ;
19820 PyObject
* obj1
= 0 ;
19821 char *kwnames
[] = {
19822 (char *) "self",(char *) "m_itemId", NULL
19825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19828 arg2
= (long) SWIG_AsLong(obj1
);
19829 if (PyErr_Occurred()) SWIG_fail
;
19830 if (arg1
) (arg1
)->m_itemId
= arg2
;
19832 Py_INCREF(Py_None
); resultobj
= Py_None
;
19839 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19840 PyObject
*resultobj
;
19841 wxListItem
*arg1
= (wxListItem
*) 0 ;
19843 PyObject
* obj0
= 0 ;
19844 char *kwnames
[] = {
19845 (char *) "self", NULL
19848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
19849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19851 result
= (long) ((arg1
)->m_itemId
);
19853 resultobj
= SWIG_FromLong((long)result
);
19860 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19861 PyObject
*resultobj
;
19862 wxListItem
*arg1
= (wxListItem
*) 0 ;
19864 PyObject
* obj0
= 0 ;
19865 PyObject
* obj1
= 0 ;
19866 char *kwnames
[] = {
19867 (char *) "self",(char *) "m_col", NULL
19870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19873 arg2
= (int) SWIG_AsInt(obj1
);
19874 if (PyErr_Occurred()) SWIG_fail
;
19875 if (arg1
) (arg1
)->m_col
= arg2
;
19877 Py_INCREF(Py_None
); resultobj
= Py_None
;
19884 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19885 PyObject
*resultobj
;
19886 wxListItem
*arg1
= (wxListItem
*) 0 ;
19888 PyObject
* obj0
= 0 ;
19889 char *kwnames
[] = {
19890 (char *) "self", NULL
19893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
19894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19896 result
= (int) ((arg1
)->m_col
);
19898 resultobj
= SWIG_FromInt((int)result
);
19905 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19906 PyObject
*resultobj
;
19907 wxListItem
*arg1
= (wxListItem
*) 0 ;
19909 PyObject
* obj0
= 0 ;
19910 PyObject
* obj1
= 0 ;
19911 char *kwnames
[] = {
19912 (char *) "self",(char *) "m_state", NULL
19915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19918 arg2
= (long) SWIG_AsLong(obj1
);
19919 if (PyErr_Occurred()) SWIG_fail
;
19920 if (arg1
) (arg1
)->m_state
= arg2
;
19922 Py_INCREF(Py_None
); resultobj
= Py_None
;
19929 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19930 PyObject
*resultobj
;
19931 wxListItem
*arg1
= (wxListItem
*) 0 ;
19933 PyObject
* obj0
= 0 ;
19934 char *kwnames
[] = {
19935 (char *) "self", NULL
19938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
19939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19941 result
= (long) ((arg1
)->m_state
);
19943 resultobj
= SWIG_FromLong((long)result
);
19950 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19951 PyObject
*resultobj
;
19952 wxListItem
*arg1
= (wxListItem
*) 0 ;
19954 PyObject
* obj0
= 0 ;
19955 PyObject
* obj1
= 0 ;
19956 char *kwnames
[] = {
19957 (char *) "self",(char *) "m_stateMask", NULL
19960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19963 arg2
= (long) SWIG_AsLong(obj1
);
19964 if (PyErr_Occurred()) SWIG_fail
;
19965 if (arg1
) (arg1
)->m_stateMask
= arg2
;
19967 Py_INCREF(Py_None
); resultobj
= Py_None
;
19974 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19975 PyObject
*resultobj
;
19976 wxListItem
*arg1
= (wxListItem
*) 0 ;
19978 PyObject
* obj0
= 0 ;
19979 char *kwnames
[] = {
19980 (char *) "self", NULL
19983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
19984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19986 result
= (long) ((arg1
)->m_stateMask
);
19988 resultobj
= SWIG_FromLong((long)result
);
19995 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19996 PyObject
*resultobj
;
19997 wxListItem
*arg1
= (wxListItem
*) 0 ;
19998 wxString
*arg2
= (wxString
*) 0 ;
19999 bool temp2
= False
;
20000 PyObject
* obj0
= 0 ;
20001 PyObject
* obj1
= 0 ;
20002 char *kwnames
[] = {
20003 (char *) "self",(char *) "m_text", NULL
20006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20010 arg2
= wxString_in_helper(obj1
);
20011 if (arg2
== NULL
) SWIG_fail
;
20014 if (arg1
) (arg1
)->m_text
= *arg2
;
20016 Py_INCREF(Py_None
); resultobj
= Py_None
;
20031 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20032 PyObject
*resultobj
;
20033 wxListItem
*arg1
= (wxListItem
*) 0 ;
20035 PyObject
* obj0
= 0 ;
20036 char *kwnames
[] = {
20037 (char *) "self", NULL
20040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
20041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20043 result
= (wxString
*)& ((arg1
)->m_text
);
20047 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20049 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20058 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20059 PyObject
*resultobj
;
20060 wxListItem
*arg1
= (wxListItem
*) 0 ;
20062 PyObject
* obj0
= 0 ;
20063 PyObject
* obj1
= 0 ;
20064 char *kwnames
[] = {
20065 (char *) "self",(char *) "m_image", NULL
20068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20071 arg2
= (int) SWIG_AsInt(obj1
);
20072 if (PyErr_Occurred()) SWIG_fail
;
20073 if (arg1
) (arg1
)->m_image
= arg2
;
20075 Py_INCREF(Py_None
); resultobj
= Py_None
;
20082 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20083 PyObject
*resultobj
;
20084 wxListItem
*arg1
= (wxListItem
*) 0 ;
20086 PyObject
* obj0
= 0 ;
20087 char *kwnames
[] = {
20088 (char *) "self", NULL
20091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
20092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20094 result
= (int) ((arg1
)->m_image
);
20096 resultobj
= SWIG_FromInt((int)result
);
20103 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20104 PyObject
*resultobj
;
20105 wxListItem
*arg1
= (wxListItem
*) 0 ;
20107 PyObject
* obj0
= 0 ;
20108 PyObject
* obj1
= 0 ;
20109 char *kwnames
[] = {
20110 (char *) "self",(char *) "m_data", NULL
20113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20116 arg2
= (long) SWIG_AsLong(obj1
);
20117 if (PyErr_Occurred()) SWIG_fail
;
20118 if (arg1
) (arg1
)->m_data
= arg2
;
20120 Py_INCREF(Py_None
); resultobj
= Py_None
;
20127 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20128 PyObject
*resultobj
;
20129 wxListItem
*arg1
= (wxListItem
*) 0 ;
20131 PyObject
* obj0
= 0 ;
20132 char *kwnames
[] = {
20133 (char *) "self", NULL
20136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
20137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20139 result
= (long) ((arg1
)->m_data
);
20141 resultobj
= SWIG_FromLong((long)result
);
20148 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20149 PyObject
*resultobj
;
20150 wxListItem
*arg1
= (wxListItem
*) 0 ;
20152 PyObject
* obj0
= 0 ;
20153 PyObject
* obj1
= 0 ;
20154 char *kwnames
[] = {
20155 (char *) "self",(char *) "m_format", NULL
20158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20161 arg2
= (int) SWIG_AsInt(obj1
);
20162 if (PyErr_Occurred()) SWIG_fail
;
20163 if (arg1
) (arg1
)->m_format
= arg2
;
20165 Py_INCREF(Py_None
); resultobj
= Py_None
;
20172 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20173 PyObject
*resultobj
;
20174 wxListItem
*arg1
= (wxListItem
*) 0 ;
20176 PyObject
* obj0
= 0 ;
20177 char *kwnames
[] = {
20178 (char *) "self", NULL
20181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
20182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20184 result
= (int) ((arg1
)->m_format
);
20186 resultobj
= SWIG_FromInt((int)result
);
20193 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20194 PyObject
*resultobj
;
20195 wxListItem
*arg1
= (wxListItem
*) 0 ;
20197 PyObject
* obj0
= 0 ;
20198 PyObject
* obj1
= 0 ;
20199 char *kwnames
[] = {
20200 (char *) "self",(char *) "m_width", NULL
20203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20206 arg2
= (int) SWIG_AsInt(obj1
);
20207 if (PyErr_Occurred()) SWIG_fail
;
20208 if (arg1
) (arg1
)->m_width
= arg2
;
20210 Py_INCREF(Py_None
); resultobj
= Py_None
;
20217 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20218 PyObject
*resultobj
;
20219 wxListItem
*arg1
= (wxListItem
*) 0 ;
20221 PyObject
* obj0
= 0 ;
20222 char *kwnames
[] = {
20223 (char *) "self", NULL
20226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
20227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20229 result
= (int) ((arg1
)->m_width
);
20231 resultobj
= SWIG_FromInt((int)result
);
20238 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
20240 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20241 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
20243 return Py_BuildValue((char *)"");
20245 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20246 PyObject
*resultobj
;
20247 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20248 int arg2
= (int) 0 ;
20249 wxListEvent
*result
;
20250 PyObject
* obj0
= 0 ;
20251 PyObject
* obj1
= 0 ;
20252 char *kwnames
[] = {
20253 (char *) "commandType",(char *) "id", NULL
20256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20258 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
20259 if (PyErr_Occurred()) SWIG_fail
;
20262 arg2
= (int) SWIG_AsInt(obj1
);
20263 if (PyErr_Occurred()) SWIG_fail
;
20266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20267 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
20269 wxPyEndAllowThreads(__tstate
);
20270 if (PyErr_Occurred()) SWIG_fail
;
20272 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
20279 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20280 PyObject
*resultobj
;
20281 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20283 PyObject
* obj0
= 0 ;
20284 PyObject
* obj1
= 0 ;
20285 char *kwnames
[] = {
20286 (char *) "self",(char *) "m_code", NULL
20289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20292 arg2
= (int) SWIG_AsInt(obj1
);
20293 if (PyErr_Occurred()) SWIG_fail
;
20294 if (arg1
) (arg1
)->m_code
= arg2
;
20296 Py_INCREF(Py_None
); resultobj
= Py_None
;
20303 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20304 PyObject
*resultobj
;
20305 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20307 PyObject
* obj0
= 0 ;
20308 char *kwnames
[] = {
20309 (char *) "self", NULL
20312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
20313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20315 result
= (int) ((arg1
)->m_code
);
20317 resultobj
= SWIG_FromInt((int)result
);
20324 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20325 PyObject
*resultobj
;
20326 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20328 PyObject
* obj0
= 0 ;
20329 PyObject
* obj1
= 0 ;
20330 char *kwnames
[] = {
20331 (char *) "self",(char *) "m_oldItemIndex", NULL
20334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20337 arg2
= (long) SWIG_AsLong(obj1
);
20338 if (PyErr_Occurred()) SWIG_fail
;
20339 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
20341 Py_INCREF(Py_None
); resultobj
= Py_None
;
20348 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20349 PyObject
*resultobj
;
20350 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20352 PyObject
* obj0
= 0 ;
20353 char *kwnames
[] = {
20354 (char *) "self", NULL
20357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
20358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20360 result
= (long) ((arg1
)->m_oldItemIndex
);
20362 resultobj
= SWIG_FromLong((long)result
);
20369 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20370 PyObject
*resultobj
;
20371 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20373 PyObject
* obj0
= 0 ;
20374 PyObject
* obj1
= 0 ;
20375 char *kwnames
[] = {
20376 (char *) "self",(char *) "m_itemIndex", NULL
20379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20382 arg2
= (long) SWIG_AsLong(obj1
);
20383 if (PyErr_Occurred()) SWIG_fail
;
20384 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
20386 Py_INCREF(Py_None
); resultobj
= Py_None
;
20393 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20394 PyObject
*resultobj
;
20395 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20397 PyObject
* obj0
= 0 ;
20398 char *kwnames
[] = {
20399 (char *) "self", NULL
20402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
20403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20405 result
= (long) ((arg1
)->m_itemIndex
);
20407 resultobj
= SWIG_FromLong((long)result
);
20414 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20415 PyObject
*resultobj
;
20416 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20418 PyObject
* obj0
= 0 ;
20419 PyObject
* obj1
= 0 ;
20420 char *kwnames
[] = {
20421 (char *) "self",(char *) "m_col", NULL
20424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20427 arg2
= (int) SWIG_AsInt(obj1
);
20428 if (PyErr_Occurred()) SWIG_fail
;
20429 if (arg1
) (arg1
)->m_col
= arg2
;
20431 Py_INCREF(Py_None
); resultobj
= Py_None
;
20438 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20439 PyObject
*resultobj
;
20440 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20442 PyObject
* obj0
= 0 ;
20443 char *kwnames
[] = {
20444 (char *) "self", NULL
20447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
20448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20450 result
= (int) ((arg1
)->m_col
);
20452 resultobj
= SWIG_FromInt((int)result
);
20459 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20460 PyObject
*resultobj
;
20461 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20462 wxPoint
*arg2
= (wxPoint
*) 0 ;
20463 PyObject
* obj0
= 0 ;
20464 PyObject
* obj1
= 0 ;
20465 char *kwnames
[] = {
20466 (char *) "self",(char *) "m_pointDrag", NULL
20469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20472 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
20473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20474 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
20476 Py_INCREF(Py_None
); resultobj
= Py_None
;
20483 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20484 PyObject
*resultobj
;
20485 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20487 PyObject
* obj0
= 0 ;
20488 char *kwnames
[] = {
20489 (char *) "self", NULL
20492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
20493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20495 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
20497 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
20504 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20505 PyObject
*resultobj
;
20506 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20507 wxListItem
*result
;
20508 PyObject
* obj0
= 0 ;
20509 char *kwnames
[] = {
20510 (char *) "self", NULL
20513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
20514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20516 result
= (wxListItem
*)& ((arg1
)->m_item
);
20519 resultobj
= wxPyMake_wxObject(result
);
20527 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20528 PyObject
*resultobj
;
20529 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20531 PyObject
* obj0
= 0 ;
20532 char *kwnames
[] = {
20533 (char *) "self", NULL
20536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20541 result
= (int)(arg1
)->GetKeyCode();
20543 wxPyEndAllowThreads(__tstate
);
20544 if (PyErr_Occurred()) SWIG_fail
;
20546 resultobj
= SWIG_FromInt((int)result
);
20553 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20554 PyObject
*resultobj
;
20555 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20557 PyObject
* obj0
= 0 ;
20558 char *kwnames
[] = {
20559 (char *) "self", NULL
20562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
20563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20567 result
= (long)(arg1
)->GetIndex();
20569 wxPyEndAllowThreads(__tstate
);
20570 if (PyErr_Occurred()) SWIG_fail
;
20572 resultobj
= SWIG_FromLong((long)result
);
20579 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20580 PyObject
*resultobj
;
20581 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20583 PyObject
* obj0
= 0 ;
20584 char *kwnames
[] = {
20585 (char *) "self", NULL
20588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
20589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20593 result
= (int)(arg1
)->GetColumn();
20595 wxPyEndAllowThreads(__tstate
);
20596 if (PyErr_Occurred()) SWIG_fail
;
20598 resultobj
= SWIG_FromInt((int)result
);
20605 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20606 PyObject
*resultobj
;
20607 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20609 PyObject
* obj0
= 0 ;
20610 char *kwnames
[] = {
20611 (char *) "self", NULL
20614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
20615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20619 result
= (arg1
)->GetPoint();
20621 wxPyEndAllowThreads(__tstate
);
20622 if (PyErr_Occurred()) SWIG_fail
;
20625 wxPoint
* resultptr
;
20626 resultptr
= new wxPoint((wxPoint
&) result
);
20627 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20635 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20636 PyObject
*resultobj
;
20637 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20639 PyObject
* obj0
= 0 ;
20640 char *kwnames
[] = {
20641 (char *) "self", NULL
20644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
20645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20650 wxString
const &_result_ref
= (arg1
)->GetLabel();
20651 result
= (wxString
*) &_result_ref
;
20654 wxPyEndAllowThreads(__tstate
);
20655 if (PyErr_Occurred()) SWIG_fail
;
20659 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20661 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20670 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20671 PyObject
*resultobj
;
20672 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20674 PyObject
* obj0
= 0 ;
20675 char *kwnames
[] = {
20676 (char *) "self", NULL
20679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
20680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20685 wxString
const &_result_ref
= (arg1
)->GetText();
20686 result
= (wxString
*) &_result_ref
;
20689 wxPyEndAllowThreads(__tstate
);
20690 if (PyErr_Occurred()) SWIG_fail
;
20694 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20696 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20705 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20706 PyObject
*resultobj
;
20707 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20709 PyObject
* obj0
= 0 ;
20710 char *kwnames
[] = {
20711 (char *) "self", NULL
20714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
20715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20719 result
= (int)(arg1
)->GetImage();
20721 wxPyEndAllowThreads(__tstate
);
20722 if (PyErr_Occurred()) SWIG_fail
;
20724 resultobj
= SWIG_FromInt((int)result
);
20731 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20732 PyObject
*resultobj
;
20733 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20735 PyObject
* obj0
= 0 ;
20736 char *kwnames
[] = {
20737 (char *) "self", NULL
20740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
20741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20745 result
= (long)(arg1
)->GetData();
20747 wxPyEndAllowThreads(__tstate
);
20748 if (PyErr_Occurred()) SWIG_fail
;
20750 resultobj
= SWIG_FromLong((long)result
);
20757 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20758 PyObject
*resultobj
;
20759 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20761 PyObject
* obj0
= 0 ;
20762 char *kwnames
[] = {
20763 (char *) "self", NULL
20766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
20767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20771 result
= (long)(arg1
)->GetMask();
20773 wxPyEndAllowThreads(__tstate
);
20774 if (PyErr_Occurred()) SWIG_fail
;
20776 resultobj
= SWIG_FromLong((long)result
);
20783 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20784 PyObject
*resultobj
;
20785 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20786 wxListItem
*result
;
20787 PyObject
* obj0
= 0 ;
20788 char *kwnames
[] = {
20789 (char *) "self", NULL
20792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
20793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20798 wxListItem
const &_result_ref
= (arg1
)->GetItem();
20799 result
= (wxListItem
*) &_result_ref
;
20802 wxPyEndAllowThreads(__tstate
);
20803 if (PyErr_Occurred()) SWIG_fail
;
20805 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
20812 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20813 PyObject
*resultobj
;
20814 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20816 PyObject
* obj0
= 0 ;
20817 char *kwnames
[] = {
20818 (char *) "self", NULL
20821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
20822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20826 result
= (long)(arg1
)->GetCacheFrom();
20828 wxPyEndAllowThreads(__tstate
);
20829 if (PyErr_Occurred()) SWIG_fail
;
20831 resultobj
= SWIG_FromLong((long)result
);
20838 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20839 PyObject
*resultobj
;
20840 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20842 PyObject
* obj0
= 0 ;
20843 char *kwnames
[] = {
20844 (char *) "self", NULL
20847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
20848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20852 result
= (long)(arg1
)->GetCacheTo();
20854 wxPyEndAllowThreads(__tstate
);
20855 if (PyErr_Occurred()) SWIG_fail
;
20857 resultobj
= SWIG_FromLong((long)result
);
20864 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20865 PyObject
*resultobj
;
20866 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20868 PyObject
* obj0
= 0 ;
20869 char *kwnames
[] = {
20870 (char *) "self", NULL
20873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
20874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20878 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
20880 wxPyEndAllowThreads(__tstate
);
20881 if (PyErr_Occurred()) SWIG_fail
;
20884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20892 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20893 PyObject
*resultobj
;
20894 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20896 PyObject
* obj0
= 0 ;
20897 PyObject
* obj1
= 0 ;
20898 char *kwnames
[] = {
20899 (char *) "self",(char *) "editCancelled", NULL
20902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
20903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20905 arg2
= (bool) SWIG_AsBool(obj1
);
20906 if (PyErr_Occurred()) SWIG_fail
;
20908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20909 (arg1
)->SetEditCanceled(arg2
);
20911 wxPyEndAllowThreads(__tstate
);
20912 if (PyErr_Occurred()) SWIG_fail
;
20914 Py_INCREF(Py_None
); resultobj
= Py_None
;
20921 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
20923 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20924 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
20926 return Py_BuildValue((char *)"");
20928 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20929 PyObject
*resultobj
;
20930 wxWindow
*arg1
= (wxWindow
*) 0 ;
20931 int arg2
= (int) -1 ;
20932 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20933 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20934 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20935 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20936 long arg5
= (long) wxLC_ICON
;
20937 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
20938 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
20939 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
20940 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20941 wxPyListCtrl
*result
;
20944 bool temp7
= False
;
20945 PyObject
* obj0
= 0 ;
20946 PyObject
* obj1
= 0 ;
20947 PyObject
* obj2
= 0 ;
20948 PyObject
* obj3
= 0 ;
20949 PyObject
* obj4
= 0 ;
20950 PyObject
* obj5
= 0 ;
20951 PyObject
* obj6
= 0 ;
20952 char *kwnames
[] = {
20953 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20960 arg2
= (int) SWIG_AsInt(obj1
);
20961 if (PyErr_Occurred()) SWIG_fail
;
20966 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20972 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20976 arg5
= (long) SWIG_AsLong(obj4
);
20977 if (PyErr_Occurred()) SWIG_fail
;
20980 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
20981 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20983 if (arg6
== NULL
) {
20984 PyErr_SetString(PyExc_TypeError
,"null reference");
20990 arg7
= wxString_in_helper(obj6
);
20991 if (arg7
== NULL
) SWIG_fail
;
20996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20997 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
20999 wxPyEndAllowThreads(__tstate
);
21000 if (PyErr_Occurred()) SWIG_fail
;
21002 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21017 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21018 PyObject
*resultobj
;
21019 wxPyListCtrl
*result
;
21020 char *kwnames
[] = {
21024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
21026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21027 result
= (wxPyListCtrl
*)new wxPyListCtrl();
21029 wxPyEndAllowThreads(__tstate
);
21030 if (PyErr_Occurred()) SWIG_fail
;
21032 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21039 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21040 PyObject
*resultobj
;
21041 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21042 wxWindow
*arg2
= (wxWindow
*) 0 ;
21043 int arg3
= (int) -1 ;
21044 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21045 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21046 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21047 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21048 long arg6
= (long) wxLC_ICON
;
21049 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
21050 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
21051 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
21052 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21056 bool temp8
= False
;
21057 PyObject
* obj0
= 0 ;
21058 PyObject
* obj1
= 0 ;
21059 PyObject
* obj2
= 0 ;
21060 PyObject
* obj3
= 0 ;
21061 PyObject
* obj4
= 0 ;
21062 PyObject
* obj5
= 0 ;
21063 PyObject
* obj6
= 0 ;
21064 PyObject
* obj7
= 0 ;
21065 char *kwnames
[] = {
21066 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
21070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21072 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21075 arg3
= (int) SWIG_AsInt(obj2
);
21076 if (PyErr_Occurred()) SWIG_fail
;
21081 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21087 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21091 arg6
= (long) SWIG_AsLong(obj5
);
21092 if (PyErr_Occurred()) SWIG_fail
;
21095 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
21096 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21098 if (arg7
== NULL
) {
21099 PyErr_SetString(PyExc_TypeError
,"null reference");
21105 arg8
= wxString_in_helper(obj7
);
21106 if (arg8
== NULL
) SWIG_fail
;
21111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21112 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
21114 wxPyEndAllowThreads(__tstate
);
21115 if (PyErr_Occurred()) SWIG_fail
;
21118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21134 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21135 PyObject
*resultobj
;
21136 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21137 PyObject
*arg2
= (PyObject
*) 0 ;
21138 PyObject
*arg3
= (PyObject
*) 0 ;
21139 PyObject
* obj0
= 0 ;
21140 PyObject
* obj1
= 0 ;
21141 PyObject
* obj2
= 0 ;
21142 char *kwnames
[] = {
21143 (char *) "self",(char *) "self",(char *) "_class", NULL
21146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21153 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21155 wxPyEndAllowThreads(__tstate
);
21156 if (PyErr_Occurred()) SWIG_fail
;
21158 Py_INCREF(Py_None
); resultobj
= Py_None
;
21165 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21166 PyObject
*resultobj
;
21167 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21168 wxColour
*arg2
= 0 ;
21171 PyObject
* obj0
= 0 ;
21172 PyObject
* obj1
= 0 ;
21173 char *kwnames
[] = {
21174 (char *) "self",(char *) "col", NULL
21177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21182 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21186 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
21188 wxPyEndAllowThreads(__tstate
);
21189 if (PyErr_Occurred()) SWIG_fail
;
21192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21200 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21201 PyObject
*resultobj
;
21202 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21203 wxColour
*arg2
= 0 ;
21206 PyObject
* obj0
= 0 ;
21207 PyObject
* obj1
= 0 ;
21208 char *kwnames
[] = {
21209 (char *) "self",(char *) "col", NULL
21212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21217 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21221 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21223 wxPyEndAllowThreads(__tstate
);
21224 if (PyErr_Occurred()) SWIG_fail
;
21227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21235 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21236 PyObject
*resultobj
;
21237 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21239 wxListItem
*result
;
21240 PyObject
* obj0
= 0 ;
21241 PyObject
* obj1
= 0 ;
21242 char *kwnames
[] = {
21243 (char *) "self",(char *) "col", NULL
21246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21249 arg2
= (int) SWIG_AsInt(obj1
);
21250 if (PyErr_Occurred()) SWIG_fail
;
21252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21253 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
21255 wxPyEndAllowThreads(__tstate
);
21256 if (PyErr_Occurred()) SWIG_fail
;
21259 resultobj
= wxPyMake_wxObject(result
);
21267 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21268 PyObject
*resultobj
;
21269 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21271 wxListItem
*arg3
= 0 ;
21273 PyObject
* obj0
= 0 ;
21274 PyObject
* obj1
= 0 ;
21275 PyObject
* obj2
= 0 ;
21276 char *kwnames
[] = {
21277 (char *) "self",(char *) "col",(char *) "item", NULL
21280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21283 arg2
= (int) SWIG_AsInt(obj1
);
21284 if (PyErr_Occurred()) SWIG_fail
;
21285 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
21286 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21288 if (arg3
== NULL
) {
21289 PyErr_SetString(PyExc_TypeError
,"null reference");
21293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21294 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
21296 wxPyEndAllowThreads(__tstate
);
21297 if (PyErr_Occurred()) SWIG_fail
;
21300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21308 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21309 PyObject
*resultobj
;
21310 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21313 PyObject
* obj0
= 0 ;
21314 PyObject
* obj1
= 0 ;
21315 char *kwnames
[] = {
21316 (char *) "self",(char *) "col", NULL
21319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
21320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21322 arg2
= (int) SWIG_AsInt(obj1
);
21323 if (PyErr_Occurred()) SWIG_fail
;
21325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21326 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
21328 wxPyEndAllowThreads(__tstate
);
21329 if (PyErr_Occurred()) SWIG_fail
;
21331 resultobj
= SWIG_FromInt((int)result
);
21338 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21339 PyObject
*resultobj
;
21340 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21344 PyObject
* obj0
= 0 ;
21345 PyObject
* obj1
= 0 ;
21346 PyObject
* obj2
= 0 ;
21347 char *kwnames
[] = {
21348 (char *) "self",(char *) "col",(char *) "width", NULL
21351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21354 arg2
= (int) SWIG_AsInt(obj1
);
21355 if (PyErr_Occurred()) SWIG_fail
;
21356 arg3
= (int) SWIG_AsInt(obj2
);
21357 if (PyErr_Occurred()) SWIG_fail
;
21359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21360 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
21362 wxPyEndAllowThreads(__tstate
);
21363 if (PyErr_Occurred()) SWIG_fail
;
21366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21374 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21375 PyObject
*resultobj
;
21376 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21378 PyObject
* obj0
= 0 ;
21379 char *kwnames
[] = {
21380 (char *) "self", NULL
21383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
21384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21388 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
21390 wxPyEndAllowThreads(__tstate
);
21391 if (PyErr_Occurred()) SWIG_fail
;
21393 resultobj
= SWIG_FromInt((int)result
);
21400 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21401 PyObject
*resultobj
;
21402 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21404 PyObject
* obj0
= 0 ;
21405 char *kwnames
[] = {
21406 (char *) "self", NULL
21409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
21410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21414 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
21416 wxPyEndAllowThreads(__tstate
);
21417 if (PyErr_Occurred()) SWIG_fail
;
21420 wxRect
* resultptr
;
21421 resultptr
= new wxRect((wxRect
&) result
);
21422 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
21430 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21431 PyObject
*resultobj
;
21432 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21434 int arg3
= (int) 0 ;
21435 wxListItem
*result
;
21436 PyObject
* obj0
= 0 ;
21437 PyObject
* obj1
= 0 ;
21438 PyObject
* obj2
= 0 ;
21439 char *kwnames
[] = {
21440 (char *) "self",(char *) "itemId",(char *) "col", NULL
21443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21446 arg2
= (long) SWIG_AsLong(obj1
);
21447 if (PyErr_Occurred()) SWIG_fail
;
21449 arg3
= (int) SWIG_AsInt(obj2
);
21450 if (PyErr_Occurred()) SWIG_fail
;
21453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21454 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
21456 wxPyEndAllowThreads(__tstate
);
21457 if (PyErr_Occurred()) SWIG_fail
;
21460 resultobj
= wxPyMake_wxObject(result
);
21468 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21469 PyObject
*resultobj
;
21470 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21471 wxListItem
*arg2
= 0 ;
21473 PyObject
* obj0
= 0 ;
21474 PyObject
* obj1
= 0 ;
21475 char *kwnames
[] = {
21476 (char *) "self",(char *) "info", NULL
21479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21482 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
21483 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21485 if (arg2
== NULL
) {
21486 PyErr_SetString(PyExc_TypeError
,"null reference");
21490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21491 result
= (bool)(arg1
)->SetItem(*arg2
);
21493 wxPyEndAllowThreads(__tstate
);
21494 if (PyErr_Occurred()) SWIG_fail
;
21497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21505 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21506 PyObject
*resultobj
;
21507 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21510 wxString
*arg4
= 0 ;
21511 int arg5
= (int) -1 ;
21513 bool temp4
= False
;
21514 PyObject
* obj0
= 0 ;
21515 PyObject
* obj1
= 0 ;
21516 PyObject
* obj2
= 0 ;
21517 PyObject
* obj3
= 0 ;
21518 PyObject
* obj4
= 0 ;
21519 char *kwnames
[] = {
21520 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
21523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21526 arg2
= (long) SWIG_AsLong(obj1
);
21527 if (PyErr_Occurred()) SWIG_fail
;
21528 arg3
= (int) SWIG_AsInt(obj2
);
21529 if (PyErr_Occurred()) SWIG_fail
;
21531 arg4
= wxString_in_helper(obj3
);
21532 if (arg4
== NULL
) SWIG_fail
;
21536 arg5
= (int) SWIG_AsInt(obj4
);
21537 if (PyErr_Occurred()) SWIG_fail
;
21540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21541 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
21543 wxPyEndAllowThreads(__tstate
);
21544 if (PyErr_Occurred()) SWIG_fail
;
21546 resultobj
= SWIG_FromLong((long)result
);
21561 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21562 PyObject
*resultobj
;
21563 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21567 PyObject
* obj0
= 0 ;
21568 PyObject
* obj1
= 0 ;
21569 PyObject
* obj2
= 0 ;
21570 char *kwnames
[] = {
21571 (char *) "self",(char *) "item",(char *) "stateMask", NULL
21574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21577 arg2
= (long) SWIG_AsLong(obj1
);
21578 if (PyErr_Occurred()) SWIG_fail
;
21579 arg3
= (long) SWIG_AsLong(obj2
);
21580 if (PyErr_Occurred()) SWIG_fail
;
21582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21583 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
21585 wxPyEndAllowThreads(__tstate
);
21586 if (PyErr_Occurred()) SWIG_fail
;
21588 resultobj
= SWIG_FromInt((int)result
);
21595 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21596 PyObject
*resultobj
;
21597 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21602 PyObject
* obj0
= 0 ;
21603 PyObject
* obj1
= 0 ;
21604 PyObject
* obj2
= 0 ;
21605 PyObject
* obj3
= 0 ;
21606 char *kwnames
[] = {
21607 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
21610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21613 arg2
= (long) SWIG_AsLong(obj1
);
21614 if (PyErr_Occurred()) SWIG_fail
;
21615 arg3
= (long) SWIG_AsLong(obj2
);
21616 if (PyErr_Occurred()) SWIG_fail
;
21617 arg4
= (long) SWIG_AsLong(obj3
);
21618 if (PyErr_Occurred()) SWIG_fail
;
21620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21621 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
21623 wxPyEndAllowThreads(__tstate
);
21624 if (PyErr_Occurred()) SWIG_fail
;
21627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21635 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21636 PyObject
*resultobj
;
21637 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21642 PyObject
* obj0
= 0 ;
21643 PyObject
* obj1
= 0 ;
21644 PyObject
* obj2
= 0 ;
21645 PyObject
* obj3
= 0 ;
21646 char *kwnames
[] = {
21647 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
21650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21653 arg2
= (long) SWIG_AsLong(obj1
);
21654 if (PyErr_Occurred()) SWIG_fail
;
21655 arg3
= (int) SWIG_AsInt(obj2
);
21656 if (PyErr_Occurred()) SWIG_fail
;
21657 arg4
= (int) SWIG_AsInt(obj3
);
21658 if (PyErr_Occurred()) SWIG_fail
;
21660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21661 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
21663 wxPyEndAllowThreads(__tstate
);
21664 if (PyErr_Occurred()) SWIG_fail
;
21667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21675 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21676 PyObject
*resultobj
;
21677 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21680 PyObject
* obj0
= 0 ;
21681 PyObject
* obj1
= 0 ;
21682 char *kwnames
[] = {
21683 (char *) "self",(char *) "item", NULL
21686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
21687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21689 arg2
= (long) SWIG_AsLong(obj1
);
21690 if (PyErr_Occurred()) SWIG_fail
;
21692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21693 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
21695 wxPyEndAllowThreads(__tstate
);
21696 if (PyErr_Occurred()) SWIG_fail
;
21700 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21702 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21711 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21712 PyObject
*resultobj
;
21713 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21715 wxString
*arg3
= 0 ;
21716 bool temp3
= False
;
21717 PyObject
* obj0
= 0 ;
21718 PyObject
* obj1
= 0 ;
21719 PyObject
* obj2
= 0 ;
21720 char *kwnames
[] = {
21721 (char *) "self",(char *) "item",(char *) "str", NULL
21724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21727 arg2
= (long) SWIG_AsLong(obj1
);
21728 if (PyErr_Occurred()) SWIG_fail
;
21730 arg3
= wxString_in_helper(obj2
);
21731 if (arg3
== NULL
) SWIG_fail
;
21735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21736 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
21738 wxPyEndAllowThreads(__tstate
);
21739 if (PyErr_Occurred()) SWIG_fail
;
21741 Py_INCREF(Py_None
); resultobj
= Py_None
;
21756 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21757 PyObject
*resultobj
;
21758 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21761 PyObject
* obj0
= 0 ;
21762 PyObject
* obj1
= 0 ;
21763 char *kwnames
[] = {
21764 (char *) "self",(char *) "item", NULL
21767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
21768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21770 arg2
= (long) SWIG_AsLong(obj1
);
21771 if (PyErr_Occurred()) SWIG_fail
;
21773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21774 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
21776 wxPyEndAllowThreads(__tstate
);
21777 if (PyErr_Occurred()) SWIG_fail
;
21779 resultobj
= SWIG_FromLong((long)result
);
21786 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21787 PyObject
*resultobj
;
21788 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21792 PyObject
* obj0
= 0 ;
21793 PyObject
* obj1
= 0 ;
21794 PyObject
* obj2
= 0 ;
21795 char *kwnames
[] = {
21796 (char *) "self",(char *) "item",(char *) "data", NULL
21799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21802 arg2
= (long) SWIG_AsLong(obj1
);
21803 if (PyErr_Occurred()) SWIG_fail
;
21804 arg3
= (long) SWIG_AsLong(obj2
);
21805 if (PyErr_Occurred()) SWIG_fail
;
21807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21808 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
21810 wxPyEndAllowThreads(__tstate
);
21811 if (PyErr_Occurred()) SWIG_fail
;
21814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21822 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21823 PyObject
*resultobj
;
21824 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21827 PyObject
* obj0
= 0 ;
21828 PyObject
* obj1
= 0 ;
21829 char *kwnames
[] = {
21830 (char *) "self",(char *) "item", NULL
21833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
21834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21836 arg2
= (long) SWIG_AsLong(obj1
);
21837 if (PyErr_Occurred()) SWIG_fail
;
21839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21840 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
21842 wxPyEndAllowThreads(__tstate
);
21843 if (PyErr_Occurred()) SWIG_fail
;
21846 wxPoint
* resultptr
;
21847 resultptr
= new wxPoint((wxPoint
&) result
);
21848 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
21856 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21857 PyObject
*resultobj
;
21858 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21860 int arg3
= (int) wxLIST_RECT_BOUNDS
;
21862 PyObject
* obj0
= 0 ;
21863 PyObject
* obj1
= 0 ;
21864 PyObject
* obj2
= 0 ;
21865 char *kwnames
[] = {
21866 (char *) "self",(char *) "item",(char *) "code", NULL
21869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21872 arg2
= (long) SWIG_AsLong(obj1
);
21873 if (PyErr_Occurred()) SWIG_fail
;
21875 arg3
= (int) SWIG_AsInt(obj2
);
21876 if (PyErr_Occurred()) SWIG_fail
;
21879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21880 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
21882 wxPyEndAllowThreads(__tstate
);
21883 if (PyErr_Occurred()) SWIG_fail
;
21886 wxRect
* resultptr
;
21887 resultptr
= new wxRect((wxRect
&) result
);
21888 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
21896 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21897 PyObject
*resultobj
;
21898 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21900 wxPoint
*arg3
= 0 ;
21903 PyObject
* obj0
= 0 ;
21904 PyObject
* obj1
= 0 ;
21905 PyObject
* obj2
= 0 ;
21906 char *kwnames
[] = {
21907 (char *) "self",(char *) "item",(char *) "pos", NULL
21910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21913 arg2
= (long) SWIG_AsLong(obj1
);
21914 if (PyErr_Occurred()) SWIG_fail
;
21917 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21921 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
21923 wxPyEndAllowThreads(__tstate
);
21924 if (PyErr_Occurred()) SWIG_fail
;
21927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21935 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21936 PyObject
*resultobj
;
21937 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21939 PyObject
* obj0
= 0 ;
21940 char *kwnames
[] = {
21941 (char *) "self", NULL
21944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
21945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21949 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
21951 wxPyEndAllowThreads(__tstate
);
21952 if (PyErr_Occurred()) SWIG_fail
;
21954 resultobj
= SWIG_FromInt((int)result
);
21961 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21962 PyObject
*resultobj
;
21963 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21965 PyObject
* obj0
= 0 ;
21966 char *kwnames
[] = {
21967 (char *) "self", NULL
21970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
21971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21975 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
21977 wxPyEndAllowThreads(__tstate
);
21978 if (PyErr_Occurred()) SWIG_fail
;
21980 resultobj
= SWIG_FromInt((int)result
);
21987 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21988 PyObject
*resultobj
;
21989 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21991 PyObject
* obj0
= 0 ;
21992 char *kwnames
[] = {
21993 (char *) "self", NULL
21996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
21997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22001 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
22003 wxPyEndAllowThreads(__tstate
);
22004 if (PyErr_Occurred()) SWIG_fail
;
22007 wxSize
* resultptr
;
22008 resultptr
= new wxSize((wxSize
&) result
);
22009 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22017 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22018 PyObject
*resultobj
;
22019 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22021 bool arg3
= (bool) False
;
22022 PyObject
* obj0
= 0 ;
22023 PyObject
* obj1
= 0 ;
22024 PyObject
* obj2
= 0 ;
22025 char *kwnames
[] = {
22026 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
22029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22032 arg2
= (int) SWIG_AsInt(obj1
);
22033 if (PyErr_Occurred()) SWIG_fail
;
22035 arg3
= (bool) SWIG_AsBool(obj2
);
22036 if (PyErr_Occurred()) SWIG_fail
;
22039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22040 (arg1
)->SetItemSpacing(arg2
,arg3
);
22042 wxPyEndAllowThreads(__tstate
);
22043 if (PyErr_Occurred()) SWIG_fail
;
22045 Py_INCREF(Py_None
); resultobj
= Py_None
;
22052 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22053 PyObject
*resultobj
;
22054 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22056 PyObject
* obj0
= 0 ;
22057 char *kwnames
[] = {
22058 (char *) "self", NULL
22061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
22062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22066 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
22068 wxPyEndAllowThreads(__tstate
);
22069 if (PyErr_Occurred()) SWIG_fail
;
22071 resultobj
= SWIG_FromInt((int)result
);
22078 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22079 PyObject
*resultobj
;
22080 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22082 PyObject
* obj0
= 0 ;
22083 char *kwnames
[] = {
22084 (char *) "self", NULL
22087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
22088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22092 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
22094 wxPyEndAllowThreads(__tstate
);
22095 if (PyErr_Occurred()) SWIG_fail
;
22098 wxColour
* resultptr
;
22099 resultptr
= new wxColour((wxColour
&) result
);
22100 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22108 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22109 PyObject
*resultobj
;
22110 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22111 wxColour
*arg2
= 0 ;
22113 PyObject
* obj0
= 0 ;
22114 PyObject
* obj1
= 0 ;
22115 char *kwnames
[] = {
22116 (char *) "self",(char *) "col", NULL
22119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22124 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22128 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22130 wxPyEndAllowThreads(__tstate
);
22131 if (PyErr_Occurred()) SWIG_fail
;
22133 Py_INCREF(Py_None
); resultobj
= Py_None
;
22140 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22141 PyObject
*resultobj
;
22142 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22144 PyObject
* obj0
= 0 ;
22145 char *kwnames
[] = {
22146 (char *) "self", NULL
22149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
22150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22154 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
22156 wxPyEndAllowThreads(__tstate
);
22157 if (PyErr_Occurred()) SWIG_fail
;
22159 resultobj
= SWIG_FromLong((long)result
);
22166 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22167 PyObject
*resultobj
;
22168 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22170 bool arg3
= (bool) True
;
22171 PyObject
* obj0
= 0 ;
22172 PyObject
* obj1
= 0 ;
22173 PyObject
* obj2
= 0 ;
22174 char *kwnames
[] = {
22175 (char *) "self",(char *) "style",(char *) "add", NULL
22178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22181 arg2
= (long) SWIG_AsLong(obj1
);
22182 if (PyErr_Occurred()) SWIG_fail
;
22184 arg3
= (bool) SWIG_AsBool(obj2
);
22185 if (PyErr_Occurred()) SWIG_fail
;
22188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22189 (arg1
)->SetSingleStyle(arg2
,arg3
);
22191 wxPyEndAllowThreads(__tstate
);
22192 if (PyErr_Occurred()) SWIG_fail
;
22194 Py_INCREF(Py_None
); resultobj
= Py_None
;
22201 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22202 PyObject
*resultobj
;
22203 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22205 PyObject
* obj0
= 0 ;
22206 PyObject
* obj1
= 0 ;
22207 char *kwnames
[] = {
22208 (char *) "self",(char *) "style", NULL
22211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
22212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22214 arg2
= (long) SWIG_AsLong(obj1
);
22215 if (PyErr_Occurred()) SWIG_fail
;
22217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22218 (arg1
)->SetWindowStyleFlag(arg2
);
22220 wxPyEndAllowThreads(__tstate
);
22221 if (PyErr_Occurred()) SWIG_fail
;
22223 Py_INCREF(Py_None
); resultobj
= Py_None
;
22230 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22231 PyObject
*resultobj
;
22232 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22234 int arg3
= (int) wxLIST_NEXT_ALL
;
22235 int arg4
= (int) wxLIST_STATE_DONTCARE
;
22237 PyObject
* obj0
= 0 ;
22238 PyObject
* obj1
= 0 ;
22239 PyObject
* obj2
= 0 ;
22240 PyObject
* obj3
= 0 ;
22241 char *kwnames
[] = {
22242 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
22245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22248 arg2
= (long) SWIG_AsLong(obj1
);
22249 if (PyErr_Occurred()) SWIG_fail
;
22251 arg3
= (int) SWIG_AsInt(obj2
);
22252 if (PyErr_Occurred()) SWIG_fail
;
22255 arg4
= (int) SWIG_AsInt(obj3
);
22256 if (PyErr_Occurred()) SWIG_fail
;
22259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22260 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
22262 wxPyEndAllowThreads(__tstate
);
22263 if (PyErr_Occurred()) SWIG_fail
;
22265 resultobj
= SWIG_FromLong((long)result
);
22272 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22273 PyObject
*resultobj
;
22274 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22276 wxImageList
*result
;
22277 PyObject
* obj0
= 0 ;
22278 PyObject
* obj1
= 0 ;
22279 char *kwnames
[] = {
22280 (char *) "self",(char *) "which", NULL
22283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
22284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22286 arg2
= (int) SWIG_AsInt(obj1
);
22287 if (PyErr_Occurred()) SWIG_fail
;
22289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22290 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
22292 wxPyEndAllowThreads(__tstate
);
22293 if (PyErr_Occurred()) SWIG_fail
;
22296 resultobj
= wxPyMake_wxObject(result
);
22304 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22305 PyObject
*resultobj
;
22306 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22307 wxImageList
*arg2
= (wxImageList
*) 0 ;
22309 PyObject
* obj0
= 0 ;
22310 PyObject
* obj1
= 0 ;
22311 PyObject
* obj2
= 0 ;
22312 char *kwnames
[] = {
22313 (char *) "self",(char *) "imageList",(char *) "which", NULL
22316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22319 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22321 arg3
= (int) SWIG_AsInt(obj2
);
22322 if (PyErr_Occurred()) SWIG_fail
;
22324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22325 (arg1
)->SetImageList(arg2
,arg3
);
22327 wxPyEndAllowThreads(__tstate
);
22328 if (PyErr_Occurred()) SWIG_fail
;
22330 Py_INCREF(Py_None
); resultobj
= Py_None
;
22337 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22338 PyObject
*resultobj
;
22339 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22340 wxImageList
*arg2
= (wxImageList
*) 0 ;
22342 PyObject
* obj0
= 0 ;
22343 PyObject
* obj1
= 0 ;
22344 PyObject
* obj2
= 0 ;
22345 char *kwnames
[] = {
22346 (char *) "self",(char *) "imageList",(char *) "which", NULL
22349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22352 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22353 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22354 arg3
= (int) SWIG_AsInt(obj2
);
22355 if (PyErr_Occurred()) SWIG_fail
;
22357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22358 (arg1
)->AssignImageList(arg2
,arg3
);
22360 wxPyEndAllowThreads(__tstate
);
22361 if (PyErr_Occurred()) SWIG_fail
;
22363 Py_INCREF(Py_None
); resultobj
= Py_None
;
22370 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22371 PyObject
*resultobj
;
22372 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22374 PyObject
* obj0
= 0 ;
22375 char *kwnames
[] = {
22376 (char *) "self", NULL
22379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
22380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22384 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
22386 wxPyEndAllowThreads(__tstate
);
22387 if (PyErr_Occurred()) SWIG_fail
;
22390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22398 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22399 PyObject
*resultobj
;
22400 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22402 PyObject
* obj0
= 0 ;
22403 char *kwnames
[] = {
22404 (char *) "self", NULL
22407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
22408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22412 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
22414 wxPyEndAllowThreads(__tstate
);
22415 if (PyErr_Occurred()) SWIG_fail
;
22418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22426 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22427 PyObject
*resultobj
;
22428 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22430 PyObject
* obj0
= 0 ;
22431 PyObject
* obj1
= 0 ;
22432 char *kwnames
[] = {
22433 (char *) "self",(char *) "item", NULL
22436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22439 arg2
= (long) SWIG_AsLong(obj1
);
22440 if (PyErr_Occurred()) SWIG_fail
;
22442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22443 (arg1
)->RefreshItem(arg2
);
22445 wxPyEndAllowThreads(__tstate
);
22446 if (PyErr_Occurred()) SWIG_fail
;
22448 Py_INCREF(Py_None
); resultobj
= Py_None
;
22455 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22456 PyObject
*resultobj
;
22457 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22460 PyObject
* obj0
= 0 ;
22461 PyObject
* obj1
= 0 ;
22462 PyObject
* obj2
= 0 ;
22463 char *kwnames
[] = {
22464 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
22467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22470 arg2
= (long) SWIG_AsLong(obj1
);
22471 if (PyErr_Occurred()) SWIG_fail
;
22472 arg3
= (long) SWIG_AsLong(obj2
);
22473 if (PyErr_Occurred()) SWIG_fail
;
22475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22476 (arg1
)->RefreshItems(arg2
,arg3
);
22478 wxPyEndAllowThreads(__tstate
);
22479 if (PyErr_Occurred()) SWIG_fail
;
22481 Py_INCREF(Py_None
); resultobj
= Py_None
;
22488 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22489 PyObject
*resultobj
;
22490 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22491 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
22493 PyObject
* obj0
= 0 ;
22494 PyObject
* obj1
= 0 ;
22495 char *kwnames
[] = {
22496 (char *) "self",(char *) "flag", NULL
22499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
22500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22503 arg2
= (int) SWIG_AsInt(obj1
);
22504 if (PyErr_Occurred()) SWIG_fail
;
22507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22508 result
= (bool)(arg1
)->Arrange(arg2
);
22510 wxPyEndAllowThreads(__tstate
);
22511 if (PyErr_Occurred()) SWIG_fail
;
22514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22522 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22523 PyObject
*resultobj
;
22524 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22527 PyObject
* obj0
= 0 ;
22528 PyObject
* obj1
= 0 ;
22529 char *kwnames
[] = {
22530 (char *) "self",(char *) "item", NULL
22533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22536 arg2
= (long) SWIG_AsLong(obj1
);
22537 if (PyErr_Occurred()) SWIG_fail
;
22539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22540 result
= (bool)(arg1
)->DeleteItem(arg2
);
22542 wxPyEndAllowThreads(__tstate
);
22543 if (PyErr_Occurred()) SWIG_fail
;
22546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22554 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22555 PyObject
*resultobj
;
22556 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22558 PyObject
* obj0
= 0 ;
22559 char *kwnames
[] = {
22560 (char *) "self", NULL
22563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
22564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22568 result
= (bool)(arg1
)->DeleteAllItems();
22570 wxPyEndAllowThreads(__tstate
);
22571 if (PyErr_Occurred()) SWIG_fail
;
22574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22582 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22583 PyObject
*resultobj
;
22584 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22587 PyObject
* obj0
= 0 ;
22588 PyObject
* obj1
= 0 ;
22589 char *kwnames
[] = {
22590 (char *) "self",(char *) "col", NULL
22593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
22594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22596 arg2
= (int) SWIG_AsInt(obj1
);
22597 if (PyErr_Occurred()) SWIG_fail
;
22599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22600 result
= (bool)(arg1
)->DeleteColumn(arg2
);
22602 wxPyEndAllowThreads(__tstate
);
22603 if (PyErr_Occurred()) SWIG_fail
;
22606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22614 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22615 PyObject
*resultobj
;
22616 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22618 PyObject
* obj0
= 0 ;
22619 char *kwnames
[] = {
22620 (char *) "self", NULL
22623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
22624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22628 result
= (bool)(arg1
)->DeleteAllColumns();
22630 wxPyEndAllowThreads(__tstate
);
22631 if (PyErr_Occurred()) SWIG_fail
;
22634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22642 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22643 PyObject
*resultobj
;
22644 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22645 PyObject
* obj0
= 0 ;
22646 char *kwnames
[] = {
22647 (char *) "self", NULL
22650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
22651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22655 (arg1
)->ClearAll();
22657 wxPyEndAllowThreads(__tstate
);
22658 if (PyErr_Occurred()) SWIG_fail
;
22660 Py_INCREF(Py_None
); resultobj
= Py_None
;
22667 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22668 PyObject
*resultobj
;
22669 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22671 PyObject
* obj0
= 0 ;
22672 PyObject
* obj1
= 0 ;
22673 char *kwnames
[] = {
22674 (char *) "self",(char *) "item", NULL
22677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22680 arg2
= (long) SWIG_AsLong(obj1
);
22681 if (PyErr_Occurred()) SWIG_fail
;
22683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22684 (arg1
)->EditLabel(arg2
);
22686 wxPyEndAllowThreads(__tstate
);
22687 if (PyErr_Occurred()) SWIG_fail
;
22689 Py_INCREF(Py_None
); resultobj
= Py_None
;
22696 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22697 PyObject
*resultobj
;
22698 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22701 PyObject
* obj0
= 0 ;
22702 PyObject
* obj1
= 0 ;
22703 char *kwnames
[] = {
22704 (char *) "self",(char *) "item", NULL
22707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22710 arg2
= (long) SWIG_AsLong(obj1
);
22711 if (PyErr_Occurred()) SWIG_fail
;
22713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22714 result
= (bool)(arg1
)->EnsureVisible(arg2
);
22716 wxPyEndAllowThreads(__tstate
);
22717 if (PyErr_Occurred()) SWIG_fail
;
22720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22728 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22729 PyObject
*resultobj
;
22730 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22732 wxString
*arg3
= 0 ;
22733 bool arg4
= (bool) False
;
22735 bool temp3
= False
;
22736 PyObject
* obj0
= 0 ;
22737 PyObject
* obj1
= 0 ;
22738 PyObject
* obj2
= 0 ;
22739 PyObject
* obj3
= 0 ;
22740 char *kwnames
[] = {
22741 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
22744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22747 arg2
= (long) SWIG_AsLong(obj1
);
22748 if (PyErr_Occurred()) SWIG_fail
;
22750 arg3
= wxString_in_helper(obj2
);
22751 if (arg3
== NULL
) SWIG_fail
;
22755 arg4
= (bool) SWIG_AsBool(obj3
);
22756 if (PyErr_Occurred()) SWIG_fail
;
22759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22760 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
22762 wxPyEndAllowThreads(__tstate
);
22763 if (PyErr_Occurred()) SWIG_fail
;
22765 resultobj
= SWIG_FromLong((long)result
);
22780 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22781 PyObject
*resultobj
;
22782 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22786 PyObject
* obj0
= 0 ;
22787 PyObject
* obj1
= 0 ;
22788 PyObject
* obj2
= 0 ;
22789 char *kwnames
[] = {
22790 (char *) "self",(char *) "start",(char *) "data", NULL
22793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22796 arg2
= (long) SWIG_AsLong(obj1
);
22797 if (PyErr_Occurred()) SWIG_fail
;
22798 arg3
= (long) SWIG_AsLong(obj2
);
22799 if (PyErr_Occurred()) SWIG_fail
;
22801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22802 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
22804 wxPyEndAllowThreads(__tstate
);
22805 if (PyErr_Occurred()) SWIG_fail
;
22807 resultobj
= SWIG_FromLong((long)result
);
22814 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22815 PyObject
*resultobj
;
22816 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22818 wxPoint
*arg3
= 0 ;
22822 PyObject
* obj0
= 0 ;
22823 PyObject
* obj1
= 0 ;
22824 PyObject
* obj2
= 0 ;
22825 PyObject
* obj3
= 0 ;
22826 char *kwnames
[] = {
22827 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
22830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22833 arg2
= (long) SWIG_AsLong(obj1
);
22834 if (PyErr_Occurred()) SWIG_fail
;
22837 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22839 arg4
= (int) SWIG_AsInt(obj3
);
22840 if (PyErr_Occurred()) SWIG_fail
;
22842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22843 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
22845 wxPyEndAllowThreads(__tstate
);
22846 if (PyErr_Occurred()) SWIG_fail
;
22848 resultobj
= SWIG_FromLong((long)result
);
22855 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22856 PyObject
*resultobj
;
22857 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22858 wxPoint
*arg2
= 0 ;
22863 PyObject
* obj0
= 0 ;
22864 PyObject
* obj1
= 0 ;
22865 char *kwnames
[] = {
22866 (char *) "self",(char *) "point", NULL
22870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
22871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22875 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22879 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
22881 wxPyEndAllowThreads(__tstate
);
22882 if (PyErr_Occurred()) SWIG_fail
;
22884 resultobj
= SWIG_FromLong((long)result
);
22886 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22887 resultobj
= t_output_helper(resultobj
,o
);
22895 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22896 PyObject
*resultobj
;
22897 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22898 wxListItem
*arg2
= 0 ;
22900 PyObject
* obj0
= 0 ;
22901 PyObject
* obj1
= 0 ;
22902 char *kwnames
[] = {
22903 (char *) "self",(char *) "info", NULL
22906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22909 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
22910 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22912 if (arg2
== NULL
) {
22913 PyErr_SetString(PyExc_TypeError
,"null reference");
22917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22918 result
= (long)(arg1
)->InsertItem(*arg2
);
22920 wxPyEndAllowThreads(__tstate
);
22921 if (PyErr_Occurred()) SWIG_fail
;
22923 resultobj
= SWIG_FromLong((long)result
);
22930 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22931 PyObject
*resultobj
;
22932 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22934 wxString
*arg3
= 0 ;
22936 bool temp3
= False
;
22937 PyObject
* obj0
= 0 ;
22938 PyObject
* obj1
= 0 ;
22939 PyObject
* obj2
= 0 ;
22940 char *kwnames
[] = {
22941 (char *) "self",(char *) "index",(char *) "label", NULL
22944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22947 arg2
= (long) SWIG_AsLong(obj1
);
22948 if (PyErr_Occurred()) SWIG_fail
;
22950 arg3
= wxString_in_helper(obj2
);
22951 if (arg3
== NULL
) SWIG_fail
;
22955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22956 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
22958 wxPyEndAllowThreads(__tstate
);
22959 if (PyErr_Occurred()) SWIG_fail
;
22961 resultobj
= SWIG_FromLong((long)result
);
22976 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22977 PyObject
*resultobj
;
22978 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22982 PyObject
* obj0
= 0 ;
22983 PyObject
* obj1
= 0 ;
22984 PyObject
* obj2
= 0 ;
22985 char *kwnames
[] = {
22986 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
22989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22992 arg2
= (long) SWIG_AsLong(obj1
);
22993 if (PyErr_Occurred()) SWIG_fail
;
22994 arg3
= (int) SWIG_AsInt(obj2
);
22995 if (PyErr_Occurred()) SWIG_fail
;
22997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22998 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
23000 wxPyEndAllowThreads(__tstate
);
23001 if (PyErr_Occurred()) SWIG_fail
;
23003 resultobj
= SWIG_FromLong((long)result
);
23010 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23011 PyObject
*resultobj
;
23012 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23014 wxString
*arg3
= 0 ;
23017 bool temp3
= False
;
23018 PyObject
* obj0
= 0 ;
23019 PyObject
* obj1
= 0 ;
23020 PyObject
* obj2
= 0 ;
23021 PyObject
* obj3
= 0 ;
23022 char *kwnames
[] = {
23023 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
23026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23029 arg2
= (long) SWIG_AsLong(obj1
);
23030 if (PyErr_Occurred()) SWIG_fail
;
23032 arg3
= wxString_in_helper(obj2
);
23033 if (arg3
== NULL
) SWIG_fail
;
23036 arg4
= (int) SWIG_AsInt(obj3
);
23037 if (PyErr_Occurred()) SWIG_fail
;
23039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23040 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
23042 wxPyEndAllowThreads(__tstate
);
23043 if (PyErr_Occurred()) SWIG_fail
;
23045 resultobj
= SWIG_FromLong((long)result
);
23060 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23061 PyObject
*resultobj
;
23062 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23064 wxListItem
*arg3
= 0 ;
23066 PyObject
* obj0
= 0 ;
23067 PyObject
* obj1
= 0 ;
23068 PyObject
* obj2
= 0 ;
23069 char *kwnames
[] = {
23070 (char *) "self",(char *) "col",(char *) "info", NULL
23073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23076 arg2
= (long) SWIG_AsLong(obj1
);
23077 if (PyErr_Occurred()) SWIG_fail
;
23078 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
23079 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23081 if (arg3
== NULL
) {
23082 PyErr_SetString(PyExc_TypeError
,"null reference");
23086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23087 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
23089 wxPyEndAllowThreads(__tstate
);
23090 if (PyErr_Occurred()) SWIG_fail
;
23092 resultobj
= SWIG_FromLong((long)result
);
23099 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23100 PyObject
*resultobj
;
23101 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23103 wxString
*arg3
= 0 ;
23104 int arg4
= (int) wxLIST_FORMAT_LEFT
;
23105 int arg5
= (int) -1 ;
23107 bool temp3
= False
;
23108 PyObject
* obj0
= 0 ;
23109 PyObject
* obj1
= 0 ;
23110 PyObject
* obj2
= 0 ;
23111 PyObject
* obj3
= 0 ;
23112 PyObject
* obj4
= 0 ;
23113 char *kwnames
[] = {
23114 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
23117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23120 arg2
= (long) SWIG_AsLong(obj1
);
23121 if (PyErr_Occurred()) SWIG_fail
;
23123 arg3
= wxString_in_helper(obj2
);
23124 if (arg3
== NULL
) SWIG_fail
;
23128 arg4
= (int) SWIG_AsInt(obj3
);
23129 if (PyErr_Occurred()) SWIG_fail
;
23132 arg5
= (int) SWIG_AsInt(obj4
);
23133 if (PyErr_Occurred()) SWIG_fail
;
23136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23137 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
23139 wxPyEndAllowThreads(__tstate
);
23140 if (PyErr_Occurred()) SWIG_fail
;
23142 resultobj
= SWIG_FromLong((long)result
);
23157 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23158 PyObject
*resultobj
;
23159 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23161 PyObject
* obj0
= 0 ;
23162 PyObject
* obj1
= 0 ;
23163 char *kwnames
[] = {
23164 (char *) "self",(char *) "count", NULL
23167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
23168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23170 arg2
= (long) SWIG_AsLong(obj1
);
23171 if (PyErr_Occurred()) SWIG_fail
;
23173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23174 (arg1
)->SetItemCount(arg2
);
23176 wxPyEndAllowThreads(__tstate
);
23177 if (PyErr_Occurred()) SWIG_fail
;
23179 Py_INCREF(Py_None
); resultobj
= Py_None
;
23186 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23187 PyObject
*resultobj
;
23188 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23192 PyObject
* obj0
= 0 ;
23193 PyObject
* obj1
= 0 ;
23194 PyObject
* obj2
= 0 ;
23195 char *kwnames
[] = {
23196 (char *) "self",(char *) "dx",(char *) "dy", NULL
23199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23202 arg2
= (int) SWIG_AsInt(obj1
);
23203 if (PyErr_Occurred()) SWIG_fail
;
23204 arg3
= (int) SWIG_AsInt(obj2
);
23205 if (PyErr_Occurred()) SWIG_fail
;
23207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23208 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
23210 wxPyEndAllowThreads(__tstate
);
23211 if (PyErr_Occurred()) SWIG_fail
;
23214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23222 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23223 PyObject
*resultobj
;
23224 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23226 wxColour
*arg3
= 0 ;
23228 PyObject
* obj0
= 0 ;
23229 PyObject
* obj1
= 0 ;
23230 PyObject
* obj2
= 0 ;
23231 char *kwnames
[] = {
23232 (char *) "self",(char *) "item",(char *) "col", NULL
23235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23238 arg2
= (long) SWIG_AsLong(obj1
);
23239 if (PyErr_Occurred()) SWIG_fail
;
23242 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23246 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
23248 wxPyEndAllowThreads(__tstate
);
23249 if (PyErr_Occurred()) SWIG_fail
;
23251 Py_INCREF(Py_None
); resultobj
= Py_None
;
23258 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23259 PyObject
*resultobj
;
23260 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23263 PyObject
* obj0
= 0 ;
23264 PyObject
* obj1
= 0 ;
23265 char *kwnames
[] = {
23266 (char *) "self",(char *) "item", NULL
23269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23272 arg2
= (long) SWIG_AsLong(obj1
);
23273 if (PyErr_Occurred()) SWIG_fail
;
23275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23276 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
23278 wxPyEndAllowThreads(__tstate
);
23279 if (PyErr_Occurred()) SWIG_fail
;
23282 wxColour
* resultptr
;
23283 resultptr
= new wxColour((wxColour
&) result
);
23284 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23292 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23293 PyObject
*resultobj
;
23294 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23296 wxColour
*arg3
= 0 ;
23298 PyObject
* obj0
= 0 ;
23299 PyObject
* obj1
= 0 ;
23300 PyObject
* obj2
= 0 ;
23301 char *kwnames
[] = {
23302 (char *) "self",(char *) "item",(char *) "col", NULL
23305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23308 arg2
= (long) SWIG_AsLong(obj1
);
23309 if (PyErr_Occurred()) SWIG_fail
;
23312 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23316 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
23318 wxPyEndAllowThreads(__tstate
);
23319 if (PyErr_Occurred()) SWIG_fail
;
23321 Py_INCREF(Py_None
); resultobj
= Py_None
;
23328 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23329 PyObject
*resultobj
;
23330 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23333 PyObject
* obj0
= 0 ;
23334 PyObject
* obj1
= 0 ;
23335 char *kwnames
[] = {
23336 (char *) "self",(char *) "item", NULL
23339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23342 arg2
= (long) SWIG_AsLong(obj1
);
23343 if (PyErr_Occurred()) SWIG_fail
;
23345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23346 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
23348 wxPyEndAllowThreads(__tstate
);
23349 if (PyErr_Occurred()) SWIG_fail
;
23352 wxColour
* resultptr
;
23353 resultptr
= new wxColour((wxColour
&) result
);
23354 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23362 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23363 PyObject
*resultobj
;
23364 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23365 PyObject
*arg2
= (PyObject
*) 0 ;
23367 PyObject
* obj0
= 0 ;
23368 PyObject
* obj1
= 0 ;
23369 char *kwnames
[] = {
23370 (char *) "self",(char *) "func", NULL
23373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
23374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23379 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
23381 wxPyEndAllowThreads(__tstate
);
23382 if (PyErr_Occurred()) SWIG_fail
;
23385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23393 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23394 PyObject
*resultobj
;
23395 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23397 PyObject
* obj0
= 0 ;
23398 char *kwnames
[] = {
23399 (char *) "self", NULL
23402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
23403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23407 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
23409 wxPyEndAllowThreads(__tstate
);
23410 if (PyErr_Occurred()) SWIG_fail
;
23413 resultobj
= wxPyMake_wxObject(result
);
23421 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23422 PyObject
*resultobj
;
23423 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
23424 wxVisualAttributes result
;
23425 PyObject
* obj0
= 0 ;
23426 char *kwnames
[] = {
23427 (char *) "variant", NULL
23430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
23432 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
23433 if (PyErr_Occurred()) SWIG_fail
;
23436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23437 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
23439 wxPyEndAllowThreads(__tstate
);
23440 if (PyErr_Occurred()) SWIG_fail
;
23443 wxVisualAttributes
* resultptr
;
23444 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
23445 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
23453 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
23455 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23456 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
23458 return Py_BuildValue((char *)"");
23460 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23461 PyObject
*resultobj
;
23462 wxWindow
*arg1
= (wxWindow
*) 0 ;
23463 int arg2
= (int) -1 ;
23464 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23465 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23466 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23467 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23468 long arg5
= (long) wxLC_REPORT
;
23469 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23470 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23471 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
23472 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23473 wxListView
*result
;
23476 bool temp7
= False
;
23477 PyObject
* obj0
= 0 ;
23478 PyObject
* obj1
= 0 ;
23479 PyObject
* obj2
= 0 ;
23480 PyObject
* obj3
= 0 ;
23481 PyObject
* obj4
= 0 ;
23482 PyObject
* obj5
= 0 ;
23483 PyObject
* obj6
= 0 ;
23484 char *kwnames
[] = {
23485 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23492 arg2
= (int) SWIG_AsInt(obj1
);
23493 if (PyErr_Occurred()) SWIG_fail
;
23498 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23504 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23508 arg5
= (long) SWIG_AsLong(obj4
);
23509 if (PyErr_Occurred()) SWIG_fail
;
23512 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
23513 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23515 if (arg6
== NULL
) {
23516 PyErr_SetString(PyExc_TypeError
,"null reference");
23522 arg7
= wxString_in_helper(obj6
);
23523 if (arg7
== NULL
) SWIG_fail
;
23528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23529 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23531 wxPyEndAllowThreads(__tstate
);
23532 if (PyErr_Occurred()) SWIG_fail
;
23534 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
23549 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23550 PyObject
*resultobj
;
23551 wxListView
*result
;
23552 char *kwnames
[] = {
23556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
23558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23559 result
= (wxListView
*)new wxListView();
23561 wxPyEndAllowThreads(__tstate
);
23562 if (PyErr_Occurred()) SWIG_fail
;
23564 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
23571 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23572 PyObject
*resultobj
;
23573 wxListView
*arg1
= (wxListView
*) 0 ;
23574 wxWindow
*arg2
= (wxWindow
*) 0 ;
23575 int arg3
= (int) -1 ;
23576 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23577 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23578 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23579 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23580 long arg6
= (long) wxLC_REPORT
;
23581 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23582 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23583 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
23584 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23588 bool temp8
= False
;
23589 PyObject
* obj0
= 0 ;
23590 PyObject
* obj1
= 0 ;
23591 PyObject
* obj2
= 0 ;
23592 PyObject
* obj3
= 0 ;
23593 PyObject
* obj4
= 0 ;
23594 PyObject
* obj5
= 0 ;
23595 PyObject
* obj6
= 0 ;
23596 PyObject
* obj7
= 0 ;
23597 char *kwnames
[] = {
23598 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23604 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23607 arg3
= (int) SWIG_AsInt(obj2
);
23608 if (PyErr_Occurred()) SWIG_fail
;
23613 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23619 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23623 arg6
= (long) SWIG_AsLong(obj5
);
23624 if (PyErr_Occurred()) SWIG_fail
;
23627 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
23628 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23630 if (arg7
== NULL
) {
23631 PyErr_SetString(PyExc_TypeError
,"null reference");
23637 arg8
= wxString_in_helper(obj7
);
23638 if (arg8
== NULL
) SWIG_fail
;
23643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23644 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23646 wxPyEndAllowThreads(__tstate
);
23647 if (PyErr_Occurred()) SWIG_fail
;
23650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23666 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23667 PyObject
*resultobj
;
23668 wxListView
*arg1
= (wxListView
*) 0 ;
23670 bool arg3
= (bool) True
;
23671 PyObject
* obj0
= 0 ;
23672 PyObject
* obj1
= 0 ;
23673 PyObject
* obj2
= 0 ;
23674 char *kwnames
[] = {
23675 (char *) "self",(char *) "n",(char *) "on", NULL
23678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23681 arg2
= (long) SWIG_AsLong(obj1
);
23682 if (PyErr_Occurred()) SWIG_fail
;
23684 arg3
= (bool) SWIG_AsBool(obj2
);
23685 if (PyErr_Occurred()) SWIG_fail
;
23688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23689 (arg1
)->Select(arg2
,arg3
);
23691 wxPyEndAllowThreads(__tstate
);
23692 if (PyErr_Occurred()) SWIG_fail
;
23694 Py_INCREF(Py_None
); resultobj
= Py_None
;
23701 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23702 PyObject
*resultobj
;
23703 wxListView
*arg1
= (wxListView
*) 0 ;
23705 PyObject
* obj0
= 0 ;
23706 PyObject
* obj1
= 0 ;
23707 char *kwnames
[] = {
23708 (char *) "self",(char *) "index", NULL
23711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
23712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23714 arg2
= (long) SWIG_AsLong(obj1
);
23715 if (PyErr_Occurred()) SWIG_fail
;
23717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23718 (arg1
)->Focus(arg2
);
23720 wxPyEndAllowThreads(__tstate
);
23721 if (PyErr_Occurred()) SWIG_fail
;
23723 Py_INCREF(Py_None
); resultobj
= Py_None
;
23730 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23731 PyObject
*resultobj
;
23732 wxListView
*arg1
= (wxListView
*) 0 ;
23734 PyObject
* obj0
= 0 ;
23735 char *kwnames
[] = {
23736 (char *) "self", NULL
23739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
23740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23744 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
23746 wxPyEndAllowThreads(__tstate
);
23747 if (PyErr_Occurred()) SWIG_fail
;
23749 resultobj
= SWIG_FromLong((long)result
);
23756 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23757 PyObject
*resultobj
;
23758 wxListView
*arg1
= (wxListView
*) 0 ;
23761 PyObject
* obj0
= 0 ;
23762 PyObject
* obj1
= 0 ;
23763 char *kwnames
[] = {
23764 (char *) "self",(char *) "item", NULL
23767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
23768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23770 arg2
= (long) SWIG_AsLong(obj1
);
23771 if (PyErr_Occurred()) SWIG_fail
;
23773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23774 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
23776 wxPyEndAllowThreads(__tstate
);
23777 if (PyErr_Occurred()) SWIG_fail
;
23779 resultobj
= SWIG_FromLong((long)result
);
23786 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23787 PyObject
*resultobj
;
23788 wxListView
*arg1
= (wxListView
*) 0 ;
23790 PyObject
* obj0
= 0 ;
23791 char *kwnames
[] = {
23792 (char *) "self", NULL
23795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
23796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23800 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
23802 wxPyEndAllowThreads(__tstate
);
23803 if (PyErr_Occurred()) SWIG_fail
;
23805 resultobj
= SWIG_FromLong((long)result
);
23812 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23813 PyObject
*resultobj
;
23814 wxListView
*arg1
= (wxListView
*) 0 ;
23817 PyObject
* obj0
= 0 ;
23818 PyObject
* obj1
= 0 ;
23819 char *kwnames
[] = {
23820 (char *) "self",(char *) "index", NULL
23823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
23824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23826 arg2
= (long) SWIG_AsLong(obj1
);
23827 if (PyErr_Occurred()) SWIG_fail
;
23829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23830 result
= (bool)(arg1
)->IsSelected(arg2
);
23832 wxPyEndAllowThreads(__tstate
);
23833 if (PyErr_Occurred()) SWIG_fail
;
23836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23844 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23845 PyObject
*resultobj
;
23846 wxListView
*arg1
= (wxListView
*) 0 ;
23849 PyObject
* obj0
= 0 ;
23850 PyObject
* obj1
= 0 ;
23851 PyObject
* obj2
= 0 ;
23852 char *kwnames
[] = {
23853 (char *) "self",(char *) "col",(char *) "image", NULL
23856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23859 arg2
= (int) SWIG_AsInt(obj1
);
23860 if (PyErr_Occurred()) SWIG_fail
;
23861 arg3
= (int) SWIG_AsInt(obj2
);
23862 if (PyErr_Occurred()) SWIG_fail
;
23864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23865 (arg1
)->SetColumnImage(arg2
,arg3
);
23867 wxPyEndAllowThreads(__tstate
);
23868 if (PyErr_Occurred()) SWIG_fail
;
23870 Py_INCREF(Py_None
); resultobj
= Py_None
;
23877 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23878 PyObject
*resultobj
;
23879 wxListView
*arg1
= (wxListView
*) 0 ;
23881 PyObject
* obj0
= 0 ;
23882 PyObject
* obj1
= 0 ;
23883 char *kwnames
[] = {
23884 (char *) "self",(char *) "col", NULL
23887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
23888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23890 arg2
= (int) SWIG_AsInt(obj1
);
23891 if (PyErr_Occurred()) SWIG_fail
;
23893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23894 (arg1
)->ClearColumnImage(arg2
);
23896 wxPyEndAllowThreads(__tstate
);
23897 if (PyErr_Occurred()) SWIG_fail
;
23899 Py_INCREF(Py_None
); resultobj
= Py_None
;
23906 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
23908 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23909 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
23911 return Py_BuildValue((char *)"");
23913 static int _wrap_TreeCtrlNameStr_set(PyObject
*_val
) {
23914 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
23919 static PyObject
*_wrap_TreeCtrlNameStr_get() {
23924 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
23926 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
23933 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23934 PyObject
*resultobj
;
23935 wxTreeItemId
*result
;
23936 char *kwnames
[] = {
23940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
23942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23943 result
= (wxTreeItemId
*)new wxTreeItemId();
23945 wxPyEndAllowThreads(__tstate
);
23946 if (PyErr_Occurred()) SWIG_fail
;
23948 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
23955 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23956 PyObject
*resultobj
;
23957 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23958 PyObject
* obj0
= 0 ;
23959 char *kwnames
[] = {
23960 (char *) "self", NULL
23963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
23964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23970 wxPyEndAllowThreads(__tstate
);
23971 if (PyErr_Occurred()) SWIG_fail
;
23973 Py_INCREF(Py_None
); resultobj
= Py_None
;
23980 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23981 PyObject
*resultobj
;
23982 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23984 PyObject
* obj0
= 0 ;
23985 char *kwnames
[] = {
23986 (char *) "self", NULL
23989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
23990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23994 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
23996 wxPyEndAllowThreads(__tstate
);
23997 if (PyErr_Occurred()) SWIG_fail
;
24000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24008 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24009 PyObject
*resultobj
;
24010 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24011 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24013 PyObject
* obj0
= 0 ;
24014 PyObject
* obj1
= 0 ;
24015 char *kwnames
[] = {
24016 (char *) "self",(char *) "other", NULL
24019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24022 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24026 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
24028 wxPyEndAllowThreads(__tstate
);
24029 if (PyErr_Occurred()) SWIG_fail
;
24032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24040 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24041 PyObject
*resultobj
;
24042 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24043 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24045 PyObject
* obj0
= 0 ;
24046 PyObject
* obj1
= 0 ;
24047 char *kwnames
[] = {
24048 (char *) "self",(char *) "other", NULL
24051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24054 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24058 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
24060 wxPyEndAllowThreads(__tstate
);
24061 if (PyErr_Occurred()) SWIG_fail
;
24064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24072 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24073 PyObject
*resultobj
;
24074 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24075 void *arg2
= (void *) 0 ;
24076 PyObject
* obj0
= 0 ;
24077 PyObject
* obj1
= 0 ;
24078 char *kwnames
[] = {
24079 (char *) "self",(char *) "m_pItem", NULL
24082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24085 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24086 if (arg1
) (arg1
)->m_pItem
= arg2
;
24088 Py_INCREF(Py_None
); resultobj
= Py_None
;
24095 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24096 PyObject
*resultobj
;
24097 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24099 PyObject
* obj0
= 0 ;
24100 char *kwnames
[] = {
24101 (char *) "self", NULL
24104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
24105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24107 result
= (void *) ((arg1
)->m_pItem
);
24109 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
24116 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
24118 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24119 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
24121 return Py_BuildValue((char *)"");
24123 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24124 PyObject
*resultobj
;
24125 PyObject
*arg1
= (PyObject
*) NULL
;
24126 wxPyTreeItemData
*result
;
24127 PyObject
* obj0
= 0 ;
24128 char *kwnames
[] = {
24129 (char *) "obj", NULL
24132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
24137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24138 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
24140 wxPyEndAllowThreads(__tstate
);
24141 if (PyErr_Occurred()) SWIG_fail
;
24143 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
24150 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24151 PyObject
*resultobj
;
24152 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24154 PyObject
* obj0
= 0 ;
24155 char *kwnames
[] = {
24156 (char *) "self", NULL
24159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
24160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24164 result
= (PyObject
*)(arg1
)->GetData();
24166 wxPyEndAllowThreads(__tstate
);
24167 if (PyErr_Occurred()) SWIG_fail
;
24169 resultobj
= result
;
24176 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24177 PyObject
*resultobj
;
24178 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24179 PyObject
*arg2
= (PyObject
*) 0 ;
24180 PyObject
* obj0
= 0 ;
24181 PyObject
* obj1
= 0 ;
24182 char *kwnames
[] = {
24183 (char *) "self",(char *) "obj", NULL
24186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24192 (arg1
)->SetData(arg2
);
24194 wxPyEndAllowThreads(__tstate
);
24195 if (PyErr_Occurred()) SWIG_fail
;
24197 Py_INCREF(Py_None
); resultobj
= Py_None
;
24204 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24205 PyObject
*resultobj
;
24206 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24207 wxTreeItemId
*result
;
24208 PyObject
* obj0
= 0 ;
24209 char *kwnames
[] = {
24210 (char *) "self", NULL
24213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
24214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24219 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
24220 result
= (wxTreeItemId
*) &_result_ref
;
24223 wxPyEndAllowThreads(__tstate
);
24224 if (PyErr_Occurred()) SWIG_fail
;
24226 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
24233 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24234 PyObject
*resultobj
;
24235 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24236 wxTreeItemId
*arg2
= 0 ;
24237 PyObject
* obj0
= 0 ;
24238 PyObject
* obj1
= 0 ;
24239 char *kwnames
[] = {
24240 (char *) "self",(char *) "id", NULL
24243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24246 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24247 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24249 if (arg2
== NULL
) {
24250 PyErr_SetString(PyExc_TypeError
,"null reference");
24254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24255 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
24257 wxPyEndAllowThreads(__tstate
);
24258 if (PyErr_Occurred()) SWIG_fail
;
24260 Py_INCREF(Py_None
); resultobj
= Py_None
;
24267 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24268 PyObject
*resultobj
;
24269 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24270 PyObject
* obj0
= 0 ;
24271 char *kwnames
[] = {
24272 (char *) "self", NULL
24275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
24276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24280 wxPyTreeItemData_Destroy(arg1
);
24282 wxPyEndAllowThreads(__tstate
);
24283 if (PyErr_Occurred()) SWIG_fail
;
24285 Py_INCREF(Py_None
); resultobj
= Py_None
;
24292 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
24294 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24295 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
24297 return Py_BuildValue((char *)"");
24299 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24300 PyObject
*resultobj
;
24301 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
24302 int arg2
= (int) 0 ;
24303 wxTreeEvent
*result
;
24304 PyObject
* obj0
= 0 ;
24305 PyObject
* obj1
= 0 ;
24306 char *kwnames
[] = {
24307 (char *) "commandType",(char *) "id", NULL
24310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24312 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
24313 if (PyErr_Occurred()) SWIG_fail
;
24316 arg2
= (int) SWIG_AsInt(obj1
);
24317 if (PyErr_Occurred()) SWIG_fail
;
24320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24321 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
24323 wxPyEndAllowThreads(__tstate
);
24324 if (PyErr_Occurred()) SWIG_fail
;
24326 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
24333 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24334 PyObject
*resultobj
;
24335 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24336 wxTreeItemId result
;
24337 PyObject
* obj0
= 0 ;
24338 char *kwnames
[] = {
24339 (char *) "self", NULL
24342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
24343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24347 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
24349 wxPyEndAllowThreads(__tstate
);
24350 if (PyErr_Occurred()) SWIG_fail
;
24353 wxTreeItemId
* resultptr
;
24354 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24355 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24363 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24364 PyObject
*resultobj
;
24365 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24366 wxTreeItemId
*arg2
= 0 ;
24367 PyObject
* obj0
= 0 ;
24368 PyObject
* obj1
= 0 ;
24369 char *kwnames
[] = {
24370 (char *) "self",(char *) "item", NULL
24373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24376 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24377 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24379 if (arg2
== NULL
) {
24380 PyErr_SetString(PyExc_TypeError
,"null reference");
24384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24385 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
24387 wxPyEndAllowThreads(__tstate
);
24388 if (PyErr_Occurred()) SWIG_fail
;
24390 Py_INCREF(Py_None
); resultobj
= Py_None
;
24397 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24398 PyObject
*resultobj
;
24399 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24400 wxTreeItemId result
;
24401 PyObject
* obj0
= 0 ;
24402 char *kwnames
[] = {
24403 (char *) "self", NULL
24406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
24407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24411 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
24413 wxPyEndAllowThreads(__tstate
);
24414 if (PyErr_Occurred()) SWIG_fail
;
24417 wxTreeItemId
* resultptr
;
24418 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24419 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24427 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24428 PyObject
*resultobj
;
24429 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24430 wxTreeItemId
*arg2
= 0 ;
24431 PyObject
* obj0
= 0 ;
24432 PyObject
* obj1
= 0 ;
24433 char *kwnames
[] = {
24434 (char *) "self",(char *) "item", NULL
24437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24440 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24441 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24443 if (arg2
== NULL
) {
24444 PyErr_SetString(PyExc_TypeError
,"null reference");
24448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24449 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
24451 wxPyEndAllowThreads(__tstate
);
24452 if (PyErr_Occurred()) SWIG_fail
;
24454 Py_INCREF(Py_None
); resultobj
= Py_None
;
24461 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24462 PyObject
*resultobj
;
24463 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24465 PyObject
* obj0
= 0 ;
24466 char *kwnames
[] = {
24467 (char *) "self", NULL
24470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
24471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24475 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
24477 wxPyEndAllowThreads(__tstate
);
24478 if (PyErr_Occurred()) SWIG_fail
;
24481 wxPoint
* resultptr
;
24482 resultptr
= new wxPoint((wxPoint
&) result
);
24483 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24491 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24492 PyObject
*resultobj
;
24493 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24494 wxPoint
*arg2
= 0 ;
24496 PyObject
* obj0
= 0 ;
24497 PyObject
* obj1
= 0 ;
24498 char *kwnames
[] = {
24499 (char *) "self",(char *) "pt", NULL
24502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
24503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24507 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24511 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
24513 wxPyEndAllowThreads(__tstate
);
24514 if (PyErr_Occurred()) SWIG_fail
;
24516 Py_INCREF(Py_None
); resultobj
= Py_None
;
24523 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24524 PyObject
*resultobj
;
24525 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24526 wxKeyEvent
*result
;
24527 PyObject
* obj0
= 0 ;
24528 char *kwnames
[] = {
24529 (char *) "self", NULL
24532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
24533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24538 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
24539 result
= (wxKeyEvent
*) &_result_ref
;
24542 wxPyEndAllowThreads(__tstate
);
24543 if (PyErr_Occurred()) SWIG_fail
;
24545 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
24552 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24553 PyObject
*resultobj
;
24554 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24556 PyObject
* obj0
= 0 ;
24557 char *kwnames
[] = {
24558 (char *) "self", NULL
24561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24566 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
24568 wxPyEndAllowThreads(__tstate
);
24569 if (PyErr_Occurred()) SWIG_fail
;
24571 resultobj
= SWIG_FromInt((int)result
);
24578 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24579 PyObject
*resultobj
;
24580 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24581 wxKeyEvent
*arg2
= 0 ;
24582 PyObject
* obj0
= 0 ;
24583 PyObject
* obj1
= 0 ;
24584 char *kwnames
[] = {
24585 (char *) "self",(char *) "evt", NULL
24588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24591 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
24592 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24594 if (arg2
== NULL
) {
24595 PyErr_SetString(PyExc_TypeError
,"null reference");
24599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24600 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
24602 wxPyEndAllowThreads(__tstate
);
24603 if (PyErr_Occurred()) SWIG_fail
;
24605 Py_INCREF(Py_None
); resultobj
= Py_None
;
24612 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24613 PyObject
*resultobj
;
24614 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24616 PyObject
* obj0
= 0 ;
24617 char *kwnames
[] = {
24618 (char *) "self", NULL
24621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
24622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24627 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
24628 result
= (wxString
*) &_result_ref
;
24631 wxPyEndAllowThreads(__tstate
);
24632 if (PyErr_Occurred()) SWIG_fail
;
24636 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24638 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24647 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24648 PyObject
*resultobj
;
24649 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24650 wxString
*arg2
= 0 ;
24651 bool temp2
= False
;
24652 PyObject
* obj0
= 0 ;
24653 PyObject
* obj1
= 0 ;
24654 char *kwnames
[] = {
24655 (char *) "self",(char *) "label", NULL
24658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
24659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24662 arg2
= wxString_in_helper(obj1
);
24663 if (arg2
== NULL
) SWIG_fail
;
24667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24668 (arg1
)->SetLabel((wxString
const &)*arg2
);
24670 wxPyEndAllowThreads(__tstate
);
24671 if (PyErr_Occurred()) SWIG_fail
;
24673 Py_INCREF(Py_None
); resultobj
= Py_None
;
24688 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24689 PyObject
*resultobj
;
24690 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24692 PyObject
* obj0
= 0 ;
24693 char *kwnames
[] = {
24694 (char *) "self", NULL
24697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
24698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24702 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
24704 wxPyEndAllowThreads(__tstate
);
24705 if (PyErr_Occurred()) SWIG_fail
;
24708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24716 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24717 PyObject
*resultobj
;
24718 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24720 PyObject
* obj0
= 0 ;
24721 PyObject
* obj1
= 0 ;
24722 char *kwnames
[] = {
24723 (char *) "self",(char *) "editCancelled", NULL
24726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
24727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24729 arg2
= (bool) SWIG_AsBool(obj1
);
24730 if (PyErr_Occurred()) SWIG_fail
;
24732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24733 (arg1
)->SetEditCanceled(arg2
);
24735 wxPyEndAllowThreads(__tstate
);
24736 if (PyErr_Occurred()) SWIG_fail
;
24738 Py_INCREF(Py_None
); resultobj
= Py_None
;
24745 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24746 PyObject
*resultobj
;
24747 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24748 wxString
*arg2
= 0 ;
24749 bool temp2
= False
;
24750 PyObject
* obj0
= 0 ;
24751 PyObject
* obj1
= 0 ;
24752 char *kwnames
[] = {
24753 (char *) "self",(char *) "toolTip", NULL
24756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
24757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24760 arg2
= wxString_in_helper(obj1
);
24761 if (arg2
== NULL
) SWIG_fail
;
24765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24766 (arg1
)->SetToolTip((wxString
const &)*arg2
);
24768 wxPyEndAllowThreads(__tstate
);
24769 if (PyErr_Occurred()) SWIG_fail
;
24771 Py_INCREF(Py_None
); resultobj
= Py_None
;
24786 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
24788 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24789 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
24791 return Py_BuildValue((char *)"");
24793 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24794 PyObject
*resultobj
;
24795 wxWindow
*arg1
= (wxWindow
*) 0 ;
24796 int arg2
= (int) -1 ;
24797 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24798 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24799 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24800 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24801 long arg5
= (long) wxTR_DEFAULT_STYLE
;
24802 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
24803 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
24804 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
24805 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24806 wxPyTreeCtrl
*result
;
24809 bool temp7
= False
;
24810 PyObject
* obj0
= 0 ;
24811 PyObject
* obj1
= 0 ;
24812 PyObject
* obj2
= 0 ;
24813 PyObject
* obj3
= 0 ;
24814 PyObject
* obj4
= 0 ;
24815 PyObject
* obj5
= 0 ;
24816 PyObject
* obj6
= 0 ;
24817 char *kwnames
[] = {
24818 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24825 arg2
= (int) SWIG_AsInt(obj1
);
24826 if (PyErr_Occurred()) SWIG_fail
;
24831 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24837 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24841 arg5
= (long) SWIG_AsLong(obj4
);
24842 if (PyErr_Occurred()) SWIG_fail
;
24845 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
24846 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24848 if (arg6
== NULL
) {
24849 PyErr_SetString(PyExc_TypeError
,"null reference");
24855 arg7
= wxString_in_helper(obj6
);
24856 if (arg7
== NULL
) SWIG_fail
;
24861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24862 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
24864 wxPyEndAllowThreads(__tstate
);
24865 if (PyErr_Occurred()) SWIG_fail
;
24868 resultobj
= wxPyMake_wxObject(result
);
24884 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24885 PyObject
*resultobj
;
24886 wxPyTreeCtrl
*result
;
24887 char *kwnames
[] = {
24891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
24893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24894 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
24896 wxPyEndAllowThreads(__tstate
);
24897 if (PyErr_Occurred()) SWIG_fail
;
24900 resultobj
= wxPyMake_wxObject(result
);
24908 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24909 PyObject
*resultobj
;
24910 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24911 wxWindow
*arg2
= (wxWindow
*) 0 ;
24912 int arg3
= (int) -1 ;
24913 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24914 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24915 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24916 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24917 long arg6
= (long) wxTR_DEFAULT_STYLE
;
24918 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
24919 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
24920 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
24921 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
24925 bool temp8
= False
;
24926 PyObject
* obj0
= 0 ;
24927 PyObject
* obj1
= 0 ;
24928 PyObject
* obj2
= 0 ;
24929 PyObject
* obj3
= 0 ;
24930 PyObject
* obj4
= 0 ;
24931 PyObject
* obj5
= 0 ;
24932 PyObject
* obj6
= 0 ;
24933 PyObject
* obj7
= 0 ;
24934 char *kwnames
[] = {
24935 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
24939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24941 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24944 arg3
= (int) SWIG_AsInt(obj2
);
24945 if (PyErr_Occurred()) SWIG_fail
;
24950 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24956 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24960 arg6
= (long) SWIG_AsLong(obj5
);
24961 if (PyErr_Occurred()) SWIG_fail
;
24964 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
24965 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24967 if (arg7
== NULL
) {
24968 PyErr_SetString(PyExc_TypeError
,"null reference");
24974 arg8
= wxString_in_helper(obj7
);
24975 if (arg8
== NULL
) SWIG_fail
;
24980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24981 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
24983 wxPyEndAllowThreads(__tstate
);
24984 if (PyErr_Occurred()) SWIG_fail
;
24987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25003 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25004 PyObject
*resultobj
;
25005 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25006 PyObject
*arg2
= (PyObject
*) 0 ;
25007 PyObject
*arg3
= (PyObject
*) 0 ;
25008 PyObject
* obj0
= 0 ;
25009 PyObject
* obj1
= 0 ;
25010 PyObject
* obj2
= 0 ;
25011 char *kwnames
[] = {
25012 (char *) "self",(char *) "self",(char *) "_class", NULL
25015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25022 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25024 wxPyEndAllowThreads(__tstate
);
25025 if (PyErr_Occurred()) SWIG_fail
;
25027 Py_INCREF(Py_None
); resultobj
= Py_None
;
25034 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25035 PyObject
*resultobj
;
25036 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25038 PyObject
* obj0
= 0 ;
25039 char *kwnames
[] = {
25040 (char *) "self", NULL
25043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
25044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25048 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
25050 wxPyEndAllowThreads(__tstate
);
25051 if (PyErr_Occurred()) SWIG_fail
;
25053 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25060 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25061 PyObject
*resultobj
;
25062 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25063 unsigned int result
;
25064 PyObject
* obj0
= 0 ;
25065 char *kwnames
[] = {
25066 (char *) "self", NULL
25069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
25070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25074 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
25076 wxPyEndAllowThreads(__tstate
);
25077 if (PyErr_Occurred()) SWIG_fail
;
25079 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
25086 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25087 PyObject
*resultobj
;
25088 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25089 unsigned int arg2
;
25090 PyObject
* obj0
= 0 ;
25091 PyObject
* obj1
= 0 ;
25092 char *kwnames
[] = {
25093 (char *) "self",(char *) "indent", NULL
25096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
25097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25099 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
25100 if (PyErr_Occurred()) SWIG_fail
;
25102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25103 (arg1
)->SetIndent(arg2
);
25105 wxPyEndAllowThreads(__tstate
);
25106 if (PyErr_Occurred()) SWIG_fail
;
25108 Py_INCREF(Py_None
); resultobj
= Py_None
;
25115 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25116 PyObject
*resultobj
;
25117 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25118 unsigned int result
;
25119 PyObject
* obj0
= 0 ;
25120 char *kwnames
[] = {
25121 (char *) "self", NULL
25124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
25125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25129 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
25131 wxPyEndAllowThreads(__tstate
);
25132 if (PyErr_Occurred()) SWIG_fail
;
25134 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
25141 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25142 PyObject
*resultobj
;
25143 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25144 unsigned int arg2
;
25145 PyObject
* obj0
= 0 ;
25146 PyObject
* obj1
= 0 ;
25147 char *kwnames
[] = {
25148 (char *) "self",(char *) "spacing", NULL
25151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
25152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25154 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
25155 if (PyErr_Occurred()) SWIG_fail
;
25157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25158 (arg1
)->SetSpacing(arg2
);
25160 wxPyEndAllowThreads(__tstate
);
25161 if (PyErr_Occurred()) SWIG_fail
;
25163 Py_INCREF(Py_None
); resultobj
= Py_None
;
25170 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25171 PyObject
*resultobj
;
25172 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25173 wxImageList
*result
;
25174 PyObject
* obj0
= 0 ;
25175 char *kwnames
[] = {
25176 (char *) "self", NULL
25179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
25180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25184 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
25186 wxPyEndAllowThreads(__tstate
);
25187 if (PyErr_Occurred()) SWIG_fail
;
25190 resultobj
= wxPyMake_wxObject(result
);
25198 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25199 PyObject
*resultobj
;
25200 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25201 wxImageList
*result
;
25202 PyObject
* obj0
= 0 ;
25203 char *kwnames
[] = {
25204 (char *) "self", NULL
25207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
25208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25212 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
25214 wxPyEndAllowThreads(__tstate
);
25215 if (PyErr_Occurred()) SWIG_fail
;
25218 resultobj
= wxPyMake_wxObject(result
);
25226 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25227 PyObject
*resultobj
;
25228 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25229 wxImageList
*arg2
= (wxImageList
*) 0 ;
25230 PyObject
* obj0
= 0 ;
25231 PyObject
* obj1
= 0 ;
25232 char *kwnames
[] = {
25233 (char *) "self",(char *) "imageList", NULL
25236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25239 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25243 (arg1
)->SetImageList(arg2
);
25245 wxPyEndAllowThreads(__tstate
);
25246 if (PyErr_Occurred()) SWIG_fail
;
25248 Py_INCREF(Py_None
); resultobj
= Py_None
;
25255 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25256 PyObject
*resultobj
;
25257 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25258 wxImageList
*arg2
= (wxImageList
*) 0 ;
25259 PyObject
* obj0
= 0 ;
25260 PyObject
* obj1
= 0 ;
25261 char *kwnames
[] = {
25262 (char *) "self",(char *) "imageList", NULL
25265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25268 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25272 (arg1
)->SetStateImageList(arg2
);
25274 wxPyEndAllowThreads(__tstate
);
25275 if (PyErr_Occurred()) SWIG_fail
;
25277 Py_INCREF(Py_None
); resultobj
= Py_None
;
25284 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25285 PyObject
*resultobj
;
25286 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25287 wxImageList
*arg2
= (wxImageList
*) 0 ;
25288 PyObject
* obj0
= 0 ;
25289 PyObject
* obj1
= 0 ;
25290 char *kwnames
[] = {
25291 (char *) "self",(char *) "imageList", NULL
25294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25297 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25298 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25301 (arg1
)->AssignImageList(arg2
);
25303 wxPyEndAllowThreads(__tstate
);
25304 if (PyErr_Occurred()) SWIG_fail
;
25306 Py_INCREF(Py_None
); resultobj
= Py_None
;
25313 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25314 PyObject
*resultobj
;
25315 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25316 wxImageList
*arg2
= (wxImageList
*) 0 ;
25317 PyObject
* obj0
= 0 ;
25318 PyObject
* obj1
= 0 ;
25319 char *kwnames
[] = {
25320 (char *) "self",(char *) "imageList", NULL
25323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25326 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25327 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25330 (arg1
)->AssignStateImageList(arg2
);
25332 wxPyEndAllowThreads(__tstate
);
25333 if (PyErr_Occurred()) SWIG_fail
;
25335 Py_INCREF(Py_None
); resultobj
= Py_None
;
25342 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25343 PyObject
*resultobj
;
25344 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25345 wxTreeItemId
*arg2
= 0 ;
25347 PyObject
* obj0
= 0 ;
25348 PyObject
* obj1
= 0 ;
25349 char *kwnames
[] = {
25350 (char *) "self",(char *) "item", NULL
25353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
25354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25356 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25357 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25359 if (arg2
== NULL
) {
25360 PyErr_SetString(PyExc_TypeError
,"null reference");
25364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25365 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
25367 wxPyEndAllowThreads(__tstate
);
25368 if (PyErr_Occurred()) SWIG_fail
;
25372 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25374 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25383 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25384 PyObject
*resultobj
;
25385 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25386 wxTreeItemId
*arg2
= 0 ;
25387 int arg3
= (int) wxTreeItemIcon_Normal
;
25389 PyObject
* obj0
= 0 ;
25390 PyObject
* obj1
= 0 ;
25391 PyObject
* obj2
= 0 ;
25392 char *kwnames
[] = {
25393 (char *) "self",(char *) "item",(char *) "which", NULL
25396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25399 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25400 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25402 if (arg2
== NULL
) {
25403 PyErr_SetString(PyExc_TypeError
,"null reference");
25407 arg3
= (wxTreeItemIcon
) SWIG_AsInt(obj2
);
25408 if (PyErr_Occurred()) SWIG_fail
;
25411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25412 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
25414 wxPyEndAllowThreads(__tstate
);
25415 if (PyErr_Occurred()) SWIG_fail
;
25417 resultobj
= SWIG_FromInt((int)result
);
25424 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25425 PyObject
*resultobj
;
25426 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25427 wxTreeItemId
*arg2
= 0 ;
25428 wxPyTreeItemData
*result
;
25429 PyObject
* obj0
= 0 ;
25430 PyObject
* obj1
= 0 ;
25431 char *kwnames
[] = {
25432 (char *) "self",(char *) "item", NULL
25435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
25436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25438 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25439 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25441 if (arg2
== NULL
) {
25442 PyErr_SetString(PyExc_TypeError
,"null reference");
25446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25447 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
25449 wxPyEndAllowThreads(__tstate
);
25450 if (PyErr_Occurred()) SWIG_fail
;
25452 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
25459 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25460 PyObject
*resultobj
;
25461 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25462 wxTreeItemId
*arg2
= 0 ;
25464 PyObject
* obj0
= 0 ;
25465 PyObject
* obj1
= 0 ;
25466 char *kwnames
[] = {
25467 (char *) "self",(char *) "item", NULL
25470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
25471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25473 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25474 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25476 if (arg2
== NULL
) {
25477 PyErr_SetString(PyExc_TypeError
,"null reference");
25481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25482 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
25484 wxPyEndAllowThreads(__tstate
);
25485 if (PyErr_Occurred()) SWIG_fail
;
25487 resultobj
= result
;
25494 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25495 PyObject
*resultobj
;
25496 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25497 wxTreeItemId
*arg2
= 0 ;
25499 PyObject
* obj0
= 0 ;
25500 PyObject
* obj1
= 0 ;
25501 char *kwnames
[] = {
25502 (char *) "self",(char *) "item", NULL
25505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25508 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25509 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25511 if (arg2
== NULL
) {
25512 PyErr_SetString(PyExc_TypeError
,"null reference");
25516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25517 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
25519 wxPyEndAllowThreads(__tstate
);
25520 if (PyErr_Occurred()) SWIG_fail
;
25523 wxColour
* resultptr
;
25524 resultptr
= new wxColour((wxColour
&) result
);
25525 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25533 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25534 PyObject
*resultobj
;
25535 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25536 wxTreeItemId
*arg2
= 0 ;
25538 PyObject
* obj0
= 0 ;
25539 PyObject
* obj1
= 0 ;
25540 char *kwnames
[] = {
25541 (char *) "self",(char *) "item", NULL
25544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25547 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25548 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25550 if (arg2
== NULL
) {
25551 PyErr_SetString(PyExc_TypeError
,"null reference");
25555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25556 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
25558 wxPyEndAllowThreads(__tstate
);
25559 if (PyErr_Occurred()) SWIG_fail
;
25562 wxColour
* resultptr
;
25563 resultptr
= new wxColour((wxColour
&) result
);
25564 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25572 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25573 PyObject
*resultobj
;
25574 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25575 wxTreeItemId
*arg2
= 0 ;
25577 PyObject
* obj0
= 0 ;
25578 PyObject
* obj1
= 0 ;
25579 char *kwnames
[] = {
25580 (char *) "self",(char *) "item", NULL
25583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
25584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25586 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25587 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25589 if (arg2
== NULL
) {
25590 PyErr_SetString(PyExc_TypeError
,"null reference");
25594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25595 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
25597 wxPyEndAllowThreads(__tstate
);
25598 if (PyErr_Occurred()) SWIG_fail
;
25601 wxFont
* resultptr
;
25602 resultptr
= new wxFont((wxFont
&) result
);
25603 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
25611 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25612 PyObject
*resultobj
;
25613 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25614 wxTreeItemId
*arg2
= 0 ;
25615 wxString
*arg3
= 0 ;
25616 bool temp3
= False
;
25617 PyObject
* obj0
= 0 ;
25618 PyObject
* obj1
= 0 ;
25619 PyObject
* obj2
= 0 ;
25620 char *kwnames
[] = {
25621 (char *) "self",(char *) "item",(char *) "text", NULL
25624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25627 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25628 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25630 if (arg2
== NULL
) {
25631 PyErr_SetString(PyExc_TypeError
,"null reference");
25635 arg3
= wxString_in_helper(obj2
);
25636 if (arg3
== NULL
) SWIG_fail
;
25640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25641 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
25643 wxPyEndAllowThreads(__tstate
);
25644 if (PyErr_Occurred()) SWIG_fail
;
25646 Py_INCREF(Py_None
); resultobj
= Py_None
;
25661 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25662 PyObject
*resultobj
;
25663 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25664 wxTreeItemId
*arg2
= 0 ;
25666 int arg4
= (int) wxTreeItemIcon_Normal
;
25667 PyObject
* obj0
= 0 ;
25668 PyObject
* obj1
= 0 ;
25669 PyObject
* obj2
= 0 ;
25670 PyObject
* obj3
= 0 ;
25671 char *kwnames
[] = {
25672 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
25675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25678 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25679 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25681 if (arg2
== NULL
) {
25682 PyErr_SetString(PyExc_TypeError
,"null reference");
25685 arg3
= (int) SWIG_AsInt(obj2
);
25686 if (PyErr_Occurred()) SWIG_fail
;
25688 arg4
= (wxTreeItemIcon
) SWIG_AsInt(obj3
);
25689 if (PyErr_Occurred()) SWIG_fail
;
25692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25693 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
25695 wxPyEndAllowThreads(__tstate
);
25696 if (PyErr_Occurred()) SWIG_fail
;
25698 Py_INCREF(Py_None
); resultobj
= Py_None
;
25705 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25706 PyObject
*resultobj
;
25707 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25708 wxTreeItemId
*arg2
= 0 ;
25709 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
25710 PyObject
* obj0
= 0 ;
25711 PyObject
* obj1
= 0 ;
25712 PyObject
* obj2
= 0 ;
25713 char *kwnames
[] = {
25714 (char *) "self",(char *) "item",(char *) "data", NULL
25717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25720 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25721 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25723 if (arg2
== NULL
) {
25724 PyErr_SetString(PyExc_TypeError
,"null reference");
25727 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
25728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25731 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25733 wxPyEndAllowThreads(__tstate
);
25734 if (PyErr_Occurred()) SWIG_fail
;
25736 Py_INCREF(Py_None
); resultobj
= Py_None
;
25743 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25744 PyObject
*resultobj
;
25745 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25746 wxTreeItemId
*arg2
= 0 ;
25747 PyObject
*arg3
= (PyObject
*) 0 ;
25748 PyObject
* obj0
= 0 ;
25749 PyObject
* obj1
= 0 ;
25750 PyObject
* obj2
= 0 ;
25751 char *kwnames
[] = {
25752 (char *) "self",(char *) "item",(char *) "obj", NULL
25755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25758 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25759 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25761 if (arg2
== NULL
) {
25762 PyErr_SetString(PyExc_TypeError
,"null reference");
25767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25768 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25770 wxPyEndAllowThreads(__tstate
);
25771 if (PyErr_Occurred()) SWIG_fail
;
25773 Py_INCREF(Py_None
); resultobj
= Py_None
;
25780 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25781 PyObject
*resultobj
;
25782 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25783 wxTreeItemId
*arg2
= 0 ;
25784 bool arg3
= (bool) True
;
25785 PyObject
* obj0
= 0 ;
25786 PyObject
* obj1
= 0 ;
25787 PyObject
* obj2
= 0 ;
25788 char *kwnames
[] = {
25789 (char *) "self",(char *) "item",(char *) "has", NULL
25792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25795 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25796 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25798 if (arg2
== NULL
) {
25799 PyErr_SetString(PyExc_TypeError
,"null reference");
25803 arg3
= (bool) SWIG_AsBool(obj2
);
25804 if (PyErr_Occurred()) SWIG_fail
;
25807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25808 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
25810 wxPyEndAllowThreads(__tstate
);
25811 if (PyErr_Occurred()) SWIG_fail
;
25813 Py_INCREF(Py_None
); resultobj
= Py_None
;
25820 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25821 PyObject
*resultobj
;
25822 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25823 wxTreeItemId
*arg2
= 0 ;
25824 bool arg3
= (bool) True
;
25825 PyObject
* obj0
= 0 ;
25826 PyObject
* obj1
= 0 ;
25827 PyObject
* obj2
= 0 ;
25828 char *kwnames
[] = {
25829 (char *) "self",(char *) "item",(char *) "bold", NULL
25832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25835 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25836 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25838 if (arg2
== NULL
) {
25839 PyErr_SetString(PyExc_TypeError
,"null reference");
25843 arg3
= (bool) SWIG_AsBool(obj2
);
25844 if (PyErr_Occurred()) SWIG_fail
;
25847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25848 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
25850 wxPyEndAllowThreads(__tstate
);
25851 if (PyErr_Occurred()) SWIG_fail
;
25853 Py_INCREF(Py_None
); resultobj
= Py_None
;
25860 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25861 PyObject
*resultobj
;
25862 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25863 wxTreeItemId
*arg2
= 0 ;
25864 wxColour
*arg3
= 0 ;
25866 PyObject
* obj0
= 0 ;
25867 PyObject
* obj1
= 0 ;
25868 PyObject
* obj2
= 0 ;
25869 char *kwnames
[] = {
25870 (char *) "self",(char *) "item",(char *) "col", NULL
25873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25876 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25877 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25879 if (arg2
== NULL
) {
25880 PyErr_SetString(PyExc_TypeError
,"null reference");
25885 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
25888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25889 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
25891 wxPyEndAllowThreads(__tstate
);
25892 if (PyErr_Occurred()) SWIG_fail
;
25894 Py_INCREF(Py_None
); resultobj
= Py_None
;
25901 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25902 PyObject
*resultobj
;
25903 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25904 wxTreeItemId
*arg2
= 0 ;
25905 wxColour
*arg3
= 0 ;
25907 PyObject
* obj0
= 0 ;
25908 PyObject
* obj1
= 0 ;
25909 PyObject
* obj2
= 0 ;
25910 char *kwnames
[] = {
25911 (char *) "self",(char *) "item",(char *) "col", NULL
25914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25917 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25918 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25920 if (arg2
== NULL
) {
25921 PyErr_SetString(PyExc_TypeError
,"null reference");
25926 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
25929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25930 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
25932 wxPyEndAllowThreads(__tstate
);
25933 if (PyErr_Occurred()) SWIG_fail
;
25935 Py_INCREF(Py_None
); resultobj
= Py_None
;
25942 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25943 PyObject
*resultobj
;
25944 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25945 wxTreeItemId
*arg2
= 0 ;
25947 PyObject
* obj0
= 0 ;
25948 PyObject
* obj1
= 0 ;
25949 PyObject
* obj2
= 0 ;
25950 char *kwnames
[] = {
25951 (char *) "self",(char *) "item",(char *) "font", NULL
25954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25957 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25958 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25960 if (arg2
== NULL
) {
25961 PyErr_SetString(PyExc_TypeError
,"null reference");
25964 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
25965 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25967 if (arg3
== NULL
) {
25968 PyErr_SetString(PyExc_TypeError
,"null reference");
25972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25973 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
25975 wxPyEndAllowThreads(__tstate
);
25976 if (PyErr_Occurred()) SWIG_fail
;
25978 Py_INCREF(Py_None
); resultobj
= Py_None
;
25985 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25986 PyObject
*resultobj
;
25987 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25988 wxTreeItemId
*arg2
= 0 ;
25990 PyObject
* obj0
= 0 ;
25991 PyObject
* obj1
= 0 ;
25992 char *kwnames
[] = {
25993 (char *) "self",(char *) "item", NULL
25996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25999 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26000 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26002 if (arg2
== NULL
) {
26003 PyErr_SetString(PyExc_TypeError
,"null reference");
26007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26008 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
26010 wxPyEndAllowThreads(__tstate
);
26011 if (PyErr_Occurred()) SWIG_fail
;
26014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26022 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26023 PyObject
*resultobj
;
26024 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26025 wxTreeItemId
*arg2
= 0 ;
26027 PyObject
* obj0
= 0 ;
26028 PyObject
* obj1
= 0 ;
26029 char *kwnames
[] = {
26030 (char *) "self",(char *) "item", NULL
26033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26036 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26037 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26039 if (arg2
== NULL
) {
26040 PyErr_SetString(PyExc_TypeError
,"null reference");
26044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26045 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
26047 wxPyEndAllowThreads(__tstate
);
26048 if (PyErr_Occurred()) SWIG_fail
;
26051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26059 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26060 PyObject
*resultobj
;
26061 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26062 wxTreeItemId
*arg2
= 0 ;
26064 PyObject
* obj0
= 0 ;
26065 PyObject
* obj1
= 0 ;
26066 char *kwnames
[] = {
26067 (char *) "self",(char *) "item", NULL
26070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
26071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26073 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26074 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26076 if (arg2
== NULL
) {
26077 PyErr_SetString(PyExc_TypeError
,"null reference");
26081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26082 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
26084 wxPyEndAllowThreads(__tstate
);
26085 if (PyErr_Occurred()) SWIG_fail
;
26088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26096 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26097 PyObject
*resultobj
;
26098 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26099 wxTreeItemId
*arg2
= 0 ;
26101 PyObject
* obj0
= 0 ;
26102 PyObject
* obj1
= 0 ;
26103 char *kwnames
[] = {
26104 (char *) "self",(char *) "item", NULL
26107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26110 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26111 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26113 if (arg2
== NULL
) {
26114 PyErr_SetString(PyExc_TypeError
,"null reference");
26118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26119 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
26121 wxPyEndAllowThreads(__tstate
);
26122 if (PyErr_Occurred()) SWIG_fail
;
26125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26133 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26134 PyObject
*resultobj
;
26135 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26136 wxTreeItemId
*arg2
= 0 ;
26138 PyObject
* obj0
= 0 ;
26139 PyObject
* obj1
= 0 ;
26140 char *kwnames
[] = {
26141 (char *) "self",(char *) "item", NULL
26144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
26145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26147 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26148 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26150 if (arg2
== NULL
) {
26151 PyErr_SetString(PyExc_TypeError
,"null reference");
26155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26156 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
26158 wxPyEndAllowThreads(__tstate
);
26159 if (PyErr_Occurred()) SWIG_fail
;
26162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26170 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26171 PyObject
*resultobj
;
26172 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26173 wxTreeItemId
*arg2
= 0 ;
26174 bool arg3
= (bool) True
;
26176 PyObject
* obj0
= 0 ;
26177 PyObject
* obj1
= 0 ;
26178 PyObject
* obj2
= 0 ;
26179 char *kwnames
[] = {
26180 (char *) "self",(char *) "item",(char *) "recursively", NULL
26183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26186 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26187 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26189 if (arg2
== NULL
) {
26190 PyErr_SetString(PyExc_TypeError
,"null reference");
26194 arg3
= (bool) SWIG_AsBool(obj2
);
26195 if (PyErr_Occurred()) SWIG_fail
;
26198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26199 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
26201 wxPyEndAllowThreads(__tstate
);
26202 if (PyErr_Occurred()) SWIG_fail
;
26204 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
26211 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26212 PyObject
*resultobj
;
26213 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26214 wxTreeItemId result
;
26215 PyObject
* obj0
= 0 ;
26216 char *kwnames
[] = {
26217 (char *) "self", NULL
26220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
26221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26225 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
26227 wxPyEndAllowThreads(__tstate
);
26228 if (PyErr_Occurred()) SWIG_fail
;
26231 wxTreeItemId
* resultptr
;
26232 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26233 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26241 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26242 PyObject
*resultobj
;
26243 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26244 wxTreeItemId result
;
26245 PyObject
* obj0
= 0 ;
26246 char *kwnames
[] = {
26247 (char *) "self", NULL
26250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
26251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26255 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
26257 wxPyEndAllowThreads(__tstate
);
26258 if (PyErr_Occurred()) SWIG_fail
;
26261 wxTreeItemId
* resultptr
;
26262 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26263 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26271 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26272 PyObject
*resultobj
;
26273 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26275 PyObject
* obj0
= 0 ;
26276 char *kwnames
[] = {
26277 (char *) "self", NULL
26280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
26281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26285 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
26287 wxPyEndAllowThreads(__tstate
);
26288 if (PyErr_Occurred()) SWIG_fail
;
26290 resultobj
= result
;
26297 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26298 PyObject
*resultobj
;
26299 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26300 wxTreeItemId
*arg2
= 0 ;
26301 wxTreeItemId result
;
26302 PyObject
* obj0
= 0 ;
26303 PyObject
* obj1
= 0 ;
26304 char *kwnames
[] = {
26305 (char *) "self",(char *) "item", NULL
26308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26311 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26312 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26314 if (arg2
== NULL
) {
26315 PyErr_SetString(PyExc_TypeError
,"null reference");
26319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26320 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
26322 wxPyEndAllowThreads(__tstate
);
26323 if (PyErr_Occurred()) SWIG_fail
;
26326 wxTreeItemId
* resultptr
;
26327 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26328 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26336 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26337 PyObject
*resultobj
;
26338 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26339 wxTreeItemId
*arg2
= 0 ;
26341 PyObject
* obj0
= 0 ;
26342 PyObject
* obj1
= 0 ;
26343 char *kwnames
[] = {
26344 (char *) "self",(char *) "item", NULL
26347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26350 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26351 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26353 if (arg2
== NULL
) {
26354 PyErr_SetString(PyExc_TypeError
,"null reference");
26358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26359 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
26361 wxPyEndAllowThreads(__tstate
);
26362 if (PyErr_Occurred()) SWIG_fail
;
26364 resultobj
= result
;
26371 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26372 PyObject
*resultobj
;
26373 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26374 wxTreeItemId
*arg2
= 0 ;
26375 void *arg3
= (void *) 0 ;
26377 PyObject
* obj0
= 0 ;
26378 PyObject
* obj1
= 0 ;
26379 PyObject
* obj2
= 0 ;
26380 char *kwnames
[] = {
26381 (char *) "self",(char *) "item",(char *) "cookie", NULL
26384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26387 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26388 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26390 if (arg2
== NULL
) {
26391 PyErr_SetString(PyExc_TypeError
,"null reference");
26394 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26397 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26399 wxPyEndAllowThreads(__tstate
);
26400 if (PyErr_Occurred()) SWIG_fail
;
26402 resultobj
= result
;
26409 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26410 PyObject
*resultobj
;
26411 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26412 wxTreeItemId
*arg2
= 0 ;
26413 wxTreeItemId result
;
26414 PyObject
* obj0
= 0 ;
26415 PyObject
* obj1
= 0 ;
26416 char *kwnames
[] = {
26417 (char *) "self",(char *) "item", NULL
26420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26423 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26424 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26426 if (arg2
== NULL
) {
26427 PyErr_SetString(PyExc_TypeError
,"null reference");
26431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26432 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
26434 wxPyEndAllowThreads(__tstate
);
26435 if (PyErr_Occurred()) SWIG_fail
;
26438 wxTreeItemId
* resultptr
;
26439 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26440 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26448 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26449 PyObject
*resultobj
;
26450 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26451 wxTreeItemId
*arg2
= 0 ;
26452 wxTreeItemId result
;
26453 PyObject
* obj0
= 0 ;
26454 PyObject
* obj1
= 0 ;
26455 char *kwnames
[] = {
26456 (char *) "self",(char *) "item", NULL
26459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
26460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26462 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26463 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26465 if (arg2
== NULL
) {
26466 PyErr_SetString(PyExc_TypeError
,"null reference");
26470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26471 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
26473 wxPyEndAllowThreads(__tstate
);
26474 if (PyErr_Occurred()) SWIG_fail
;
26477 wxTreeItemId
* resultptr
;
26478 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26479 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26487 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26488 PyObject
*resultobj
;
26489 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26490 wxTreeItemId
*arg2
= 0 ;
26491 wxTreeItemId result
;
26492 PyObject
* obj0
= 0 ;
26493 PyObject
* obj1
= 0 ;
26494 char *kwnames
[] = {
26495 (char *) "self",(char *) "item", NULL
26498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
26499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26501 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26502 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26504 if (arg2
== NULL
) {
26505 PyErr_SetString(PyExc_TypeError
,"null reference");
26509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26510 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
26512 wxPyEndAllowThreads(__tstate
);
26513 if (PyErr_Occurred()) SWIG_fail
;
26516 wxTreeItemId
* resultptr
;
26517 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26518 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26526 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26527 PyObject
*resultobj
;
26528 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26529 wxTreeItemId result
;
26530 PyObject
* obj0
= 0 ;
26531 char *kwnames
[] = {
26532 (char *) "self", NULL
26535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
26536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26540 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
26542 wxPyEndAllowThreads(__tstate
);
26543 if (PyErr_Occurred()) SWIG_fail
;
26546 wxTreeItemId
* resultptr
;
26547 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26548 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26556 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26557 PyObject
*resultobj
;
26558 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26559 wxTreeItemId
*arg2
= 0 ;
26560 wxTreeItemId result
;
26561 PyObject
* obj0
= 0 ;
26562 PyObject
* obj1
= 0 ;
26563 char *kwnames
[] = {
26564 (char *) "self",(char *) "item", NULL
26567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26570 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26571 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26573 if (arg2
== NULL
) {
26574 PyErr_SetString(PyExc_TypeError
,"null reference");
26578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26579 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
26581 wxPyEndAllowThreads(__tstate
);
26582 if (PyErr_Occurred()) SWIG_fail
;
26585 wxTreeItemId
* resultptr
;
26586 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26587 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26595 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26596 PyObject
*resultobj
;
26597 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26598 wxTreeItemId
*arg2
= 0 ;
26599 wxTreeItemId result
;
26600 PyObject
* obj0
= 0 ;
26601 PyObject
* obj1
= 0 ;
26602 char *kwnames
[] = {
26603 (char *) "self",(char *) "item", NULL
26606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26609 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26610 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26612 if (arg2
== NULL
) {
26613 PyErr_SetString(PyExc_TypeError
,"null reference");
26617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26618 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
26620 wxPyEndAllowThreads(__tstate
);
26621 if (PyErr_Occurred()) SWIG_fail
;
26624 wxTreeItemId
* resultptr
;
26625 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26626 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26634 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26635 PyObject
*resultobj
;
26636 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26637 wxString
*arg2
= 0 ;
26638 int arg3
= (int) -1 ;
26639 int arg4
= (int) -1 ;
26640 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
26641 wxTreeItemId result
;
26642 bool temp2
= False
;
26643 PyObject
* obj0
= 0 ;
26644 PyObject
* obj1
= 0 ;
26645 PyObject
* obj2
= 0 ;
26646 PyObject
* obj3
= 0 ;
26647 PyObject
* obj4
= 0 ;
26648 char *kwnames
[] = {
26649 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26656 arg2
= wxString_in_helper(obj1
);
26657 if (arg2
== NULL
) SWIG_fail
;
26661 arg3
= (int) SWIG_AsInt(obj2
);
26662 if (PyErr_Occurred()) SWIG_fail
;
26665 arg4
= (int) SWIG_AsInt(obj3
);
26666 if (PyErr_Occurred()) SWIG_fail
;
26669 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
26670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26674 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
26676 wxPyEndAllowThreads(__tstate
);
26677 if (PyErr_Occurred()) SWIG_fail
;
26680 wxTreeItemId
* resultptr
;
26681 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26682 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26698 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26699 PyObject
*resultobj
;
26700 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26701 wxTreeItemId
*arg2
= 0 ;
26702 wxString
*arg3
= 0 ;
26703 int arg4
= (int) -1 ;
26704 int arg5
= (int) -1 ;
26705 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
26706 wxTreeItemId result
;
26707 bool temp3
= False
;
26708 PyObject
* obj0
= 0 ;
26709 PyObject
* obj1
= 0 ;
26710 PyObject
* obj2
= 0 ;
26711 PyObject
* obj3
= 0 ;
26712 PyObject
* obj4
= 0 ;
26713 PyObject
* obj5
= 0 ;
26714 char *kwnames
[] = {
26715 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26721 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26722 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26724 if (arg2
== NULL
) {
26725 PyErr_SetString(PyExc_TypeError
,"null reference");
26729 arg3
= wxString_in_helper(obj2
);
26730 if (arg3
== NULL
) SWIG_fail
;
26734 arg4
= (int) SWIG_AsInt(obj3
);
26735 if (PyErr_Occurred()) SWIG_fail
;
26738 arg5
= (int) SWIG_AsInt(obj4
);
26739 if (PyErr_Occurred()) SWIG_fail
;
26742 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
26743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26747 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
26749 wxPyEndAllowThreads(__tstate
);
26750 if (PyErr_Occurred()) SWIG_fail
;
26753 wxTreeItemId
* resultptr
;
26754 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26755 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26771 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26772 PyObject
*resultobj
;
26773 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26774 wxTreeItemId
*arg2
= 0 ;
26775 wxTreeItemId
*arg3
= 0 ;
26776 wxString
*arg4
= 0 ;
26777 int arg5
= (int) -1 ;
26778 int arg6
= (int) -1 ;
26779 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
26780 wxTreeItemId result
;
26781 bool temp4
= False
;
26782 PyObject
* obj0
= 0 ;
26783 PyObject
* obj1
= 0 ;
26784 PyObject
* obj2
= 0 ;
26785 PyObject
* obj3
= 0 ;
26786 PyObject
* obj4
= 0 ;
26787 PyObject
* obj5
= 0 ;
26788 PyObject
* obj6
= 0 ;
26789 char *kwnames
[] = {
26790 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26796 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26797 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26799 if (arg2
== NULL
) {
26800 PyErr_SetString(PyExc_TypeError
,"null reference");
26803 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
26804 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26806 if (arg3
== NULL
) {
26807 PyErr_SetString(PyExc_TypeError
,"null reference");
26811 arg4
= wxString_in_helper(obj3
);
26812 if (arg4
== NULL
) SWIG_fail
;
26816 arg5
= (int) SWIG_AsInt(obj4
);
26817 if (PyErr_Occurred()) SWIG_fail
;
26820 arg6
= (int) SWIG_AsInt(obj5
);
26821 if (PyErr_Occurred()) SWIG_fail
;
26824 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
26825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26829 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
26831 wxPyEndAllowThreads(__tstate
);
26832 if (PyErr_Occurred()) SWIG_fail
;
26835 wxTreeItemId
* resultptr
;
26836 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26837 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26853 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26854 PyObject
*resultobj
;
26855 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26856 wxTreeItemId
*arg2
= 0 ;
26858 wxString
*arg4
= 0 ;
26859 int arg5
= (int) -1 ;
26860 int arg6
= (int) -1 ;
26861 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
26862 wxTreeItemId result
;
26863 bool temp4
= False
;
26864 PyObject
* obj0
= 0 ;
26865 PyObject
* obj1
= 0 ;
26866 PyObject
* obj2
= 0 ;
26867 PyObject
* obj3
= 0 ;
26868 PyObject
* obj4
= 0 ;
26869 PyObject
* obj5
= 0 ;
26870 PyObject
* obj6
= 0 ;
26871 char *kwnames
[] = {
26872 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26878 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26879 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26881 if (arg2
== NULL
) {
26882 PyErr_SetString(PyExc_TypeError
,"null reference");
26885 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
26886 if (PyErr_Occurred()) SWIG_fail
;
26888 arg4
= wxString_in_helper(obj3
);
26889 if (arg4
== NULL
) SWIG_fail
;
26893 arg5
= (int) SWIG_AsInt(obj4
);
26894 if (PyErr_Occurred()) SWIG_fail
;
26897 arg6
= (int) SWIG_AsInt(obj5
);
26898 if (PyErr_Occurred()) SWIG_fail
;
26901 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
26902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26906 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
26908 wxPyEndAllowThreads(__tstate
);
26909 if (PyErr_Occurred()) SWIG_fail
;
26912 wxTreeItemId
* resultptr
;
26913 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26914 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26930 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26931 PyObject
*resultobj
;
26932 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26933 wxTreeItemId
*arg2
= 0 ;
26934 wxString
*arg3
= 0 ;
26935 int arg4
= (int) -1 ;
26936 int arg5
= (int) -1 ;
26937 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
26938 wxTreeItemId result
;
26939 bool temp3
= False
;
26940 PyObject
* obj0
= 0 ;
26941 PyObject
* obj1
= 0 ;
26942 PyObject
* obj2
= 0 ;
26943 PyObject
* obj3
= 0 ;
26944 PyObject
* obj4
= 0 ;
26945 PyObject
* obj5
= 0 ;
26946 char *kwnames
[] = {
26947 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26953 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26954 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26956 if (arg2
== NULL
) {
26957 PyErr_SetString(PyExc_TypeError
,"null reference");
26961 arg3
= wxString_in_helper(obj2
);
26962 if (arg3
== NULL
) SWIG_fail
;
26966 arg4
= (int) SWIG_AsInt(obj3
);
26967 if (PyErr_Occurred()) SWIG_fail
;
26970 arg5
= (int) SWIG_AsInt(obj4
);
26971 if (PyErr_Occurred()) SWIG_fail
;
26974 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
26975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26979 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
26981 wxPyEndAllowThreads(__tstate
);
26982 if (PyErr_Occurred()) SWIG_fail
;
26985 wxTreeItemId
* resultptr
;
26986 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26987 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27003 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27004 PyObject
*resultobj
;
27005 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27006 wxTreeItemId
*arg2
= 0 ;
27007 PyObject
* obj0
= 0 ;
27008 PyObject
* obj1
= 0 ;
27009 char *kwnames
[] = {
27010 (char *) "self",(char *) "item", NULL
27013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
27014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27016 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27017 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27019 if (arg2
== NULL
) {
27020 PyErr_SetString(PyExc_TypeError
,"null reference");
27024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27025 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
27027 wxPyEndAllowThreads(__tstate
);
27028 if (PyErr_Occurred()) SWIG_fail
;
27030 Py_INCREF(Py_None
); resultobj
= Py_None
;
27037 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27038 PyObject
*resultobj
;
27039 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27040 wxTreeItemId
*arg2
= 0 ;
27041 PyObject
* obj0
= 0 ;
27042 PyObject
* obj1
= 0 ;
27043 char *kwnames
[] = {
27044 (char *) "self",(char *) "item", NULL
27047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27050 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27051 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27053 if (arg2
== NULL
) {
27054 PyErr_SetString(PyExc_TypeError
,"null reference");
27058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27059 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
27061 wxPyEndAllowThreads(__tstate
);
27062 if (PyErr_Occurred()) SWIG_fail
;
27064 Py_INCREF(Py_None
); resultobj
= Py_None
;
27071 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27072 PyObject
*resultobj
;
27073 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27074 PyObject
* obj0
= 0 ;
27075 char *kwnames
[] = {
27076 (char *) "self", NULL
27079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
27080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27084 (arg1
)->DeleteAllItems();
27086 wxPyEndAllowThreads(__tstate
);
27087 if (PyErr_Occurred()) SWIG_fail
;
27089 Py_INCREF(Py_None
); resultobj
= Py_None
;
27096 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27097 PyObject
*resultobj
;
27098 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27099 wxTreeItemId
*arg2
= 0 ;
27100 PyObject
* obj0
= 0 ;
27101 PyObject
* obj1
= 0 ;
27102 char *kwnames
[] = {
27103 (char *) "self",(char *) "item", NULL
27106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
27107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27109 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27110 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27112 if (arg2
== NULL
) {
27113 PyErr_SetString(PyExc_TypeError
,"null reference");
27117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27118 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
27120 wxPyEndAllowThreads(__tstate
);
27121 if (PyErr_Occurred()) SWIG_fail
;
27123 Py_INCREF(Py_None
); resultobj
= Py_None
;
27130 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27131 PyObject
*resultobj
;
27132 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27133 wxTreeItemId
*arg2
= 0 ;
27134 PyObject
* obj0
= 0 ;
27135 PyObject
* obj1
= 0 ;
27136 char *kwnames
[] = {
27137 (char *) "self",(char *) "item", NULL
27140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
27141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27143 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27144 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27146 if (arg2
== NULL
) {
27147 PyErr_SetString(PyExc_TypeError
,"null reference");
27151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27152 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
27154 wxPyEndAllowThreads(__tstate
);
27155 if (PyErr_Occurred()) SWIG_fail
;
27157 Py_INCREF(Py_None
); resultobj
= Py_None
;
27164 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27165 PyObject
*resultobj
;
27166 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27167 wxTreeItemId
*arg2
= 0 ;
27168 PyObject
* obj0
= 0 ;
27169 PyObject
* obj1
= 0 ;
27170 char *kwnames
[] = {
27171 (char *) "self",(char *) "item", NULL
27174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
27175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27177 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27178 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27180 if (arg2
== NULL
) {
27181 PyErr_SetString(PyExc_TypeError
,"null reference");
27185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27186 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
27188 wxPyEndAllowThreads(__tstate
);
27189 if (PyErr_Occurred()) SWIG_fail
;
27191 Py_INCREF(Py_None
); resultobj
= Py_None
;
27198 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27199 PyObject
*resultobj
;
27200 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27201 wxTreeItemId
*arg2
= 0 ;
27202 PyObject
* obj0
= 0 ;
27203 PyObject
* obj1
= 0 ;
27204 char *kwnames
[] = {
27205 (char *) "self",(char *) "item", NULL
27208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
27209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27211 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27212 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27214 if (arg2
== NULL
) {
27215 PyErr_SetString(PyExc_TypeError
,"null reference");
27219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27220 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
27222 wxPyEndAllowThreads(__tstate
);
27223 if (PyErr_Occurred()) SWIG_fail
;
27225 Py_INCREF(Py_None
); resultobj
= Py_None
;
27232 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27233 PyObject
*resultobj
;
27234 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27235 PyObject
* obj0
= 0 ;
27236 char *kwnames
[] = {
27237 (char *) "self", NULL
27240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
27241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27245 (arg1
)->Unselect();
27247 wxPyEndAllowThreads(__tstate
);
27248 if (PyErr_Occurred()) SWIG_fail
;
27250 Py_INCREF(Py_None
); resultobj
= Py_None
;
27257 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27258 PyObject
*resultobj
;
27259 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27260 wxTreeItemId
*arg2
= 0 ;
27261 PyObject
* obj0
= 0 ;
27262 PyObject
* obj1
= 0 ;
27263 char *kwnames
[] = {
27264 (char *) "self",(char *) "item", NULL
27267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27270 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27271 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27273 if (arg2
== NULL
) {
27274 PyErr_SetString(PyExc_TypeError
,"null reference");
27278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27279 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
27281 wxPyEndAllowThreads(__tstate
);
27282 if (PyErr_Occurred()) SWIG_fail
;
27284 Py_INCREF(Py_None
); resultobj
= Py_None
;
27291 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27292 PyObject
*resultobj
;
27293 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27294 PyObject
* obj0
= 0 ;
27295 char *kwnames
[] = {
27296 (char *) "self", NULL
27299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
27300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27304 (arg1
)->UnselectAll();
27306 wxPyEndAllowThreads(__tstate
);
27307 if (PyErr_Occurred()) SWIG_fail
;
27309 Py_INCREF(Py_None
); resultobj
= Py_None
;
27316 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27317 PyObject
*resultobj
;
27318 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27319 wxTreeItemId
*arg2
= 0 ;
27320 bool arg3
= (bool) True
;
27321 PyObject
* obj0
= 0 ;
27322 PyObject
* obj1
= 0 ;
27323 PyObject
* obj2
= 0 ;
27324 char *kwnames
[] = {
27325 (char *) "self",(char *) "item",(char *) "select", NULL
27328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27331 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27332 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27334 if (arg2
== NULL
) {
27335 PyErr_SetString(PyExc_TypeError
,"null reference");
27339 arg3
= (bool) SWIG_AsBool(obj2
);
27340 if (PyErr_Occurred()) SWIG_fail
;
27343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27344 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
27346 wxPyEndAllowThreads(__tstate
);
27347 if (PyErr_Occurred()) SWIG_fail
;
27349 Py_INCREF(Py_None
); resultobj
= Py_None
;
27356 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27357 PyObject
*resultobj
;
27358 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27359 wxTreeItemId
*arg2
= 0 ;
27360 PyObject
* obj0
= 0 ;
27361 PyObject
* obj1
= 0 ;
27362 char *kwnames
[] = {
27363 (char *) "self",(char *) "item", NULL
27366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27369 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27370 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27372 if (arg2
== NULL
) {
27373 PyErr_SetString(PyExc_TypeError
,"null reference");
27377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27378 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
27380 wxPyEndAllowThreads(__tstate
);
27381 if (PyErr_Occurred()) SWIG_fail
;
27383 Py_INCREF(Py_None
); resultobj
= Py_None
;
27390 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27391 PyObject
*resultobj
;
27392 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27393 wxTreeItemId
*arg2
= 0 ;
27394 PyObject
* obj0
= 0 ;
27395 PyObject
* obj1
= 0 ;
27396 char *kwnames
[] = {
27397 (char *) "self",(char *) "item", NULL
27400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
27401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27403 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27404 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27406 if (arg2
== NULL
) {
27407 PyErr_SetString(PyExc_TypeError
,"null reference");
27411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27412 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
27414 wxPyEndAllowThreads(__tstate
);
27415 if (PyErr_Occurred()) SWIG_fail
;
27417 Py_INCREF(Py_None
); resultobj
= Py_None
;
27424 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27425 PyObject
*resultobj
;
27426 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27427 wxTreeItemId
*arg2
= 0 ;
27428 PyObject
* obj0
= 0 ;
27429 PyObject
* obj1
= 0 ;
27430 char *kwnames
[] = {
27431 (char *) "self",(char *) "item", NULL
27434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
27435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27437 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27438 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27440 if (arg2
== NULL
) {
27441 PyErr_SetString(PyExc_TypeError
,"null reference");
27445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27446 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
27448 wxPyEndAllowThreads(__tstate
);
27449 if (PyErr_Occurred()) SWIG_fail
;
27451 Py_INCREF(Py_None
); resultobj
= Py_None
;
27458 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27459 PyObject
*resultobj
;
27460 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27461 wxTreeItemId
*arg2
= 0 ;
27462 PyObject
* obj0
= 0 ;
27463 PyObject
* obj1
= 0 ;
27464 char *kwnames
[] = {
27465 (char *) "self",(char *) "item", NULL
27468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27471 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27472 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27474 if (arg2
== NULL
) {
27475 PyErr_SetString(PyExc_TypeError
,"null reference");
27479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27480 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
27482 wxPyEndAllowThreads(__tstate
);
27483 if (PyErr_Occurred()) SWIG_fail
;
27485 Py_INCREF(Py_None
); resultobj
= Py_None
;
27492 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27493 PyObject
*resultobj
;
27494 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27495 wxTextCtrl
*result
;
27496 PyObject
* obj0
= 0 ;
27497 char *kwnames
[] = {
27498 (char *) "self", NULL
27501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
27502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27506 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
27508 wxPyEndAllowThreads(__tstate
);
27509 if (PyErr_Occurred()) SWIG_fail
;
27512 resultobj
= wxPyMake_wxObject(result
);
27520 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27521 PyObject
*resultobj
;
27522 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27523 wxTreeItemId
*arg2
= 0 ;
27524 PyObject
* obj0
= 0 ;
27525 PyObject
* obj1
= 0 ;
27526 char *kwnames
[] = {
27527 (char *) "self",(char *) "item", NULL
27530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27533 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27534 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27536 if (arg2
== NULL
) {
27537 PyErr_SetString(PyExc_TypeError
,"null reference");
27541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27542 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
27544 wxPyEndAllowThreads(__tstate
);
27545 if (PyErr_Occurred()) SWIG_fail
;
27547 Py_INCREF(Py_None
); resultobj
= Py_None
;
27554 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27555 PyObject
*resultobj
;
27556 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27557 wxPoint
*arg2
= 0 ;
27559 wxTreeItemId result
;
27562 PyObject
* obj0
= 0 ;
27563 PyObject
* obj1
= 0 ;
27564 char *kwnames
[] = {
27565 (char *) "self",(char *) "point", NULL
27569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
27570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27574 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27578 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
27580 wxPyEndAllowThreads(__tstate
);
27581 if (PyErr_Occurred()) SWIG_fail
;
27584 wxTreeItemId
* resultptr
;
27585 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27586 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27589 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27590 resultobj
= t_output_helper(resultobj
,o
);
27598 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27599 PyObject
*resultobj
;
27600 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27601 wxTreeItemId
*arg2
= 0 ;
27602 bool arg3
= (bool) False
;
27604 PyObject
* obj0
= 0 ;
27605 PyObject
* obj1
= 0 ;
27606 PyObject
* obj2
= 0 ;
27607 char *kwnames
[] = {
27608 (char *) "self",(char *) "item",(char *) "textOnly", NULL
27611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27614 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27615 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27617 if (arg2
== NULL
) {
27618 PyErr_SetString(PyExc_TypeError
,"null reference");
27622 arg3
= (bool) SWIG_AsBool(obj2
);
27623 if (PyErr_Occurred()) SWIG_fail
;
27626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27627 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
27629 wxPyEndAllowThreads(__tstate
);
27630 if (PyErr_Occurred()) SWIG_fail
;
27632 resultobj
= result
;
27639 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27640 PyObject
*resultobj
;
27641 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
27642 wxVisualAttributes result
;
27643 PyObject
* obj0
= 0 ;
27644 char *kwnames
[] = {
27645 (char *) "variant", NULL
27648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
27650 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
27651 if (PyErr_Occurred()) SWIG_fail
;
27654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27655 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
27657 wxPyEndAllowThreads(__tstate
);
27658 if (PyErr_Occurred()) SWIG_fail
;
27661 wxVisualAttributes
* resultptr
;
27662 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
27663 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
27671 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27673 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27674 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
27676 return Py_BuildValue((char *)"");
27678 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*_val
) {
27679 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
27684 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
27689 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
27691 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
27698 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27699 PyObject
*resultobj
;
27700 wxWindow
*arg1
= (wxWindow
*) 0 ;
27701 int arg2
= (int) (int)-1 ;
27702 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
27703 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
27704 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27705 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27706 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27707 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27708 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
27709 wxString
const &arg7_defvalue
= wxPyEmptyString
;
27710 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27711 int arg8
= (int) 0 ;
27712 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
27713 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
27714 wxGenericDirCtrl
*result
;
27715 bool temp3
= False
;
27718 bool temp7
= False
;
27719 bool temp9
= False
;
27720 PyObject
* obj0
= 0 ;
27721 PyObject
* obj1
= 0 ;
27722 PyObject
* obj2
= 0 ;
27723 PyObject
* obj3
= 0 ;
27724 PyObject
* obj4
= 0 ;
27725 PyObject
* obj5
= 0 ;
27726 PyObject
* obj6
= 0 ;
27727 PyObject
* obj7
= 0 ;
27728 PyObject
* obj8
= 0 ;
27729 char *kwnames
[] = {
27730 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
27734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27737 arg2
= (int const) SWIG_AsInt(obj1
);
27738 if (PyErr_Occurred()) SWIG_fail
;
27742 arg3
= wxString_in_helper(obj2
);
27743 if (arg3
== NULL
) SWIG_fail
;
27750 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27756 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27760 arg6
= (long) SWIG_AsLong(obj5
);
27761 if (PyErr_Occurred()) SWIG_fail
;
27765 arg7
= wxString_in_helper(obj6
);
27766 if (arg7
== NULL
) SWIG_fail
;
27771 arg8
= (int) SWIG_AsInt(obj7
);
27772 if (PyErr_Occurred()) SWIG_fail
;
27776 arg9
= wxString_in_helper(obj8
);
27777 if (arg9
== NULL
) SWIG_fail
;
27782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27783 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
27785 wxPyEndAllowThreads(__tstate
);
27786 if (PyErr_Occurred()) SWIG_fail
;
27788 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
27819 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27820 PyObject
*resultobj
;
27821 wxGenericDirCtrl
*result
;
27822 char *kwnames
[] = {
27826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
27828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27829 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
27831 wxPyEndAllowThreads(__tstate
);
27832 if (PyErr_Occurred()) SWIG_fail
;
27834 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
27841 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27842 PyObject
*resultobj
;
27843 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27844 wxWindow
*arg2
= (wxWindow
*) 0 ;
27845 int arg3
= (int) (int)-1 ;
27846 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
27847 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27848 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
27849 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
27850 wxSize
const &arg6_defvalue
= wxDefaultSize
;
27851 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
27852 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
27853 wxString
const &arg8_defvalue
= wxPyEmptyString
;
27854 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
27855 int arg9
= (int) 0 ;
27856 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
27857 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
27859 bool temp4
= False
;
27862 bool temp8
= False
;
27863 bool temp10
= False
;
27864 PyObject
* obj0
= 0 ;
27865 PyObject
* obj1
= 0 ;
27866 PyObject
* obj2
= 0 ;
27867 PyObject
* obj3
= 0 ;
27868 PyObject
* obj4
= 0 ;
27869 PyObject
* obj5
= 0 ;
27870 PyObject
* obj6
= 0 ;
27871 PyObject
* obj7
= 0 ;
27872 PyObject
* obj8
= 0 ;
27873 PyObject
* obj9
= 0 ;
27874 char *kwnames
[] = {
27875 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
27879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27881 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
27882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27884 arg3
= (int const) SWIG_AsInt(obj2
);
27885 if (PyErr_Occurred()) SWIG_fail
;
27889 arg4
= wxString_in_helper(obj3
);
27890 if (arg4
== NULL
) SWIG_fail
;
27897 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
27903 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
27907 arg7
= (long) SWIG_AsLong(obj6
);
27908 if (PyErr_Occurred()) SWIG_fail
;
27912 arg8
= wxString_in_helper(obj7
);
27913 if (arg8
== NULL
) SWIG_fail
;
27918 arg9
= (int) SWIG_AsInt(obj8
);
27919 if (PyErr_Occurred()) SWIG_fail
;
27923 arg10
= wxString_in_helper(obj9
);
27924 if (arg10
== NULL
) SWIG_fail
;
27929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27930 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
27932 wxPyEndAllowThreads(__tstate
);
27933 if (PyErr_Occurred()) SWIG_fail
;
27936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27968 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27969 PyObject
*resultobj
;
27970 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27971 wxString
*arg2
= 0 ;
27973 bool temp2
= False
;
27974 PyObject
* obj0
= 0 ;
27975 PyObject
* obj1
= 0 ;
27976 char *kwnames
[] = {
27977 (char *) "self",(char *) "path", NULL
27980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
27981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27984 arg2
= wxString_in_helper(obj1
);
27985 if (arg2
== NULL
) SWIG_fail
;
27989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27990 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
27992 wxPyEndAllowThreads(__tstate
);
27993 if (PyErr_Occurred()) SWIG_fail
;
27996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28012 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28013 PyObject
*resultobj
;
28014 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28016 PyObject
* obj0
= 0 ;
28017 char *kwnames
[] = {
28018 (char *) "self", NULL
28021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
28022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28026 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
28028 wxPyEndAllowThreads(__tstate
);
28029 if (PyErr_Occurred()) SWIG_fail
;
28033 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28035 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28044 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28045 PyObject
*resultobj
;
28046 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28047 wxString
*arg2
= 0 ;
28048 bool temp2
= False
;
28049 PyObject
* obj0
= 0 ;
28050 PyObject
* obj1
= 0 ;
28051 char *kwnames
[] = {
28052 (char *) "self",(char *) "path", NULL
28055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28059 arg2
= wxString_in_helper(obj1
);
28060 if (arg2
== NULL
) SWIG_fail
;
28064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28065 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
28067 wxPyEndAllowThreads(__tstate
);
28068 if (PyErr_Occurred()) SWIG_fail
;
28070 Py_INCREF(Py_None
); resultobj
= Py_None
;
28085 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28086 PyObject
*resultobj
;
28087 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28089 PyObject
* obj0
= 0 ;
28090 char *kwnames
[] = {
28091 (char *) "self", NULL
28094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
28095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28099 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
28101 wxPyEndAllowThreads(__tstate
);
28102 if (PyErr_Occurred()) SWIG_fail
;
28106 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28108 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28117 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28118 PyObject
*resultobj
;
28119 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28121 PyObject
* obj0
= 0 ;
28122 char *kwnames
[] = {
28123 (char *) "self", NULL
28126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
28127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28131 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
28133 wxPyEndAllowThreads(__tstate
);
28134 if (PyErr_Occurred()) SWIG_fail
;
28138 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28140 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28149 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28150 PyObject
*resultobj
;
28151 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28152 wxString
*arg2
= 0 ;
28153 bool temp2
= False
;
28154 PyObject
* obj0
= 0 ;
28155 PyObject
* obj1
= 0 ;
28156 char *kwnames
[] = {
28157 (char *) "self",(char *) "path", NULL
28160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28164 arg2
= wxString_in_helper(obj1
);
28165 if (arg2
== NULL
) SWIG_fail
;
28169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28170 (arg1
)->SetPath((wxString
const &)*arg2
);
28172 wxPyEndAllowThreads(__tstate
);
28173 if (PyErr_Occurred()) SWIG_fail
;
28175 Py_INCREF(Py_None
); resultobj
= Py_None
;
28190 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28191 PyObject
*resultobj
;
28192 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28194 PyObject
* obj0
= 0 ;
28195 PyObject
* obj1
= 0 ;
28196 char *kwnames
[] = {
28197 (char *) "self",(char *) "show", NULL
28200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
28201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28203 arg2
= (bool) SWIG_AsBool(obj1
);
28204 if (PyErr_Occurred()) SWIG_fail
;
28206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28207 (arg1
)->ShowHidden(arg2
);
28209 wxPyEndAllowThreads(__tstate
);
28210 if (PyErr_Occurred()) SWIG_fail
;
28212 Py_INCREF(Py_None
); resultobj
= Py_None
;
28219 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28220 PyObject
*resultobj
;
28221 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28223 PyObject
* obj0
= 0 ;
28224 char *kwnames
[] = {
28225 (char *) "self", NULL
28228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
28229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28233 result
= (bool)(arg1
)->GetShowHidden();
28235 wxPyEndAllowThreads(__tstate
);
28236 if (PyErr_Occurred()) SWIG_fail
;
28239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28247 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28248 PyObject
*resultobj
;
28249 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28251 PyObject
* obj0
= 0 ;
28252 char *kwnames
[] = {
28253 (char *) "self", NULL
28256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
28257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28261 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
28263 wxPyEndAllowThreads(__tstate
);
28264 if (PyErr_Occurred()) SWIG_fail
;
28268 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28270 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28279 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28280 PyObject
*resultobj
;
28281 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28282 wxString
*arg2
= 0 ;
28283 bool temp2
= False
;
28284 PyObject
* obj0
= 0 ;
28285 PyObject
* obj1
= 0 ;
28286 char *kwnames
[] = {
28287 (char *) "self",(char *) "filter", NULL
28290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
28291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28294 arg2
= wxString_in_helper(obj1
);
28295 if (arg2
== NULL
) SWIG_fail
;
28299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28300 (arg1
)->SetFilter((wxString
const &)*arg2
);
28302 wxPyEndAllowThreads(__tstate
);
28303 if (PyErr_Occurred()) SWIG_fail
;
28305 Py_INCREF(Py_None
); resultobj
= Py_None
;
28320 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28321 PyObject
*resultobj
;
28322 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28324 PyObject
* obj0
= 0 ;
28325 char *kwnames
[] = {
28326 (char *) "self", NULL
28329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
28330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28334 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
28336 wxPyEndAllowThreads(__tstate
);
28337 if (PyErr_Occurred()) SWIG_fail
;
28339 resultobj
= SWIG_FromInt((int)result
);
28346 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28347 PyObject
*resultobj
;
28348 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28350 PyObject
* obj0
= 0 ;
28351 PyObject
* obj1
= 0 ;
28352 char *kwnames
[] = {
28353 (char *) "self",(char *) "n", NULL
28356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
28357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28359 arg2
= (int) SWIG_AsInt(obj1
);
28360 if (PyErr_Occurred()) SWIG_fail
;
28362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28363 (arg1
)->SetFilterIndex(arg2
);
28365 wxPyEndAllowThreads(__tstate
);
28366 if (PyErr_Occurred()) SWIG_fail
;
28368 Py_INCREF(Py_None
); resultobj
= Py_None
;
28375 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28376 PyObject
*resultobj
;
28377 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28378 wxTreeItemId result
;
28379 PyObject
* obj0
= 0 ;
28380 char *kwnames
[] = {
28381 (char *) "self", NULL
28384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
28385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28389 result
= (arg1
)->GetRootId();
28391 wxPyEndAllowThreads(__tstate
);
28392 if (PyErr_Occurred()) SWIG_fail
;
28395 wxTreeItemId
* resultptr
;
28396 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28397 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28405 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28406 PyObject
*resultobj
;
28407 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28408 wxPyTreeCtrl
*result
;
28409 PyObject
* obj0
= 0 ;
28410 char *kwnames
[] = {
28411 (char *) "self", NULL
28414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
28415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28419 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
28421 wxPyEndAllowThreads(__tstate
);
28422 if (PyErr_Occurred()) SWIG_fail
;
28425 resultobj
= wxPyMake_wxObject(result
);
28433 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28434 PyObject
*resultobj
;
28435 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28436 wxDirFilterListCtrl
*result
;
28437 PyObject
* obj0
= 0 ;
28438 char *kwnames
[] = {
28439 (char *) "self", NULL
28442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
28443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28447 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
28449 wxPyEndAllowThreads(__tstate
);
28450 if (PyErr_Occurred()) SWIG_fail
;
28452 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
28459 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28460 PyObject
*resultobj
;
28461 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28462 wxTreeItemId arg2
;
28463 wxString
*arg3
= 0 ;
28465 wxTreeItemId result
;
28466 wxTreeItemId
*argp2
;
28467 bool temp3
= False
;
28469 PyObject
* obj0
= 0 ;
28470 PyObject
* obj1
= 0 ;
28471 PyObject
* obj2
= 0 ;
28472 char *kwnames
[] = {
28473 (char *) "self",(char *) "parentId",(char *) "path", NULL
28477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28480 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
28481 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
28484 arg3
= wxString_in_helper(obj2
);
28485 if (arg3
== NULL
) SWIG_fail
;
28489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28490 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
28492 wxPyEndAllowThreads(__tstate
);
28493 if (PyErr_Occurred()) SWIG_fail
;
28496 wxTreeItemId
* resultptr
;
28497 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28498 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28501 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
28502 resultobj
= t_output_helper(resultobj
,o
);
28518 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28519 PyObject
*resultobj
;
28520 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28521 PyObject
* obj0
= 0 ;
28522 char *kwnames
[] = {
28523 (char *) "self", NULL
28526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
28527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28531 (arg1
)->DoResize();
28533 wxPyEndAllowThreads(__tstate
);
28534 if (PyErr_Occurred()) SWIG_fail
;
28536 Py_INCREF(Py_None
); resultobj
= Py_None
;
28543 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28544 PyObject
*resultobj
;
28545 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28546 PyObject
* obj0
= 0 ;
28547 char *kwnames
[] = {
28548 (char *) "self", NULL
28551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
28552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28556 (arg1
)->ReCreateTree();
28558 wxPyEndAllowThreads(__tstate
);
28559 if (PyErr_Occurred()) SWIG_fail
;
28561 Py_INCREF(Py_None
); resultobj
= Py_None
;
28568 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
28570 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28571 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
28573 return Py_BuildValue((char *)"");
28575 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28576 PyObject
*resultobj
;
28577 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28578 int arg2
= (int) (int)-1 ;
28579 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28580 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28581 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28582 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28583 long arg5
= (long) 0 ;
28584 wxDirFilterListCtrl
*result
;
28587 PyObject
* obj0
= 0 ;
28588 PyObject
* obj1
= 0 ;
28589 PyObject
* obj2
= 0 ;
28590 PyObject
* obj3
= 0 ;
28591 PyObject
* obj4
= 0 ;
28592 char *kwnames
[] = {
28593 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28600 arg2
= (int const) SWIG_AsInt(obj1
);
28601 if (PyErr_Occurred()) SWIG_fail
;
28606 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28612 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28616 arg5
= (long) SWIG_AsLong(obj4
);
28617 if (PyErr_Occurred()) SWIG_fail
;
28620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28621 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
28623 wxPyEndAllowThreads(__tstate
);
28624 if (PyErr_Occurred()) SWIG_fail
;
28626 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
28633 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28634 PyObject
*resultobj
;
28635 wxDirFilterListCtrl
*result
;
28636 char *kwnames
[] = {
28640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
28642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28643 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
28645 wxPyEndAllowThreads(__tstate
);
28646 if (PyErr_Occurred()) SWIG_fail
;
28648 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
28655 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28656 PyObject
*resultobj
;
28657 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
28658 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
28659 int arg3
= (int) (int)-1 ;
28660 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28661 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28662 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28663 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28664 long arg6
= (long) 0 ;
28668 PyObject
* obj0
= 0 ;
28669 PyObject
* obj1
= 0 ;
28670 PyObject
* obj2
= 0 ;
28671 PyObject
* obj3
= 0 ;
28672 PyObject
* obj4
= 0 ;
28673 PyObject
* obj5
= 0 ;
28674 char *kwnames
[] = {
28675 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
28680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28681 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
28682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28684 arg3
= (int const) SWIG_AsInt(obj2
);
28685 if (PyErr_Occurred()) SWIG_fail
;
28690 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28696 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28700 arg6
= (long) SWIG_AsLong(obj5
);
28701 if (PyErr_Occurred()) SWIG_fail
;
28704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28705 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
28707 wxPyEndAllowThreads(__tstate
);
28708 if (PyErr_Occurred()) SWIG_fail
;
28711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28719 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28720 PyObject
*resultobj
;
28721 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
28722 wxString
*arg2
= 0 ;
28724 bool temp2
= False
;
28725 PyObject
* obj0
= 0 ;
28726 PyObject
* obj1
= 0 ;
28727 PyObject
* obj2
= 0 ;
28728 char *kwnames
[] = {
28729 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
28732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
28734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28736 arg2
= wxString_in_helper(obj1
);
28737 if (arg2
== NULL
) SWIG_fail
;
28740 arg3
= (int) SWIG_AsInt(obj2
);
28741 if (PyErr_Occurred()) SWIG_fail
;
28743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28744 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
28746 wxPyEndAllowThreads(__tstate
);
28747 if (PyErr_Occurred()) SWIG_fail
;
28749 Py_INCREF(Py_None
); resultobj
= Py_None
;
28764 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
28766 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28767 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
28769 return Py_BuildValue((char *)"");
28771 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28772 PyObject
*resultobj
;
28773 wxWindow
*arg1
= (wxWindow
*) 0 ;
28775 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28776 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28777 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28778 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28779 long arg5
= (long) 0 ;
28780 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28781 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28782 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
28783 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28784 wxPyControl
*result
;
28787 bool temp7
= False
;
28788 PyObject
* obj0
= 0 ;
28789 PyObject
* obj1
= 0 ;
28790 PyObject
* obj2
= 0 ;
28791 PyObject
* obj3
= 0 ;
28792 PyObject
* obj4
= 0 ;
28793 PyObject
* obj5
= 0 ;
28794 PyObject
* obj6
= 0 ;
28795 char *kwnames
[] = {
28796 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
28800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28802 arg2
= (int const) SWIG_AsInt(obj1
);
28803 if (PyErr_Occurred()) SWIG_fail
;
28807 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28813 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28817 arg5
= (long) SWIG_AsLong(obj4
);
28818 if (PyErr_Occurred()) SWIG_fail
;
28821 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
28822 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28824 if (arg6
== NULL
) {
28825 PyErr_SetString(PyExc_TypeError
,"null reference");
28831 arg7
= wxString_in_helper(obj6
);
28832 if (arg7
== NULL
) SWIG_fail
;
28837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28838 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28840 wxPyEndAllowThreads(__tstate
);
28841 if (PyErr_Occurred()) SWIG_fail
;
28843 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
28858 static PyObject
*_wrap_new_PrePyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28859 PyObject
*resultobj
;
28860 wxPyControl
*result
;
28861 char *kwnames
[] = {
28865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
28867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28868 result
= (wxPyControl
*)new wxPyControl();
28870 wxPyEndAllowThreads(__tstate
);
28871 if (PyErr_Occurred()) SWIG_fail
;
28873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
28880 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28881 PyObject
*resultobj
;
28882 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28883 PyObject
*arg2
= (PyObject
*) 0 ;
28884 PyObject
*arg3
= (PyObject
*) 0 ;
28885 PyObject
* obj0
= 0 ;
28886 PyObject
* obj1
= 0 ;
28887 PyObject
* obj2
= 0 ;
28888 char *kwnames
[] = {
28889 (char *) "self",(char *) "self",(char *) "_class", NULL
28892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28899 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28901 wxPyEndAllowThreads(__tstate
);
28902 if (PyErr_Occurred()) SWIG_fail
;
28904 Py_INCREF(Py_None
); resultobj
= Py_None
;
28911 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28912 PyObject
*resultobj
;
28913 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28916 PyObject
* obj0
= 0 ;
28917 PyObject
* obj1
= 0 ;
28918 char *kwnames
[] = {
28919 (char *) "self",(char *) "size", NULL
28922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
28923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28927 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28931 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
28933 wxPyEndAllowThreads(__tstate
);
28934 if (PyErr_Occurred()) SWIG_fail
;
28936 Py_INCREF(Py_None
); resultobj
= Py_None
;
28943 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28944 PyObject
*resultobj
;
28945 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28950 PyObject
* obj0
= 0 ;
28951 PyObject
* obj1
= 0 ;
28952 PyObject
* obj2
= 0 ;
28953 PyObject
* obj3
= 0 ;
28954 PyObject
* obj4
= 0 ;
28955 char *kwnames
[] = {
28956 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
28959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28962 arg2
= (int) SWIG_AsInt(obj1
);
28963 if (PyErr_Occurred()) SWIG_fail
;
28964 arg3
= (int) SWIG_AsInt(obj2
);
28965 if (PyErr_Occurred()) SWIG_fail
;
28966 arg4
= (int) SWIG_AsInt(obj3
);
28967 if (PyErr_Occurred()) SWIG_fail
;
28968 arg5
= (int) SWIG_AsInt(obj4
);
28969 if (PyErr_Occurred()) SWIG_fail
;
28971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28972 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
28974 wxPyEndAllowThreads(__tstate
);
28975 if (PyErr_Occurred()) SWIG_fail
;
28977 Py_INCREF(Py_None
); resultobj
= Py_None
;
28984 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28985 PyObject
*resultobj
;
28986 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28991 int arg6
= (int) wxSIZE_AUTO
;
28992 PyObject
* obj0
= 0 ;
28993 PyObject
* obj1
= 0 ;
28994 PyObject
* obj2
= 0 ;
28995 PyObject
* obj3
= 0 ;
28996 PyObject
* obj4
= 0 ;
28997 PyObject
* obj5
= 0 ;
28998 char *kwnames
[] = {
28999 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
29002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29005 arg2
= (int) SWIG_AsInt(obj1
);
29006 if (PyErr_Occurred()) SWIG_fail
;
29007 arg3
= (int) SWIG_AsInt(obj2
);
29008 if (PyErr_Occurred()) SWIG_fail
;
29009 arg4
= (int) SWIG_AsInt(obj3
);
29010 if (PyErr_Occurred()) SWIG_fail
;
29011 arg5
= (int) SWIG_AsInt(obj4
);
29012 if (PyErr_Occurred()) SWIG_fail
;
29014 arg6
= (int) SWIG_AsInt(obj5
);
29015 if (PyErr_Occurred()) SWIG_fail
;
29018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29019 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
29021 wxPyEndAllowThreads(__tstate
);
29022 if (PyErr_Occurred()) SWIG_fail
;
29024 Py_INCREF(Py_None
); resultobj
= Py_None
;
29031 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29032 PyObject
*resultobj
;
29033 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29036 PyObject
* obj0
= 0 ;
29037 PyObject
* obj1
= 0 ;
29038 PyObject
* obj2
= 0 ;
29039 char *kwnames
[] = {
29040 (char *) "self",(char *) "width",(char *) "height", NULL
29043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29046 arg2
= (int) SWIG_AsInt(obj1
);
29047 if (PyErr_Occurred()) SWIG_fail
;
29048 arg3
= (int) SWIG_AsInt(obj2
);
29049 if (PyErr_Occurred()) SWIG_fail
;
29051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29052 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
29054 wxPyEndAllowThreads(__tstate
);
29055 if (PyErr_Occurred()) SWIG_fail
;
29057 Py_INCREF(Py_None
); resultobj
= Py_None
;
29064 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29065 PyObject
*resultobj
;
29066 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29069 PyObject
* obj0
= 0 ;
29070 PyObject
* obj1
= 0 ;
29071 PyObject
* obj2
= 0 ;
29072 char *kwnames
[] = {
29073 (char *) "self",(char *) "x",(char *) "y", NULL
29076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29079 arg2
= (int) SWIG_AsInt(obj1
);
29080 if (PyErr_Occurred()) SWIG_fail
;
29081 arg3
= (int) SWIG_AsInt(obj2
);
29082 if (PyErr_Occurred()) SWIG_fail
;
29084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29085 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
29087 wxPyEndAllowThreads(__tstate
);
29088 if (PyErr_Occurred()) SWIG_fail
;
29090 Py_INCREF(Py_None
); resultobj
= Py_None
;
29097 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29098 PyObject
*resultobj
;
29099 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29100 int *arg2
= (int *) 0 ;
29101 int *arg3
= (int *) 0 ;
29104 PyObject
* obj0
= 0 ;
29105 char *kwnames
[] = {
29106 (char *) "self", NULL
29111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
29112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29116 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
29118 wxPyEndAllowThreads(__tstate
);
29119 if (PyErr_Occurred()) SWIG_fail
;
29121 Py_INCREF(Py_None
); resultobj
= Py_None
;
29123 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29124 resultobj
= t_output_helper(resultobj
,o
);
29127 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29128 resultobj
= t_output_helper(resultobj
,o
);
29136 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29137 PyObject
*resultobj
;
29138 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29139 int *arg2
= (int *) 0 ;
29140 int *arg3
= (int *) 0 ;
29143 PyObject
* obj0
= 0 ;
29144 char *kwnames
[] = {
29145 (char *) "self", NULL
29150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
29151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29155 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
29157 wxPyEndAllowThreads(__tstate
);
29158 if (PyErr_Occurred()) SWIG_fail
;
29160 Py_INCREF(Py_None
); resultobj
= Py_None
;
29162 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29163 resultobj
= t_output_helper(resultobj
,o
);
29166 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29167 resultobj
= t_output_helper(resultobj
,o
);
29175 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29176 PyObject
*resultobj
;
29177 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29178 int *arg2
= (int *) 0 ;
29179 int *arg3
= (int *) 0 ;
29182 PyObject
* obj0
= 0 ;
29183 char *kwnames
[] = {
29184 (char *) "self", NULL
29189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
29190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29194 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
29196 wxPyEndAllowThreads(__tstate
);
29197 if (PyErr_Occurred()) SWIG_fail
;
29199 Py_INCREF(Py_None
); resultobj
= Py_None
;
29201 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29202 resultobj
= t_output_helper(resultobj
,o
);
29205 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29206 resultobj
= t_output_helper(resultobj
,o
);
29214 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29215 PyObject
*resultobj
;
29216 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29218 PyObject
* obj0
= 0 ;
29219 char *kwnames
[] = {
29220 (char *) "self", NULL
29223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
29224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29228 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
29230 wxPyEndAllowThreads(__tstate
);
29231 if (PyErr_Occurred()) SWIG_fail
;
29234 wxSize
* resultptr
;
29235 resultptr
= new wxSize((wxSize
&) result
);
29236 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29244 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29245 PyObject
*resultobj
;
29246 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29248 PyObject
* obj0
= 0 ;
29249 char *kwnames
[] = {
29250 (char *) "self", NULL
29253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
29254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29258 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
29260 wxPyEndAllowThreads(__tstate
);
29261 if (PyErr_Occurred()) SWIG_fail
;
29264 wxSize
* resultptr
;
29265 resultptr
= new wxSize((wxSize
&) result
);
29266 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29274 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29275 PyObject
*resultobj
;
29276 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29277 PyObject
* obj0
= 0 ;
29278 char *kwnames
[] = {
29279 (char *) "self", NULL
29282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
29283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29287 (arg1
)->base_InitDialog();
29289 wxPyEndAllowThreads(__tstate
);
29290 if (PyErr_Occurred()) SWIG_fail
;
29292 Py_INCREF(Py_None
); resultobj
= Py_None
;
29299 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29300 PyObject
*resultobj
;
29301 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29303 PyObject
* obj0
= 0 ;
29304 char *kwnames
[] = {
29305 (char *) "self", NULL
29308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
29309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29313 result
= (bool)(arg1
)->base_TransferDataToWindow();
29315 wxPyEndAllowThreads(__tstate
);
29316 if (PyErr_Occurred()) SWIG_fail
;
29319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29327 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29328 PyObject
*resultobj
;
29329 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29331 PyObject
* obj0
= 0 ;
29332 char *kwnames
[] = {
29333 (char *) "self", NULL
29336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
29337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29341 result
= (bool)(arg1
)->base_TransferDataFromWindow();
29343 wxPyEndAllowThreads(__tstate
);
29344 if (PyErr_Occurred()) SWIG_fail
;
29347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29355 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29356 PyObject
*resultobj
;
29357 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29359 PyObject
* obj0
= 0 ;
29360 char *kwnames
[] = {
29361 (char *) "self", NULL
29364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
29365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29369 result
= (bool)(arg1
)->base_Validate();
29371 wxPyEndAllowThreads(__tstate
);
29372 if (PyErr_Occurred()) SWIG_fail
;
29375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29383 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29384 PyObject
*resultobj
;
29385 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29387 PyObject
* obj0
= 0 ;
29388 char *kwnames
[] = {
29389 (char *) "self", NULL
29392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
29393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29397 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
29399 wxPyEndAllowThreads(__tstate
);
29400 if (PyErr_Occurred()) SWIG_fail
;
29403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29411 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29412 PyObject
*resultobj
;
29413 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29415 PyObject
* obj0
= 0 ;
29416 char *kwnames
[] = {
29417 (char *) "self", NULL
29420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
29421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29425 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
29427 wxPyEndAllowThreads(__tstate
);
29428 if (PyErr_Occurred()) SWIG_fail
;
29431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29439 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29440 PyObject
*resultobj
;
29441 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29443 PyObject
* obj0
= 0 ;
29444 char *kwnames
[] = {
29445 (char *) "self", NULL
29448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
29449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29453 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
29455 wxPyEndAllowThreads(__tstate
);
29456 if (PyErr_Occurred()) SWIG_fail
;
29459 wxSize
* resultptr
;
29460 resultptr
= new wxSize((wxSize
&) result
);
29461 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29469 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29470 PyObject
*resultobj
;
29471 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29472 wxWindow
*arg2
= (wxWindow
*) 0 ;
29473 PyObject
* obj0
= 0 ;
29474 PyObject
* obj1
= 0 ;
29475 char *kwnames
[] = {
29476 (char *) "self",(char *) "child", NULL
29479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29482 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29486 (arg1
)->base_AddChild(arg2
);
29488 wxPyEndAllowThreads(__tstate
);
29489 if (PyErr_Occurred()) SWIG_fail
;
29491 Py_INCREF(Py_None
); resultobj
= Py_None
;
29498 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29499 PyObject
*resultobj
;
29500 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29501 wxWindow
*arg2
= (wxWindow
*) 0 ;
29502 PyObject
* obj0
= 0 ;
29503 PyObject
* obj1
= 0 ;
29504 char *kwnames
[] = {
29505 (char *) "self",(char *) "child", NULL
29508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29511 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29515 (arg1
)->base_RemoveChild(arg2
);
29517 wxPyEndAllowThreads(__tstate
);
29518 if (PyErr_Occurred()) SWIG_fail
;
29520 Py_INCREF(Py_None
); resultobj
= Py_None
;
29527 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29528 PyObject
*resultobj
;
29529 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29531 PyObject
* obj0
= 0 ;
29532 char *kwnames
[] = {
29533 (char *) "self", NULL
29536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
29537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29541 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
29543 wxPyEndAllowThreads(__tstate
);
29544 if (PyErr_Occurred()) SWIG_fail
;
29547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29555 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29556 PyObject
*resultobj
;
29557 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29558 wxColour
*arg2
= 0 ;
29560 PyObject
* obj0
= 0 ;
29561 PyObject
* obj1
= 0 ;
29562 char *kwnames
[] = {
29563 (char *) "self",(char *) "c", NULL
29566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
29567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29571 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29575 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
29577 wxPyEndAllowThreads(__tstate
);
29578 if (PyErr_Occurred()) SWIG_fail
;
29580 Py_INCREF(Py_None
); resultobj
= Py_None
;
29587 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29588 PyObject
*resultobj
;
29589 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29590 wxVisualAttributes result
;
29591 PyObject
* obj0
= 0 ;
29592 char *kwnames
[] = {
29593 (char *) "self", NULL
29596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29601 result
= (arg1
)->base_GetDefaultAttributes();
29603 wxPyEndAllowThreads(__tstate
);
29604 if (PyErr_Occurred()) SWIG_fail
;
29607 wxVisualAttributes
* resultptr
;
29608 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
29609 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29617 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
29619 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29620 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
29622 return Py_BuildValue((char *)"");
29624 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29625 PyObject
*resultobj
;
29626 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
29627 int arg2
= (int) 0 ;
29628 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29629 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29630 wxHelpEvent
*result
;
29632 PyObject
* obj0
= 0 ;
29633 PyObject
* obj1
= 0 ;
29634 PyObject
* obj2
= 0 ;
29635 char *kwnames
[] = {
29636 (char *) "type",(char *) "winid",(char *) "pt", NULL
29639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29641 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
29642 if (PyErr_Occurred()) SWIG_fail
;
29645 arg2
= (int) SWIG_AsInt(obj1
);
29646 if (PyErr_Occurred()) SWIG_fail
;
29651 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29656 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
29658 wxPyEndAllowThreads(__tstate
);
29659 if (PyErr_Occurred()) SWIG_fail
;
29661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
29668 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29669 PyObject
*resultobj
;
29670 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29672 PyObject
* obj0
= 0 ;
29673 char *kwnames
[] = {
29674 (char *) "self", NULL
29677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
29678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29682 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
29684 wxPyEndAllowThreads(__tstate
);
29685 if (PyErr_Occurred()) SWIG_fail
;
29688 wxPoint
* resultptr
;
29689 resultptr
= new wxPoint((wxPoint
&) result
);
29690 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29698 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29699 PyObject
*resultobj
;
29700 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29701 wxPoint
*arg2
= 0 ;
29703 PyObject
* obj0
= 0 ;
29704 PyObject
* obj1
= 0 ;
29705 char *kwnames
[] = {
29706 (char *) "self",(char *) "pos", NULL
29709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
29710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29714 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29718 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
29720 wxPyEndAllowThreads(__tstate
);
29721 if (PyErr_Occurred()) SWIG_fail
;
29723 Py_INCREF(Py_None
); resultobj
= Py_None
;
29730 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29731 PyObject
*resultobj
;
29732 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29734 PyObject
* obj0
= 0 ;
29735 char *kwnames
[] = {
29736 (char *) "self", NULL
29739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
29740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29745 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
29746 result
= (wxString
*) &_result_ref
;
29749 wxPyEndAllowThreads(__tstate
);
29750 if (PyErr_Occurred()) SWIG_fail
;
29754 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29756 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29765 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29766 PyObject
*resultobj
;
29767 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29768 wxString
*arg2
= 0 ;
29769 bool temp2
= False
;
29770 PyObject
* obj0
= 0 ;
29771 PyObject
* obj1
= 0 ;
29772 char *kwnames
[] = {
29773 (char *) "self",(char *) "link", NULL
29776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
29777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29780 arg2
= wxString_in_helper(obj1
);
29781 if (arg2
== NULL
) SWIG_fail
;
29785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29786 (arg1
)->SetLink((wxString
const &)*arg2
);
29788 wxPyEndAllowThreads(__tstate
);
29789 if (PyErr_Occurred()) SWIG_fail
;
29791 Py_INCREF(Py_None
); resultobj
= Py_None
;
29806 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29807 PyObject
*resultobj
;
29808 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29810 PyObject
* obj0
= 0 ;
29811 char *kwnames
[] = {
29812 (char *) "self", NULL
29815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
29816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29821 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
29822 result
= (wxString
*) &_result_ref
;
29825 wxPyEndAllowThreads(__tstate
);
29826 if (PyErr_Occurred()) SWIG_fail
;
29830 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29832 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29841 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29842 PyObject
*resultobj
;
29843 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29844 wxString
*arg2
= 0 ;
29845 bool temp2
= False
;
29846 PyObject
* obj0
= 0 ;
29847 PyObject
* obj1
= 0 ;
29848 char *kwnames
[] = {
29849 (char *) "self",(char *) "target", NULL
29852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
29853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29856 arg2
= wxString_in_helper(obj1
);
29857 if (arg2
== NULL
) SWIG_fail
;
29861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29862 (arg1
)->SetTarget((wxString
const &)*arg2
);
29864 wxPyEndAllowThreads(__tstate
);
29865 if (PyErr_Occurred()) SWIG_fail
;
29867 Py_INCREF(Py_None
); resultobj
= Py_None
;
29882 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
29884 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29885 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
29887 return Py_BuildValue((char *)"");
29889 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29890 PyObject
*resultobj
;
29891 wxWindow
*arg1
= (wxWindow
*) NULL
;
29892 bool arg2
= (bool) True
;
29893 wxContextHelp
*result
;
29894 PyObject
* obj0
= 0 ;
29895 PyObject
* obj1
= 0 ;
29896 char *kwnames
[] = {
29897 (char *) "window",(char *) "doNow", NULL
29900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29906 arg2
= (bool) SWIG_AsBool(obj1
);
29907 if (PyErr_Occurred()) SWIG_fail
;
29910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29911 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
29913 wxPyEndAllowThreads(__tstate
);
29914 if (PyErr_Occurred()) SWIG_fail
;
29916 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
29923 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29924 PyObject
*resultobj
;
29925 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
29926 PyObject
* obj0
= 0 ;
29927 char *kwnames
[] = {
29928 (char *) "self", NULL
29931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
29932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
29933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29938 wxPyEndAllowThreads(__tstate
);
29939 if (PyErr_Occurred()) SWIG_fail
;
29941 Py_INCREF(Py_None
); resultobj
= Py_None
;
29948 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29949 PyObject
*resultobj
;
29950 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
29951 wxWindow
*arg2
= (wxWindow
*) NULL
;
29953 PyObject
* obj0
= 0 ;
29954 PyObject
* obj1
= 0 ;
29955 char *kwnames
[] = {
29956 (char *) "self",(char *) "window", NULL
29959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
29961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29963 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29968 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
29970 wxPyEndAllowThreads(__tstate
);
29971 if (PyErr_Occurred()) SWIG_fail
;
29974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29982 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29983 PyObject
*resultobj
;
29984 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
29986 PyObject
* obj0
= 0 ;
29987 char *kwnames
[] = {
29988 (char *) "self", NULL
29991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
29992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
29993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29996 result
= (bool)(arg1
)->EndContextHelp();
29998 wxPyEndAllowThreads(__tstate
);
29999 if (PyErr_Occurred()) SWIG_fail
;
30002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30010 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
30012 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30013 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
30015 return Py_BuildValue((char *)"");
30017 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30018 PyObject
*resultobj
;
30019 wxWindow
*arg1
= (wxWindow
*) 0 ;
30020 int arg2
= (int) wxID_CONTEXT_HELP
;
30021 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30022 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30023 wxSize
const &arg4_defvalue
= wxDefaultSize
;
30024 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
30025 long arg5
= (long) wxBU_AUTODRAW
;
30026 wxContextHelpButton
*result
;
30029 PyObject
* obj0
= 0 ;
30030 PyObject
* obj1
= 0 ;
30031 PyObject
* obj2
= 0 ;
30032 PyObject
* obj3
= 0 ;
30033 PyObject
* obj4
= 0 ;
30034 char *kwnames
[] = {
30035 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
30038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30042 arg2
= (int) SWIG_AsInt(obj1
);
30043 if (PyErr_Occurred()) SWIG_fail
;
30048 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30054 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
30058 arg5
= (long) SWIG_AsLong(obj4
);
30059 if (PyErr_Occurred()) SWIG_fail
;
30062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30063 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
30065 wxPyEndAllowThreads(__tstate
);
30066 if (PyErr_Occurred()) SWIG_fail
;
30068 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
30075 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
30077 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30078 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
30080 return Py_BuildValue((char *)"");
30082 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30083 PyObject
*resultobj
;
30084 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30085 wxHelpProvider
*result
;
30086 PyObject
* obj0
= 0 ;
30087 char *kwnames
[] = {
30088 (char *) "helpProvider", NULL
30091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
30092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30096 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
30098 wxPyEndAllowThreads(__tstate
);
30099 if (PyErr_Occurred()) SWIG_fail
;
30101 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30108 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30109 PyObject
*resultobj
;
30110 wxHelpProvider
*result
;
30111 char *kwnames
[] = {
30115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
30117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30118 result
= (wxHelpProvider
*)wxHelpProvider::Get();
30120 wxPyEndAllowThreads(__tstate
);
30121 if (PyErr_Occurred()) SWIG_fail
;
30123 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30130 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30131 PyObject
*resultobj
;
30132 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30133 wxWindow
*arg2
= (wxWindow
*) 0 ;
30135 PyObject
* obj0
= 0 ;
30136 PyObject
* obj1
= 0 ;
30137 char *kwnames
[] = {
30138 (char *) "self",(char *) "window", NULL
30141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30144 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30148 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
30150 wxPyEndAllowThreads(__tstate
);
30151 if (PyErr_Occurred()) SWIG_fail
;
30155 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30157 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30166 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30167 PyObject
*resultobj
;
30168 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30169 wxWindow
*arg2
= (wxWindow
*) 0 ;
30171 PyObject
* obj0
= 0 ;
30172 PyObject
* obj1
= 0 ;
30173 char *kwnames
[] = {
30174 (char *) "self",(char *) "window", NULL
30177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30180 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30184 result
= (bool)(arg1
)->ShowHelp(arg2
);
30186 wxPyEndAllowThreads(__tstate
);
30187 if (PyErr_Occurred()) SWIG_fail
;
30190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30198 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30199 PyObject
*resultobj
;
30200 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30201 wxWindow
*arg2
= (wxWindow
*) 0 ;
30202 wxString
*arg3
= 0 ;
30203 bool temp3
= False
;
30204 PyObject
* obj0
= 0 ;
30205 PyObject
* obj1
= 0 ;
30206 PyObject
* obj2
= 0 ;
30207 char *kwnames
[] = {
30208 (char *) "self",(char *) "window",(char *) "text", NULL
30211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30214 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30217 arg3
= wxString_in_helper(obj2
);
30218 if (arg3
== NULL
) SWIG_fail
;
30222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30223 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30225 wxPyEndAllowThreads(__tstate
);
30226 if (PyErr_Occurred()) SWIG_fail
;
30228 Py_INCREF(Py_None
); resultobj
= Py_None
;
30243 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30244 PyObject
*resultobj
;
30245 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30247 wxString
*arg3
= 0 ;
30248 bool temp3
= False
;
30249 PyObject
* obj0
= 0 ;
30250 PyObject
* obj1
= 0 ;
30251 PyObject
* obj2
= 0 ;
30252 char *kwnames
[] = {
30253 (char *) "self",(char *) "id",(char *) "text", NULL
30256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30259 arg2
= (int) SWIG_AsInt(obj1
);
30260 if (PyErr_Occurred()) SWIG_fail
;
30262 arg3
= wxString_in_helper(obj2
);
30263 if (arg3
== NULL
) SWIG_fail
;
30267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30268 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30270 wxPyEndAllowThreads(__tstate
);
30271 if (PyErr_Occurred()) SWIG_fail
;
30273 Py_INCREF(Py_None
); resultobj
= Py_None
;
30288 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30289 PyObject
*resultobj
;
30290 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30291 wxWindow
*arg2
= (wxWindow
*) 0 ;
30292 PyObject
* obj0
= 0 ;
30293 PyObject
* obj1
= 0 ;
30294 char *kwnames
[] = {
30295 (char *) "self",(char *) "window", NULL
30298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30301 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30305 (arg1
)->RemoveHelp(arg2
);
30307 wxPyEndAllowThreads(__tstate
);
30308 if (PyErr_Occurred()) SWIG_fail
;
30310 Py_INCREF(Py_None
); resultobj
= Py_None
;
30317 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30318 PyObject
*resultobj
;
30319 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30320 PyObject
* obj0
= 0 ;
30321 char *kwnames
[] = {
30322 (char *) "self", NULL
30325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
30326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30330 wxHelpProvider_Destroy(arg1
);
30332 wxPyEndAllowThreads(__tstate
);
30333 if (PyErr_Occurred()) SWIG_fail
;
30335 Py_INCREF(Py_None
); resultobj
= Py_None
;
30342 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
30344 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30345 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
30347 return Py_BuildValue((char *)"");
30349 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30350 PyObject
*resultobj
;
30351 wxSimpleHelpProvider
*result
;
30352 char *kwnames
[] = {
30356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
30358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30359 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
30361 wxPyEndAllowThreads(__tstate
);
30362 if (PyErr_Occurred()) SWIG_fail
;
30364 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
30371 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
30373 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30374 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
30376 return Py_BuildValue((char *)"");
30378 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30379 PyObject
*resultobj
;
30380 wxBitmap
*arg1
= 0 ;
30381 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30382 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30383 wxGenericDragImage
*result
;
30384 PyObject
* obj0
= 0 ;
30385 PyObject
* obj1
= 0 ;
30386 char *kwnames
[] = {
30387 (char *) "image",(char *) "cursor", NULL
30390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
30391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
30392 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30394 if (arg1
== NULL
) {
30395 PyErr_SetString(PyExc_TypeError
,"null reference");
30399 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30400 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30402 if (arg2
== NULL
) {
30403 PyErr_SetString(PyExc_TypeError
,"null reference");
30408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30409 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
30411 wxPyEndAllowThreads(__tstate
);
30412 if (PyErr_Occurred()) SWIG_fail
;
30414 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30421 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30422 PyObject
*resultobj
;
30424 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30425 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30426 wxGenericDragImage
*result
;
30427 PyObject
* obj0
= 0 ;
30428 PyObject
* obj1
= 0 ;
30429 char *kwnames
[] = {
30430 (char *) "image",(char *) "cursor", NULL
30433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
30434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
30435 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30437 if (arg1
== NULL
) {
30438 PyErr_SetString(PyExc_TypeError
,"null reference");
30442 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30443 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30445 if (arg2
== NULL
) {
30446 PyErr_SetString(PyExc_TypeError
,"null reference");
30451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30452 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
30454 wxPyEndAllowThreads(__tstate
);
30455 if (PyErr_Occurred()) SWIG_fail
;
30457 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30464 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30465 PyObject
*resultobj
;
30466 wxString
*arg1
= 0 ;
30467 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30468 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30469 wxGenericDragImage
*result
;
30470 bool temp1
= False
;
30471 PyObject
* obj0
= 0 ;
30472 PyObject
* obj1
= 0 ;
30473 char *kwnames
[] = {
30474 (char *) "str",(char *) "cursor", NULL
30477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
30479 arg1
= wxString_in_helper(obj0
);
30480 if (arg1
== NULL
) SWIG_fail
;
30484 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30485 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30487 if (arg2
== NULL
) {
30488 PyErr_SetString(PyExc_TypeError
,"null reference");
30493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30494 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
30496 wxPyEndAllowThreads(__tstate
);
30497 if (PyErr_Occurred()) SWIG_fail
;
30499 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30514 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30515 PyObject
*resultobj
;
30516 wxPyTreeCtrl
*arg1
= 0 ;
30517 wxTreeItemId
*arg2
= 0 ;
30518 wxGenericDragImage
*result
;
30519 PyObject
* obj0
= 0 ;
30520 PyObject
* obj1
= 0 ;
30521 char *kwnames
[] = {
30522 (char *) "treeCtrl",(char *) "id", NULL
30525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
30527 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30529 if (arg1
== NULL
) {
30530 PyErr_SetString(PyExc_TypeError
,"null reference");
30533 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
30534 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30536 if (arg2
== NULL
) {
30537 PyErr_SetString(PyExc_TypeError
,"null reference");
30541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30542 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
30544 wxPyEndAllowThreads(__tstate
);
30545 if (PyErr_Occurred()) SWIG_fail
;
30547 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30554 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30555 PyObject
*resultobj
;
30556 wxPyListCtrl
*arg1
= 0 ;
30558 wxGenericDragImage
*result
;
30559 PyObject
* obj0
= 0 ;
30560 PyObject
* obj1
= 0 ;
30561 char *kwnames
[] = {
30562 (char *) "listCtrl",(char *) "id", NULL
30565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
30567 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30569 if (arg1
== NULL
) {
30570 PyErr_SetString(PyExc_TypeError
,"null reference");
30573 arg2
= (long) SWIG_AsLong(obj1
);
30574 if (PyErr_Occurred()) SWIG_fail
;
30576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30577 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
30579 wxPyEndAllowThreads(__tstate
);
30580 if (PyErr_Occurred()) SWIG_fail
;
30582 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30589 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30590 PyObject
*resultobj
;
30591 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30592 PyObject
* obj0
= 0 ;
30593 char *kwnames
[] = {
30594 (char *) "self", NULL
30597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
30598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30604 wxPyEndAllowThreads(__tstate
);
30605 if (PyErr_Occurred()) SWIG_fail
;
30607 Py_INCREF(Py_None
); resultobj
= Py_None
;
30614 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30615 PyObject
*resultobj
;
30616 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30617 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
30618 PyObject
* obj0
= 0 ;
30619 PyObject
* obj1
= 0 ;
30620 char *kwnames
[] = {
30621 (char *) "self",(char *) "bitmap", NULL
30624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
30625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30627 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
30628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30631 (arg1
)->SetBackingBitmap(arg2
);
30633 wxPyEndAllowThreads(__tstate
);
30634 if (PyErr_Occurred()) SWIG_fail
;
30636 Py_INCREF(Py_None
); resultobj
= Py_None
;
30643 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30644 PyObject
*resultobj
;
30645 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30646 wxPoint
*arg2
= 0 ;
30647 wxWindow
*arg3
= (wxWindow
*) 0 ;
30648 bool arg4
= (bool) False
;
30649 wxRect
*arg5
= (wxRect
*) NULL
;
30652 PyObject
* obj0
= 0 ;
30653 PyObject
* obj1
= 0 ;
30654 PyObject
* obj2
= 0 ;
30655 PyObject
* obj3
= 0 ;
30656 PyObject
* obj4
= 0 ;
30657 char *kwnames
[] = {
30658 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
30661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30666 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30668 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
30669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30671 arg4
= (bool) SWIG_AsBool(obj3
);
30672 if (PyErr_Occurred()) SWIG_fail
;
30675 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
30676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30680 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
30682 wxPyEndAllowThreads(__tstate
);
30683 if (PyErr_Occurred()) SWIG_fail
;
30686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30694 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30695 PyObject
*resultobj
;
30696 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30697 wxPoint
*arg2
= 0 ;
30698 wxWindow
*arg3
= (wxWindow
*) 0 ;
30699 wxWindow
*arg4
= (wxWindow
*) 0 ;
30702 PyObject
* obj0
= 0 ;
30703 PyObject
* obj1
= 0 ;
30704 PyObject
* obj2
= 0 ;
30705 PyObject
* obj3
= 0 ;
30706 char *kwnames
[] = {
30707 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
30710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30715 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30717 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
30718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30719 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
30720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30723 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
30725 wxPyEndAllowThreads(__tstate
);
30726 if (PyErr_Occurred()) SWIG_fail
;
30729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30737 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30738 PyObject
*resultobj
;
30739 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30741 PyObject
* obj0
= 0 ;
30742 char *kwnames
[] = {
30743 (char *) "self", NULL
30746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
30747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30751 result
= (bool)(arg1
)->EndDrag();
30753 wxPyEndAllowThreads(__tstate
);
30754 if (PyErr_Occurred()) SWIG_fail
;
30757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30765 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30766 PyObject
*resultobj
;
30767 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30768 wxPoint
*arg2
= 0 ;
30771 PyObject
* obj0
= 0 ;
30772 PyObject
* obj1
= 0 ;
30773 char *kwnames
[] = {
30774 (char *) "self",(char *) "pt", NULL
30777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
30778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30782 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30786 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
30788 wxPyEndAllowThreads(__tstate
);
30789 if (PyErr_Occurred()) SWIG_fail
;
30792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30800 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30801 PyObject
*resultobj
;
30802 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30804 PyObject
* obj0
= 0 ;
30805 char *kwnames
[] = {
30806 (char *) "self", NULL
30809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
30810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30814 result
= (bool)(arg1
)->Show();
30816 wxPyEndAllowThreads(__tstate
);
30817 if (PyErr_Occurred()) SWIG_fail
;
30820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30828 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30829 PyObject
*resultobj
;
30830 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30832 PyObject
* obj0
= 0 ;
30833 char *kwnames
[] = {
30834 (char *) "self", NULL
30837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
30838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30842 result
= (bool)(arg1
)->Hide();
30844 wxPyEndAllowThreads(__tstate
);
30845 if (PyErr_Occurred()) SWIG_fail
;
30848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30856 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30857 PyObject
*resultobj
;
30858 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30859 wxPoint
*arg2
= 0 ;
30862 PyObject
* obj0
= 0 ;
30863 PyObject
* obj1
= 0 ;
30864 char *kwnames
[] = {
30865 (char *) "self",(char *) "pos", NULL
30868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
30869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30873 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30877 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
30879 wxPyEndAllowThreads(__tstate
);
30880 if (PyErr_Occurred()) SWIG_fail
;
30883 wxRect
* resultptr
;
30884 resultptr
= new wxRect((wxRect
&) result
);
30885 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
30893 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30894 PyObject
*resultobj
;
30895 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30897 wxPoint
*arg3
= 0 ;
30900 PyObject
* obj0
= 0 ;
30901 PyObject
* obj1
= 0 ;
30902 PyObject
* obj2
= 0 ;
30903 char *kwnames
[] = {
30904 (char *) "self",(char *) "dc",(char *) "pos", NULL
30907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30910 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30911 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30913 if (arg2
== NULL
) {
30914 PyErr_SetString(PyExc_TypeError
,"null reference");
30919 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30923 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
30925 wxPyEndAllowThreads(__tstate
);
30926 if (PyErr_Occurred()) SWIG_fail
;
30929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30937 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30938 PyObject
*resultobj
;
30939 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30941 wxMemoryDC
*arg3
= 0 ;
30947 PyObject
* obj0
= 0 ;
30948 PyObject
* obj1
= 0 ;
30949 PyObject
* obj2
= 0 ;
30950 PyObject
* obj3
= 0 ;
30951 PyObject
* obj4
= 0 ;
30952 char *kwnames
[] = {
30953 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
30956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30959 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30960 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30962 if (arg2
== NULL
) {
30963 PyErr_SetString(PyExc_TypeError
,"null reference");
30966 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
30967 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30969 if (arg3
== NULL
) {
30970 PyErr_SetString(PyExc_TypeError
,"null reference");
30975 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30979 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
30982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30983 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
30985 wxPyEndAllowThreads(__tstate
);
30986 if (PyErr_Occurred()) SWIG_fail
;
30989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30997 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30998 PyObject
*resultobj
;
30999 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31000 wxPoint
*arg2
= 0 ;
31001 wxPoint
*arg3
= 0 ;
31007 PyObject
* obj0
= 0 ;
31008 PyObject
* obj1
= 0 ;
31009 PyObject
* obj2
= 0 ;
31010 PyObject
* obj3
= 0 ;
31011 PyObject
* obj4
= 0 ;
31012 char *kwnames
[] = {
31013 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
31016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31021 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31025 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31027 arg4
= (bool) SWIG_AsBool(obj3
);
31028 if (PyErr_Occurred()) SWIG_fail
;
31029 arg5
= (bool) SWIG_AsBool(obj4
);
31030 if (PyErr_Occurred()) SWIG_fail
;
31032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31033 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
31035 wxPyEndAllowThreads(__tstate
);
31036 if (PyErr_Occurred()) SWIG_fail
;
31039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31047 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
31049 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31050 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
31052 return Py_BuildValue((char *)"");
31054 static PyMethodDef SwigMethods
[] = {
31055 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
31056 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
31057 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
31058 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
31059 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
31060 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31061 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
31062 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
31063 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
31064 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31065 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
31066 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
31067 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
31068 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
31069 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
31070 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
31071 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
31072 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
31073 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31074 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
31075 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
31076 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
31077 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
31078 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
31079 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31080 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31081 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
31082 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31083 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
31084 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
31085 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
31086 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
31087 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31088 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
31089 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
31090 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
31091 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
31092 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31093 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31094 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31095 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31096 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
31097 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
31098 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
31099 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31100 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31101 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31102 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
31103 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
31104 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
31105 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31106 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31107 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
31108 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
31109 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31110 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
31111 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31112 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31113 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
31114 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
31115 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
31116 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31117 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
31118 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
31119 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
31120 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
31121 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31122 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31123 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31124 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31125 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31126 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
31127 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
31128 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
31129 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
31130 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31131 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
31132 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
31133 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
31134 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31135 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31136 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
31137 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
31138 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
31139 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
31140 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31141 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
31142 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31143 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
31144 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
31145 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
31146 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
31147 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31148 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
31149 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31150 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31151 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
31152 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31153 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31154 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
31155 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31156 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
31157 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
31158 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
31159 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31160 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
31161 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
31162 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
31163 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31164 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31165 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
31166 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
31167 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
31168 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31169 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
31170 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
31171 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
31172 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31173 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31174 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
31175 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31176 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31177 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31178 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31179 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
31180 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
31181 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
31182 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31183 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
31184 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
31185 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
31186 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31187 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
31188 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
31189 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
},
31190 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
31191 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
31192 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31193 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31194 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31195 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31196 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
31197 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31198 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31199 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
31200 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31201 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31202 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
31203 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31204 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
31205 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31206 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31207 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
31208 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31209 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31210 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31211 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31212 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
31213 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31214 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
},
31215 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31216 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
31217 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
31218 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
31219 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
31220 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31221 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31222 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31223 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31224 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31225 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31226 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
31227 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
31228 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
31229 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
31230 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
31231 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
31232 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
31233 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31234 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31235 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
31236 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
31237 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
31238 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
31239 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
31240 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
31241 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
31242 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
31243 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
31244 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
31245 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
31246 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31247 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31248 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
31249 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
31250 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
31251 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
31252 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
31253 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31254 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
31255 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
31256 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
31257 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
31258 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
31259 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
31260 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
31261 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
31262 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
31263 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
31264 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31265 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
31266 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31267 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
31268 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31269 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
31270 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
31271 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
31272 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
31273 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31274 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
31275 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
31276 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
31277 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
31278 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
31279 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
31280 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
31281 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
31282 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
31283 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
31284 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
31285 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31286 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31287 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31288 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
31289 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
31290 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31291 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
31292 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
31293 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
31294 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31295 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31296 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31297 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31298 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31299 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
31300 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
31301 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31302 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31303 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31304 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
31305 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31306 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31307 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31308 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31309 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31310 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
31311 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31312 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31313 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31314 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31315 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31316 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
31317 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
31318 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31319 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31320 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
},
31321 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
31322 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
31323 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31324 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31325 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31326 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31327 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31328 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
31329 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
31330 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
31331 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31332 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
31333 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
31334 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
31335 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
31336 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
31337 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31338 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
31339 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
31340 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
31341 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31342 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31343 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31344 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31345 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
31346 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
31347 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
31348 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
31349 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31350 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31351 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31352 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31353 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31354 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
31355 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
31356 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
31357 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31358 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
31359 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31360 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
31361 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
31362 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
31363 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
31364 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
31365 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
31366 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
31367 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
31368 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
31369 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31370 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31371 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
31372 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
31373 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
31374 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31375 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31376 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31377 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31378 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31379 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
31380 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
31381 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
31382 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31383 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
31384 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
31385 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31386 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31387 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31388 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
31389 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
31390 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31391 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
31392 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
31393 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
31394 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
31395 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
31396 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
31397 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31398 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
31399 { (char *)"BookCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31400 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
31401 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
31402 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31403 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31404 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
31405 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
31406 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
31407 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
31408 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
31409 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
31410 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
31411 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
31412 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
31413 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31414 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
31415 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31416 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
31417 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
31418 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
31419 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
31420 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
31421 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
31422 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31423 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
31424 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
31425 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
31426 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
31427 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
31428 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
31429 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
31430 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
31431 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
31432 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
31433 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
31434 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
31435 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
31436 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31437 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
31438 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31439 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
31440 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
31441 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31442 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31443 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
31444 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
31445 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
31446 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
31447 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31448 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31449 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31450 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31451 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31452 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31453 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
31454 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
31455 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
31456 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31457 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31458 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31459 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31460 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31461 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
31462 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
31463 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
31464 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
31465 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
31466 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
31467 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
31468 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
31469 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
31470 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
31471 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
31472 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
31473 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31474 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31475 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
31476 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
31477 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
31478 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
31479 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
31480 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
31481 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
31482 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
31483 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
31484 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
31485 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
31486 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
31487 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
31488 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31489 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31490 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31491 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31492 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
31493 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31494 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
31495 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
31496 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
31497 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31498 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
31499 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
31500 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
31501 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
31502 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
31503 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
31504 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
31505 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
31506 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
31507 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
31508 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
31509 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31510 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
31511 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31512 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31513 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
31514 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
31515 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31516 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
31517 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
31518 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31519 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31520 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31521 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31522 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31523 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
31524 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31525 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31526 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31527 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31528 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
31529 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
31530 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
31531 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
31532 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31533 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
31534 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
31535 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31536 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
31537 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
31538 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
31539 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
31540 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
31541 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
31542 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
31543 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31544 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31545 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31546 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
31547 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31548 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31549 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
31550 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
31551 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
31552 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31553 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
31554 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
31555 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31556 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31557 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31558 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31559 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31560 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
31561 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
31562 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
31563 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
31564 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
31565 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
31566 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
31567 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
31568 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
31569 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
31570 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
31571 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
31572 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
31573 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
31574 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
31575 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
31576 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
31577 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
31578 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
31579 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
31580 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
31581 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
31582 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
31583 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
31584 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
31585 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
31586 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
31587 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
31588 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
31589 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
31590 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
31591 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
31592 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
31593 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
31594 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
31595 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31596 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31597 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31598 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
31599 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
31600 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31601 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
31602 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31603 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
31604 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
31605 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
31606 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
31607 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
31608 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31609 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31610 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31611 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31612 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31613 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31614 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31615 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31616 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
31617 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
31618 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
31619 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
31620 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31621 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
31622 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31623 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
31624 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
31625 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31626 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31627 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31628 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31629 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31630 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
31631 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
31632 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
31633 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31634 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
31635 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31636 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31637 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31638 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31639 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31640 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
31641 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
31642 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
31643 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
31644 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31645 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31646 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31647 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
},
31648 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
31649 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
31650 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
31651 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
31652 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
31653 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
31654 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
31655 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
31656 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
31657 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
31658 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31659 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
31660 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
31661 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
31662 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31663 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
31664 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31665 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
31666 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31667 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
31668 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
31669 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31670 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
31671 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31672 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31673 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31674 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31675 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
31676 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
31677 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31678 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
31679 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
31680 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
31681 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
31682 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
31683 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
31684 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
31685 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
31686 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
31687 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31688 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
31689 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
31690 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
31691 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
31692 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
31693 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
31694 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
31695 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
31696 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
31697 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
31698 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
31699 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
31700 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31701 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
31702 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31703 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
31704 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31705 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
31706 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
31707 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31708 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
31709 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
31710 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
31711 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31712 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31713 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
31714 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
31715 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
31716 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31717 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31718 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
31719 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
31720 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
31721 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
31722 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31723 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31724 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31725 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31726 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
31727 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
31728 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
31729 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31730 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31731 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31732 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31733 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31734 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31735 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31736 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31737 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31738 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31739 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31740 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
31741 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31742 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31743 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31744 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31745 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31746 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31747 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
31748 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
31749 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
31750 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31751 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31752 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31753 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
31754 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
31755 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
31756 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31757 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
31758 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
31759 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
31760 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31761 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
31762 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
31763 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
31764 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
31765 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
31766 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
31767 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
31768 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
31769 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
31770 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
31771 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
31772 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
31773 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
31774 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
31775 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
31776 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
31777 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
31778 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
31779 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
31780 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
31781 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
31782 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
31783 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
31784 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
},
31785 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
31786 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
31787 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
},
31788 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31789 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
31790 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
31791 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
31792 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
31793 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31794 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
31795 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31796 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
31797 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31798 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31799 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31800 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
31801 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
31802 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
31803 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
31804 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
31805 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
31806 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
31807 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
31808 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
31809 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
31810 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
31811 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
31812 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
31813 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31814 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31815 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
31816 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
31817 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
31818 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
31819 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31820 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31821 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31822 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
31823 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
31824 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
31825 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
},
31826 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31827 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
31828 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
31829 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
31830 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
31831 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
31832 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
31833 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
31834 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31835 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
31836 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
31837 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
31838 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
31839 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
31840 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
31841 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
31842 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
31843 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
31844 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
31845 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
31846 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
31847 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
31848 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31849 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
31850 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
31851 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31852 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31853 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
31854 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
31855 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
31856 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
31857 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
31858 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31859 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31860 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31861 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31862 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
31863 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
31864 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
31865 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
31866 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
31867 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
31868 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
31869 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
31870 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
31871 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
},
31872 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31873 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
31874 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
31875 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
31876 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
31877 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
31878 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
31879 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
31880 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
31881 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
31882 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31883 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
31884 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
31885 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
31886 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
31887 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
31888 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
31889 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
31890 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
31891 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
31892 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
31893 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
31898 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31900 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
31901 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31903 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
31904 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31906 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
31907 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
31909 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
31910 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31912 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
31913 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31915 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
31916 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
31918 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
31919 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31921 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
31922 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
31924 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
31925 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
31927 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
31928 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
31930 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
31931 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31933 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
31934 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
31936 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
31937 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
31939 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
31940 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
31942 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
31943 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
31945 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
31946 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31948 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
31949 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
31951 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
31952 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
31954 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
31955 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
31957 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
31958 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
31960 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
31961 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31963 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
31964 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
31966 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
31967 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31969 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
31970 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
31972 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
31973 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31975 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
31976 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31978 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
31979 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
31981 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
31982 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
31984 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
31985 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31987 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
31988 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31990 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
31991 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
31993 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
31994 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
31996 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
31997 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
31999 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32000 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32002 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32003 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32005 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32006 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32008 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32009 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32011 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32012 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32014 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32015 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32017 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32018 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32020 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32021 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32023 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32024 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32026 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32027 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32029 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32030 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32032 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32033 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32035 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32036 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32038 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32039 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32041 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32042 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32044 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32045 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32047 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32048 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32050 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32051 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32053 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32054 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32056 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
32057 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32059 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
32060 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
32062 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
32063 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32065 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
32066 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32068 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
32069 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
32071 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
32072 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32074 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
32075 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32077 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
32078 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
32080 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
32081 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32083 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
32084 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32086 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
32087 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32089 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
32090 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
32092 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
32093 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
32095 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
32096 return (void *)((wxControl
*) ((wxComboBox
*) x
));
32098 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
32099 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
32101 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
32102 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
32104 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
32105 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
32107 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
32108 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
32110 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
32111 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32113 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
32114 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
32116 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
32117 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
32119 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
32120 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
32122 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
32123 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
32125 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
32126 return (void *)((wxControl
*) ((wxGauge
*) x
));
32128 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
32129 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
32131 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
32132 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
32134 static void *_p_wxButtonTo_p_wxControl(void *x
) {
32135 return (void *)((wxControl
*) ((wxButton
*) x
));
32137 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
32138 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
32140 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
32141 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32143 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
32144 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
32146 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
32147 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
32149 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
32150 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
32152 static void *_p_wxListbookTo_p_wxControl(void *x
) {
32153 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
32155 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
32156 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
32158 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
32159 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
32161 static void *_p_wxListViewTo_p_wxControl(void *x
) {
32162 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
32164 static void *_p_wxSliderTo_p_wxControl(void *x
) {
32165 return (void *)((wxControl
*) ((wxSlider
*) x
));
32167 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
32168 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
32170 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
32171 return (void *)((wxControl
*) ((wxPyControl
*) x
));
32173 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
32174 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
32176 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
32177 return (void *)((wxControl
*) ((wxStaticText
*) x
));
32179 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
32180 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
32182 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
32183 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32185 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
32186 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32188 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
32189 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32191 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
32192 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
32194 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
32195 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32197 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
32198 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32200 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
32201 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32203 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
32204 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
32206 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32207 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32209 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32210 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32212 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32213 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32215 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
32216 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32218 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32219 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32221 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
32222 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
32224 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
32225 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
32227 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32228 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32230 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32231 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32233 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
32234 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
32236 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
32237 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32239 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
32240 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
32242 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
32243 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32245 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
32246 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
32248 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32249 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32251 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
32252 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32254 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
32255 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
32257 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32258 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32260 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
32261 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
32263 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
32264 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
32266 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
32267 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32269 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
32270 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32272 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
32273 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32275 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
32276 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
32278 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
32279 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32281 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
32282 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32284 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
32285 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32287 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
32288 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32290 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
32291 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
32293 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
32294 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32296 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
32297 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
32299 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
32300 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
32302 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
32303 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
32305 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
32306 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
32308 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
32309 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
32311 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
32312 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
32314 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
32315 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32317 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
32318 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32320 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
32321 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
32323 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
32324 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
32326 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
32327 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
32329 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
32330 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
32332 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
32333 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
32335 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
32336 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32338 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
32339 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32341 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
32342 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
32344 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32345 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32347 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32348 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32350 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32351 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32353 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32354 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32356 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32357 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32359 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
32360 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32362 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
32363 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32365 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32366 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32368 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32369 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32371 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32372 return (void *)((wxObject
*) ((wxSizer
*) x
));
32374 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32375 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32377 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
32378 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32380 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
32381 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32383 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32384 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32386 static void *_p_wxEventTo_p_wxObject(void *x
) {
32387 return (void *)((wxObject
*) ((wxEvent
*) x
));
32389 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32390 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32392 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32393 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32395 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32396 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32398 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
32399 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32401 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
32402 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32404 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
32405 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32407 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32408 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32410 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32411 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32413 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32414 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32416 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32417 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32419 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32420 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32422 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32423 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32425 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
32426 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
32428 static void *_p_wxControlTo_p_wxObject(void *x
) {
32429 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32431 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
32432 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
32434 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
32435 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
32437 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
32438 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
32440 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
32441 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
32443 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
32444 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
32446 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32447 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32449 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
32450 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32452 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32453 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32455 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32456 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32458 static void *_p_wxListViewTo_p_wxObject(void *x
) {
32459 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32461 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
32462 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
32464 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
32465 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32467 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32468 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32470 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32471 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32473 static void *_p_wxListbookTo_p_wxObject(void *x
) {
32474 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32476 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32477 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32479 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
32480 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
32482 static void *_p_wxSliderTo_p_wxObject(void *x
) {
32483 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
32485 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32486 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32488 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32489 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32491 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32492 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32494 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32495 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32497 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32498 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32500 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32501 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32503 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32504 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32506 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32507 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32509 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32510 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32512 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
32513 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
32515 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
32516 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
32518 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32519 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32521 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32522 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32524 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32525 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32527 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32528 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32530 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32531 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32533 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32534 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32536 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32537 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32539 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32540 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32542 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32543 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32545 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32546 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32548 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32549 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32551 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32552 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32554 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32555 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32557 static void *_p_wxListEventTo_p_wxObject(void *x
) {
32558 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
32560 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
32561 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32563 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
32564 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32566 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
32567 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
32569 static void *_p_wxButtonTo_p_wxObject(void *x
) {
32570 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
32572 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
32573 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32575 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
32576 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
32578 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
32579 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32581 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32582 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32584 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
32585 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
32587 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
32588 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
32590 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
32591 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
32593 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
32594 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
32596 static void *_p_wxListItemTo_p_wxObject(void *x
) {
32597 return (void *)((wxObject
*) ((wxListItem
*) x
));
32599 static void *_p_wxImageTo_p_wxObject(void *x
) {
32600 return (void *)((wxObject
*) ((wxImage
*) x
));
32602 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
32603 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
32605 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32606 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32608 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
32609 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32611 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
32612 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
32614 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
32615 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
32617 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
32618 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32620 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
32621 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32623 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32624 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32626 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32627 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32629 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32630 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32632 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32633 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32635 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32636 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32638 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32639 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32641 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32642 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32644 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32645 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32647 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32648 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32650 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32651 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32653 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32654 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32656 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32657 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32659 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32660 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32662 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
32663 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32665 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32666 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32668 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32669 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32671 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
32672 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
32674 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32675 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32677 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32678 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32680 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32681 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32683 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32684 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32686 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
32687 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
32689 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
32690 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32692 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32693 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32695 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32696 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32698 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
32699 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
32701 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
32702 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
32704 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32705 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32707 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
32708 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32710 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
32711 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
32713 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
32714 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
32716 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
32717 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
32719 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32720 return (void *)((wxWindow
*) ((wxControl
*) x
));
32722 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
32723 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
32725 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
32726 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32728 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
32729 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
32731 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
32732 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
32734 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
32735 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
32737 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
32738 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
32740 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32741 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32743 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
32744 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
32746 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
32747 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
32749 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
32750 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32752 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
32753 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
32755 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
32756 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
32758 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
32759 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
32761 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
32762 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32764 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
32765 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32767 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
32768 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32770 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
32771 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32773 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
32774 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32776 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
32777 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
32779 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
32780 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
32782 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
32783 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
32785 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
32786 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
32788 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
32789 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
32791 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
32792 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
32794 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
32795 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
32797 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
32798 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32800 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
32801 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32803 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
32804 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
32806 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
32807 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32809 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
32810 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32812 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
32813 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32815 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
32816 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
32818 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
32819 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32821 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
32822 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32824 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
32825 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32827 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
32828 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32830 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
32831 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32833 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
32834 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
32836 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
32837 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32839 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
32840 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32842 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
32843 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32845 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
32846 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
32848 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
32849 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32851 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
32852 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32854 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
32855 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32857 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
32858 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
32860 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
32861 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
32863 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
32864 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
32866 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
32867 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
32869 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}};
32870 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}};
32871 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}};
32872 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}};
32873 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}};
32874 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}};
32875 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}};
32876 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}};
32877 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}};
32878 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}};
32879 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}};
32880 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}};
32881 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}};
32882 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}};
32883 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}};
32884 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}};
32885 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}};
32886 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}};
32887 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}};
32888 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}};
32889 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}};
32890 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}};
32891 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}};
32892 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}};
32893 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}};
32894 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}};
32895 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}};
32896 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}};
32897 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}};
32898 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}};
32899 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}};
32900 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}};
32901 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}};
32902 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}};
32903 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}};
32904 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}};
32905 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}};
32906 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}};
32907 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}};
32908 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}};
32909 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}};
32910 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}};
32911 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}};
32912 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}};
32913 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}};
32914 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}};
32915 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}};
32916 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}};
32917 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}};
32918 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}};
32919 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}};
32920 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}};
32921 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}};
32922 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}};
32923 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}};
32924 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}};
32925 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}};
32926 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}};
32927 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}};
32928 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}};
32929 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}};
32930 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}};
32931 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}};
32932 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}};
32933 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}};
32934 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}};
32935 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}};
32936 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}};
32937 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}};
32938 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}};
32939 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}};
32940 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}};
32941 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}};
32942 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}};
32943 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}};
32944 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}};
32945 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}};
32946 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}};
32947 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}};
32948 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}};
32949 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}};
32950 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}};
32951 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}};
32952 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}};
32953 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}};
32955 static swig_type_info
*swig_types_initial
[] = {
32956 _swigt__p_wxTextUrlEvent
,
32957 _swigt__p_wxBookCtrlEvent
,
32959 _swigt__p_wxCheckBox
,
32960 _swigt__p_wxPyTreeCtrl
,
32962 _swigt__p_wxGenericDirCtrl
,
32964 _swigt__p_wxPyTreeItemData
,
32965 _swigt__p_wxItemContainer
,
32966 _swigt__p_wxPyListCtrl
,
32967 _swigt__p_wxDirFilterListCtrl
,
32968 _swigt__p_wxStaticLine
,
32969 _swigt__p_wxControl
,
32970 _swigt__p_wxPyControl
,
32972 _swigt__p_wxToolBarBase
,
32974 _swigt__p_wxToggleButton
,
32975 _swigt__p_wxRadioButton
,
32976 _swigt__p_wxChoice
,
32977 _swigt__p_wxMemoryDC
,
32978 _swigt__p_wxListItemAttr
,
32983 _swigt__p_wxListView
,
32985 _swigt__p_wxVisualAttributes
,
32986 _swigt__p_wxTextCtrl
,
32987 _swigt__p_wxNotebook
,
32988 _swigt__p_wxNotifyEvent
,
32989 _swigt__p_wxArrayString
,
32990 _swigt__p_wxListbook
,
32991 _swigt__p_wxStaticBitmap
,
32992 _swigt__p_wxSlider
,
32993 _swigt__p_wxStaticBox
,
32994 _swigt__p_wxArrayInt
,
32995 _swigt__p_wxContextHelp
,
32997 _swigt__p_wxEvtHandler
,
32998 _swigt__p_wxListEvent
,
32999 _swigt__p_wxCheckListBox
,
33000 _swigt__p_wxListBox
,
33001 _swigt__p_wxBookCtrl
,
33002 _swigt__p_wxSpinButton
,
33003 _swigt__p_wxButton
,
33004 _swigt__p_wxBitmapButton
,
33006 _swigt__p_wxContextHelpButton
,
33007 _swigt__p_wxRadioBox
,
33008 _swigt__p_wxScrollBar
,
33010 _swigt__p_wxTreeItemId
,
33011 _swigt__p_wxComboBox
,
33012 _swigt__p_wxHelpEvent
,
33013 _swigt__p_wxListItem
,
33014 _swigt__p_wxNotebookSizer
,
33015 _swigt__p_wxSpinEvent
,
33016 _swigt__p_wxGenericDragImage
,
33017 _swigt__p_wxSpinCtrl
,
33018 _swigt__p_wxImageList
,
33019 _swigt__p_wxHelpProvider
,
33020 _swigt__p_wxTextAttr
,
33021 _swigt__p_wxSimpleHelpProvider
,
33023 _swigt__p_wxListbookEvent
,
33024 _swigt__p_wxNotebookEvent
,
33025 _swigt__p_wxObject
,
33026 _swigt__p_wxCursor
,
33027 _swigt__p_wxKeyEvent
,
33028 _swigt__p_wxWindow
,
33029 _swigt__p_wxString
,
33030 _swigt__p_wxBitmap
,
33031 _swigt__p_wxTreeEvent
,
33032 _swigt__p_wxMouseEvent
,
33033 _swigt__p_wxCommandEvent
,
33034 _swigt__p_wxStaticText
,
33035 _swigt__p_wxControlWithItems
,
33036 _swigt__p_wxToolBarToolBase
,
33037 _swigt__p_wxColour
,
33038 _swigt__p_wxToolBar
,
33039 _swigt__p_wxBookCtrlSizer
,
33040 _swigt__p_wxValidator
,
33045 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33047 static swig_const_info swig_const_table
[] = {
33057 SWIGEXPORT(void) SWIG_init(void) {
33058 static PyObject
*SWIG_globals
= 0;
33059 static int typeinit
= 0;
33062 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
33063 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33064 d
= PyModule_GetDict(m
);
33067 for (i
= 0; swig_types_initial
[i
]; i
++) {
33068 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
33072 SWIG_InstallConstants(d
,swig_const_table
);
33074 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
33075 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
33076 PyDict_SetItemString(d
,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT
));
33077 PyDict_SetItemString(d
,"BU_TOP", SWIG_FromInt((int)wxBU_TOP
));
33078 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT
));
33079 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM
));
33080 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT
));
33081 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW
));
33082 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
33083 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE
));
33084 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE
));
33085 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
33086 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED
));
33087 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED
));
33088 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED
));
33089 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
33090 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
33091 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
33092 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL
));
33093 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL
));
33094 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH
));
33095 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR
));
33096 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
33097 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
33098 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
33099 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
33100 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
33101 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL
));
33102 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL
));
33103 PyDict_SetItemString(d
,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY
));
33104 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE
));
33105 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB
));
33106 PyDict_SetItemString(d
,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT
));
33107 PyDict_SetItemString(d
,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER
));
33108 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT
));
33109 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE
));
33110 PyDict_SetItemString(d
,"TE_RICH", SWIG_FromInt((int)wxTE_RICH
));
33111 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER
));
33112 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD
));
33113 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL
));
33114 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL
));
33115 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP
));
33116 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP
));
33117 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP
));
33118 PyDict_SetItemString(d
,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2
));
33119 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT
));
33120 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT
));
33121 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE
));
33122 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER
));
33123 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT
));
33124 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
33125 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR
));
33126 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
33127 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE
));
33128 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE
));
33129 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT
));
33130 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC
));
33131 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE
));
33132 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT
));
33133 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT
));
33134 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT
));
33135 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT
));
33136 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS
));
33137 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN
));
33138 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE
));
33139 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT
));
33140 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW
));
33141 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND
));
33142 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
33143 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
33144 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
33145 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
33146 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
33147 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
33148 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
33149 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL
));
33150 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL
));
33151 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS
));
33152 PyDict_SetItemString(d
,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP
));
33153 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
33154 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
33155 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
33156 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
33157 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
33158 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
33159 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
33160 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH
));
33161 PyDict_SetItemString(d
,"NB_TOP", SWIG_FromInt((int)wxNB_TOP
));
33162 PyDict_SetItemString(d
,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT
));
33163 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT
));
33164 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM
));
33165 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE
));
33166 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE
));
33167 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON
));
33168 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL
));
33169 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM
));
33170 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
33171 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
33172 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT
));
33173 PyDict_SetItemString(d
,"LB_TOP", SWIG_FromInt((int)wxLB_TOP
));
33174 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM
));
33175 PyDict_SetItemString(d
,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT
));
33176 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT
));
33177 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK
));
33178 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
33179 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
33180 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON
));
33181 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR
));
33182 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL
));
33183 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL
));
33184 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL
));
33185 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS
));
33186 PyDict_SetItemString(d
,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT
));
33187 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE
));
33188 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS
));
33189 PyDict_SetItemString(d
,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT
));
33190 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER
));
33191 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN
));
33192 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT
));
33193 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT
));
33194 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
33195 PyDict_SetItemString(d
,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES
));
33196 PyDict_SetItemString(d
,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES
));
33197 PyDict_SetItemString(d
,"LC_ICON", SWIG_FromInt((int)wxLC_ICON
));
33198 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON
));
33199 PyDict_SetItemString(d
,"LC_LIST", SWIG_FromInt((int)wxLC_LIST
));
33200 PyDict_SetItemString(d
,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT
));
33201 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP
));
33202 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT
));
33203 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE
));
33204 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL
));
33205 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS
));
33206 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER
));
33207 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER
));
33208 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL
));
33209 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING
));
33210 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING
));
33211 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE
));
33212 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN
));
33213 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT
));
33214 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE
));
33215 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT
));
33216 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE
));
33217 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA
));
33218 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM
));
33219 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH
));
33220 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT
));
33221 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE
));
33222 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED
));
33223 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED
));
33224 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED
));
33225 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT
));
33226 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED
));
33227 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED
));
33228 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE
));
33229 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED
));
33230 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE
));
33231 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE
));
33232 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW
));
33233 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE
));
33234 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON
));
33235 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL
));
33236 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT
));
33237 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON
));
33238 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT
));
33239 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT
));
33240 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM
));
33241 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE
));
33242 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL
));
33243 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW
));
33244 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT
));
33245 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT
));
33246 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT
));
33247 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT
));
33248 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP
));
33249 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID
));
33250 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT
));
33251 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT
));
33252 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE
));
33253 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER
));
33254 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE
));
33255 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER
));
33256 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS
));
33257 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON
));
33258 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL
));
33259 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP
));
33260 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN
));
33261 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT
));
33262 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT
));
33263 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
33264 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
33265 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
33266 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
33267 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
33268 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
33269 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
33270 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
33271 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
33272 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
33273 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
33274 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
33275 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
33276 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
33277 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
33278 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
33279 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
33280 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
33281 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
33282 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
33283 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
33284 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
33286 // Map renamed classes back to their common name for OOR
33287 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
33289 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
33290 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS
));
33291 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS
));
33292 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES
));
33293 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT
));
33294 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE
));
33295 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE
));
33296 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED
));
33297 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
33298 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS
));
33299 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT
));
33300 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES
));
33301 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT
));
33302 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE
));
33303 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS
));
33304 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS
));
33305 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS
));
33306 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal
));
33307 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected
));
33308 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded
));
33309 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded
));
33310 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max
));
33311 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE
));
33312 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW
));
33313 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE
));
33314 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON
));
33315 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON
));
33316 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT
));
33317 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL
));
33318 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT
));
33319 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON
));
33320 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT
));
33321 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT
));
33322 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART
));
33323 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART
));
33324 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM
));
33325 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
33326 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
33327 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
33328 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
33329 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
33330 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
33331 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
33332 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
33333 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
33334 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
33335 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
33336 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
33337 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
33338 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
33339 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
33340 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
33341 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
33342 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
33343 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
33344 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
33346 // Map renamed classes back to their common name for OOR
33347 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
33348 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
33350 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
33351 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY
));
33352 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST
));
33353 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS
));
33354 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL
));
33355 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS
));
33356 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP
));
33357 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP
));
33358 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
33359 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
33361 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");